TextEditor2.Message.WriteEntryData C# (CSharp) Method

WriteEntryData() public method

public WriteEntryData ( GameFormatReader stream ) : void
stream GameFormatReader
return void
        public void WriteEntryData(GameFormatReader.Common.EndianBinaryWriter stream)
        {
            //Write entry data to stream
            stream.Write((int)charOffset);

            stream.Write((short)msgID);

            stream.Write((short)unknwn1);

            stream.Write((short)unknwn2);

            stream.Write((short)msgType);

            stream.Write((byte)boxType);

            stream.Write((byte)drawType);

            stream.Write((byte)boxPos);

            stream.Write((byte)itemID);

            stream.Write((byte)unknwn3);

            stream.Write((byte)unknwn4);

            stream.Write((byte)unknwn5);

            stream.Write((byte)unknwn6);

            stream.Write((byte)unknwn7);

            stream.Write((short)maxLines);

            stream.Write((byte)pad);
        }