Show / Hide Table of Contents

    Class CollectFromGeneratorTypeGoal

    A IGoal that is complete when the player collects from one or more instances of a specified IGeneratorEntity.

    This IGoal targets all IGeneratorEntitys if the Any flag is set to true. Otherwise, it targets the IGeneratorEntitys with a id that matches the IGeneratorEntity Id specified on the GeneratorId.

    The IGoal progresses by 1 unit every time a targeted IGeneratorEntity is collected from until the target amount is reached at which point the Goal is complete.

    Only collections that occur after the IGoal becomes active will count towards progress of the IGoal.

    Inheritance
    Object
    Goal<CollectFromGeneratorTypeGoalData>
    CollectFromGeneratorTypeGoal
    Implements
    IGoal
    IActivatable
    IEntity
    IInjectable
    Inherited Members
    Goal<CollectFromGeneratorTypeGoalData>._id
    Goal<CollectFromGeneratorTypeGoalData>.Id
    Goal<CollectFromGeneratorTypeGoalData>.GoalData
    Goal<CollectFromGeneratorTypeGoalData>.GoalSavedData
    Goal<CollectFromGeneratorTypeGoalData>.ActivatableData
    Goal<CollectFromGeneratorTypeGoalData>.CurrentProgression
    Goal<CollectFromGeneratorTypeGoalData>.TargetProgression
    Goal<CollectFromGeneratorTypeGoalData>.NormalizedProgress
    Goal<CollectFromGeneratorTypeGoalData>.CanClaim
    Goal<CollectFromGeneratorTypeGoalData>.IsActive
    Goal<CollectFromGeneratorTypeGoalData>._goalData
    Goal<CollectFromGeneratorTypeGoalData>._goalSavedData
    Goal<CollectFromGeneratorTypeGoalData>._actionService
    Goal<CollectFromGeneratorTypeGoalData>._entityResolver
    Goal<CollectFromGeneratorTypeGoalData>._dataService
    Goal<CollectFromGeneratorTypeGoalData>._targets
    Goal<CollectFromGeneratorTypeGoalData>.Inject(IResolver)
    Goal<CollectFromGeneratorTypeGoalData>.Cleanup(IEntityLoaderService)
    Goal<CollectFromGeneratorTypeGoalData>.Initialize()
    Goal<CollectFromGeneratorTypeGoalData>.Deactivate()
    Goal<CollectFromGeneratorTypeGoalData>.Reset()
    Goal<CollectFromGeneratorTypeGoalData>.SendGoalActivatedAction()
    Goal<CollectFromGeneratorTypeGoalData>.CleanupSubscriptions()
    Goal<CollectFromGeneratorTypeGoalData>.SetProgressGoal(Double)
    Goal<CollectFromGeneratorTypeGoalData>.ProgressGoal(Double)
    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 CollectFromGeneratorTypeGoal : Goal<CollectFromGeneratorTypeGoalData>, IGoal, IActivatable, IEntity, IInjectable

    Constructors

    CollectFromGeneratorTypeGoal(String)

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

    Methods

    Activate()

    Declaration
    public override void Activate()
    Overrides
    IdleKit.Gameplay.Goal<IdleKit.Gameplay.CollectFromGeneratorTypeGoalData>.Activate()

    OnCollectFromGenerator(CollectFromGeneratorStateAction)

    Declaration
    protected virtual void OnCollectFromGenerator(CollectFromGeneratorStateAction stateAction)
    Parameters
    Type Name Description
    CollectFromGeneratorStateAction stateAction

    SubscribeActionListener(IEntity)

    Declaration
    protected override void SubscribeActionListener(IEntity target)
    Parameters
    Type Name Description
    IEntity target
    Overrides
    IdleKit.Gameplay.Goal<IdleKit.Gameplay.CollectFromGeneratorTypeGoalData>.SubscribeActionListener(IdleKit.Gameplay.IEntity)

    UnsubscribeActionListener(IEntity)

    Declaration
    protected override void UnsubscribeActionListener(IEntity target)
    Parameters
    Type Name Description
    IEntity target
    Overrides
    IdleKit.Gameplay.Goal<IdleKit.Gameplay.CollectFromGeneratorTypeGoalData>.UnsubscribeActionListener(IdleKit.Gameplay.IEntity)

    Implements

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