Show / Hide Table of Contents

    Class MilestoneTrack

    A ITrack of IMilestones in its ActivatableIds. The player progresses through the track by completing the IMilestones sequentially. When the active IMilestone is completed, the next IMilestone in the track is activated. The rewards for the completed IMilestones are awarded when the MilestoneTrack is completed or deactivated.

    Inheritance
    Object
    Track<IMilestone>
    MilestoneTrack
    Implements
    IMilestoneTrack
    ITrack
    IActivatable
    IEntity
    IInjectable
    Inherited Members
    Track<IMilestone>._id
    Track<IMilestone>.Id
    Track<IMilestone>._trackData
    Track<IMilestone>.TrackData
    Track<IMilestone>._trackSavedData
    Track<IMilestone>.TrackSavedData
    Track<IMilestone>.ActivatableData
    Track<IMilestone>._activatables
    Track<IMilestone>.Activatables
    Track<IMilestone>.IsActive
    Track<IMilestone>._currentActivatable
    Track<IMilestone>.CurrentActivatable
    Track<IMilestone>._actionService
    Track<IMilestone>._dataService
    Track<IMilestone>._hasActivated
    Track<IMilestone>.Initialize()
    Track<IMilestone>.Deactivate()
    Track<IMilestone>.Reset()
    Track<IMilestone>.ResetActivatables()
    Track<IMilestone>.CanCompleteCurrentActivatable()
    Track<IMilestone>.CanClaimRewards(String)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class MilestoneTrack : Track<IMilestone>, IMilestoneTrack, ITrack, IActivatable, IEntity, IInjectable

    Constructors

    MilestoneTrack(String)

    Declaration
    public MilestoneTrack(string id)
    Parameters
    Type Name Description
    String id

    Fields

    _milestoneTrackData

    Declaration
    protected IMilestoneTrackData _milestoneTrackData
    Field Value
    Type Description
    IMilestoneTrackData

    _milestoneTrackSavedData

    Declaration
    protected IMilestoneTrackSavedData _milestoneTrackSavedData
    Field Value
    Type Description
    IMilestoneTrackSavedData

    Properties

    CurrentMilestone

    Declaration
    public virtual IMilestone CurrentMilestone { get; }
    Property Value
    Type Description
    IMilestone

    Milestones

    Declaration
    public virtual IMilestone[] Milestones { get; }
    Property Value
    Type Description
    IMilestone[]

    MilestoneTrackData

    Declaration
    public virtual IMilestoneTrackData MilestoneTrackData { get; }
    Property Value
    Type Description
    IMilestoneTrackData

    MilestoneTrackSavedData

    Declaration
    public virtual IMilestoneTrackSavedData MilestoneTrackSavedData { get; }
    Property Value
    Type Description
    IMilestoneTrackSavedData

    Methods

    Activate()

    Declaration
    public override void Activate()
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.Activate()

    ActivateActiveMilestone(Double)

    Declaration
    protected virtual void ActivateActiveMilestone(double initialProgress)
    Parameters
    Type Name Description
    Double initialProgress

    ActivateCurrentActivatable()

    Declaration
    protected override void ActivateCurrentActivatable()
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.ActivateCurrentActivatable()

    CanClaimRewards()

    Declaration
    public override bool CanClaimRewards()
    Returns
    Type Description
    Boolean
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.CanClaimRewards()

    ClaimRewards()

    Declaration
    public virtual void ClaimRewards()

    ClaimRewards(String)

    Declaration
    [Obsolete("Deprecated in version L.1, use ClaimRewards() instead.", true)]
    public virtual void ClaimRewards(string claimInContentId)
    Parameters
    Type Name Description
    String claimInContentId

    Cleanup(IEntityLoaderService)

    Declaration
    public override void Cleanup(IEntityLoaderService entityLoaderService)
    Parameters
    Type Name Description
    IEntityLoaderService entityLoaderService
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.Cleanup(IdleKit.Gameplay.IEntityLoaderService)

    CleanupCurrentActivatable()

    Declaration
    protected override void CleanupCurrentActivatable()
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.CleanupCurrentActivatable()

    CompleteCurrentActivatable()

    Declaration
    public override void CompleteCurrentActivatable()
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.CompleteCurrentActivatable()

    GetRewardIds()

    Declaration
    public virtual string[] GetRewardIds()
    Returns
    Type Description
    String[]

    Inject(IResolver)

    Declaration
    public override void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver
    Overrides
    IdleKit.Gameplay.Track<IdleKit.Gameplay.IMilestone>.Inject(IResolver)

    OnProgressMilestone(ProgressMilestoneStateAction)

    Declaration
    protected virtual void OnProgressMilestone(ProgressMilestoneStateAction progressMilestoneStateAction)
    Parameters
    Type Name Description
    ProgressMilestoneStateAction progressMilestoneStateAction

    Implements

    IMilestoneTrack
    ITrack
    IActivatable
    IEntity
    IInjectable
    Back to top Copyright © 2020 East Side Games Inc.