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(); }
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(); } }
public bool HasFlag(MPHDFlags flag) { return((Flags & flag) != 0); }