#
Class: Quest#
HierarchyHandle<quest>
↳ Quest
#
Constructors#
constructornew Quest(): Quest
bug
Do not use this in a global initialisation as it crashes the game there.
Returns: Quest
Defined in: handles/quest.ts:27
#
Properties#
handle• Readonly
handle: quest
Defined in: handles/handle.ts:6
#
Accessors#
completedcompleted(): boolean
Returns: boolean
Defined in: handles/quest.ts:35
completed(completed: boolean): void
#
Parameters:Name | Type |
---|---|
completed | boolean |
Returns: void
Defined in: handles/quest.ts:39
#
discovereddiscovered(): boolean
Returns: boolean
Defined in: handles/quest.ts:43
discovered(discovered: boolean): void
#
Parameters:Name | Type |
---|---|
discovered | boolean |
Returns: void
Defined in: handles/quest.ts:47
#
enabledenabled(): boolean
Returns: boolean
Defined in: handles/quest.ts:51
enabled(enabled: boolean): void
#
Parameters:Name | Type |
---|---|
enabled | boolean |
Returns: void
Defined in: handles/quest.ts:55
#
failedfailed(): boolean
Returns: boolean
Defined in: handles/quest.ts:59
failed(failed: boolean): void
#
Parameters:Name | Type |
---|---|
failed | boolean |
Returns: void
Defined in: handles/quest.ts:63
#
idid(): number
Get the unique ID of the handle. The ID is recycled once you destroy the object.
Returns: number
The unique ID of a handle object.
Defined in: handles/handle.ts:18
#
requiredrequired(): boolean
Returns: boolean
Defined in: handles/quest.ts:67
required(required: boolean): void
#
Parameters:Name | Type |
---|---|
required | boolean |
Returns: void
Defined in: handles/quest.ts:71
#
Methods#
addItemaddItem(description: string): QuestItem
#
Parameters:Name | Type |
---|---|
description | string |
Returns: QuestItem
Defined in: handles/quest.ts:75
#
destroydestroy(): void
Returns: void
Defined in: handles/quest.ts:83
#
setDescriptionsetDescription(description: string): void
#
Parameters:Name | Type |
---|---|
description | string |
Returns: void
Defined in: handles/quest.ts:87
#
setIconsetIcon(iconPath: string): void
#
Parameters:Name | Type |
---|---|
iconPath | string |
Returns: void
Defined in: handles/quest.ts:91
#
setTitlesetTitle(title: string): void
#
Parameters:Name | Type |
---|---|
title | string |
Returns: void
Defined in: handles/quest.ts:95
#
flashQuestDialogButtonstatic flashQuestDialogButton(): void
Returns: void
Defined in: handles/quest.ts:99
#
forceQuestDialogUpdatestatic forceQuestDialogUpdate(): void
Returns: void
Defined in: handles/quest.ts:103
#
fromHandlestatic fromHandle(handle: quest): Quest
#
Parameters:Name | Type |
---|---|
handle | quest |
Returns: Quest
Defined in: handles/quest.ts:107