Table of Contents

Class M2SequenceFallback

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

A pre-WotLK playable-animation fallback: the substitute animation id plus how to play it (0 normal, 1 backwards, 2 frame-by-frame, 3 freeze).

public class M2SequenceFallback : IDisposable
Inheritance
M2SequenceFallback
Implements
Inherited Members

Constructors

M2SequenceFallback()

public M2SequenceFallback()

M2SequenceFallback(short, short)

public M2SequenceFallback(short fallbackAnimationId, short flags)

Parameters

fallbackAnimationId short
flags short

M2SequenceFallback(M2SequenceFallback)

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

public M2SequenceFallback(M2SequenceFallback other)

Parameters

other M2SequenceFallback

Properties

FallbackAnimationId

Substitute animation id in AnimationData.dbc.

public short FallbackAnimationId { get; set; }

Property Value

short

Flags

Playback mode: 0 normal, 1 backwards, 2 frame-by-frame, 3 freeze.

public short Flags { get; set; }

Property Value

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

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

Parameters

l M2SequenceFallback
r M2SequenceFallback

Returns

bool

operator !=(M2SequenceFallback?, M2SequenceFallback?)

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

Parameters

l M2SequenceFallback
r M2SequenceFallback

Returns

bool