Interface: AchievementOptions

features/achievements/achievement.AchievementOptions

Properties

classes

Optional classes: Computable<Record<string, boolean>>

Defined in

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


display

Optional display: Computable<CoercableComponent>

Defined in

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


image

Optional image: Computable<string>

Defined in

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


mark

Optional mark: Computable<string | boolean>

Defined in

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


onComplete

Optional onComplete: VoidFunction

Defined in

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


style

Optional style: Computable<StyleValue>

Defined in

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


visibility

Optional visibility: Computable<Visibility>

Defined in

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

Methods

shouldEarn

Optional shouldEarn(): boolean

Returns

boolean

Defined in

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