Show / Hide Table of Contents

    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
    IEntity.Id
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Gameplay
    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.

    Back to top Copyright © 2020 East Side Games Inc.