Show / Hide Table of Contents

    Interface IStageSavedData

    Saved data for a IStage.

    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 IStageSavedData : ISavedData, IInjectable

    Properties

    activeGoalIndices

    The currently active index into each of the activeGoals slots.

    Declaration
    int[] activeGoalIndices { get; }
    Property Value
    Type Description
    Int32[]

    hasStarted

    A flag representing whether the IStage has previously been started.

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

    Methods

    Ascend()

    Performs any logic when the IStage ascends, such as resetting the activeGoalIndices.

    Declaration
    void Ascend()

    BeginStage()

    Performs any logic when the IStage begins, such as setting the hasStarted flag.

    Declaration
    void BeginStage()

    ClaimGoal(Int32)

    Bumps the activeGoalIndices for the slot specified.

    Declaration
    void ClaimGoal(int slotIndex)
    Parameters
    Type Name Description
    Int32 slotIndex

    GetNumberOfCompletedGoals()

    Returns the total number of IGoals that have been completed on all of the IGoal slots.

    Declaration
    int GetNumberOfCompletedGoals()
    Returns
    Type Description
    Int32
    Back to top Copyright © 2020 East Side Games Inc.