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
originalSceneAction
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
Methods
Equals(SceneAction?)
public virtual bool Equals(SceneAction? other)
Parameters
otherSceneAction
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SceneAction?, SceneAction?)
public static bool operator ==(SceneAction? left, SceneAction? right)
Parameters
leftSceneActionrightSceneAction
Returns
operator !=(SceneAction?, SceneAction?)
public static bool operator !=(SceneAction? left, SceneAction? right)
Parameters
leftSceneActionrightSceneAction