Table of Contents

Struct ActorLocationChangeEventArgs

Namespace
SkyrimForge.Events
Assembly
SkyrimForge.dll

Arguments for OnActorLocationChange, the game's TESActorLocationChangeEvent.

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

Constructors

ActorLocationChangeEventArgs(Actor?, Location?, Location?)

Arguments for OnActorLocationChange, the game's TESActorLocationChangeEvent.

public ActorLocationChangeEventArgs(Actor? Actor, Location? OldLocation, Location? NewLocation)

Parameters

Actor Actor?
OldLocation Location?
NewLocation Location?

Properties

Actor

public Actor? Actor { get; init; }

Property Value

Actor?

NewLocation

public Location? NewLocation { get; init; }

Property Value

Location?

OldLocation

public Location? OldLocation { get; init; }

Property Value

Location?

Methods

Deconstruct(out Actor?, out Location?, out Location?)

public void Deconstruct(out Actor? Actor, out Location? OldLocation, out Location? NewLocation)

Parameters

Actor Actor?
OldLocation Location?
NewLocation Location?

Equals(ActorLocationChangeEventArgs)

public bool Equals(ActorLocationChangeEventArgs other)

Parameters

other ActorLocationChangeEventArgs

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

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

Parameters

left ActorLocationChangeEventArgs
right ActorLocationChangeEventArgs

Returns

bool

operator !=(ActorLocationChangeEventArgs, ActorLocationChangeEventArgs)

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

Parameters

left ActorLocationChangeEventArgs
right ActorLocationChangeEventArgs

Returns

bool