Struct SpellCastEventArgs
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
Arguments for OnSpellCast, the game's TESSpellCastEvent.
public readonly struct SpellCastEventArgs : IEquatable<SpellCastEventArgs>
- Implements
- Inherited Members
Constructors
SpellCastEventArgs(ObjectReference?, FormId<Form>?)
Arguments for OnSpellCast, the game's TESSpellCastEvent.
public SpellCastEventArgs(ObjectReference? Object, FormId<Form>? Spell)
Parameters
ObjectObjectReference?SpellFormId<Form>?
Properties
Object
public ObjectReference? Object { get; init; }
Property Value
Spell
public FormId<Form>? Spell { get; init; }
Property Value
Methods
Deconstruct(out ObjectReference?, out FormId<Form>?)
public void Deconstruct(out ObjectReference? Object, out FormId<Form>? Spell)
Parameters
ObjectObjectReference?SpellFormId<Form>?
Equals(SpellCastEventArgs)
public bool Equals(SpellCastEventArgs other)
Parameters
otherSpellCastEventArgs
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 ==(SpellCastEventArgs, SpellCastEventArgs)
public static bool operator ==(SpellCastEventArgs left, SpellCastEventArgs right)
Parameters
leftSpellCastEventArgsrightSpellCastEventArgs
Returns
operator !=(SpellCastEventArgs, SpellCastEventArgs)
public static bool operator !=(SpellCastEventArgs left, SpellCastEventArgs right)
Parameters
leftSpellCastEventArgsrightSpellCastEventArgs