profectus-docs/assets/api_modules_util_save.md.f2e7f2af.js

2 lines
7.3 KiB
JavaScript
Raw Normal View History

import{_ as e,c as a,o as t,N as r}from"./chunks/framework.0799945b.js";const p=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"},l=r('<h1 id="module-util-save" tabindex="-1">Module: util/save <a class="header-anchor" href="#module-util-save" aria-label="Permalink to &quot;Module: util/save&quot;"></a></h1><h2 id="variables" tabindex="-1">Variables <a class="header-anchor" href="#variables" aria-label="Permalink to &quot;Variables&quot;"></a></h2><h3 id="loadingsave" tabindex="-1">loadingSave <a class="header-anchor" href="#loadingsave" aria-label="Permalink to &quot;loadingSave&quot;"></a></h3><p> <code>Const</code> <strong>loadingSave</strong>: <code>Ref</code>&lt;<code>boolean</code>&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/ba67ff4/src/util/save.ts#L89" target="_blank" rel="noreferrer">profectus/src/util/save.ts:89</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to &quot;Functions&quot;"></a></h2><h3 id="deletelowersaves" tabindex="-1">deleteLowerSaves <a class="header-anchor" href="#deletelowersaves" aria-label="Permalink to &quot;deleteLowerSaves&quot;"></a></h3><p> <strong>deleteLowerSaves</strong>(): <code>void</code></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/ba67ff4/src/util/save.ts#L155" target="_blank" rel="noreferrer">profectus/src/util/save.ts:155</a></p><hr><h3 id="getuniqueid" tabindex="-1">getUniqueID <a class="header-anchor" href="#getuniqueid" aria-label="Permalink to &quot;getUniqueID&quot;"></a></h3><p> <strong>getUniqueID</strong>(): <code>string</code></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/ba67ff4/src/util/save.ts#L80" target="_blank" rel="noreferrer">profectus/src/util/save.ts:80</a></p><hr><h3 id="hardreset" tabindex="-1">hardReset <a class="header-anchor" href="#hardreset" aria-label="Permalink to &quot;hardReset&quot;"></a></h3><p> <strong>hardReset</strong>(): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/ba67ff4/src/util/save.ts#L152" target="_blank" rel="noreferrer">profectus/src/util/save.ts:152</a></p><hr><h3 id="load" tabindex="-1">load <a class="header-anchor" href="#load" aria-label="Permalink to &quot;load&quot;"></a></h3><p> <strong>load</strong>(): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/ba67ff4/src/util/save.ts#L35" target="_blank" rel="noreferrer">profectus/src/util/save.ts:35</a></p><hr><h3 id="loadsave" tabindex="-1">loadSave <a class="header-anchor" href="#loadsave" aria-label="Permalink to &quot;loadSave&quot;"></a></h3><p> <strong>loadSave</strong>(<code>playerObj</code>): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank