Table of Contents

Class MfboPlanes

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

The flying bounds (MFBO, BC+): a maximum and a minimum plane, each a 3x3 grid of int16 heights, limiting where a player may fly on this tile.

public class MfboPlanes : IDisposable
Inheritance
MfboPlanes
Implements
Inherited Members

Constructors

MfboPlanes()

public MfboPlanes()

MfboPlanes(short[], short[])

public MfboPlanes(short[] maximum, short[] minimum)

Parameters

maximum short[]
minimum short[]

MfboPlanes(MfboPlanes)

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

public MfboPlanes(MfboPlanes other)

Parameters

other MfboPlanes

Properties

Maximum

The maximum plane: 3x3 int16 heights (row-major).

public FixedArray<short> Maximum { get; set; }

Property Value

FixedArray<short>

Minimum

The minimum plane: 3x3 int16 heights (row-major).

public FixedArray<short> Minimum { get; set; }

Property Value

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

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

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

Parameters

l MfboPlanes
r MfboPlanes

Returns

bool

operator !=(MfboPlanes?, MfboPlanes?)

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

Parameters

l MfboPlanes
r MfboPlanes

Returns

bool