Definition at line 7 of file MyPacketQueue.cs.
VRage.Network.MyPacketQueue.MyPacketQueue |
( |
int |
typicalMaxPacketSize, |
|
|
Action< BitStream, EndpointId > |
sender |
|
) |
| |
|
inline |
void VRage.Network.MyPacketQueue.Clear |
( |
| ) |
|
|
inline |
void VRage.Network.MyPacketQueue.Dispose |
( |
| ) |
|
|
inline |
void VRage.Network.MyPacketQueue.Enqueue |
( |
BitStream |
stream, |
|
|
float |
priority, |
|
|
EndpointId |
recipient |
|
) |
| |
|
inline |
Sends message, when broadcasting, recipient is peer who won't receive the message.
Definition at line 68 of file MyPacketQueue.cs.
int VRage.Network.MyPacketQueue.Send |
( |
int |
maxBytesToSend = int.MaxValue | ) |
|
|
inline |
Sends packets in queue, sends no more than maxBytesToSend. Returns number of bytes sent.
Definition at line 82 of file MyPacketQueue.cs.
The documentation for this class was generated from the following file: