profectus-docs/assets/api_features_clickables_upgrade_interfaces_Upgrade.md.rglGrhSz.lean.js

2 lines
14 KiB
JavaScript
Raw Normal View History

import{_ as a,c as r,a0 as t,o as i}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Interface: Upgrade","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/clickables/upgrade/interfaces/Upgrade.md","filePath":"api/features/clickables/upgrade/interfaces/Upgrade.md","lastUpdated":null}'),o={name:"api/features/clickables/upgrade/interfaces/Upgrade.md"};function n(s,e,c,d,l,u){return i(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/clickables/upgrade</a> / Upgrade</p><h1 id="interface-upgrade" tabindex="-1">Interface: Upgrade <a class="header-anchor" href="#interface-upgrade" aria-label="Permalink to &quot;Interface: Upgrade&quot;"></a></h1><p>An object that represents a feature that can be purchased a single time.</p><h2 id="extends" tabindex="-1">Extends <a class="header-anchor" href="#extends" aria-label="Permalink to &quot;Extends&quot;"></a></h2><ul><li><a href="./../../../../util/vue/interfaces/VueFeature"><code>VueFeature</code></a></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="vuefeature" tabindex="-1">[VueFeature] <a class="header-anchor" href="#vuefeature" aria-label="Permalink to &quot;\\[VueFeature\\]&quot;"></a></h3><blockquote><p><strong>[VueFeature]</strong>: <code>true</code></p></blockquote><p>Used to identify Vue Features</p><h4 id="inherited-from" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from" aria-label="Permalink to &quot;Inherited from&quot;"></a></h4><p><a href="./../../../../util/vue/interfaces/VueFeature"><code>VueFeature</code></a>.<a href="./../../../../util/vue/interfaces/VueFeature#[vuefeature]"><code>[VueFeature]</code></a></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/util/vue.tsx#L43" target="_blank" rel="noreferrer">profectus/src/util/vue.tsx:43</a></p><hr><h3 id="bought" tabindex="-1">bought <a class="header-anchor" href="#bought" aria-label="Permalink to &quot;bought&quot;"></a></h3><blockquote><p><strong>bought</strong>: <a href="./../../../../game/persistence/type-aliases/Persistent"><code>Persistent</code></a>&lt;<code>boolean</code>&gt;</p></blockquote><p>Whether or not this upgrade has been purchased.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/clickables/upgrade.tsx#L59" target="_blank" rel="noreferrer">profectus/src/features/clickables/upgrade.tsx:59</a></p><hr><h3 id="canpurchase" tabindex="-1">canPurchase <a class="header-anchor" href="#canpurchase" aria-label="Permalink to &quot;canPurchase&quot;"></a></h3><blockquote><p><strong>canPurchase</strong>: <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a>&lt;<code>boolean</code>, <code>boolean</code>&gt;</p></blockquote><p>Whether or not the upgrade can currently be purchased.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/clickables/upgrade.tsx#L61" target="_blank" rel="noreferrer">profectus/src/features/clickables/upgrade.tsx:61</a></p><hr><h3 id="classes" tabindex="-1">classes? <a class="header-anchor" href="#classes" aria-label="Permalink to &quot;classes?&quot;"></a></h3><blockquote><p><code>optional</code> <strong>classes</strong>: <a href="https://vuejs.org/api/utility-types.html#mayberef" target="_blank" rel="noreferrer"><code>MaybeRef</code></a>&lt;<a href="https://www.typescriptl