Пример #1
0
        //=========== READING ============
        #region Reading

        /**<summary>Reads the tile header.</summary>*/
        public void Read(BinaryReader reader)
        {
            this.Row        = reader.ReadInt16();
            this.Column     = reader.ReadInt16();
            this.BaseHeight = reader.ReadInt16();
            this.Clearance  = reader.ReadByte();
            this.Unknown1   = reader.ReadByte();
            this.Flags      = (LargeSceneryTileFlags)reader.ReadByte();
        }
        //=========== READING ============
        #region Reading

        /**<summary>Reads the tile header.</summary>*/
        public void Read(BinaryReader reader)
        {
            Row        = reader.ReadInt16();
            Column     = reader.ReadInt16();
            BaseHeight = reader.ReadInt16();
            Clearance  = reader.ReadByte();
            Unknown1   = reader.ReadByte();
            Flags      = (LargeSceneryTileFlags)reader.ReadByte();
        }