Interface ITimerSubscription
This interface contains all the timer subscription information necessary for an ITimerListener
to be used inside the ITimerService. It is intentional that only duration and
startTimestamp as the other time related getters just calculate of those values.
Assembly: cs.temp.dll.dll
Syntax
public interface ITimerSubscription
Properties
duration
The duration of this subscription in milliseconds.
Declaration
long duration { get; set; }
Property Value
endTime
The DateTime end time of the subscription.
Declaration
DateTime endTime { get; }
Property Value
endTimestamp
The end time of this subscription in long timestamp format.
Declaration
long endTimestamp { get; }
Property Value
hasInitialTime
Declaration
[Obsolete("Deprecated in version 1.3, use bool hasStartTime { get; }", true)]
bool hasInitialTime { get; }
Property Value
hasStartTime
If this subscription contains an start time, if not ITimerService most likely to use
gameTime as the start time.
Declaration
bool hasStartTime { get; }
Property Value
initialTime
Declaration
[Obsolete("Deprecated in version 1.3, use DateTime startTime { get; }", true)]
DateTime initialTime { get; }
Property Value
initialTimestamp
Declaration
[Obsolete("Deprecated in version 1.3, use long startTimestamp { get; }", true)]
long initialTimestamp { get; set; }
Property Value
loop
Declaration
Property Value
priority
Declaration
Property Value
startTime
The start time of this subscription in DateTime format.
Declaration
DateTime startTime { get; }
Property Value
startTimestamp
The start time of this subscription in long timestamp format.
Declaration
long startTimestamp { get; set; }
Property Value