Table of Contents

Struct MagicEffectApplyEventArgs

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Arguments for OnMagicEffectApply, the game's TESMagicEffectApplyEvent.

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

Constructors

MagicEffectApplyEventArgs(ObjectReference?, ObjectReference?, FormId<Form>?)

Arguments for OnMagicEffectApply, the game's TESMagicEffectApplyEvent.

public MagicEffectApplyEventArgs(ObjectReference? Target, ObjectReference? Caster, FormId<Form>? MagicEffect)

Parameters

Target ObjectReference?
Caster ObjectReference?
MagicEffect FormId<Form>?

Properties

Caster

public ObjectReference? Caster { get; init; }

Property Value

ObjectReference?

MagicEffect

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

Property Value

FormId<Form>?

Target

public ObjectReference? Target { get; init; }

Property Value

ObjectReference?

Methods

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

public void Deconstruct(out ObjectReference? Target, out ObjectReference? Caster, out FormId<Form>? MagicEffect)

Parameters

Target ObjectReference?
Caster ObjectReference?
MagicEffect FormId<Form>?

Equals(MagicEffectApplyEventArgs)

public bool Equals(MagicEffectApplyEventArgs other)

Parameters

other MagicEffectApplyEventArgs

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

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

Parameters

left MagicEffectApplyEventArgs
right MagicEffectApplyEventArgs

Returns

bool

operator !=(MagicEffectApplyEventArgs, MagicEffectApplyEventArgs)

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

Parameters

left MagicEffectApplyEventArgs
right MagicEffectApplyEventArgs

Returns

bool