Function: loadGame()
loadGame(
slot):Promise<GameSave|undefined>
Defined in: packages/core/src/saves/db.ts:279
Load the save occupying a slot
Parameters
slot
Slot to read, not GameSave.id
string | number
Returns
Promise<GameSave | undefined>
Promise<GameSave | undefined> - The save data or undefined if the slot is empty