Table of Contents

Class FBlockUInt16

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

The header-less 'fake' animation block: sequence-independent u16 timestamps plus keys (WotLK+ particle ramps).

public class FBlockUInt16 : IDisposable
Inheritance
FBlockUInt16
Implements
Inherited Members

Constructors

FBlockUInt16()

public FBlockUInt16()

FBlockUInt16(ushort[], ushort[])

public FBlockUInt16(ushort[] timestamps, ushort[] keys)

Parameters

timestamps ushort[]
keys ushort[]

FBlockUInt16(FBlockUInt16)

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

public FBlockUInt16(FBlockUInt16 other)

Parameters

other FBlockUInt16

Properties

Keys

The keys, one per timestamp.

public Vector<ushort> Keys { get; set; }

Property Value

Vector<ushort>

Timestamps

Sequence-independent keyframe timestamps.

public Vector<ushort> Timestamps { get; set; }

Property Value

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

Operators

operator ==(FBlockUInt16?, FBlockUInt16?)

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

Parameters

l FBlockUInt16
r FBlockUInt16

Returns

bool

operator !=(FBlockUInt16?, FBlockUInt16?)

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

Parameters

l FBlockUInt16
r FBlockUInt16

Returns

bool