Interface IUnlockableSavedData
Defines additional fields for a ISavedData that is associated with an IEntity that implements IUnlockable
Namespace: IdleKit.Framework
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 |