profectus-docs/assets/api_modules_data_projEntry.md.21dd7dfd.js

1 line
3.9 KiB
JavaScript

import{_ as e,c as a,o as t,a as r}from"./app.e5a3543f.js";const y='{"title":"Module: data/projEntry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"hasWon","slug":"haswon"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"fixOldSave","slug":"fixoldsave"},{"level":3,"title":"getInitialLayers","slug":"getinitiallayers"}],"relativePath":"api/modules/data/projEntry.md"}',d={},n=r('<h1 id="module-data-projentry" tabindex="-1">Module: data/projEntry <a class="header-anchor" href="#module-data-projentry" aria-hidden="true">#</a></h1><h2 id="variables" tabindex="-1">Variables <a class="header-anchor" href="#variables" aria-hidden="true">#</a></h2><h3 id="haswon" tabindex="-1">hasWon <a class="header-anchor" href="#haswon" aria-hidden="true">#</a></h3><p>\u2022 <code>Const</code> <strong>hasWon</strong>: <code>ComputedRef</code>&lt;<code>boolean</code>&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/data/projEntry.tsx#L77" target="_blank" rel="noopener noreferrer">profectus/src/data/projEntry.tsx:77</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-hidden="true">#</a></h2><h3 id="fixoldsave" tabindex="-1">fixOldSave <a class="header-anchor" href="#fixoldsave" aria-hidden="true">#</a></h3><p>\u25B8 <strong>fixOldSave</strong>(<code>oldVersion</code>, <code>player</code>): <code>void</code></p><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>oldVersion</code></td><td style="text-align:left;"><code>undefined</code> | <code>string</code></td></tr><tr><td style="text-align:left;"><code>player</code></td><td style="text-align:left;"><code>Partial</code>&lt;<a href="../../interfaces/game/player.PlayerData"><code>PlayerData</code></a>&gt;</td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><code>void</code></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/data/projEntry.tsx#L82" target="_blank" rel="noopener noreferrer">profectus/src/data/projEntry.tsx:82</a></p><hr><h3 id="getinitiallayers" tabindex="-1">getInitialLayers <a class="header-anchor" href="#getinitiallayers" aria-hidden="true">#</a></h3><p>\u25B8 <strong>getInitialLayers</strong>(<code>player</code>): <a href="./../game/layers.html#genericlayer"><code>GenericLayer</code></a>[]</p><h4 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>player</code></td><td style="text-align:left;"><code>Partial</code>&lt;<a href="../../interfaces/game/player.PlayerData"><code>PlayerData</code></a>&gt;</td></tr></tbody></table><h4 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-hidden="true">#</a></h4><p><a href="./../game/layers.html#genericlayer"><code>GenericLayer</code></a>[]</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/data/projEntry.tsx#L72" target="_blank" rel="noopener noreferrer">profectus/src/data/projEntry.tsx:72</a></p>',24),i=[n];function o(s,l,h,c,f,p){return t(),a("div",null,i)}var g=e(d,[["render",o]]);export{y as __pageData,g as default};