From 57ae516a3046e3c50175aa5d2c96694c3f07b547 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 17 May 2025 19:48:14 +0200 Subject: [PATCH] Add C_LootHistory module with functions for managing loot history and encounter information --- C_LootHistory.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 C_LootHistory.lua diff --git a/C_LootHistory.lua b/C_LootHistory.lua new file mode 100644 index 0000000..680f803 --- /dev/null +++ b/C_LootHistory.lua @@ -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, +}