Table of Contents

Class AnimFileEntry

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

An AFID entry: the .anim FileDataID for one (animation, variation) pair; 0 means none.

public class AnimFileEntry : IDisposable
Inheritance
AnimFileEntry
Implements
Inherited Members

Constructors

AnimFileEntry()

public AnimFileEntry()

AnimFileEntry(ushort, ushort, uint)

public AnimFileEntry(ushort animId, ushort subAnimId, uint fileId)

Parameters

animId ushort
subAnimId ushort
fileId uint

AnimFileEntry(AnimFileEntry)

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

public AnimFileEntry(AnimFileEntry other)

Parameters

other AnimFileEntry

Properties

AnimId

AnimationData.dbc id of the sequence.

public ushort AnimId { get; set; }

Property Value

ushort

FileId

FileDataID of the .anim file; 0 means none.

public uint FileId { get; set; }

Property Value

uint

SubAnimId

The sequence variation index.

public ushort SubAnimId { get; set; }

Property Value

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

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

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

Parameters

l AnimFileEntry
r AnimFileEntry

Returns

bool

operator !=(AnimFileEntry?, AnimFileEntry?)

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

Parameters

l AnimFileEntry
r AnimFileEntry

Returns

bool