profectus-docs/assets/api_util_save_functions_loadSave.md.C9Ie3KxC.lean.js

1 line
2.1 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as r,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: loadSave()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/util/save/functions/loadSave.md","filePath":"api/util/save/functions/loadSave.md","lastUpdated":null}'),l={name:"api/util/save/functions/loadSave.md"};function n(i,e,s,c,d,p){return o(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">util/save</a> / loadSave</p><h1 id="function-loadsave" tabindex="-1">Function: loadSave() <a class="header-anchor" href="#function-loadsave" aria-label="Permalink to &quot;Function: loadSave()&quot;"></a></h1><blockquote><p><strong>loadSave</strong>(<code>playerObj</code>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p></blockquote><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="playerobj" tabindex="-1">playerObj <a class="header-anchor" href="#playerobj" aria-label="Permalink to &quot;playerObj&quot;"></a></h3><p><a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype" target="_blank" rel="noreferrer"><code>Partial</code></a>&lt;<a href="./../../../game/player/interfaces/Player"><code>Player</code></a>&gt;</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/util/save.ts#L104" target="_blank" rel="noreferrer">profectus/src/util/save.ts:104</a></p>',10)]))}const u=a(l,[["render",n]]);export{h as __pageData,u as default};