Class
NetworkPeer
NotCreatableNotBrowsable
The NetworkPeer object is the most basic class of the network objects.
The NetworkPeer object is the most basic class of the network objects.
Methods 1#
| SetOutgoingKBPSLimit | Sets the maximum outgoing bandwidth that Roblox can use.PluginSecurity security |
SetOutgoingKBPSLimit(limit: int): ()#
PluginSecurity security
Sets the maximum outgoing bandwidth (in 1,000 bits/second) that Roblox can use.
| Name | Type | Default | Description |
|---|---|---|---|
limit | int | The maximum outgoing bandwidth, in kilobits per second (1,000
bits/second). The value is clamped to the range 10–10,000; a value
of 0 or less removes the limit entirely. |
Returns
()
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild