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
TagstringThe annotation's name: HitFrame, weaponSwing, attackStart, FootLeft.
PayloadstringThe annotation's argument, empty where it declares none.
ActorActorThe actor playing the animation.
Properties
Actor
The actor playing the animation.
public Actor Actor { get; init; }
Property Value
Payload
The annotation's argument, empty where it declares none.
public string Payload { get; init; }
Property Value
Tag
The annotation's name: HitFrame, weaponSwing, attackStart, FootLeft.
public string Tag { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out Actor)
public void Deconstruct(out string Tag, out string Payload, out Actor Actor)
Parameters
Equals(AnimationEventArgs)
public bool Equals(AnimationEventArgs other)
Parameters
otherAnimationEventArgs
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AnimationEventArgs, AnimationEventArgs)
public static bool operator ==(AnimationEventArgs left, AnimationEventArgs right)
Parameters
leftAnimationEventArgsrightAnimationEventArgs
Returns
operator !=(AnimationEventArgs, AnimationEventArgs)
public static bool operator !=(AnimationEventArgs left, AnimationEventArgs right)
Parameters
leftAnimationEventArgsrightAnimationEventArgs