private bool m_WorldSet; // !< True if this set is a world file only set

        #endregion Fields

        #region Methods

        /// <summary>
        /// The serialise.
        /// </summary>
        /// <param name="serialise">
        /// The serialise.
        /// </param>
        public override void Serialise(IwSerialise serialise)
        {
            base.Serialise(serialise);

            ////serialise.DebugWrite(256);

            // serialise.UInt8(ref m_Flags);
            serialise.Bool(ref this.m_WorldSet);
            serialise.UInt8(ref this.m_FlagsSW);
            serialise.UInt8(ref this.m_FlagsHW);
            serialise.UInt32(ref this.m_NumFaces);
            serialise.Int8(ref this.m_OTZOfsSW);
            this.m_FaceIDs.SerialiseHeader(serialise);
            this.m_FaceIDs.ForEach(
                (ref ushort v) =>
                    {
                        serialise.Serialise(ref v);
                        return true;
                    });

            ////serialise.DebugWrite(256);
        }
Beispiel #2
0
        private bool m_WorldSet;                                                // !< True if this set is a world file only set

        #endregion

        #region Public Methods and Operators

        /// <summary>
        /// The serialise.
        /// </summary>
        /// <param name="serialise">
        /// The serialise.
        /// </param>
        public override void Serialise(IwSerialise serialise)
        {
            base.Serialise(serialise);

            ////serialise.DebugWrite(256);

            // serialise.UInt8(ref m_Flags);
            serialise.Bool(ref this.m_WorldSet);
            serialise.UInt8(ref this.m_FlagsSW);
            serialise.UInt8(ref this.m_FlagsHW);
            serialise.UInt32(ref this.m_NumFaces);
            serialise.Int8(ref this.m_OTZOfsSW);
            this.m_FaceIDs.SerialiseHeader(serialise);
            this.m_FaceIDs.ForEach(
                (ref ushort v) =>
            {
                serialise.Serialise(ref v);
                return(true);
            });

            ////serialise.DebugWrite(256);
        }