Add C_LootHistory module with functions for managing loot history and encounter information

This commit is contained in:
2025-05-17 19:48:14 +02:00
parent 58f6886c19
commit 57ae516a30

30
C_LootHistory.lua Normal file
View File

@@ -0,0 +1,30 @@
---@meta
---
--- C_LootHistory is a namespace for functions related to loot history.
---
--- @class C_LootHistory
C_LootHistory = {
--- @return table
--- Returns all encounter information.
GetAllEncounterInfos = function() end,
--- @param encounterID number
--- @return table
--- Returns information for a specific encounter.
GetInfoForEncounter = function(encounterID) end,
--- @return number
--- Returns the loot history time.
GetLootHistoryTime = function() end,
--- @param encounterID number
--- @return table
--- Returns sorted drops for a specific encounter.
GetSortedDropsForEncounter = function(encounterID) end,
--- @param encounterID number
--- @param lootListID number
--- @return table
--- Returns sorted information for a specific drop.
GetSortedInfoForDrop = function(encounterID, lootListID) end,
}