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('

Module: util/save

Functions

getUniqueID

\u25B8 getUniqueID(): string

Returns

string


hardReset

\u25B8 hardReset(): Promise<void>

Returns

Promise<void>


load

\u25B8 load(): Promise<void>

Returns

Promise<void>


loadSave

\u25B8 loadSave(playerObj): Promise<void>

Parameters

NameType
playerObjPartial<PlayerData>

Returns

Promise<void>


newSave

\u25B8 newSave(): PlayerData

Returns

PlayerData


save

\u25B8 save(playerData?): string

Parameters

NameType
playerData?PlayerData

Returns

string


setupInitialStore

\u25B8 setupInitialStore(player?): Player

Parameters

NameType
playerPartial<PlayerData>

Returns

Player

',42),l=[o];function s(n,i,h,c,p,u){return t(),a("div",null,l)}var b=e(d,[["render",s]]);export{g as __pageData,b as default};