Binds actions to the client and manages their lifetime. Action managers are managed on a per player basis since client side UI is per player.

interface ActionManager {
    createAction<T extends Action>(rawAction: T): RegisteredAction<T>;
}

Methods

Methods

  • Type Parameters

    Parameters

    • rawAction: T

      The raw action to create. See ActionTypes for supported parameters

    Returns RegisteredAction<T>

    Creates an action and registers it on the client