Show / Hide Table of Contents

    Interface ITrack

    An ITrack contains a list of IActivatables. A player progresses through the ITrack by completing the individual IActivatables sequentially. See activatables.

    Inherited Members
    IActivatable.activatableData
    IActivatable.Activate()
    IActivatable.Deactivate()
    IActivatable.Reset()
    IActivatable.isActive
    IEntity.staticDataId
    IEntity.instanceId
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Framework
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ITrack : IActivatable, IEntity, IInjectable

    Properties

    activatables

    Returns a list of IActivatables associated with this ITrack.

    Declaration
    IActivatable[] activatables { get; }
    Property Value
    Type Description
    IActivatable[]

    currentActivatable

    Returns the currently active IActivatable in this ITrack based on the currentActivatableIndex, returns null otherwise.

    Declaration
    IActivatable currentActivatable { get; }
    Property Value
    Type Description
    IActivatable

    trackData

    Returns the associated ITrackData.

    Declaration
    ITrackData trackData { get; }
    Property Value
    Type Description
    ITrackData

    trackSavedData

    Returns the associated ITrackSavedData.

    Declaration
    ITrackSavedData trackSavedData { get; }
    Property Value
    Type Description
    ITrackSavedData

    Methods

    CanClaimRewards(String)

    Returns true if criteria for claiming ITrack rewards are met.

    Declaration
    bool CanClaimRewards(string claimInContentId)
    Parameters
    Type Name Description
    String claimInContentId

    The current IContent's instanceId.

    Returns
    Type Description
    Boolean

    CanCompleteCurrentActivatable()

    Returns true if the currentActivatable meets the criteria for completing.

    Declaration
    bool CanCompleteCurrentActivatable()
    Returns
    Type Description
    Boolean

    CompleteCurrentActivatable()

    Completes the current currentActivatable and progresses the track.

    Declaration
    void CompleteCurrentActivatable()
    Back to top Copyright © 2020 East Side Games Inc.