Show / Hide Table of Contents

    Class CollectFromBaseCollectorStateAction

    Adds the generated Currency to the players persistent data and begins production again

    Inheritance
    Object
    GrantPayoutsStateAction
    CollectFromBaseCollectorStateAction
    CollectFromCollectorStateAction
    CollectFromGeneratorStateAction
    Inherited Members
    GrantPayoutsStateAction._payoutResults
    GrantPayoutsStateAction.PayoutResults
    GrantPayoutsStateAction._typesToDispatchAs
    GrantPayoutsStateAction.TypesToDispatchAs
    GrantPayoutsStateAction._currencyService
    GrantPayoutsStateAction._randomService
    GrantPayoutsStateAction.GrantPayouts(CurrencyAmount[])
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class CollectFromBaseCollectorStateAction : GrantPayoutsStateAction

    Constructors

    CollectFromBaseCollectorStateAction()

    Declaration
    protected CollectFromBaseCollectorStateAction()

    Fields

    _baseCollectorEntity

    Declaration
    protected IBaseCollectorEntity _baseCollectorEntity
    Field Value
    Type Description
    IBaseCollectorEntity

    _count

    Declaration
    protected long _count
    Field Value
    Type Description
    Int64

    _timerService

    Declaration
    protected ITimerService _timerService
    Field Value
    Type Description
    ITimerService

    Properties

    BaseCollectorEntity

    Declaration
    public virtual IBaseCollectorEntity BaseCollectorEntity { get; }
    Property Value
    Type Description
    IBaseCollectorEntity

    Count

    Declaration
    public virtual long Count { get; }
    Property Value
    Type Description
    Int64

    Methods

    Apply()

    Declaration
    public override void Apply()
    Overrides
    GrantPayoutsStateAction.Apply()

    CalculateGeneratorProductionTimestamp()

    Declaration
    protected virtual long CalculateGeneratorProductionTimestamp()
    Returns
    Type Description
    Int64

    CalculatePayout(IPayoutEntity)

    Declaration
    protected virtual CurrencyAmount[] CalculatePayout(IPayoutEntity payoutEntity)
    Parameters
    Type Name Description
    IPayoutEntity payoutEntity
    Returns
    Type Description
    CurrencyAmount[]

    Initialize(IBaseCollectorEntity, Int64)

    Declaration
    public virtual void Initialize(IBaseCollectorEntity baseCollectorEntity, long count)
    Parameters
    Type Name Description
    IBaseCollectorEntity baseCollectorEntity
    Int64 count

    Inject(IResolver)

    Declaration
    public override void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver
    Overrides
    GrantPayoutsStateAction.Inject(IResolver)

    ResetAction()

    Declaration
    public override void ResetAction()
    Overrides
    GrantPayoutsStateAction.ResetAction()

    SetProductionTime()

    Declaration
    protected virtual void SetProductionTime()
    Back to top Copyright © 2020 East Side Games Inc.