struct RealTimeUntil

in global :: Sandbox

A convenience struct to easily manage a time countdown, based on . Typical usage would see you assigning to a variable of this type a necessary amount of seconds. Then the struct would return the time countdown, or can be used as a bool i.e.: RealTimeUntil nextAttack = 10; if ( nextAttack ) { /*Do something*/ }


public double Absolute { get; }

Time to which we are counting down to, based on .

public double Relative { get; }

The actual countdown, in seconds.

public double Passed { get; }

Amount of seconds passed since the countdown started.

public double Fraction { get; }

The countdown, but as a fraction, i.e. a value from 0 (start of countdown) to 1 (end of countdown)

public Type GetType( )

😔 No documentation found.

public bool Equals( RealTimeUntil o )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public static bool op_Inequality( RealTimeUntil left, RealTimeUntil right )

😔 No documentation found.

public static bool op_Equality( RealTimeUntil left, RealTimeUntil right )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref RealTimeUntil ts, int f )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref RealTimeUntil ts, int f )

😔 No documentation found.

public static bool op_GreaterThan( ref RealTimeUntil ts, int f )

😔 No documentation found.

public static bool op_LessThan( ref RealTimeUntil ts, int f )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref RealTimeUntil ts, float f )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref RealTimeUntil ts, float f )

😔 No documentation found.

public static bool op_GreaterThan( ref RealTimeUntil ts, float f )

😔 No documentation found.

public static bool op_LessThan( ref RealTimeUntil ts, float f )

😔 No documentation found.

public static RealTimeUntil op_Implicit( float ts )

😔 No documentation found.

public static float op_Implicit( RealTimeUntil ts )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static bool op_Implicit( RealTimeUntil ts )

😔 No documentation found.