Table of Contents

Struct ActionEventArgs

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Arguments for OnAction, SKSE's ActionEvent.

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

Constructors

ActionEventArgs(Type, Actor?, Form?, Slot)

Arguments for OnAction, SKSE's ActionEvent.

public ActionEventArgs(ActionEvent.Type Type, Actor? Actor, Form? SourceForm, ActionEvent.Slot Slot)

Parameters

Type ActionEvent.Type
Actor Actor?
SourceForm Form?
Slot ActionEvent.Slot

Properties

Actor

public Actor? Actor { get; init; }

Property Value

Actor?

Slot

public ActionEvent.Slot Slot { get; init; }

Property Value

ActionEvent.Slot

SourceForm

public Form? SourceForm { get; init; }

Property Value

Form?

Type

public ActionEvent.Type Type { get; init; }

Property Value

ActionEvent.Type

Methods

Deconstruct(out Type, out Actor?, out Form?, out Slot)

public void Deconstruct(out ActionEvent.Type Type, out Actor? Actor, out Form? SourceForm, out ActionEvent.Slot Slot)

Parameters

Type ActionEvent.Type
Actor Actor?
SourceForm Form?
Slot ActionEvent.Slot

Equals(ActionEventArgs)

public bool Equals(ActionEventArgs other)

Parameters

other ActionEventArgs

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

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

Parameters

left ActionEventArgs
right ActionEventArgs

Returns

bool

operator !=(ActionEventArgs, ActionEventArgs)

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

Parameters

left ActionEventArgs
right ActionEventArgs

Returns

bool