Interface: BaseAchievement
features/achievements/achievement.BaseAchievement
Hierarchy
Persistent
<boolean
>↳
BaseAchievement
Properties
[Component]
• [Component]: DefineComponent
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: PropType
<ProcessedComputable
<CoercableComponent
>> ; earned
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; image
: PropType
<ProcessedComputable
<string
>> ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; component
: ShallowRef
<null
| ""
| JSXFunction
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: PropType
<ProcessedComputable
<CoercableComponent
>> ; earned
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; image
: PropType
<ProcessedComputable
<string
>> ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, {}>
Defined in
profectus/src/features/achievements/achievement.tsx:47
[DefaultValue]
• [DefaultValue]: boolean
Inherited from
Persistent.__@DefaultValue@18632
Defined in
profectus/src/game/persistence.ts:25
[PersistentState]
• [PersistentState]: Ref
<boolean
>
Inherited from
Persistent.__@PersistentState@18630
Defined in
profectus/src/game/persistence.ts:24
complete
• complete: VoidFunction
Defined in
profectus/src/features/achievements/achievement.tsx:45
earned
• earned: Ref
<boolean
>
Defined in
profectus/src/features/achievements/achievement.tsx:44
id
• id: string
Defined in
profectus/src/features/achievements/achievement.tsx:43
type
• type: typeof AchievementType
Defined in
profectus/src/features/achievements/achievement.tsx:46
Methods
[GatherProps]
▸ [GatherProps](): Record
<string
, unknown
>
Returns
Record
<string
, unknown
>