1 line
2.7 KiB
JavaScript
1 line
2.7 KiB
JavaScript
import{_ as r,c as a,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Function: trackOOMPS()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/resources/resource/functions/trackOOMPS.md","filePath":"api/features/resources/resource/functions/trackOOMPS.md","lastUpdated":null}'),s={name:"api/features/resources/resource/functions/trackOOMPS.md"};function c(n,e,i,u,d,l){return o(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/resources/resource</a> / trackOOMPS</p><h1 id="function-trackoomps" tabindex="-1">Function: trackOOMPS() <a class="header-anchor" href="#function-trackoomps" aria-label="Permalink to "Function: trackOOMPS()""></a></h1><blockquote><p><strong>trackOOMPS</strong>(<code>resource</code>, <code>pointGain</code>?): <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a><<code>string</code>></p></blockquote><p>Returns a reference to the amount of resource being gained in terms of orders of magnitude per second, calcualted over the last tick. Useful for situations where the gain rate is increasing very rapidly.</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><h3 id="pointgain" tabindex="-1">pointGain? <a class="header-anchor" href="#pointgain" aria-label="Permalink to "pointGain?""></a></h3><p><a href="https://vuejs.org/guide/typescript/composition-api.html#typing-computed" target="_blank" rel="noreferrer"><code>ComputedRef</code></a><<a href="./../../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</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><<code>string</code>></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#L93" target="_blank" rel="noreferrer">profectus/src/features/resources/resource.ts:93</a></p>',13)]))}const h=r(s,[["render",c]]);export{f as __pageData,h as default};
|