网络peer对象是网络对象中最基本的类。
概要
属性
方法
SetOutgoingKBPSLimit
()
设置 Roblox 可以使用的最大出口带宽。
参数
默认值:""
返回
()
代码示例
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)