Esempio n. 1
0
        /// <summary>
        /// The serialise.
        /// </summary>
        /// <param name="serialise">
        /// The serialise.
        /// </param>
        public override void Serialise(IwSerialise serialise)
        {
            base.Serialise(serialise);
            serialise.UInt32(ref this.flags);
            serialise.UInt8(ref this.FormatSW);
            serialise.UInt8(ref this.FormatHW);
            short unknown3 = 0x1000;

            serialise.Int16(ref unknown3);
            short unknown4 = 0x1000;

            serialise.Int16(ref unknown4);
            if (this.image == null)
            {
                this.image = new CIwImage();
            }

            this.image.Serialise(serialise);
            bool unknown5 = false;

            serialise.Bool(ref unknown5);
        }
Esempio n. 2
0
        /// <summary>
        /// The serialise.
        /// </summary>
        /// <param name="serialise">
        /// The serialise.
        /// </param>
        public override void Serialise(IwSerialise serialise)
        {
            base.Serialise(serialise);
            serialise.UInt32(ref this.flags);
            serialise.UInt8(ref this.FormatSW);
            serialise.UInt8(ref this.FormatHW);
            short unknown3 = 0x1000;
            serialise.Int16(ref unknown3);
            short unknown4 = 0x1000;
            serialise.Int16(ref unknown4);
            if (this.image == null)
            {
                this.image = new CIwImage();
            }

            this.image.Serialise(serialise);
            bool unknown5 = false;
            serialise.Bool(ref unknown5);
        }