indexType aliases
Type Alias: OnExportGameStateHandler
> OnExportGameStateHandler = (state) => void | Promise<void>
Defined in: src/interfaces/GameStateHandlers.ts:8
Handler registered with Game.addOnExportGameState. It receives the complete save-state object
built by Game.exportGameState and can mutate it (e.g. add custom properties declared through
GameState module augmentation) before it is returned to the caller.
Parameters
state
Returns
void | Promise<void>