Skip to content

EffectPack.Duration ​

Contains a duration value or delegate that can be invoked to return a duration value.

Kind: Struct

Namespace: CrowdControl.Games

Public Constructors

EffectPack.Duration(SITimeSpan? value)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

EffectPack.Duration(float? value)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

EffectPack.Duration(Delegate sourceFunction)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

EffectPack.Duration(Func sourceFunction)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

EffectPack.Duration(Func sourceFunction)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

EffectPack.Duration(Func sourceFunction)

Creates a CrowdControl.Games.EffectPack.Duration with the specified time value.

Public Member Functions

SITimeSpan?

GetValue()

Gets the duration value.

Properties

double?

TotalMilliseconds

[get, ]

Gets the value of the current CrowdControl.Games.EffectPack.Duration structure expressed in whole and fractional milliseconds, or null.

double?

TotalSeconds

[get, ]

Gets the value of the current CrowdControl.Games.EffectPack.Duration structure expressed in whole and fractional seconds, or null.

double?

TotalMinutes

[get, ]

Gets the value of the current CrowdControl.Games.EffectPack.Duration structure expressed in whole and fractional minutes, or null.

double?

TotalHours

[get, ]

Gets the value of the current CrowdControl.Games.EffectPack.Duration structure expressed in whole and fractional hours, or null.

double?

TotalDays

[get, ]

Gets the value of the current CrowdControl.Games.EffectPack.Duration structure expressed in whole and fractional days, or null.