Interface IMilestoneTrack
An ITrack whose list of IActivatables are IMilestones.
Inherited Members
Namespace: IdleKit.Framework
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(String)
Claims any rewards that the player met the criteria for claiming.
Declaration
void ClaimRewards(string claimInContentId)
Parameters
| Type | Name | Description |
|---|---|---|
| String | claimInContentId | The current IContent's instanceId. |
GetRewardIds()
Returns a list of IReward ids that the player met the criteria for claiming.
Declaration
string[] GetRewardIds()
Returns
| Type | Description |
|---|---|
| String[] |