Class M2SequenceWotlkToMop
An animation sequence, WotLK through MoP layout: an own duration, one u32 blend time.
public class M2SequenceWotlkToMop : M2Sequence, IDisposable
- Inheritance
-
M2SequenceWotlkToMop
- Implements
- Inherited Members
Constructors
M2SequenceWotlkToMop()
public M2SequenceWotlkToMop()
M2SequenceWotlkToMop(M2SequenceWotlkToMop)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2SequenceWotlkToMop(M2SequenceWotlkToMop other)
Parameters
otherM2SequenceWotlkToMop
Properties
AliasNext
public ushort AliasNext { get; set; }
Property Value
BlendTime
Transition blend duration, milliseconds.
public uint BlendTime { get; set; }
Property Value
Bounds
Bounds while the sequence plays.
public M2Bounds Bounds { get; set; }
Property Value
Duration
Sequence length, milliseconds.
public uint Duration { get; set; }
Property Value
Flags
See SequenceFlags.
public SequenceFlags Flags { get; set; }
Property Value
Frequency
Playback probability weight (sums to 0x7FFF per id).
public short Frequency { get; set; }
Property Value
Id
Animation id in AnimationData.dbc.
public ushort Id { get; set; }
Property Value
Movespeed
Character move speed during the sequence.
public float Movespeed { get; set; }
Property Value
Padding
Unused alignment padding.
public ushort Padding { get; set; }
Property Value
Replay
Random repetition bounds; both 0 = no repeat.
public M2Range Replay { get; set; }
Property Value
VariationIndex
Which variation of the animation this is.
public ushort VariationIndex { get; set; }
Property Value
VariationNext
Next variation index, -1 if none.
public short VariationNext { get; set; }
Property Value
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 override void Dispose()
IsAlias()
Whether this sequence is an alias (flag 0x40): it owns NO track data — resolve it by following alias_next. Files still carry stale array records for aliases (dead offsets, junk values), so they are never chased.
public bool IsAlias()
Returns
OwnsAnimFile()
Whether this sequence owns an external .anim file: its data is low-priority (0x10/0x20/0x100 all clear) and it is no alias.
public bool OwnsAnimFile()
Returns
Operators
operator ==(M2SequenceWotlkToMop?, M2SequenceWotlkToMop?)
public static bool operator ==(M2SequenceWotlkToMop? l, M2SequenceWotlkToMop? r)
Parameters
Returns
operator !=(M2SequenceWotlkToMop?, M2SequenceWotlkToMop?)
public static bool operator !=(M2SequenceWotlkToMop? l, M2SequenceWotlkToMop? r)