Show / Hide Table of Contents

    Interface ITimedRewardSavedData

    ISavedData for ITimedReward.

    Inherited Members
    ISavedData.timeCreated
    ISavedData.timeModified
    ISavedData.Load()
    ISavedData.Save()
    ISavedData.Delete()
    ISavedData.Reset()
    Namespace: IdleKit.Framework
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ITimedRewardSavedData : ISavedData, IInjectable

    Properties

    hasStarted

    Returns true if this ITimedReward has been started before.

    Declaration
    bool hasStarted { get; }
    Property Value
    Type Description
    Boolean

    timeCompleted

    Returns the time at which the ITimedReward can be claimed.

    Declaration
    long timeCompleted { get; }
    Property Value
    Type Description
    Int64

    timeStarted

    Return the time the ITimedReward countdown started. timeCompleted subtracts timeStarted should give the duration used for this ITimedReward.

    Declaration
    long timeStarted { get; }
    Property Value
    Type Description
    Int64

    Methods

    SetEndTime(Int64)

    Declaration
    [Obsolete("Deprecated in version 1.3, use SetEndTime(long, long) instead.", true)]
    void SetEndTime(long newEndTimestamp)
    Parameters
    Type Name Description
    Int64 newEndTimestamp

    SetEndTime(Int64, Int64)

    Set the timeStarted and timeCompleted.

    Declaration
    void SetEndTime(long startTime, long duration)
    Parameters
    Type Name Description
    Int64 startTime
    Int64 duration

    Start()

    Declaration
    [Obsolete("Deprecated in version 1.3, the SetEndTime(long, long) would set the hasStarted flag.", true)]
    void Start()
    Back to top Copyright © 2020 East Side Games Inc.