public override int WriteTo(byte[] Buffer, int StartIndex = 0) { int cursor = StartIndex; cursor += base.WriteTo(Buffer, cursor); cursor += NewRoomObject.WriteTo(Buffer, cursor); return(cursor - StartIndex); }
public override unsafe void WriteTo(ref byte *Buffer) { base.WriteTo(ref Buffer); NewRoomObject.WriteTo(ref Buffer); }