profectus-docs/assets/api_interfaces_features_buyable.BaseBuyable.md.4d4c47bf.js

2 lines
14 KiB
JavaScript
Raw Normal View History

import{_ as e,c as o,o as t,a as d}from"./app.54d5a277.js";const b='{"title":"Interface: BaseBuyable","description":"","frontmatter":{},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[DefaultValue]","slug":"defaultvalue"},{"level":3,"title":"[PersistentState]","slug":"persistentstate"},{"level":3,"title":"amount","slug":"amount"},{"level":3,"title":"canAfford","slug":"canafford"},{"level":3,"title":"canClick","slug":"canclick"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"maxed","slug":"maxed"},{"level":3,"title":"onClick","slug":"onclick"},{"level":3,"title":"purchase","slug":"purchase"},{"level":3,"title":"type","slug":"type"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"}],"relativePath":"api/interfaces/features/buyable.BaseBuyable.md"}',c={},r=d('<h1 id="interface-basebuyable" tabindex="-1">Interface: BaseBuyable <a class="header-anchor" href="#interface-basebuyable" aria-hidden="true">#</a></h1><p><a href="./../../modules/features/buyable.html">features/buyable</a>.BaseBuyable</p><h2 id="hierarchy" tabindex="-1">Hierarchy <a class="header-anchor" href="#hierarchy" aria-hidden="true">#</a></h2><ul><li><p><a href="./../../modules/game/persistence.html#persistent"><code>Persistent</code></a>&lt;<a href="./../../modules/util/bignum.html#decimalsource"><code>DecimalSource</code></a>&gt;</p><p>\u21B3 <strong><code>BaseBuyable</code></strong></p></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="component" tabindex="-1">[Component] <a class="header-anchor" href="#component" aria-hidden="true">#</a></h3><p>\u2022 <strong>[Component]</strong>: <code>DefineComponent</code>&lt;{ <code>canClick</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code>&lt;<a href="./../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>boolean</code>&gt;&gt; } ; <code>classes</code>: <code>PropType</code>&lt;<a href="./../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;&gt;&gt; ; <code>display</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code>&lt;<a href="./../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>undefined</code> | <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>title?</code>: <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>title?</code>: <a href="./../../modules/features/feature.html#coercablecomponent"><code>CoercableComponent</code></a> }&gt;&gt; } ; <code>id</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>StringConstructor</code> = String } ; <code>mark</code>: <code>PropType</code>&lt;<a href="./../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>string</code> | <code>boolean</code>&gt;&gt; ; <code>onClick</code>: <code>PropType</code>&lt;<code>VoidFunction</code>&gt; ; <code>onHold</code>: <code>PropType</code>&lt;<code>VoidFunction</code>&gt; ; <code>small</code>: <code>BooleanConstructor</code> = Boolean; <code>style</code>: <code>PropType</code>&lt;<a href="./../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>&gt;&gt; ; <code>visibility</code>: { <c