Table of Contents

Class SmoGroupInfo

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

One MOGI entry: per-group flags, bounds and name, mirrored from the group file's own header.

public class SmoGroupInfo : IDisposable
Inheritance
SmoGroupInfo
Implements
Inherited Members

Constructors

SmoGroupInfo()

public SmoGroupInfo()

SmoGroupInfo(GroupFlags, CAaBox, int)

public SmoGroupInfo(GroupFlags flags, CAaBox boundingBox, int nameOffset)

Parameters

flags GroupFlags
boundingBox CAaBox
nameOffset int

SmoGroupInfo(SmoGroupInfo)

Copy-construct: a deep copy of other (the C++ copy constructor).

public SmoGroupInfo(SmoGroupInfo other)

Parameters

other SmoGroupInfo

Properties

BoundingBox

Group bounding box.

public CAaBox BoundingBox { get; set; }

Property Value

CAaBox

Flags

Group flags; the same GroupFlags bits as MOGP.

public GroupFlags Flags { get; set; }

Property Value

GroupFlags

NameOffset

Byte offset of the group name in MOGN, -1 for no name.

public int NameOffset { get; set; }

Property Value

int

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()