Table of Contents

Struct ActivateEventArgs

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Arguments for OnActivate, the game's TESActivateEvent.

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

Constructors

ActivateEventArgs(ObjectReference?, ObjectReference?)

Arguments for OnActivate, the game's TESActivateEvent.

public ActivateEventArgs(ObjectReference? ObjectActivated, ObjectReference? ActionRef)

Parameters

ObjectActivated ObjectReference?
ActionRef ObjectReference?

Properties

ActionRef

public ObjectReference? ActionRef { get; init; }

Property Value

ObjectReference?

ObjectActivated

public ObjectReference? ObjectActivated { get; init; }

Property Value

ObjectReference?

Methods

Deconstruct(out ObjectReference?, out ObjectReference?)

public void Deconstruct(out ObjectReference? ObjectActivated, out ObjectReference? ActionRef)

Parameters

ObjectActivated ObjectReference?
ActionRef ObjectReference?

Equals(ActivateEventArgs)

public bool Equals(ActivateEventArgs other)

Parameters

other ActivateEventArgs

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

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

Parameters

left ActivateEventArgs
right ActivateEventArgs

Returns

bool

operator !=(ActivateEventArgs, ActivateEventArgs)

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

Parameters

left ActivateEventArgs
right ActivateEventArgs

Returns

bool