import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const u=JSON.parse('{"title":"Interface: BaseAchievement","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/achievements/achievement.BaseAchievement.md","lastUpdated":null}'),n={name:"api/interfaces/features/achievements/achievement.BaseAchievement.md"},o=r('
features/achievements/achievement.BaseAchievement
The properties that are added onto a processed AchievementOptions to create an Achievement.
• [Component]: GenericComponent
The Vue component used to render this feature.
profectus/src/features/achievements/achievement.tsx:107
• [GatherProps]: () => Record
<string
, unknown
>
▸ (): Record
<string
, unknown
>
A function to gather the props the vue component requires for this feature.
Record
<string
, unknown
>
profectus/src/features/achievements/achievement.tsx:109
• complete: VoidFunction
A function to complete this achievement.
profectus/src/features/achievements/achievement.tsx:103
• earned: Persistent
<boolean
>
Whether or not this achievement has been earned.
profectus/src/features/achievements/achievement.tsx:101
• id: string
An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.
profectus/src/features/achievements/achievement.tsx:99
• type: typeof AchievementType
A symbol that helps identify features of the same type.