Show / Hide Table of Contents

    Class UpgradeGoal<TGoalData>

    An abstract base type that provides much of the shared functionality for IUpgradeableCurrency upgrade related Goals.

    The target is specified by the derived implementation of IsValid(IUpgradeableCurrency)`. The target number of upgrades is specified via the derived implementation of Amount. The IGoal will be progressed by 1 each time a target IUpgradeableCurrency is upgraded by the player.

    Inheritance
    Object
    Goal<TGoalData>
    UpgradeGoal<TGoalData>
    GetUpgradesForCurrencyTypeGoal
    UpgradeAnyCurrencyGoal
    UpgradeCurrenciesWithTagsGoal
    Implements
    IGoal
    IActivatable
    IEntity
    IInjectable
    Inherited Members
    Goal<TGoalData>._id
    Goal<TGoalData>.Id
    Goal<TGoalData>.GoalData
    Goal<TGoalData>.GoalSavedData
    Goal<TGoalData>.ActivatableData
    Goal<TGoalData>.CurrentProgression
    Goal<TGoalData>.TargetProgression
    Goal<TGoalData>.NormalizedProgress
    Goal<TGoalData>.CanClaim
    Goal<TGoalData>.IsActive
    Goal<TGoalData>._goalData
    Goal<TGoalData>._goalSavedData
    Goal<TGoalData>._actionService
    Goal<TGoalData>._entityResolver
    Goal<TGoalData>._dataService
    Goal<TGoalData>._targets
    Goal<TGoalData>.Inject(IResolver)
    Goal<TGoalData>.Cleanup(IEntityLoaderService)
    Goal<TGoalData>.Initialize()
    Goal<TGoalData>.Deactivate()
    Goal<TGoalData>.Reset()
    Goal<TGoalData>.SendGoalActivatedAction()
    Goal<TGoalData>.CleanupSubscriptions()
    Goal<TGoalData>.SetProgressGoal(Double)
    Goal<TGoalData>.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 abstract class UpgradeGoal<TGoalData> : Goal<TGoalData>, IGoal, IActivatable, IEntity, IInjectable where TGoalData : class, IGoalData
    Type Parameters
    Name Description
    TGoalData

    Constructors

    UpgradeGoal(String)

    Declaration
    protected UpgradeGoal(string id)
    Parameters
    Type Name Description
    String id

    Methods

    Activate()

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

    AddTargetedCurrencies()

    Declaration
    protected virtual void AddTargetedCurrencies()

    IsValid(IUpgradeableCurrency)

    Declaration
    protected abstract bool IsValid(IUpgradeableCurrency upgradeableCurrency)
    Parameters
    Type Name Description
    IUpgradeableCurrency upgradeableCurrency
    Returns
    Type Description
    Boolean

    OnUpgradeCurrency(UpgradeCurrencyStateAction)

    Declaration
    protected virtual void OnUpgradeCurrency(UpgradeCurrencyStateAction stateAction)
    Parameters
    Type Name Description
    UpgradeCurrencyStateAction stateAction

    SubscribeActionListener(IEntity)

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

    UnsubscribeActionListener(IEntity)

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

    Implements

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