2022-07-15 03:01:53 +00:00
|
|
|
import{_ as e,c as a,o as r,a as t}from"./app.cf939732.js";const b=JSON.parse('{"title":"Interface: BuyableOptions","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"canPurchase","slug":"canpurchase"},{"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":"purchaseLimit","slug":"purchaselimit"},{"level":3,"title":"resource","slug":"resource"},{"level":3,"title":"small","slug":"small"},{"level":3,"title":"style","slug":"style"},{"level":3,"title":"visibility","slug":"visibility"}],"relativePath":"api/interfaces/features/buyable.BuyableOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/buyable.BuyableOptions.md"},s=t('<h1 id="interface-buyableoptions" tabindex="-1">Interface: BuyableOptions <a class="header-anchor" href="#interface-buyableoptions" aria-hidden="true">#</a></h1><p><a href="./../../modules/features/buyable.html">features/buyable</a>.BuyableOptions</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="canpurchase" tabindex="-1">canPurchase <a class="header-anchor" href="#canpurchase" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>canPurchase</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/1f4676d/src/features/buyable.tsx#L36" target="_blank" rel="noopener noreferrer">profectus/src/features/buyable.tsx:36</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/1f4676d/src/features/buyable.tsx#L38" target="_blank" rel="noopener noreferrer">profectus/src/features/buyable.tsx:38</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/1f4676d/src/features/buyable.tsx#L34" target="_blank" rel="noopener noreferrer">profectus/src/features/buyable.tsx:34</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/buyable.html#buyabledisplay"><code>BuyableDisplay</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/1f4676d/src/features/buyable.tsx#L42" target="_blank" rel="noopener noreferrer">profectus/src/features/buyable.tsx:42</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</
|