Table of Contents

Class SceneAction

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

One action of a ScenePhase, such as a SceneLine, a SceneTimer, or a ScenePackage.

public abstract record SceneAction : IEquatable<SceneAction>
Inheritance
SceneAction
Implements
Derived
Inherited Members

Constructors

SceneAction(SceneAction)

protected SceneAction(SceneAction original)

Parameters

original SceneAction

Properties

EndPhaseIndex

The index of the last phase the action runs through. A null value ends the action in the phase whose actions include it.

public int? EndPhaseIndex { get; init; }

Property Value

int?

Remarks

The game waits for an action only in the phase it ends in, so a phase whose actions all end in later phases ends as it begins.

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Equals(SceneAction?)

public virtual bool Equals(SceneAction? other)

Parameters

other SceneAction

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SceneAction?, SceneAction?)

public static bool operator ==(SceneAction? left, SceneAction? right)

Parameters

left SceneAction
right SceneAction

Returns

bool

operator !=(SceneAction?, SceneAction?)

public static bool operator !=(SceneAction? left, SceneAction? right)

Parameters

left SceneAction
right SceneAction

Returns

bool