diff --git a/Definitions.lua b/Definitions.lua new file mode 100644 index 00000000..3bc4aaff --- /dev/null +++ b/Definitions.lua @@ -0,0 +1,32 @@ +---@class combat : table +---@field GetCombatTime fun(combat) +---@field GetDeaths fun(combat) --get the table which contains the deaths of the combat +---@field end_time number +---@field start_time number +---@field GetStartTime fun(combat: combat, time: number) +---@field SetStartTime fun(combat: combat, time: number) +---@field GetEndTime fun(combat: combat, time: number) +---@field SetEndTime fun(combat: combat, time: number) +---@field CopyDeathsFrom fun(combat1: combat, combat2: combat, bMythicPlus: boolean) + +---@class actorcontainer : table +---@field _ActorTable table + +---@class spellcontainer : table +---@field _ActorTable table + +---@class spelltable : table + +---@class actor : table +---@field debuff_uptime_spells table +---@field buff_uptime_spells table +---@field spells table +---@field cooldowns_defensive_spells table + + + + + + + + diff --git a/Details.toc b/Details.toc index 77428b97..1402e550 100644 --- a/Details.toc +++ b/Details.toc @@ -25,6 +25,8 @@ locales\Details-ruRU.lua locales\Details-zhCN.lua locales\Details-zhTW.lua +Definitions.lua + boot.lua indent.lua core\util.lua diff --git a/Details_Wrath.toc b/Details_Wrath.toc index 0765ff79..fcc4dd18 100644 --- a/Details_Wrath.toc +++ b/Details_Wrath.toc @@ -21,6 +21,8 @@ locales\Details-ruRU.lua locales\Details-zhCN.lua locales\Details-zhTW.lua +Definitions.lua + boot.lua indent.lua core\util.lua