Search Results for

    Show / Hide Table of Contents

    Interface IState

    Defines the contract for basic state features.

    Namespace: Exiled.API.Features.Core.StateMachine
    Assembly: Exiled.API.dll
    Syntax
    public interface IState

    Properties

    | Improve this Doc View Source

    Description

    Gets the state's description.

    Declaration
    string Description { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Id

    Gets the state's id.

    Declaration
    byte Id { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    Name

    Gets the state's name.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    OnEnter(StateController)

    Fired when entering the state.

    Declaration
    void OnEnter(StateController stateController)
    Parameters
    Type Name Description
    StateController stateController

    The state controller.

    | Improve this Doc View Source

    OnExit(StateController)

    Fired when exiting the state.

    Declaration
    void OnExit(StateController stateController)
    Parameters
    Type Name Description
    StateController stateController

    The state controller.

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX