Table of Contents

Class SmDoodadSetRange

Namespace
WoWLib.Formats.ADT.Chunks
Assembly
WoWLib.dll

A doodad-set range (MWDR, Shadowlands+): an inclusive [begin, end] span into the MWDS index list, selecting which WMO doodad sets a placement loads.

public class SmDoodadSetRange : IDisposable
Inheritance
SmDoodadSetRange
Implements
Inherited Members

Constructors

SmDoodadSetRange()

public SmDoodadSetRange()

SmDoodadSetRange(uint, uint)

public SmDoodadSetRange(uint begin, uint end)

Parameters

begin uint
end uint

SmDoodadSetRange(SmDoodadSetRange)

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

public SmDoodadSetRange(SmDoodadSetRange other)

Parameters

other SmDoodadSetRange

Properties

Begin

The first MWDS index (inclusive).

public uint Begin { get; set; }

Property Value

uint

End

The last MWDS index (inclusive).

public uint End { 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()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(SmDoodadSetRange?, SmDoodadSetRange?)

public static bool operator ==(SmDoodadSetRange? l, SmDoodadSetRange? r)

Parameters

l SmDoodadSetRange
r SmDoodadSetRange

Returns

bool

operator !=(SmDoodadSetRange?, SmDoodadSetRange?)

public static bool operator !=(SmDoodadSetRange? l, SmDoodadSetRange? r)

Parameters

l SmDoodadSetRange
r SmDoodadSetRange

Returns

bool