Table of Contents

Class CRange

Namespace
WoWLib.Formats.Common
Assembly
WoWLib.dll

A float range: minimum and maximum.

public class CRange : IDisposable
Inheritance
CRange
Implements
Inherited Members

Constructors

CRange()

public CRange()

CRange(float, float)

public CRange(float min, float max)

Parameters

min float
max float

CRange(CRange)

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

public CRange(CRange other)

Parameters

other CRange

Properties

Max

The maximum.

public float Max { get; set; }

Property Value

float

Min

The minimum.

public float Min { get; set; }

Property Value

float

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 ==(CRange?, CRange?)

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

Parameters

l CRange
r CRange

Returns

bool

operator !=(CRange?, CRange?)

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

Parameters

l CRange
r CRange

Returns

bool