public NetBuffer Serialize(NetBuffer buffer) { buffer.WriteUInt(pid); buffer.WriteUInt(index); buffer.WriteInt(dataSize); buffer.WriteUShort(checksum); return(buffer); }
public NetBuffer Serialize(NetBuffer buffer) { buffer.WriteUInt(sid); buffer.WriteUInt(token); buffer.WriteUInt(cmd); buffer.WriteUInt(index); buffer.WriteULong(player); buffer.WriteInt(zone); buffer.WriteULong(runner); buffer.WriteUInt(dataSize); buffer.WriteUInt(checksum); return(buffer); }
public override void WriteToBuffer(NetBuffer buffer) { buffer.WriteInt(value); }