Table of Contents

Class M2Range

Namespace
WoWLib.Formats.M2.Root.Record
Assembly
WoWLib.dll

An inclusive u32 range: pre-WotLK track interpolation ranges, sequence replay bounds.

public class M2Range : IDisposable
Inheritance
M2Range
Implements
Inherited Members

Constructors

M2Range()

public M2Range()

M2Range(uint, uint)

public M2Range(uint minimum, uint maximum)

Parameters

minimum uint
maximum uint

M2Range(M2Range)

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

public M2Range(M2Range other)

Parameters

other M2Range

Properties

Maximum

The inclusive upper bound.

public uint Maximum { get; set; }

Property Value

uint

Minimum

The inclusive lower bound.

public uint Minimum { 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 ==(M2Range?, M2Range?)

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

Parameters

l M2Range
r M2Range

Returns

bool

operator !=(M2Range?, M2Range?)

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

Parameters

l M2Range
r M2Range

Returns

bool