import{_ as e,c as o,o as d,a as c}from"./app.54d5a277.js";const m='{"title":"Interface: BaseUpgrade","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":"bought","slug":"bought"},{"level":3,"title":"canPurchase","slug":"canpurchase"},{"level":3,"title":"id","slug":"id"},{"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/upgrades/upgrade.BaseUpgrade.md"}',t={},r=c('
features/upgrades/upgrade.BaseUpgrade
Persistent
<boolean
>
\u21B3 BaseUpgrade
\u2022 [Component]: DefineComponent
<{ bought
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canPurchase
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; cost
: PropType
<ProcessedComputable
<DecimalSource
>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; purchase
: { required
: true
= true; type
: PropType
<VoidFunction
> } ; resource
: PropType
<Resource
<DecimalSource
>> ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; component
: ShallowRef
<string
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ bought
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canPurchase
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; cost
: PropType
<ProcessedComputable
<DecimalSource
>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; purchase
: { required
: true
= true; type
: PropType
<VoidFunction
> } ; resource
: PropType
<Resource
<DecimalSource
>> ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, {}>
profectus/src/features/upgrades/upgrade.ts:55
\u2022 [DefaultValue]: boolean
Persistent.__@DefaultValue@18652
profectus/src/game/persistence.ts:25
\u2022 [PersistentState]: Ref
<boolean
>
Persistent.__@PersistentState@18650
profectus/src/game/persistence.ts:24
\u2022 bought: Ref
<boolean
>
profectus/src/features/upgrades/upgrade.ts:51
\u2022 canPurchase: Ref
<boolean
>
profectus/src/features/upgrades/upgrade.ts:52
\u2022 id: string
profectus/src/features/upgrades/upgrade.ts:50
\u2022 purchase: VoidFunction
profectus/src/features/upgrades/upgrade.ts:53
\u2022 type: typeof UpgradeType
profectus/src/features/upgrades/upgrade.ts:54
\u25B8 [GatherProps](): Record
<string
, unknown
>
Record
<string
, unknown
>