Interface IMilestoneTrack
An ITrack whose list of IActivatables are IMilestones.
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface IMilestoneTrack : ITrack, IActivatable, IEntity, IInjectable
Properties
CurrentMilestone
Returns the currently active IMilestone in this IMilestoneTrack based on the CurrentActivatableIndex, returns null otherwise.
Declaration
IMilestone CurrentMilestone { get; }
Property Value
Type | Description |
---|---|
IMilestone |
Milestones
Returns a list of IMilestones associated with this IMilestoneTrack.
Declaration
IMilestone[] Milestones { get; }
Property Value
Type | Description |
---|---|
IMilestone[] |
MilestoneTrackData
Returns the IMilestoneTrackData associated with this IMilestoneTrack.
Declaration
IMilestoneTrackData MilestoneTrackData { get; }
Property Value
Type | Description |
---|---|
IMilestoneTrackData |
MilestoneTrackSavedData
Returns the IMilestoneTrackSavedData associated with this IMilestoneTrack.
Declaration
IMilestoneTrackSavedData MilestoneTrackSavedData { get; }
Property Value
Type | Description |
---|---|
IMilestoneTrackSavedData |
Methods
ClaimRewards()
Claims any rewards that the player met the criteria for claiming.
Declaration
void ClaimRewards()
ClaimRewards(String)
Declaration
[Obsolete("Deprecated in version L.1, use ClaimRewards() instead.", true)]
void ClaimRewards(string claimInContentId)
Parameters
Type | Name | Description |
---|---|---|
String | claimInContentId |
GetRewardIds()
Returns a list of IReward ids that the player met the criteria for claiming.
Declaration
string[] GetRewardIds()
Returns
Type | Description |
---|---|
String[] |