Table of Contents

Struct AnimationEventArgs

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

One annotation on an actor's animation, matching the game's BSAnimationGraphEvent.

public readonly struct AnimationEventArgs : IEquatable<AnimationEventArgs>
Implements
Inherited Members

Constructors

AnimationEventArgs(string, string, Actor)

One annotation on an actor's animation, matching the game's BSAnimationGraphEvent.

public AnimationEventArgs(string Tag, string Payload, Actor Actor)

Parameters

Tag string

The annotation's name: HitFrame, weaponSwing, attackStart, FootLeft.

Payload string

The annotation's argument, empty where it declares none.

Actor Actor

The actor playing the animation.

Properties

Actor

The actor playing the animation.

public Actor Actor { get; init; }

Property Value

Actor

Payload

The annotation's argument, empty where it declares none.

public string Payload { get; init; }

Property Value

string

Tag

The annotation's name: HitFrame, weaponSwing, attackStart, FootLeft.

public string Tag { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out Actor)

public void Deconstruct(out string Tag, out string Payload, out Actor Actor)

Parameters

Tag string
Payload string
Actor Actor

Equals(AnimationEventArgs)

public bool Equals(AnimationEventArgs other)

Parameters

other AnimationEventArgs

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AnimationEventArgs, AnimationEventArgs)

public static bool operator ==(AnimationEventArgs left, AnimationEventArgs right)

Parameters

left AnimationEventArgs
right AnimationEventArgs

Returns

bool

operator !=(AnimationEventArgs, AnimationEventArgs)

public static bool operator !=(AnimationEventArgs left, AnimationEventArgs right)

Parameters

left AnimationEventArgs
right AnimationEventArgs

Returns

bool