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