Show / Hide Table of Contents

    Class CollectCurrencyTypeGoal

    A IGoal that is complete when the player accumulates a certain number of units of one or more instances of a specified ICurrency type.

    Any ICurrency with a Id that matches the Id specified via CurrencyId will be targeted by the Goal.

    Each time the player collects units of the target ICurrency the IGoal is progressed by the number of collected units. For example, if the player collected 100 units of Soft ICurrency, and the IGoal was targeting instances of that ICurrency type, the progress would be incremented by 100. This continues until the target amount has been reached at which point the IGoal is complete.

    Only ICurrency collected after the IGoal has become active counts towards the progression of the IGoal.

    See CollectCurrencyTypeGoalData

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

    Constructors

    CollectCurrencyTypeGoal(String)

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

    Methods

    IsEligible(ICurrency)

    Declaration
    protected override bool IsEligible(ICurrency currency)
    Parameters
    Type Name Description
    ICurrency currency
    Returns
    Type Description
    Boolean
    Overrides
    IdleKit.Gameplay.CollectGoal<IdleKit.Gameplay.CollectCurrencyTypeGoalData>.IsEligible(IdleKit.Gameplay.ICurrency)

    Implements

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