mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
nameplates: rewrite entire module
* Add additional options to hide specific types * Use more accurate debuff logic * Use proper pfUI borders around elements * Provide instant updates on config change * Reduce OnUpdate functions on each frame * Only Refresh plate on value change and events * Remove unnecessary textures from the plate * Separate vanilla quirks from the core * Deprecate "legacy" option
This commit is contained in:
+13
-3
@@ -124,6 +124,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("appearance", "border", "pixelperfect", "1")
|
||||
pfUI:UpdateConfig("appearance", "border", "hidpi", "1")
|
||||
pfUI:UpdateConfig("appearance", "border", "default", "3")
|
||||
pfUI:UpdateConfig("appearance", "border", "nameplates", "-1")
|
||||
pfUI:UpdateConfig("appearance", "border", "actionbars", "-1")
|
||||
pfUI:UpdateConfig("appearance", "border", "unitframes", "-1")
|
||||
pfUI:UpdateConfig("appearance", "border", "panels", "-1")
|
||||
@@ -555,9 +556,18 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("nameplates", nil, "enemyclassc", "1")
|
||||
pfUI:UpdateConfig("nameplates", nil, "friendclassc", "1")
|
||||
pfUI:UpdateConfig("nameplates", nil, "raidiconsize", "16")
|
||||
pfUI:UpdateConfig("nameplates", nil, "players", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "critters", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "totems", "0")
|
||||
|
||||
pfUI:UpdateConfig("nameplates", nil, "fullhealth", "1")
|
||||
pfUI:UpdateConfig("nameplates", nil, "target", "1")
|
||||
|
||||
pfUI:UpdateConfig("nameplates", nil, "enemynpc", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "enemyplayer", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "neutralnpc", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "friendlynpc", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "friendlyplayer", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "critters", "1")
|
||||
pfUI:UpdateConfig("nameplates", nil, "totems", "1")
|
||||
|
||||
pfUI:UpdateConfig("nameplates", nil, "showhp", "0")
|
||||
pfUI:UpdateConfig("nameplates", nil, "vpos", "-10")
|
||||
pfUI:UpdateConfig("nameplates", nil, "width", "120")
|
||||
|
||||
Reference in New Issue
Block a user