Show / Hide Table of Contents

    Interface IUnlockableSavedData

    Defines additional fields for a ISavedData that is associated with an IEntity that implements IUnlockable

    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IUnlockableSavedData

    Properties

    Available

    Whether or not the IUnlockable has been made available to the player. Set the Available of this IUnlockable for the player.

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

    Obtained

    Whether or not the IUnlockable has been obtained by the player. Set the Obtained of this IUnlockable for the player.

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

    Methods

    SetAvailability(Boolean)

    Sets the Available flag of this saved data.

    Declaration
    void SetAvailability(bool isAvailable)
    Parameters
    Type Name Description
    Boolean isAvailable

    SetObtained(Boolean)

    Sets the Obtained flag of this saved data.

    Declaration
    void SetObtained(bool isObtained)
    Parameters
    Type Name Description
    Boolean isObtained
    Back to top Copyright © 2020 East Side Games Inc.