Table of Contents

Class SmoPortalRef

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

One MOPR entry: a group's reference to a portal and the group on the other side.

public class SmoPortalRef : IDisposable
Inheritance
SmoPortalRef
Implements
Inherited Members

Constructors

SmoPortalRef()

public SmoPortalRef()

SmoPortalRef(ushort, ushort, short, ushort)

public SmoPortalRef(ushort portalIndex, ushort groupIndex, short side, ushort filler)

Parameters

portalIndex ushort
groupIndex ushort
side short
filler ushort

SmoPortalRef(SmoPortalRef)

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

public SmoPortalRef(SmoPortalRef other)

Parameters

other SmoPortalRef

Properties

Filler

Alignment filler; zero in client files.

public ushort Filler { get; set; }

Property Value

ushort

GroupIndex

The group on the other side of the portal.

public ushort GroupIndex { get; set; }

Property Value

ushort

PortalIndex

Index into MOPT.

public ushort PortalIndex { get; set; }

Property Value

ushort

Side

Which side of the portal plane this reference looks from.

public short Side { get; set; }

Property Value

short

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