Table of Contents

Class WMOGroupHeader

Namespace
WoWLib.Formats.WMO.Group.Chunks
Assembly
WoWLib.dll

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

other WMOGroupHeader

Properties

BatchTypeD

The fourth batch-count slot; unused by clients.

public ushort BatchTypeD { get; set; }

Property Value

ushort

BoundingBox

Group bounding box.

public CAaBox BoundingBox { get; set; }

Property Value

CAaBox

DescriptiveGroupName

Byte offset of the descriptive name in MOGN.

public uint DescriptiveGroupName { get; set; }

Property Value

uint

ExtBatchCount

Exterior batch count.

public ushort ExtBatchCount { get; set; }

Property Value

ushort

Flags

Group flags; GroupFlags bits.

public GroupFlags Flags { get; set; }

Property Value

GroupFlags

Flags2

Extended flags (Cataclysm+); GroupFlags2 bits.

public GroupFlags2 Flags2 { get; set; }

Property Value

GroupFlags2

FogIds

Fog indices into MFOG.

public FixedArray<byte> FogIds { get; set; }

Property Value

FixedArray<byte>

GroupLiquid

Group liquid type; interpretation depends on the root use_liquid_type_dbc_id flag.

public uint GroupLiquid { get; set; }

Property Value

uint

GroupName

Byte offset of the group name in MOGN.

public uint GroupName { get; set; }

Property Value

uint

IntBatchCount

Interior batch count.

public ushort IntBatchCount { get; set; }

Property Value

ushort

PortalCount

Portal reference count.

public ushort PortalCount { get; set; }

Property Value

ushort

PortalStart

First portal reference in MOPR.

public ushort PortalStart { get; set; }

Property Value

ushort

TransBatchCount

Transition batch count (MOBA prefix).

public ushort TransBatchCount { get; set; }

Property Value

ushort

UniqueId

Foreign key into WMOAreaTable (m_WMOGroupID).

public uint UniqueId { get; set; }

Property Value

uint

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

version ClientVersion

Returns

WMOGroupHeader

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

era Expansion

Returns

WMOGroupHeader