C_AdventureJournal
namespaceavailable in: camelotStatus in wowlua
8 functions: 0 implemented, 1 recorded, 7 guessed. 14 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ActivateEntry | Acts on an Adventure Guide suggestion, such as opening the dungeon finder or quest log it points to. Takes the suggestion's index; the matching AJ_* event fires. · by wowluanot in Blizzard's documentation | guessed |
CanBeShown | Returns whether the Adventure Guide can be shown to the player. · by wowluanot in Blizzard's documentation | recorded |
GetNumAvailableSuggestions | Returns how many Adventure Guide suggestions are available. · by wowluanot in Blizzard's documentation | guessed |
GetPrimaryOffset | Returns which suggestion the Adventure Guide shows in its main slot, as an offset into the suggestion list. Blizzard's arrows move it between 0 and the number of suggestions minus one. · by wowluanot in Blizzard's documentation | guessed |
GetReward | Returns the reward shown for an Adventure Guide suggestion, such as an item or currency. Takes the suggestion's index. · by wowluanot in Blizzard's documentation | guessed |
GetSuggestions | Fills the table passed in with the Adventure Guide's current suggestions. · by wowluanot in Blizzard's documentation | guessed |
SetPrimaryOffset | Sets which suggestion the Adventure Guide shows in its main slot, as an offset into the suggestion list. · by wowluanot in Blizzard's documentation | guessed |
UpdateSuggestions | Asks the game to rebuild the Adventure Guide's suggestions. Blizzard passes true after the player levels up and false after their item level rises. · by wowluanot in Blizzard's documentation | 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 |
|---|---|---|
AJ_DUNGEON_ACTION | lfgDungeonID: number | not implemented |
AJ_OPEN | no payload | not implemented |
AJ_OPEN_COLLECTIONS_ACTION | no payload | not implemented |
AJ_PVE_LFG_ACTION | no payload | not implemented |
AJ_PVP_ACTION | battleMasterListID: number | not implemented |
AJ_PVP_LFG_ACTION | no payload | not implemented |
AJ_PVP_RBG_ACTION | no payload | not implemented |
AJ_PVP_SKIRMISH_ACTION | no payload | not implemented |
AJ_PVP_SPECIAL_BG_ACTION | no payload | not implemented |
AJ_PVP_TRAINING_GROUNDS_ACTION | no payload | not implemented |
AJ_QUEST_LOG_OPEN | questID: number, uiMapID: number | not implemented |
AJ_RAID_ACTION | lfgDungeonID: number | not implemented |
AJ_REFRESH_DISPLAY | newAdventureNotice: boolean | not implemented |
AJ_REWARD_DATA_RECEIVED | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("AJ_DUNGEON_ACTION").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AdventureJournal system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.