profectus-docs/assets/api_features_resources_resource_functions_trackBest.md.ClsdnAlw.lean.js

1 line
2.3 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 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 &quot;Function: trackBest()&quot;"></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>&lt;<a href="./../../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt;</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 &quot;Parameters&quot;"></a></h2><h3 id="resource" tabindex="-1">resource <a class="header-anchor" href="#resource" aria-label="Permalink to &quot;resource&quot;"></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 &quot;Returns&quot;"></a></h2><p><a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a>&lt;<a href="./../../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a>&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/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};