public void SendNetData(UInt16 id, object data)
 {
     byte[] stream = Protocol3Utility.SerializePackage((IMessage)data);
     SendNetData(id, stream);
 }
Exemple #2
0
 public void sendNetData(int command, object data)
 {
     mNetEventInterface.sendNetData(command, Protocol3Utility.SerializePackage((IMessage)data));
 }
 public byte[] Serialize(object data)
 {
     return(Protocol3Utility.SerializePackage((IMessage)data));
 }