Beispiel #1
0
        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);
        }
Beispiel #2
0
 public override unsafe void WriteTo(ref byte *Buffer)
 {
     base.WriteTo(ref Buffer);
     NewRoomObject.WriteTo(ref Buffer);
 }