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
TypeActionEvent.TypeActorActor?SourceFormForm?SlotActionEvent.Slot
Properties
Actor
public Actor? Actor { get; init; }
Property Value
Slot
public ActionEvent.Slot Slot { get; init; }
Property Value
SourceForm
public Form? SourceForm { get; init; }
Property Value
- Form?
Type
public ActionEvent.Type Type { get; init; }
Property Value
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
TypeActionEvent.TypeActorActor?SourceFormForm?SlotActionEvent.Slot
Equals(ActionEventArgs)
public bool Equals(ActionEventArgs other)
Parameters
otherActionEventArgs
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 ==(ActionEventArgs, ActionEventArgs)
public static bool operator ==(ActionEventArgs left, ActionEventArgs right)
Parameters
leftActionEventArgsrightActionEventArgs
Returns
operator !=(ActionEventArgs, ActionEventArgs)
public static bool operator !=(ActionEventArgs left, ActionEventArgs right)
Parameters
leftActionEventArgsrightActionEventArgs