Interface IStoreTimedRewardSavedData
The ISavedData associated with the IStoreTimedReward
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface IStoreTimedRewardSavedData : ITimedActivatableSavedData, ISavedData, IInjectable
Properties
HasStarted
Returns true if this IStoreTimedReward has been started before.
Declaration
bool HasStarted { get; }
Property Value
Type | Description |
---|---|
Boolean |
TimeStarted
Return the time the IStoreTimedReward countdown started.
Declaration
long TimeStarted { get; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
SetEndTime(Int64, Int64)
Set the TimeStarted and
Declaration
void SetEndTime(long startTime, long duration)
Parameters
Type | Name | Description |
---|---|---|
Int64 | startTime | |
Int64 | duration |
SetUnlocked(Boolean)
Set the
Declaration
void SetUnlocked(bool unlocked)
Parameters
Type | Name | Description |
---|---|---|
Boolean | unlocked |