Show / Hide Table of Contents

    Interface IReward

    IRewards are generally associated to with IGeneratorUnitTargetSequences and IGoals. They can be claimed when a target is hit in a IGeneratorUnitTargetSequence, when a IGoal is completed, or any other feats a player performs that give out awards. The IRewards can be deterministic, random, or even a IGachaReward.

    Inherited Members
    IPayoutEntity.payoutEntityData
    IPayoutEntity.CalculatePayouts()
    IEntity.staticDataId
    IEntity.instanceId
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Framework
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IReward : IPayoutEntity, IEntity, IInjectable

    Properties

    rewardData

    The IRewardData associated with this IReward.

    Declaration
    IRewardData rewardData { get; }
    Property Value
    Type Description
    IRewardData

    Methods

    CalculateRewards(Int32)

    Declaration
    [Obsolete("Deprecated in version 1.4, set the seed using the IRandomService and then call CalculatePayout()", true)]
    CurrencyAmount[] CalculateRewards(int randomSeed)
    Parameters
    Type Name Description
    Int32 randomSeed
    Returns
    Type Description
    CurrencyAmount[]

    CanClaim(Boolean)

    Checks whether or not this IReward is claimable.

    Declaration
    bool CanClaim(bool ignoreFallback = false)
    Parameters
    Type Name Description
    Boolean ignoreFallback
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 East Side Games Inc.