Show / Hide Table of Contents

    Class NewContentStateAction

    Sets the target Content as the currently active Content for the player

    Inheritance
    Object
    NewContentStateAction
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class NewContentStateAction : IStateAction

    Constructors

    NewContentStateAction()

    Declaration
    public NewContentStateAction()

    Fields

    _content

    Declaration
    protected IContent _content
    Field Value
    Type Description
    IContent

    _currencyService

    Declaration
    protected ICurrencyService _currencyService
    Field Value
    Type Description
    ICurrencyService

    _initialCurrencyAmounts

    Declaration
    protected CurrencyAmount[] _initialCurrencyAmounts
    Field Value
    Type Description
    CurrencyAmount[]

    _typesToDispatchAs

    Declaration
    protected Type[] _typesToDispatchAs
    Field Value
    Type Description
    Type[]

    Properties

    Content

    Declaration
    public virtual IContent Content { get; }
    Property Value
    Type Description
    IContent

    InitialCurrencyAmounts

    Declaration
    public virtual CurrencyAmount[] InitialCurrencyAmounts { get; }
    Property Value
    Type Description
    CurrencyAmount[]

    TypesToDispatchAs

    Declaration
    public virtual Type[] TypesToDispatchAs { get; }
    Property Value
    Type Description
    Type[]

    Methods

    Apply()

    Declaration
    public virtual void Apply()

    GrantStartingCurrencies()

    Declaration
    protected virtual void GrantStartingCurrencies()

    Initialize(IContent)

    Declaration
    public virtual void Initialize(IContent content)
    Parameters
    Type Name Description
    IContent content

    Inject(IResolver)

    Declaration
    public virtual void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver

    ResetAction()

    Declaration
    public virtual void ResetAction()

    SetAvailableCurrencies()

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