Show / Hide Table of Contents

    Class UpgradeCurrenciesWithTagsGoal

    A IGoal that is complete when the player gets a certain number of upgrades for one or more IUpgradeableCurrency.

    The target IUpgradeableCurrency are specified with one or more Tag Ids via TagConsumerData. At runtime these Tag Ids are resolved into one or more IUpgradeableCurrency. The TargetAll flag is used to specify whether a target IUpgradeableCurrency needs to contain all, or just one of the specified Tag Ids.

    The cumulative number of upgrades the player must make to the target IUpgradeableCurrency after which the IGoal is complete. Specified via Amount.

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

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

    This IGoal provides similar functionality to UpgradeAnyCurrencyGoal but allows for specific IUpgradeableCurrency to be targeted via Tags.

    See UpgradeCurrenciesWithTagsGoalData

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

    Constructors

    UpgradeCurrenciesWithTagsGoal(String)

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

    Fields

    _tagService

    Declaration
    protected ITagService _tagService
    Field Value
    Type Description
    ITagService

    Properties

    TargetAllTags

    Declaration
    public virtual bool TargetAllTags { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Cleanup(IEntityLoaderService)

    Declaration
    public override void Cleanup(IEntityLoaderService entityLoaderService)
    Parameters
    Type Name Description
    IEntityLoaderService entityLoaderService
    Overrides
    IdleKit.Gameplay.Goal<IdleKit.Gameplay.UpgradeCurrenciesWithTagsGoalData>.Cleanup(IdleKit.Gameplay.IEntityLoaderService)

    Inject(IResolver)

    Declaration
    public override void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver
    Overrides
    IdleKit.Gameplay.Goal<IdleKit.Gameplay.UpgradeCurrenciesWithTagsGoalData>.Inject(IResolver)

    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.UpgradeCurrenciesWithTagsGoalData>.IsValid(IdleKit.Gameplay.IUpgradeableCurrency)

    Implements

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