Show / Hide Table of Contents

    Class SetContentStateAction

    Set the IContent's id the user is going to play on. This needs to be set before all IService and the actual IContent are loaded.

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

    Constructors

    SetContentStateAction()

    Declaration
    public SetContentStateAction()

    Fields

    _contentId

    Declaration
    protected string _contentId
    Field Value
    Type Description
    String

    _typesToDispatchAs

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

    _userSavedData

    Declaration
    protected IUserSavedData _userSavedData
    Field Value
    Type Description
    IUserSavedData

    Properties

    ContentId

    Declaration
    public virtual string ContentId { get; }
    Property Value
    Type Description
    String

    TypesToDispatchAs

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

    UserSavedData

    Declaration
    public virtual IUserSavedData UserSavedData { get; }
    Property Value
    Type Description
    IUserSavedData

    Methods

    Apply()

    Declaration
    public virtual void Apply()

    Initialize(String)

    Declaration
    public virtual void Initialize(string contentId)
    Parameters
    Type Name Description
    String contentId

    Inject(IResolver)

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

    ResetAction()

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