Table of Contents

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

duration TimeSpan

Exceptions

ArgumentOutOfRangeException

duration is not positive.

Properties

Duration

The time the timer runs.

public TimeSpan Duration { get; }

Property Value

TimeSpan

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(SceneAction?)

public override sealed bool Equals(SceneAction? other)

Parameters

other SceneAction

Returns

bool

Equals(SceneTimer?)

public bool Equals(SceneTimer? other)

Parameters

other SceneTimer

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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SceneTimer?, SceneTimer?)

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

Parameters

left SceneTimer
right SceneTimer

Returns

bool

operator !=(SceneTimer?, SceneTimer?)

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

Parameters

left SceneTimer
right SceneTimer

Returns

bool