ScriptCtx
⚠️
This page is under construction.
⚠️
Beta feature, subject to change.
type NamespaceGetter = <T extends NameSpaceContent<keyof T>>(namespace: string) => Namespace<T>;
interface ScriptCtx {
gameState: GameState;
game: Game;
liveGame: LiveGame;
storable: Storable;
$: NamespaceGetter;
}
See Game, GameState, LiveGame, and Storable for more information.