Show / Hide Table of Contents

    Interface IMilestoneSavedData

    Saved data for IMilestone.

    Inherited Members
    ISavedData.TimeCreated
    ISavedData.TimeModified
    ISavedData.Load()
    ISavedData.Save()
    ISavedData.Delete()
    ISavedData.Reset()
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMilestoneSavedData : ISavedData, IInjectable

    Properties

    IsActive

    Returns true if the IMilestone is currently active.

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

    Progression

    The progression made towards the TargetAmount.

    Declaration
    double Progression { get; }
    Property Value
    Type Description
    Double

    Methods

    Activate()

    Corresponding call to Activate() that alters saved data accordingly

    Declaration
    void Activate()

    Deactivate()

    Corresponding call to Deactivate() that alters saved data accordingly

    Declaration
    void Deactivate()

    Progress(Double)

    Increments Progression by . Extra progress is stored so it can be used to carry over into the next IMilestone.

    Declaration
    void Progress(double value)
    Parameters
    Type Name Description
    Double value

    The value to add to this IMilestones progression.

    SetProgression(Double)

    Hard set the current Progression by value

    Declaration
    void SetProgression(double value)
    Parameters
    Type Name Description
    Double value
    Back to top Copyright © 2020 East Side Games Inc.