Class WDTHeader
An MPHD map header, abstract over the client version. Construct a concrete version with WDTHeader.for_version(expansion).
public class WDTHeader : IDisposable
- Inheritance
-
WDTHeader
- Implements
- Derived
- Inherited Members
Constructors
WDTHeader()
public WDTHeader()
WDTHeader(WDTHeader)
Copy-construct: a deep copy of other (the C++ copy constructor).
public WDTHeader(WDTHeader other)
Parameters
otherWDTHeader
Properties
Flags
Map-wide flags; MapHeaderFlags bits.
public MapHeaderFlags Flags { 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()
ForVersion(ClientVersion)
A fresh WDTHeader for an exact client version — the only axis that can name a Classic client, whose files follow the engine its build was cut on rather than its 1.15 / 4.4 version number.
public static WDTHeader ForVersion(ClientVersion version)
Parameters
versionClientVersion
Returns
ForVersion(Expansion)
A fresh WDTHeader for the given era, as the family base — the dynamic twin of the typed Era factories.
public static WDTHeader ForVersion(Expansion era)
Parameters
eraExpansion