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