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('
features/buyable.BuyableOptions
\u2022 Optional
canPurchase: Computable
<boolean
>
profectus/src/features/buyable.tsx:36
\u2022 Optional
classes: Computable
<Record
<string
, boolean
>>
profectus/src/features/buyable.tsx:38
\u2022 Optional
cost: Computable
<DecimalSource
>
profectus/src/features/buyable.tsx:34
\u2022 Optional
display: Computable
<BuyableDisplay
>
profectus/src/features/buyable.tsx:42
\u2022 Optional
mark: Computable
<string
| boolean
>
profectus/src/features/buyable.tsx:40
\u2022 Optional
onPurchase: (cost
: undefined
| DecimalSource
) => void
\u25B8 (cost
): void
Name | Type |
---|---|
cost | undefined | DecimalSource |
void
profectus/src/features/buyable.tsx:43
\u2022 Optional
purchaseLimit: Computable
<DecimalSource
>
profectus/src/features/buyable.tsx:37
\u2022 Optional
resource: Resource
<DecimalSource
>
profectus/src/features/buyable.tsx:35
\u2022 Optional
small: Computable
<boolean
>
profectus/src/features/buyable.tsx:41
\u2022 Optional
style: Computable
<StyleValue
>
profectus/src/features/buyable.tsx:39
\u2022 Optional
visibility: Computable
<Visibility
>