mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 11:50:49 +00:00
thirdparty: add support for BCEPGP
This commit is contained in:
@@ -712,6 +712,7 @@ function pfUI:LoadConfig()
|
|||||||
pfUI:UpdateConfig("thirdparty", "myroleplay", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "myroleplay", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "druidmana", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "druidmana", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "druidbar", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "druidbar", "enable", "1")
|
||||||
|
pfUI:UpdateConfig("thirdparty", "bcepgp", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "noteit", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "noteit", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "recount", "skin", "1")
|
pfUI:UpdateConfig("thirdparty", "recount", "skin", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "recount", "dock", "1")
|
pfUI:UpdateConfig("thirdparty", "recount", "dock", "1")
|
||||||
|
|||||||
@@ -2159,6 +2159,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
|||||||
CreateConfig(nil, "SortBags", C.thirdparty.sortbags, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "SortBags", C.thirdparty.sortbags, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "MrPlow", C.thirdparty.mrplow, "enable", "checkbox")
|
CreateConfig(nil, "MrPlow", C.thirdparty.mrplow, "enable", "checkbox")
|
||||||
CreateConfig(nil, "DruidBar", C.thirdparty.druidbar, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "DruidBar", C.thirdparty.druidbar, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
|
CreateConfig(nil, "BCEPGP", C.thirdparty.bcepgp, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "FlightMap", C.thirdparty.flightmap, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "FlightMap", C.thirdparty.flightmap, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "TheoryCraft", C.thirdparty.theorycraft, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "TheoryCraft", C.thirdparty.theorycraft, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "SuperMacro", C.thirdparty.supermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "SuperMacro", C.thirdparty.supermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
|
|||||||
@@ -183,6 +183,16 @@ pfUI:RegisterModule("thirdparty-tbc", "tbc", function ()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
HookAddonOrVariable("BCEPGP_LootFrame_Update", function()
|
||||||
|
if C.thirdparty.bcepgp.enable == "0" then return end
|
||||||
|
|
||||||
|
local hook = _G.BCEPGP_LootFrame_Update
|
||||||
|
_G.BCEPGP_LootFrame_Update = function(a,b,c,d,e,f)
|
||||||
|
LootFrame.numLootItems = GetNumLootItems()
|
||||||
|
hook(a,b,c,d,e,f)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
HookAddonOrVariable("DruidBarFrame", function()
|
HookAddonOrVariable("DruidBarFrame", function()
|
||||||
if C.thirdparty.druidbar.enable == "0" then return end
|
if C.thirdparty.druidbar.enable == "0" then return end
|
||||||
local p = ManaBarColor[0]
|
local p = ManaBarColor[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user