Space Engineers
Public Member Functions | List of all members
VRage.Replication.MyBandwidthLimits Class Reference

Public Member Functions

int GetLimit (StateGroupEnum group)
 Gets current limit for group (how many bits can be written per frame). Return zero when there's no limit. More...
 
void SetLimit (StateGroupEnum group, int bitsInMessage)
 Sets limit for group (how many bits can be written per frame). It's ensured that at least one item is sent every frame. Setting limit to zero disables limit. More...
 
bool Add (StateGroupEnum group, int bitCount)
 
void Clear ()
 

Detailed Description

Definition at line 9 of file MyBandwidthLimits.cs.

Member Function Documentation

bool VRage.Replication.MyBandwidthLimits.Add ( StateGroupEnum  group,
int  bitCount 
)
inline

Definition at line 36 of file MyBandwidthLimits.cs.

void VRage.Replication.MyBandwidthLimits.Clear ( )
inline

Definition at line 55 of file MyBandwidthLimits.cs.

int VRage.Replication.MyBandwidthLimits.GetLimit ( StateGroupEnum  group)
inline

Gets current limit for group (how many bits can be written per frame). Return zero when there's no limit.

Definition at line 18 of file MyBandwidthLimits.cs.

void VRage.Replication.MyBandwidthLimits.SetLimit ( StateGroupEnum  group,
int  bitsInMessage 
)
inline

Sets limit for group (how many bits can be written per frame). It's ensured that at least one item is sent every frame. Setting limit to zero disables limit.

Definition at line 28 of file MyBandwidthLimits.cs.


The documentation for this class was generated from the following file: