v0.13.8

C_LootHistory

namespaceavailable in: camelot

Status in wowlua

5 functions: 0 implemented, 0 recorded, 5 guessed. 5 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetAllEncounterInfosReturns the loot history of every recent encounter. · by wowlua
(): EncounterLootInfo[]
guessed
GetInfoForEncounterReturns the loot history of an encounter. · by wowlua
(encounterID: number): EncounterLootInfo?
guessed
GetLootHistoryTimeReturns how long loot stays in the loot history. · by wowlua
(): number
guessed
GetSortedDropsForEncounterReturns the items an encounter dropped, sorted. · by wowlua
(encounterID: number): EncounterLootDropInfo[]?
guessed
GetSortedInfoForDropReturns 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

eventpayloadfired by the emulator
LOOT_HISTORY_CLEAR_HISTORYno payloadnot implemented
LOOT_HISTORY_GO_TO_ENCOUNTERencounterID: numbernot implemented
LOOT_HISTORY_ONE_HUNDRED_ROLLencounterID: number, lootListKey: numbernot implemented
LOOT_HISTORY_UPDATE_DROPencounterID: number, lootListKey: numbernot implemented
LOOT_HISTORY_UPDATE_ENCOUNTERencounterID: numbernot 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, duration
  • EncounterLootDropRollInfo · playerName, playerGUID, playerClass, isSelf, state, isWinner, roll?
  • EncounterLootDrops · encounterID, drops
  • EncounterLootInfo · 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.