2022-03-12 01:24:32 +00:00
|
|
|
import{_ as e,c as r,o as a,a as t}from"./app.54d5a277.js";const g='{"title":"Interface: UpgradeOptions","description":"","frontmatter":{},"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"}',o={},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/305946e/src/features/upgrades/upgrade.ts#L45" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:45</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/305946e/src/features/upgrades/upgrade.ts#L32" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:32</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/305946e/src/features/upgrades/upgrade.ts#L43" target="_blank" rel="noopener noreferrer">profectus/src/features/upgrades/upgrade.ts:43</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/305946e/src/features/upgrades/upgrade.ts#L34" target="_blank" rel="
|