Struct DeathEventArgs
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
Arguments for OnDeath, the game's TESDeathEvent.
public readonly struct DeathEventArgs : IEquatable<DeathEventArgs>
- Implements
- Inherited Members
Constructors
DeathEventArgs(Actor?, Actor?, bool)
Arguments for OnDeath, the game's TESDeathEvent.
public DeathEventArgs(Actor? ActorDying, Actor? ActorKiller, bool Dead)
Parameters
Properties
ActorDying
public Actor? ActorDying { get; init; }
Property Value
ActorKiller
public Actor? ActorKiller { get; init; }
Property Value
Dead
public bool Dead { get; init; }
Property Value
Methods
Deconstruct(out Actor?, out Actor?, out bool)
public void Deconstruct(out Actor? ActorDying, out Actor? ActorKiller, out bool Dead)
Parameters
Equals(DeathEventArgs)
public bool Equals(DeathEventArgs other)
Parameters
otherDeathEventArgs
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 ==(DeathEventArgs, DeathEventArgs)
public static bool operator ==(DeathEventArgs left, DeathEventArgs right)
Parameters
leftDeathEventArgsrightDeathEventArgs
Returns
operator !=(DeathEventArgs, DeathEventArgs)
public static bool operator !=(DeathEventArgs left, DeathEventArgs right)
Parameters
leftDeathEventArgsrightDeathEventArgs