import{_ as e,c as a,o as t,a as r}from"./app.ab34650d.js";const g=JSON.parse('{"title":"Module: util/save","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"getUniqueID","slug":"getuniqueid"},{"level":3,"title":"hardReset","slug":"hardreset"},{"level":3,"title":"load","slug":"load"},{"level":3,"title":"loadSave","slug":"loadsave"},{"level":3,"title":"newSave","slug":"newsave"},{"level":3,"title":"save","slug":"save"},{"level":3,"title":"setupInitialStore","slug":"setupinitialstore"}],"relativePath":"api/modules/util/save.md","lastUpdated":null}'),d={name:"api/modules/util/save.md"},o=r('
\u25B8 getUniqueID(): string
string
\u25B8 hardReset(): Promise
<void
>
Promise
<void
>
\u25B8 load(): Promise
<void
>
Promise
<void
>
\u25B8 loadSave(playerObj
): Promise
<void
>
Name | Type |
---|---|
playerObj | Partial <PlayerData > |
Promise
<void
>
\u25B8 newSave(): PlayerData
\u25B8 save(playerData?
): string
Name | Type |
---|---|
playerData? | PlayerData |
string
\u25B8 setupInitialStore(player?
): Player
Name | Type |
---|---|
player | Partial <PlayerData > |