Interface: QuestProps
Defined in: src/interface/quest/QuestProps.ts:4
Properties
description?
> optional description?: string
Defined in: src/interface/quest/QuestProps.ts:14
The description of the quest.
Default
""icon?
> optional icon?: string
Defined in: src/interface/quest/QuestProps.ts:19
The icon of the quest.
Default
undefinedimage?
> optional image?: string
Defined in: src/interface/quest/QuestProps.ts:23
The image of the quest.
inDevelopment?
> optional inDevelopment?: boolean
Defined in: src/interface/quest/QuestProps.ts:28
If the quest is in development.
Default
falsename?
> optional name?: string
Defined in: src/interface/quest/QuestProps.ts:9
The name of the quest.
Default
""onContinue?
> optional onContinue?: OnRunEvent<QuestInterface>
Defined in: src/interface/quest/QuestProps.ts:40
The function that will be executed when a stage end in the quest.
onNextStage?
> optional onNextStage?: OnRunEvent<QuestInterface>
Defined in: src/interface/quest/QuestProps.ts:36
Deprecated
Use onContinue instead. The function that will be executed when a stage end in the quest.
onStart?
> optional onStart?: OnRunEvent<QuestInterface>
Defined in: src/interface/quest/QuestProps.ts:32
The function that will be executed when the quest starts.