Class SceneTimer
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
A timer action of a ScenePhase, which does not end before the timer has elapsed.
public sealed record SceneTimer : SceneAction, IEquatable<SceneAction>, IEquatable<SceneTimer>
- Inheritance
-
SceneTimer
- Implements
- Inherited Members
Constructors
SceneTimer(TimeSpan)
Creates a timer.
public SceneTimer(TimeSpan duration)
Parameters
durationTimeSpan
Exceptions
- ArgumentOutOfRangeException
durationis not positive.
Properties
Duration
The time the timer runs.
public TimeSpan Duration { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(SceneAction?)
public override sealed bool Equals(SceneAction? other)
Parameters
otherSceneAction
Returns
Equals(SceneTimer?)
public bool Equals(SceneTimer? other)
Parameters
otherSceneTimer
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SceneTimer?, SceneTimer?)
public static bool operator ==(SceneTimer? left, SceneTimer? right)
Parameters
leftSceneTimerrightSceneTimer
Returns
operator !=(SceneTimer?, SceneTimer?)
public static bool operator !=(SceneTimer? left, SceneTimer? right)
Parameters
leftSceneTimerrightSceneTimer