1 line
7.4 KiB
JavaScript
1 line
7.4 KiB
JavaScript
import{_ as e,c as r,o as a,a as t}from"./app.ab34650d.js";const g=JSON.parse('{"title":"Interface: UpgradeOptions","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"canAfford","slug":"canafford"},{"level":3,"title":"classes","slug":"classes"},{"level":3,"title":"cost","slug":"cost"},{"level":3,"title":"display","slug":"display"},{"level":3,"title":"mark","slug":"mark"},{"level":3,"title":"onPurchase","slug":"onpurchase"},{"level":3,"title":"resource","slug":"resource"},{"level":3,"title":"style","slug":"style"},{"level":3,"title":"visibility","slug":"visibility"}],"relativePath":"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md"},d=t('<h1 id="interface-upgradeoptions" tabindex="-1">Interface: UpgradeOptions <a class="header-anchor" href="#interface-upgradeoptions" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/upgrades/upgrade.html">features/upgrades/upgrade</a>.UpgradeOptions</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="canafford" tabindex="-1">canAfford <a class="header-anchor" href="#canafford" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>canAfford</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<code>boolean</code>></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L46" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:46</a></p><hr><h3 id="classes" tabindex="-1">classes <a class="header-anchor" href="#classes" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>classes</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<code>Record</code><<code>string</code>, <code>boolean</code>>></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L33" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:33</a></p><hr><h3 id="cost" tabindex="-1">cost <a class="header-anchor" href="#cost" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>cost</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<a href="./../../../modules/lib/break_eternity.html#decimalsource"><code>DecimalSource</code></a>></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L44" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:44</a></p><hr><h3 id="display" tabindex="-1">display <a class="header-anchor" href="#display" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>display</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> | { <code>description</code>: <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> ; <code>effectDisplay?</code>: <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> ; <code>title?</code>: <a href="./../../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> }></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L35" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:35</a></p><hr><h3 id="mark" tabindex="-1">mark <a class="header-anchor" href="#mark" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>mark</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<code>string</code> | <code>boolean</code>></p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L43" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:43</a></p><hr><h3 id="onpurchase" tabindex="-1">onPurchase <a class="header-anchor" href="#onpurchase" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>onPurchase</strong>: <code>VoidFunction</code></p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L47" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:47</a></p><hr><h3 id="resource" tabindex="-1">resource <a class="header-anchor" href="#resource" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>resource</strong>: <a href="../resources/resource.Resource"><code>Resource</code></a><<a href="./../../../modules/lib/break_eternity.html#decimalsource"><code>DecimalSource</code></a>></p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L45" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:45</a></p><hr><h3 id="style" tabindex="-1">style <a class="header-anchor" href="#style" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>style</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>></p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L34" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:34</a></p><hr><h3 id="visibility" tabindex="-1">visibility <a class="header-anchor" href="#visibility" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>visibility</strong>: <a href="./../../../modules/util/computed.html#computable"><code>Computable</code></a><<a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a>></p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/upgrades/upgrade.ts#L32" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:32</a></p>',47),s=[d];function n(i,c,u,l,p,h){return a(),r("div",null,s)}var b=e(o,[["render",n]]);export{g as __pageData,b as default};
|