Function: restoreGameState()
> restoreGameState(data): Promise<void>
Defined in: src/index.ts:394
Load the save data.
Handlers registered with addOnRestoreGameState run before and/or after the built-in
restoration, according to their timing.
Parameters
data
The save data object to restore the game state from.
Returns
Promise<void>