Table of Contents

Class M2EventWotlkPlus

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

A timed event ($DTH death thud, footsteps, sounds); every enabled-track key fires.

public class M2EventWotlkPlus : M2Event, IDisposable
Inheritance
M2EventWotlkPlus
Implements
Inherited Members

Constructors

M2EventWotlkPlus()

public M2EventWotlkPlus()

M2EventWotlkPlus(M2EventWotlkPlus)

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

public M2EventWotlkPlus(M2EventWotlkPlus other)

Parameters

other M2EventWotlkPlus

Properties

Bone

The bone the event hangs off.

public uint Bone { get; set; }

Property Value

uint

Data

Payload passed on fire (sound entry id, ...).

public uint Data { get; set; }

Property Value

uint

Enabled

Timestamp-only track: each key fires the event.

public M2EventTrackWotlkPlus Enabled { get; set; }

Property Value

M2EventTrackWotlkPlus

Identifier

Usually a '$xxx' four-char tag stored raw.

public uint Identifier { get; set; }

Property Value

uint

Position

Relative to the bone.

public C3Vector Position { get; set; }

Property Value

C3Vector

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

Operators

operator ==(M2EventWotlkPlus?, M2EventWotlkPlus?)

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

Parameters

l M2EventWotlkPlus
r M2EventWotlkPlus

Returns

bool

operator !=(M2EventWotlkPlus?, M2EventWotlkPlus?)

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

Parameters

l M2EventWotlkPlus
r M2EventWotlkPlus

Returns

bool