Support per-class frame display names, rename Pyromancer segment bar to Ember gauge

This commit is contained in:
2026-07-08 16:19:00 +02:00
parent 6165bbfe6e
commit f3a58b846d
2 changed files with 60 additions and 6 deletions
+13
View File
@@ -34,6 +34,19 @@ HideCoAUI.FRAMES = {
-- "CoASpellActivationOverlay", -- found via full frame scan, deliberately left without a checkbox
}
HideCoAUI.FRAME_DISPLAY_NAMES = {
PYROMANCER = {
CoAResourceSegmentBar = "Ember gauge",
},
}
local function GetFrameDisplayName(class, frameName)
local classNames = HideCoAUI.FRAME_DISPLAY_NAMES[class]
return classNames and classNames[frameName]
end
HideCoAUI.GetFrameDisplayName = GetFrameDisplayName
local function CreateDefaultClassSettings()
local classSettings = {}