1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{_ as r,c as a,a0 as t,o as s}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: trackBest()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/resources/resource/functions/trackBest.md","filePath":"api/features/resources/resource/functions/trackBest.md","lastUpdated":null}'),o={name:"api/features/resources/resource/functions/trackBest.md"};function c(n,e,i,u,l,d){return s(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/resources/resource</a> / trackBest</p><h1 id="function-trackbest" tabindex="-1">Function: trackBest() <a class="header-anchor" href="#function-trackbest" aria-label="Permalink to "Function: trackBest()""></a></h1><blockquote><p><strong>trackBest</strong>(<code>resource</code>): <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a><<a href="./../../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a>></p></blockquote><p>Returns a reference to the highest amount of the resource ever owned, which is updated automatically.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="resource" tabindex="-1">resource <a class="header-anchor" href="#resource" aria-label="Permalink to "resource""></a></h3><p><a href="./../interfaces/Resource"><code>Resource</code></a></p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a><<a href="./../../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a>></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/resources/resource.ts#L63" target="_blank" rel="noreferrer">profectus/src/features/resources/resource.ts:63</a></p>',11)]))}const p=r(o,[["render",c]]);export{h as __pageData,p as default};
|