|
static NetConnection * | AllocateConnection (NetPeerGroup *g, NetAddress address, byte[] token, byte[] uniqueId) |
|
static void | ChangeConnectionAddressDuringConnecting (NetPeerGroup *g, NetConnection *c, NetAddress newAddress) |
| Changes the address of a connection during the connecting phase. More...
|
|
static void | ChangeConnectionStatus (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetConnectionStatus status) |
|
static void | Connect (NetPeerGroup *g, NetAddress address, byte[] token, byte[] uniqueId=null) |
| Connects to a specified address with an optional unique ID and token. More...
|
|
static void | Connect (NetPeerGroup *g, string ip, ushort port, byte[] token, byte[] uniqueId=null) |
| Connects to a specified IP address and port with an optional unique ID and token. More...
|
|
static NetConnectionMap.Iterator | ConnectionIterator (NetPeerGroup *g) |
| Gets an iterator for the connections in the network peer group. More...
|
|
static void | Disconnect (NetPeerGroup *g, NetConnection *c, byte[] token) |
| Disconnects a given connection from the network peer group with an optional token. More...
|
|
static NetConnection * | GetConnection (NetPeerGroup *g, NetConnectionId id) |
| Gets a connection by its ID in the network peer group. More...
|
|
static double | GetConnectionBreathTime (NetPeerGroup *g, NetConnection *c) |
| Get the current connection breath time More...
|
|
static NetConnection * | GetConnectionByIndex (NetPeerGroup *g, int index) |
| Gets a connection by its index in the network peer group. More...
|
|
static double | GetConnectionIdleTime (NetPeerGroup *g, NetConnection *c) |
| Gets the idle time of a connection. More...
|
|
static bool | GetConnectionSendBuffer (NetPeerGroup *g, NetConnection *c, out NetBitBuffer *b) |
|
static bool | GetNotifyDataBuffer (NetPeerGroup *g, NetConnection *c, out NetBitBuffer *b) |
| Gets a notify data buffer for a given connection in the network peer group. More...
|
|
static bool | GetUnreliableDataBuffer (NetPeerGroup *g, NetConnection *c, out NetBitBuffer *b) |
| Gets an unreliable data buffer for a given connection in the network peer group. More...
|
|
static void | HandleCommandAccepted (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetCommandAccepted cmd) |
|
static void | HandleCommandConnect (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetCommandConnect cmd) |
|
static void | HandleCommandDisconnect (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetCommandDisconnect cmd) |
|
static void | HandleCommandRefused (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetCommandRefused cmd) |
|
static void | HandlePacket (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | HandlePacketAcks (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetNotifyHeader h) |
|
static void | HandlePacketCommand (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | HandlePacketNotifyAcks (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | HandlePacketNotifyData (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | HandlePacketNotifyData_Part2 (NetNotifyHeader header, int sequenceDistance, NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | HandlePacketUnconnected (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetBitBuffer *b) |
|
static void | HandlePacketUnreliableData (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c, NetBitBuffer *b) |
|
static void | QueueAddressUnmap (NetPeerGroup *g, NetConnection *c) |
|
static void | Receive (NetPeerGroup *g, INetPeerGroupCallbacks cb) |
|
static void | ReleaseConnection (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|
static void | Send (NetPeerGroup *g, NetConnection *c, NetBitBuffer *b) |
|
static bool | SendCommand< T > (NetPeerGroup *g, NetConnection *c, T cmd) |
|
static void | SendCommandConnect (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|
static bool | SendCommandUnconnected< T > (NetPeerGroup *g, NetAddress address, T cmd) |
|
static bool | SendNotifyDataBuffer (NetPeerGroup *g, NetConnection *c, NetBitBuffer *b, void *userData) |
| Sends a notify data buffer for a given connection in the network peer group. More...
|
|
static void | SendReliable (NetPeerGroup *g, NetConnection *c, ReliableId rid, byte *data, int dataLength) |
| Sends reliable data for a given connection in the network peer group. More...
|
|
static void | SendUnconnected (NetPeerGroup *g, NetBitBuffer *b) |
|
static bool | SendUnconnectedData (NetPeerGroup *g, NetAddress address, void *data, int dataLength) |
| Sends unconnected data to a specified address. More...
|
|
static bool | SendUnreliableDataBuffer (NetPeerGroup *g, NetConnection *c, NetBitBuffer *b) |
| Sends an unreliable data buffer for a given connection in the network peer group. More...
|
|
static bool | TryGetConnectionByIndex (NetPeerGroup *g, int index, out NetConnection *connection) |
| Tries to get a connection by its index in the network peer group. More...
|
|
static void | Update (NetPeerGroup *g, INetPeerGroupCallbacks cb) |
| Updates the network peer group by processing received data, handling timeouts, and managing connection retries. More...
|
|
static void | UpdateConnected (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|
static void | UpdateConnecting (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|
static void | UpdateConnections (NetPeerGroup *g, INetPeerGroupCallbacks cb) |
|
static void | UpdateDisconnected (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|
static void | UpdateShutdown (NetPeerGroup *g, INetPeerGroupCallbacks cb, NetConnection *c) |
|