public override byte[] marshal(BytesStream stream) { stream.Write(uid); stream.Write(frameId); stream.Write(roleId); stream.Write(team); stream.WriteStringByte(name); stream.Write(ai); return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write((ushort)allFrameMessages.Count); for (int i = 0; i < allFrameMessages.Count; ++i) { allFrameMessages[i].marshal(stream); } return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write(frameNum); byte count = (byte)events.Count; stream.Write(count); for (int i = 0; i < events.Count; ++i) { events[i].marshal(stream); } return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write(tableId); stream.Write(mapId); stream.Write((byte)allPlayerInfos.Count); for (int i = 0; i < allPlayerInfos.Count; ++i) { allPlayerInfos[i].marshal(stream); } return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write(_objectID); base.marshal(stream); return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write(stamp); return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { return(stream.GetUsedBytes()); }
public override byte[] marshal(BytesStream stream) { stream.Write(angle); stream.Write(keys); return(stream.GetUsedBytes()); }