import{_ as e,c as a,o as r,N as t}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: util/save","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/save.md","lastUpdated":null}'),o={name:"api/modules/util/save.md"},n=t('
• Const
loadingSave: Ref
<boolean
>
▸ deleteLowerSaves(): void
void
profectus/src/util/save.ts:155
• deleteLowerSaves: () => void
profectus/src/util/save.ts:155
▸ getUniqueID(): string
string
• getUniqueID: () => string
▸ hardReset(): Promise
<void
>
Promise
<void
>
profectus/src/util/save.ts:152
• hardReset: () => Promise
<void
>
profectus/src/util/save.ts:152
▸ load(): Promise
<void
>
Promise
<void
>
• load: () => Promise
<void
>
▸ loadSave(playerObj
): Promise
<void
>
Name | Type |
---|---|
playerObj | Partial <Player > |
Promise
<void
>
• loadSave: (playerObj
: Partial
<Player
>) => Promise
<void
>
▸ newSave(): Player
• newSave: () => Player
▸ save(playerData?
): string
Name | Type |
---|---|
playerData? | Player |
string
• save: (playerData?
: Player
) => string
▸ setupInitialStore(player?
): Player
Name | Type |
---|---|
player | Partial <Player > |
• setupInitialStore: (player
: Partial
<Player
>) => Player