網路對象 (NetworkPeer) 是網路對象的最基本類型。
概要
屬性
方法
SetOutgoingKBPSLimit
void
設定 Roblox 可以使用的最大出口寬廣。
參數
返回
void
範例程式碼
The following code, when ran from the command bar or a plugin, would limit bandwidth to 1KBPS.
NetworkPeer:SetOutgoingKBPSLimit
local NetworkClient = game:GetService("NetworkClient")
NetworkClient:SetOutgoingKBPSLimit(1)