Class WMOGroupHeader
A MOGP group header, abstract over the client version. Construct a concrete version with WMOGroupHeader.for_version(expansion).
public class WMOGroupHeader : IDisposable
- Inheritance
-
WMOGroupHeader
- Implements
- Derived
- Inherited Members
Constructors
WMOGroupHeader()
public WMOGroupHeader()
WMOGroupHeader(WMOGroupHeader)
Copy-construct: a deep copy of other (the C++ copy constructor).
public WMOGroupHeader(WMOGroupHeader other)
Parameters
otherWMOGroupHeader
Properties
BatchTypeD
The fourth batch-count slot; unused by clients.
public ushort BatchTypeD { get; set; }
Property Value
BoundingBox
Group bounding box.
public CAaBox BoundingBox { get; set; }
Property Value
DescriptiveGroupName
Byte offset of the descriptive name in MOGN.
public uint DescriptiveGroupName { get; set; }
Property Value
ExtBatchCount
Exterior batch count.
public ushort ExtBatchCount { get; set; }
Property Value
Flags
Group flags; GroupFlags bits.
public GroupFlags Flags { get; set; }
Property Value
Flags2
Extended flags (Cataclysm+); GroupFlags2 bits.
public GroupFlags2 Flags2 { get; set; }
Property Value
FogIds
Fog indices into MFOG.
public FixedArray<byte> FogIds { get; set; }
Property Value
GroupLiquid
Group liquid type; interpretation depends on the root use_liquid_type_dbc_id flag.
public uint GroupLiquid { get; set; }
Property Value
GroupName
Byte offset of the group name in MOGN.
public uint GroupName { get; set; }
Property Value
IntBatchCount
Interior batch count.
public ushort IntBatchCount { get; set; }
Property Value
PortalCount
Portal reference count.
public ushort PortalCount { get; set; }
Property Value
PortalStart
First portal reference in MOPR.
public ushort PortalStart { get; set; }
Property Value
TransBatchCount
Transition batch count (MOBA prefix).
public ushort TransBatchCount { get; set; }
Property Value
UniqueId
Foreign key into WMOAreaTable (m_WMOGroupID).
public uint UniqueId { 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 WMOGroupHeader 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 WMOGroupHeader ForVersion(ClientVersion version)
Parameters
versionClientVersion
Returns
ForVersion(Expansion)
A fresh WMOGroupHeader for the given era, as the family base — the dynamic twin of the typed Era factories.
public static WMOGroupHeader ForVersion(Expansion era)
Parameters
eraExpansion