A state that is used to send inputs from a controller client (e.g. changed module settings) to the controller server, where the input is processed.
A state that is used to send inputs from a player client (e.g. interaction with a module) to the player server, where the input is processed.
State Manager that distributes settings for the whole app that concern controllers and players. Can only be changed on server side.
Function that is called when the app state changes. Has to be set in controller or player client experience, outputs an error when not initialized.
State Manager that distributes settings that concern controllers. Can only be changed on server side.
Function that is called when the controller state changes. Has to be set in a controller client experience, outputs an error when not initialized.
State Manager that distributes settings that concern players. Can only be changed on server side.
Function that is called when the player state changes. Has to be set in a player client experience, outputs an error when not initialized.
Pull the app state which is then processed in the sharedAppStateCallback.
Pull the controller state which is then processed in the sharedControllerCallback.
Pull the player state which is then processed in the sharedControllerCallback.
Used as "person-in-the-middle" to ensure typesafety. Soundworks "state.subscribe()" method has to be registered with this function. It then get's forwarded, to the sharedAppStateCallback with correct type.
The state as plain JS object type (build by a json string).
Used as "person-in-the-middle" to ensure typesafety. Soundworks "state.subscribe()" method has to be registered with this function. It then get's forwarded, to the sharedControllerStateCallback with correct type.
The state as plain JS object type (build by a json string).
Used as "person-in-the-middle" to ensure typesafety. Soundworks "state.subscribe()" method has to be registered with this function. It then get's forwarded, to the sharedPlayerStateCallback with correct type.
The state as plain JS object type (build by a json string).
Send inputs (via the ControllerInput state manager) from the controller client to the controller server via the where it's processed.
Holds information about settings that are going to be updated.
Send inputs (via the PlayerInput state manager) from the player client to the player server via the where it's processed.
Holds information about inputs a player interacted with.
Generated using TypeDoc
Typesafe way of using the JS-based State Managers from soundworks on client side. A client can ...