Show / Hide Table of Contents

    Class TimerSubscription

    An implementation of ITimerSubscription that contains multiple overridden constructors to make it easier for objects that have different time information to work with the ITimerService easily.

    Inheritance
    Object
    TimerSubscription
    Implements
    ITimerSubscription
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class TimerSubscription : ITimerSubscription

    Constructors

    TimerSubscription(DateTime, DateTime, Boolean, Int32)

    Declaration
    public TimerSubscription(DateTime endTime, DateTime startTime, bool loop = false, int priority = default(int))
    Parameters
    Type Name Description
    DateTime endTime
    DateTime startTime
    Boolean loop
    Int32 priority

    TimerSubscription(DateTime, Int64, Boolean, Int32)

    Declaration
    public TimerSubscription(DateTime endTime, long startTimestamp, bool loop = false, int priority = default(int))
    Parameters
    Type Name Description
    DateTime endTime
    Int64 startTimestamp
    Boolean loop
    Int32 priority

    TimerSubscription(Int64, DateTime, Boolean, Int32)

    Declaration
    public TimerSubscription(long duration, DateTime startTime, bool loop = false, int priority = default(int))
    Parameters
    Type Name Description
    Int64 duration
    DateTime startTime
    Boolean loop
    Int32 priority

    TimerSubscription(Int64, Boolean, Int32)

    Declaration
    public TimerSubscription(long duration, bool loop = false, int priority = default(int))
    Parameters
    Type Name Description
    Int64 duration
    Boolean loop
    Int32 priority

    TimerSubscription(Int64, Int64, Boolean, Int32)

    Declaration
    public TimerSubscription(long duration, long startTimestamp, bool loop = false, int priority = default(int))
    Parameters
    Type Name Description
    Int64 duration
    Int64 startTimestamp
    Boolean loop
    Int32 priority

    Fields

    _duration

    Declaration
    protected long _duration
    Field Value
    Type Description
    Int64

    _loop

    Declaration
    protected readonly bool _loop
    Field Value
    Type Description
    Boolean

    _priority

    Declaration
    protected readonly int _priority
    Field Value
    Type Description
    Int32

    _startTimestamp

    Declaration
    protected long _startTimestamp
    Field Value
    Type Description
    Int64

    Properties

    Duration

    Declaration
    public virtual long Duration { get; set; }
    Property Value
    Type Description
    Int64

    EndTime

    Declaration
    public virtual DateTime EndTime { get; }
    Property Value
    Type Description
    DateTime

    EndTimestamp

    Declaration
    public virtual long EndTimestamp { get; }
    Property Value
    Type Description
    Int64

    HasStartTime

    Declaration
    public virtual bool HasStartTime { get; }
    Property Value
    Type Description
    Boolean

    Loop

    Declaration
    public virtual bool Loop { get; }
    Property Value
    Type Description
    Boolean

    Priority

    Declaration
    public virtual int Priority { get; }
    Property Value
    Type Description
    Int32

    StartTime

    Declaration
    public virtual DateTime StartTime { get; }
    Property Value
    Type Description
    DateTime

    StartTimestamp

    Declaration
    public virtual long StartTimestamp { get; set; }
    Property Value
    Type Description
    Int64

    Implements

    ITimerSubscription
    Back to top Copyright © 2020 East Side Games Inc.