Example #1
0
File: MPHD.cs Project: aeo24/WoWMap
        public override void Read()
        {
            var br = Chunk.GetReader();

            Flags = (MPHDFlags)br.ReadUInt32();
            Something = br.ReadUInt32();
            Unused = new uint[6];
            for (int i = 0; i < 6; i++)
                Unused[i] = br.ReadUInt32();
        }
Example #2
0
        public override void Read()
        {
            var br = Chunk.GetReader();

            Flags     = (MPHDFlags)br.ReadUInt32();
            Something = br.ReadUInt32();
            Unused    = new uint[6];
            for (var i = 0; i < 6; i++)
            {
                Unused[i] = br.ReadUInt32();
            }
        }
Example #3
0
 public bool HasFlag(MPHDFlags flag)
 {
     return((Flags & flag) != 0);
 }