Show / Hide Table of Contents

    Interface IEventContent

    IEventContent is an extension of IContent that allows for tracking progression with IMilestones. IEventContent works with IEventSettings to allow progression towards IReward defined in IMilestones.

    Inherited Members
    IContent.ContentData
    IContent.ContentSavedData
    IContent.CurrentStage
    IContent.NextStageId
    IContent.CurrentStageId
    IContent.CurrentStageIndex
    IContent.BeginAscension()
    IContent.EndAscension(Double)
    IContent.AdvanceStage()
    IEntity.Id
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IEventContent : IContent, IEntity, IInjectable

    Properties

    EventContentData

    Returns the IEventContentData associated with this IEventContent.

    Declaration
    IEventContentData EventContentData { get; }
    Property Value
    Type Description
    IEventContentData

    Milestones

    Returns a list of IMilestones associated with this IEventContent.

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

    Methods

    GetCurrentMilestone()

    Returns the current IMilestone in this IEventContent. Returns null otherwise.

    Declaration
    IMilestone GetCurrentMilestone()
    Returns
    Type Description
    IMilestone
    Remarks

    The IMilestone return may not have been IsActive.

    GetCurrentMilestoneIndex()

    Returns the index of the current IMilestone in this IEventContent. This is useful for UI to display the milestone progression.

    Declaration
    int GetCurrentMilestoneIndex()
    Returns
    Type Description
    Int32

    The index of the current IMilestone that the user is on. Returns -1 otherwise.

    Back to top Copyright © 2020 East Side Games Inc.