Beispiel #1
0
 private void Server_NewDataSended(GameClient client, byte[] data)
 {
     //RCore.Log.WriteSend(0, Encoding.ASCII.GetString(data));
 }
Beispiel #2
0
 private void Server_NewClientConntected(GameClient client)
 {
     client.InitManager(this);
     client.Send("AA" + Constants.Version, SendDataType.Utf8);
 }
Beispiel #3
0
 private void Server_NewDataReceived(GameClient client, byte[] data, int len)
 {
     client.Manage(Encoding.UTF8.GetString(data, 0, len));
 }
Beispiel #4
0
 private void Server_ClientDisconnected(GameClient client)
 {
 }