Table of Contents

Struct ActorLocationChangeEventArgs

Namespace
SkyrimForge
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? OldLoc, Location? NewLoc)

Parameters

Actor Actor?
OldLoc Location?
NewLoc Location?

Properties

Actor

public Actor? Actor { get; init; }

Property Value

Actor?

NewLoc

public Location? NewLoc { get; init; }

Property Value

Location?

OldLoc

public Location? OldLoc { get; init; }

Property Value

Location?

Methods

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

public void Deconstruct(out Actor? Actor, out Location? OldLoc, out Location? NewLoc)

Parameters

Actor Actor?
OldLoc Location?
NewLoc 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