Class NewContentStateAction
Sets the target Content as the currently active Content for the player
Inheritance
NewContentStateAction
Assembly: cs.temp.dll.dll
Syntax
public class NewContentStateAction : IStateAction
Constructors
NewContentStateAction()
Declaration
public NewContentStateAction()
Fields
_content
Declaration
protected IContent _content
Field Value
_currencyService
Declaration
protected ICurrencyService _currencyService
Field Value
_initialCurrencyAmounts
Declaration
protected CurrencyAmount[] _initialCurrencyAmounts
Field Value
_typesToDispatchAs
Declaration
protected Type[] _typesToDispatchAs
Field Value
Properties
Content
Declaration
public virtual IContent Content { get; }
Property Value
InitialCurrencyAmounts
Declaration
public virtual CurrencyAmount[] InitialCurrencyAmounts { get; }
Property Value
TypesToDispatchAs
Declaration
public virtual Type[] TypesToDispatchAs { get; }
Property Value
Methods
Apply()
Declaration
public virtual void Apply()
GrantStartingCurrencies()
Declaration
protected virtual void GrantStartingCurrencies()
Initialize(IContent)
Declaration
public virtual void Initialize(IContent content)
Parameters
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()