Class RandomObtainedCurrencyReward
Rewards that grant a random ICurrency that has the matching ITagData between Min and Max values.
The reward Currency's Available and Obtained have to be true for the Currency to be considered as a possible reward.
If set in the IRandomObtainedCurrencyRewardData, this will attempt to use a fallback Reward if it does not meet the criteria for claiming.
Inheritance
RandomObtainedCurrencyReward
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public class RandomObtainedCurrencyReward : BaseRandomCurrencyReward<IRandomObtainedCurrencyRewardData>, IRandomObtainedCurrencyReward, IReward, IPayoutEntity, IEntity, IInjectable
Constructors
RandomObtainedCurrencyReward(String)
Declaration
public RandomObtainedCurrencyReward(string id)
Parameters
Type | Name | Description |
---|---|---|
String | id |
Methods
IsCurrencyValid(ICurrency)
Declaration
protected override bool IsCurrencyValid(ICurrency currency)
Parameters
Type | Name | Description |
---|---|---|
ICurrency | currency |
Returns
Type | Description |
---|---|
Boolean |
Overrides
IdleKit.Gameplay.BaseRandomCurrencyReward<IdleKit.Gameplay.IRandomObtainedCurrencyRewardData>.IsCurrencyValid(IdleKit.Gameplay.ICurrency)
Implements
IInjectable