Property | Type | Description | |
---|---|---|---|
entityQueue | ConcurrentQueue |
||
running | bool |
Method | Description | |
---|---|---|
AsyncTcpClient ( string address, int port, string playerId, int authtoken ) : System | ||
Connect ( ) : void | ||
CreateClientMessage ( ) : io.gamemachine.messages.ClientMessage | ||
Deserialize ( Stream inc ) : io.gamemachine.messages.ClientMessage | ||
GetBytesIn ( ) : long | ||
GetBytesOut ( ) : long | ||
IsRunning ( ) : bool | ||
ReceivedPlayerConnected ( ) : bool | ||
Reconnect ( ) : void | ||
ResetBytes ( ) : void | ||
Send ( byte bytes ) : void | ||
SendEntities ( List |
||
SendEntity ( io.gamemachine.messages.Entity entity ) : void | ||
SendPlayerConnect ( ) : void | ||
SetConnectionType ( int connectionType ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
Write ( byte bytes ) : void |
Method | Description | |
---|---|---|
AsyncTcpClient ( int port ) : System | ||
ConnectCallback ( IAsyncResult result ) : void | ||
Connected ( ) : void | ||
ReadCallback ( IAsyncResult result ) : void | ||
Serialize ( io.gamemachine.messages.ClientMessage message ) : byte[] | ||
WriteCallback ( IAsyncResult result ) : void |
public AsyncTcpClient ( string address, int port, string playerId, int authtoken ) : System | ||
address | string | |
port | int | |
playerId | string | |
authtoken | int | |
return | System |
public CreateClientMessage ( ) : io.gamemachine.messages.ClientMessage | ||
return | io.gamemachine.messages.ClientMessage |
public Deserialize ( Stream inc ) : io.gamemachine.messages.ClientMessage | ||
inc | Stream | |
return | io.gamemachine.messages.ClientMessage |
public SendEntity ( io.gamemachine.messages.Entity entity ) : void | ||
entity | io.gamemachine.messages.Entity | |
return | void |
public SetConnectionType ( int connectionType ) : void | ||
connectionType | int | |
return | void |
public static ConcurrentQueue |
||
return | ConcurrentQueue |