public ArraySegment <byte> data; // Recieves The Data public void Deserialize(NetReader r) { Command = r.ReadByte(); data = r.ReadBytesAndSizeSegment(); }
public void Deserialize(NetReader r) { id = r.ReadPackedUInt64(); flag = r.ReadByte(); }