mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
add a list of available panel fields
this list will be used later for combo-box dropdown menu in the options menu.
This commit is contained in:
+5
-1
@@ -11,7 +11,11 @@ pfUI:RegisterModule("panel", function ()
|
||||
pfUI.panel:RegisterEvent("PLAYER_DEAD")
|
||||
pfUI.panel:RegisterEvent("MINIMAP_ZONE_CHANGED")
|
||||
|
||||
pfUI.panel:SetScript("OnEvent", function()
|
||||
-- list of available panel fields
|
||||
pfUI.panel.options = { "time", "fps", "exp", "gold", "friends",
|
||||
"guild", "durability", "zone" }
|
||||
|
||||
pfUI.panel:SetScript("OnEvent", function()
|
||||
if event == "PLAYER_ENTERING_WORLD" then
|
||||
pfUI.panel:UpdateGold()
|
||||
pfUI.panel:UpdateRepair();
|
||||
|
||||
Reference in New Issue
Block a user