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.Id
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Gameplay
    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()

    Returns true if criteria for claiming ITrack rewards are met.

    Declaration
    bool CanClaimRewards()
    Returns
    Type Description
    Boolean

    CanClaimRewards(String)

    Declaration
    [Obsolete("Deprecated in version L.1, use CanClaimRewards() instead.", true)]
    bool CanClaimRewards(string claimInContentId)
    Parameters
    Type Name Description
    String claimInContentId
    Returns
    Type Description
    Boolean

    CanCompleteCurrentActivatable()

    Declaration
    [Obsolete("Deprecated in version L.1.", true)]
    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.