C_QuestOffer
namespaceavailable in: camelotStatus in wowlua
4 functions: 0 implemented, 0 recorded, 4 guessed. 5 events, 2 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetHideRequiredItems | Whether the offered quest hides its required items. · by wowlua(): boolean | guessed |
GetQuestOfferMajorFactionReputationRewards | Returns the renown reputation the offered quest rewards, or nil when there is none. · by wowlua(): QuestRewardReputationInfo[]? | guessed |
GetQuestRequiredCurrencyInfo | Returns a currency the offered quest requires, or nil when there is none at that index. · by wowlua(questRewardIndex: number): QuestRequiredCurrencyInfo? | guessed |
GetQuestRewardCurrencyInfo | Returns a currency the offered quest rewards, or nil when there is none at that index. · by wowlua(questInfoType: string, questRewardIndex: number): QuestRewardCurrencyInfo? | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
QUEST_ACCEPT_CONFIRM | name: string, questTitle: string, questID: number | not implemented |
QUEST_FINISHED | no payload | implemented |
QUEST_GREETING | no payload | not implemented |
QUEST_ITEM_UPDATE | no payload | not implemented |
QUEST_PROGRESS | no payload | implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("QUEST_ACCEPT_CONFIRM").
Structures
QuestRequiredCurrencyInfo· texture, name, currencyID, quality, requiredAmount
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (QuestOffer system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.