Ejemplo n.º 1
0
 //发送
 public void SendRequest(RequestCode requestCode, ActionCode actionCode, string data)
 {
     Debug.Log("发送");
     byte[] bytes = Messager.PackData(requestCode, actionCode, data);
     clientSocket.Send(bytes);
 }