Show / Hide Table of Contents

    Class CollectRewardTypeGoal

    A IGoal that is completed once the player is granted one or more instances of a specific IReward.

    Any IReward with a Id that matches the Id specified on the TargetRewardId.

    The IGoal progresses by 1 every time a target IReward is granted to the player until the target amount is reached at which point the IGoal is complete.

    Only IReward granted after the IGoal becomes active will count towards progress of the IGoal.

    See CollectRewardTypeGoalData

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

    Constructors

    CollectRewardTypeGoal(String)

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

    Methods

    Activate()

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

    OnGrantReward(RewardGrantedAction)

    Declaration
    protected virtual void OnGrantReward(RewardGrantedAction rewardAction)
    Parameters
    Type Name Description
    RewardGrantedAction rewardAction

    SubscribeActionListener(IEntity)

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

    UnsubscribeActionListener(IEntity)

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

    Implements

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