Table of Contents

Class FBlockC2Vector

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 FBlockC2Vector : IDisposable
Inheritance
FBlockC2Vector
Implements
Inherited Members

Constructors

FBlockC2Vector()

public FBlockC2Vector()

FBlockC2Vector(ushort[], Vector<C2Vector>)

public FBlockC2Vector(ushort[] timestamps, Vector<C2Vector> keys)

Parameters

timestamps ushort[]
keys Vector<C2Vector>

FBlockC2Vector(FBlockC2Vector)

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

public FBlockC2Vector(FBlockC2Vector other)

Parameters

other FBlockC2Vector

Properties

Keys

The keys, one per timestamp.

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

Property Value

Vector<C2Vector>

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

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

Parameters

l FBlockC2Vector
r FBlockC2Vector

Returns

bool

operator !=(FBlockC2Vector?, FBlockC2Vector?)

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

Parameters

l FBlockC2Vector
r FBlockC2Vector

Returns

bool