Class RandomUnobtainedCurrencyReward
Rewards that grant a random ICurrency that has the matching ITagData between Min and Max values.
The reward Currency's Available has to be true, and it's Obtained has to be false for the Currency to be considered as a possible reward.
If set in the IRandomUnobtainedCurrencyRewardData, this will attempt to use a fallback Reward if it does not meet the criteria for claiming.
Inheritance
RandomUnobtainedCurrencyReward
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public class RandomUnobtainedCurrencyReward : BaseRandomCurrencyReward<IRandomUnobtainedCurrencyRewardData>, IRandomUnobtainedCurrencyReward, IReward, IPayoutEntity, IEntity, IInjectable
Constructors
RandomUnobtainedCurrencyReward(String)
Declaration
public RandomUnobtainedCurrencyReward(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.IRandomUnobtainedCurrencyRewardData>.IsCurrencyValid(IdleKit.Gameplay.ICurrency)
Implements
IInjectable