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
Namespace: IdleKit.Gameplay
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
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 |