Table of Contents

Class TileHoles

Namespace
WoWLib.Formats.WDL.Chunks
Assembly
WoWLib.dll

One tile's hole mask (a MAHO payload, TBC+): 16 row bitmasks, one per chunk row (y), one bit per chunk column (x) — a set bit is a hole. Blizzard sets a bit when all 16 holes of the ADT chunk are set; an all-zero mask is always written anyway.

public class TileHoles : IDisposable
Inheritance
TileHoles
Implements
Inherited Members

Constructors

TileHoles()

public TileHoles()

TileHoles(ushort[])

public TileHoles(ushort[] rows)

Parameters

rows ushort[]

TileHoles(TileHoles)

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

public TileHoles(TileHoles other)

Parameters

other TileHoles

Properties

Rows

The 16 row bitmasks (y rows, x bits); a set bit is a hole.

public FixedArray<ushort> Rows { get; set; }

Property Value

FixedArray<ushort>

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