protected void SerializeForClient(NetDataWriter writer, FunctionReceivers receivers, long connectionId)
 {
     writer.Put((byte)receivers);
     if (receivers == FunctionReceivers.Target)
     {
         writer.PutPackedULong((ulong)connectionId);
     }
     SerializeForSend(writer);
 }
示例#2
0
 public void Serialize(NetDataWriter writer)
 {
     writer.PutPackedULong(value);
 }