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('

Interface: BaseAchievement

features/achievements/achievement.BaseAchievement

The properties that are added onto a processed AchievementOptions to create an Achievement.

Properties

[Component]

[Component]: GenericComponent

The Vue component used to render this feature.

Defined in

profectus/src/features/achievements/achievement.tsx:107


[GatherProps]

[GatherProps]: () => Record<string, unknown>

Type declaration

▸ (): Record<string, unknown>

A function to gather the props the vue component requires for this feature.

Returns

Record<string, unknown>

Defined in

profectus/src/features/achievements/achievement.tsx:109


complete

complete: VoidFunction

A function to complete this achievement.

Defined in

profectus/src/features/achievements/achievement.tsx:103


earned

earned: Persistent<boolean>

Whether or not this achievement has been earned.

Defined in

profectus/src/features/achievements/achievement.tsx:101


id

id: string

An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.

Defined in

profectus/src/features/achievements/achievement.tsx:99


type

type: typeof AchievementType

A symbol that helps identify features of the same type.

Defined in

profectus/src/features/achievements/achievement.tsx:105

',43),i=[o];function s(c,h,d,p,f,l){return a(),t("div",null,i)}const b=e(n,[["render",s]]);export{u as __pageData,b as default};