Interface IPayoutEntity
An IEntity that can be granted to the player either as an IBaseCollectorEntity output or a reward associated with completing certain in-game action.
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IPayoutEntity : IEntity, IInjectable
Properties
payoutEntityData
The IEntityData associated with this IPayoutEntity.
Declaration
IPayoutEntityData payoutEntityData { get; }
Property Value
Type | Description |
---|---|
IPayoutEntityData |
Methods
CalculatePayouts()
Calculates the CurrencyAmounts that this IPayoutEntity will grant.
Declaration
CurrencyAmount[] CalculatePayouts()
Returns
Type | Description |
---|---|
CurrencyAmount[] |
Remarks
If CalculatePayouts() involves the generation of random values - such as for a randomized IReward - then InitializeRandom(Int32) can be called prior to this method if you wish to set the seed of the random value generation.