Show / Hide Table of Contents

    Class UpgradeAnyCurrencyGoal

    A Goal that is complete when the player gets a certain number of upgrades for any IUpgradeableCurrency.

    Targets any IUpgradeableCurrency. The number of upgrades the player must make to any IUpgradeableCurrency is specified via Amount.

    Each time the player upgrades a IUpgradeableCurrency the progression is incremented by 1.

    Any upgrades to IUpgradeableCurrency made prior to the Goal becoming active will not count toward it's completion.

    Extends the base UpgradeGoal by implementing UpgradeGoal.IsValid to check that an IUpgradeableCurrency can be upgraded.

    See UpgradeAnyCurrencyGoalData

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

    Constructors

    UpgradeAnyCurrencyGoal(String)

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

    Methods

    IsValid(IUpgradeableCurrency)

    Declaration
    protected override bool IsValid(IUpgradeableCurrency upgradeableCurrency)
    Parameters
    Type Name Description
    IUpgradeableCurrency upgradeableCurrency
    Returns
    Type Description
    Boolean
    Overrides
    IdleKit.Gameplay.UpgradeGoal<IdleKit.Gameplay.UpgradeAnyCurrencyGoalData>.IsValid(IdleKit.Gameplay.IUpgradeableCurrency)

    Implements

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