Table of Contents

Struct CriticalHitEventArgs

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Arguments for OnCriticalHit, the game's CriticalHit::Event.

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

Constructors

CriticalHitEventArgs(ObjectReference?, Weapon?, bool)

Arguments for OnCriticalHit, the game's CriticalHit::Event.

public CriticalHitEventArgs(ObjectReference? Aggressor, Weapon? Weapon, bool SneakHit)

Parameters

Aggressor ObjectReference?
Weapon Weapon?
SneakHit bool

Properties

Aggressor

public ObjectReference? Aggressor { get; init; }

Property Value

ObjectReference?

SneakHit

public bool SneakHit { get; init; }

Property Value

bool

Weapon

public Weapon? Weapon { get; init; }

Property Value

Weapon?

Methods

Deconstruct(out ObjectReference?, out Weapon?, out bool)

public void Deconstruct(out ObjectReference? Aggressor, out Weapon? Weapon, out bool SneakHit)

Parameters

Aggressor ObjectReference?
Weapon Weapon?
SneakHit bool

Equals(CriticalHitEventArgs)

public bool Equals(CriticalHitEventArgs other)

Parameters

other CriticalHitEventArgs

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

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

Parameters

left CriticalHitEventArgs
right CriticalHitEventArgs

Returns

bool

operator !=(CriticalHitEventArgs, CriticalHitEventArgs)

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

Parameters

left CriticalHitEventArgs
right CriticalHitEventArgs

Returns

bool