Class MHDRData
The tile header (MHDR, 64 bytes): flags plus offsets to the tile's other chunks. wowlib derives every offset from the written layout, so only the flags and the Cata+ inline MAMP alpha-downscale value are exposed. See https://wowdev.wiki/ADT/v18#MHDR_chunk.
public class MHDRData : IDisposable
- Inheritance
-
MHDRData
- Implements
- Inherited Members
Constructors
MHDRData()
public MHDRData()
MHDRData(MHDRData)
Copy-construct: a deep copy of other (the C++ copy constructor).
public MHDRData(MHDRData other)
Parameters
otherMHDRData
Properties
Flags
Flags; MapHeaderFlags bits.
public MapHeaderFlags Flags { get; set; }
Property Value
MampValue
The inline MAMP alpha-map downscale value (Cata+): the alpha texture size is 64 / (2^value); an explicit MAMP chunk overrides it.
public byte MampValue { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(MHDRData?, MHDRData?)
public static bool operator ==(MHDRData? l, MHDRData? r)
Parameters
Returns
operator !=(MHDRData?, MHDRData?)
public static bool operator !=(MHDRData? l, MHDRData? r)