C_LootHistory
namespaceavailable in: camelotStatus in wowlua
5 functions: 0 implemented, 0 recorded, 5 guessed. 5 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetAllEncounterInfos | Returns the loot history of every recent encounter. · by wowlua(): EncounterLootInfo[] | guessed |
GetInfoForEncounter | Returns the loot history of an encounter. · by wowlua(encounterID: number): EncounterLootInfo? | guessed |
GetLootHistoryTime | Returns how long loot stays in the loot history. · by wowlua(): number | guessed |
GetSortedDropsForEncounter | Returns the items an encounter dropped, sorted. · by wowlua(encounterID: number): EncounterLootDropInfo[]? | guessed |
GetSortedInfoForDrop | Returns information about an item an encounter dropped, with its rolls sorted. · by wowlua(encounterID: number, lootListKey: number): EncounterLootDropInfo? | 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 |
|---|---|---|
LOOT_HISTORY_CLEAR_HISTORY | no payload | not implemented |
LOOT_HISTORY_GO_TO_ENCOUNTER | encounterID: number | not implemented |
LOOT_HISTORY_ONE_HUNDRED_ROLL | encounterID: number, lootListKey: number | not implemented |
LOOT_HISTORY_UPDATE_DROP | encounterID: number, lootListKey: number | not implemented |
LOOT_HISTORY_UPDATE_ENCOUNTER | encounterID: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("LOOT_HISTORY_CLEAR_HISTORY").
Structures
EncounterLootDropInfo· lootListKey, itemHyperlink, playerRollState, currentLeader?, isTied, winner?, allPassed, rollInfos, startTime, durationEncounterLootDropRollInfo· playerName, playerGUID, playerClass, isSelf, state, isWinner, roll?EncounterLootDrops· encounterID, dropsEncounterLootInfo· encounterName, encounterID, startTime, duration
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LootHistory system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.