Show / Hide Table of Contents

    Class GetUpgradesForCurrencyTypeGoal

    A IGoal that is complete when the player upgrades any instances of a IUpgradeableCurrency with a specific Id.

    The target IUpgradeableCurrency is specified by it's Id via GetUpgradesForCurrencyTypeGoalData.currencyId

    Each time the player upgrades the target IUpgradeableCurrency the progress of the IGoal will be set to the level of the IUpgradeableCurrency. Once the target amount is met, the IGoal is complete.

    Levels of IUpgradeableCurrency that have been reached due to upgrades prior to the IGoal becoming active will still count towards the IGoal progress.

    See GetUpgradesForCurrencyTypeGoalData

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

    Constructors

    GetUpgradesForCurrencyTypeGoal(String)

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

    Fields

    _mostUpgradedCurrency

    Declaration
    protected IUpgradeableCurrency _mostUpgradedCurrency
    Field Value
    Type Description
    IUpgradeableCurrency

    Methods

    AddTargetedCurrencies()

    Declaration
    protected override void AddTargetedCurrencies()
    Overrides
    IdleKit.Gameplay.UpgradeGoal<IdleKit.Gameplay.GetUpgradesForCurrencyTypeGoalData>.AddTargetedCurrencies()

    Cleanup(IEntityLoaderService)

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

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

    OnUpgradeCurrency(UpgradeCurrencyStateAction)

    Declaration
    protected override void OnUpgradeCurrency(UpgradeCurrencyStateAction stateAction)
    Parameters
    Type Name Description
    UpgradeCurrencyStateAction stateAction
    Overrides
    IdleKit.Gameplay.UpgradeGoal<IdleKit.Gameplay.GetUpgradesForCurrencyTypeGoalData>.OnUpgradeCurrency(IdleKit.Gameplay.UpgradeCurrencyStateAction)

    Implements

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