示例#1
0
文件: GameManager.cs 项目: Knps/Edden
 private void Server_NewDataSended(GameClient client, byte[] data)
 {
     //RCore.Log.WriteSend(0, Encoding.ASCII.GetString(data));
 }
示例#2
0
文件: GameManager.cs 项目: Knps/Edden
 private void Server_NewClientConntected(GameClient client)
 {
     client.InitManager(this);
     client.Send("AA" + Constants.Version, SendDataType.Utf8);
 }
示例#3
0
文件: GameManager.cs 项目: Knps/Edden
 private void Server_NewDataReceived(GameClient client, byte[] data, int len)
 {
     client.Manage(Encoding.UTF8.GetString(data, 0, len));
 }
示例#4
0
文件: GameManager.cs 项目: Knps/Edden
 private void Server_ClientDisconnected(GameClient client)
 {
 }