Table of Contents

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

Object ObjectReference?
Spell FormId<Form>?

Properties

Object

public ObjectReference? Object { get; init; }

Property Value

ObjectReference?

Spell

public FormId<Form>? Spell { get; init; }

Property Value

FormId<Form>?

Methods

Deconstruct(out ObjectReference?, out FormId<Form>?)

public void Deconstruct(out ObjectReference? Object, out FormId<Form>? Spell)

Parameters

Object ObjectReference?
Spell FormId<Form>?

Equals(SpellCastEventArgs)

public bool Equals(SpellCastEventArgs other)

Parameters

other SpellCastEventArgs

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 ==(SpellCastEventArgs, SpellCastEventArgs)

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

Parameters

left SpellCastEventArgs
right SpellCastEventArgs

Returns

bool

operator !=(SpellCastEventArgs, SpellCastEventArgs)

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

Parameters

left SpellCastEventArgs
right SpellCastEventArgs

Returns

bool