You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
981 B

3 years ago
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster --
-- https://tradeskillmaster.com --
-- All Rights Reserved - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
local TSM = select(2, ...) ---@type TSM
3 years ago
local UI = TSM:NewPackage("UI")
local UIUtils = TSM.Include("UI.UIUtils")
local ANALYTICS_UI_NAMES = {
"auction",
"banking",
"crafting",
"destroying",
"mailing",
"main",
"task_list",
"vendoring",
3 years ago
}
-- ============================================================================
-- Module Functions
-- ============================================================================
function UI.OnInitialize()
for _, uiName in ipairs(ANALYTICS_UI_NAMES) do
UIUtils.RegisterUIForAnalytics(uiName)
end
end