1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{_ as r,c as a,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Function: trackTotal()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/resources/resource/functions/trackTotal.md","filePath":"api/features/resources/resource/functions/trackTotal.md","lastUpdated":null}'),c={name:"api/features/resources/resource/functions/trackTotal.md"};function s(n,e,i,u,l,d){return o(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/resources/resource</a> / trackTotal</p><h1 id="function-tracktotal" tabindex="-1">Function: trackTotal() <a class="header-anchor" href="#function-tracktotal" aria-label="Permalink to "Function: trackTotal()""></a></h1><blockquote><p><strong>trackTotal</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 total amount of the resource gained, updated automatically. "Refunds" count as gain.</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#L77" target="_blank" rel="noreferrer">profectus/src/features/resources/resource.ts:77</a></p>',11)]))}const h=r(c,[["render",s]]);export{p as __pageData,h as default};
|