Property | Type | Description | |
---|---|---|---|
entityQueue | ConcurrentQueue |
||
running | bool |
Method | Description | |
---|---|---|
AsyncUdpClient ( string host, int port, string _playerId, int authtoken, bool measure = false ) : System | ||
CreateClientMessage ( ) : io.gamemachine.messages.ClientMessage | ||
GetBytesIn ( ) : long | ||
GetBytesOut ( ) : long | ||
IsRunning ( ) : bool | ||
ReceivedPlayerConnected ( ) : bool | ||
Reconnect ( ) : void | ||
ResetBytes ( ) : void | ||
Send ( byte bytes ) : void | ||
SendEntities ( List |
||
SendEntity ( Entity entity ) : void | ||
SendPlayerConnect ( ) : void | ||
SetConnectionType ( int connectionType ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
receiveData ( ) : void |
Method | Description | |
---|---|---|
Deserialize ( byte bytes ) : io.gamemachine.messages.ClientMessage | ||
SendCallback ( IAsyncResult ar ) : void | ||
Serialize ( io.gamemachine.messages.ClientMessage message ) : byte[] | ||
dataReady ( IAsyncResult ar ) : void |
public AsyncUdpClient ( string host, int port, string _playerId, int authtoken, bool measure = false ) : System | ||
host | string | |
port | int | |
_playerId | string | |
authtoken | int | |
measure | bool | |
return | System |
public CreateClientMessage ( ) : io.gamemachine.messages.ClientMessage | ||
return | io.gamemachine.messages.ClientMessage |
public SetConnectionType ( int connectionType ) : void | ||
connectionType | int | |
return | void |
public static ConcurrentQueue |
||
return | ConcurrentQueue |