Show / Hide Table of Contents

    Class MakeTradeGoal<TGoalData>

    An abstract base type for all ITrade related Goals.

    The target is specified by the derived implementation of MakeTradeGoal<TGoalData>. The target amount is specified via the derived implementation of Amount. The MakeTradeGoal<TGoalData> will be progressed by 1 each time a target ITrade is made.

    Inheritance
    Object
    Goal<TGoalData>
    MakeTradeGoal<TGoalData>
    MakeAnyTradeGoal
    MakeTradeTypeGoal
    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 MakeTradeGoal<TGoalData> : Goal<TGoalData>, IGoal, IActivatable, IEntity, IInjectable where TGoalData : class, IGoalData
    Type Parameters
    Name Description
    TGoalData

    Constructors

    MakeTradeGoal(String)

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

    Methods

    Activate()

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

    IsEligible(ITrade)

    Declaration
    protected abstract bool IsEligible(ITrade trade)
    Parameters
    Type Name Description
    ITrade trade
    Returns
    Type Description
    Boolean

    OnMakeTrade(TradeAcceptedAction)

    Declaration
    protected virtual void OnMakeTrade(TradeAcceptedAction tradeAcceptedAction)
    Parameters
    Type Name Description
    TradeAcceptedAction tradeAcceptedAction

    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.