Verified Commit 66f3c902 authored by Luckyone's avatar Luckyone
Browse files

Finish Cleanup

parent bcf5b2d8
......@@ -10,21 +10,6 @@ function L1UI:GetBigWigsProfile()
if L1UI.Retail then
BigWigs3DB = {
["profileKeys"] = {
[E.mynameRealm] = Rmain,
},
["profiles"] = {
[Rmain] = {
["showZoneMessages"] = false,
["fakeDBMVersion"] = true,
["flash"] = false,
},
[Rheal] = {
["showZoneMessages"] = false,
["flash"] = false,
["fakeDBMVersion"] = true,
},
},
["namespaces"] = {
["BigWigs_Plugins_Alt Power"] = {},
["BigWigs_Plugins_BossBlock"] = {},
......@@ -286,25 +271,29 @@ function L1UI:GetBigWigsProfile()
},
},
},
}
BigWigsIconDB = {["hide"] = true}
BigWigs.db:SetProfile(Rmain)
elseif L1UI.TBC then
BigWigsClassicDB = {
["profileKeys"] = {
[E.mynameRealm] = Tmain,
[E.mynameRealm] = Rmain,
},
["profiles"] = {
[Theal] = {
[Rmain] = {
["showZoneMessages"] = false,
["fakeDBMVersion"] = true,
["flash"] = false,
},
[Tmain] = {
[Rheal] = {
["showZoneMessages"] = false,
["flash"] = false,
["fakeDBMVersion"] = true,
},
},
}
BigWigsIconDB = {["hide"] = true}
BigWigs.db:SetProfile(Rmain)
elseif L1UI.TBC then
BigWigsClassicDB = {
["namespaces"] = {
["BigWigs_Plugins_BossBlock"] = {},
["BigWigs_Plugins_Pull"] = {},
......@@ -471,25 +460,25 @@ function L1UI:GetBigWigsProfile()
},
},
},
}
BigWigsIconClassicDB = {["hide"] = true}
BigWigs.db:SetProfile(Tmain)
elseif L1UI.Classic then
BigWigsClassicDB = {
["profileKeys"] = {
[E.mynameRealm] = Cmain,
[E.mynameRealm] = Tmain,
},
["profiles"] = {
[Cheal] = {
[Theal] = {
["fakeDBMVersion"] = true,
},
[Cmain] = {
[Tmain] = {
["fakeDBMVersion"] = true,
},
},
}
BigWigsIconClassicDB = {["hide"] = true}
BigWigs.db:SetProfile(Tmain)
elseif L1UI.Classic then
BigWigsClassicDB = {
["namespaces"] = {
["BigWigs_Plugins_BossBlock"] = {},
["BigWigs_Plugins_Pull"] = {},
......@@ -656,6 +645,17 @@ function L1UI:GetBigWigsProfile()
},
},
},
["profileKeys"] = {
[E.mynameRealm] = Cmain,
},
["profiles"] = {
[Cheal] = {
["fakeDBMVersion"] = true,
},
[Cmain] = {
["fakeDBMVersion"] = true,
},
},
}
BigWigsIconClassicDB = {["hide"] = true}
......
local L1UI, E, L, V, P, G = unpack(select(2, ...))
local _G = _G
local DBM = _G.DBM
local retail = "Luckyone"
local tbc = "Luckyone TBC"
local classic = "Luckyone Classic"
-- DBM Profile
function L1UI:GetDBMProfile()
if L1UI.Retail then
DBM:CreateProfile("Luckyone")
DBM:CreateProfile(retail)
DBM_AllSavedOptions = {
["Luckyone"] = {
[retail] = {
["DontShowFarWarnings"] = true,
["ChosenVoicePack"] = "VEM",
["DontShowHudMap2"] = true,
......@@ -258,7 +259,7 @@ function L1UI:GetDBMProfile()
},
}
DBT_AllPersistentOptions = {
["Luckyone"] = {
[retail] = {
["DBM"] = {
["StartColorPR"] = 1,
["Scale"] = 1,
......@@ -360,15 +361,16 @@ function L1UI:GetDBMProfile()
},
},
}
DBM_MinimapIcon = {["hide"] = true}
DBM:ApplyProfile("Luckyone")
DBM:ApplyProfile(retail)
elseif L1UI.TBC then
DBM:CreateProfile("Luckyone TBC")
DBM:CreateProfile(tbc)
DBM_AllSavedOptions = {
["Luckyone TBC"] = {
[tbc] = {
["DontShowFarWarnings"] = true,
["ChosenVoicePack"] = "VEM",
["DontShowHudMap2"] = true,
......@@ -619,7 +621,7 @@ function L1UI:GetDBMProfile()
},
}
DBT_AllPersistentOptions = {
["Luckyone TBC"] = {
[tbc] = {
["DBM"] = {
["StartColorPR"] = 1,
["Scale"] = 1,
......@@ -721,15 +723,16 @@ function L1UI:GetDBMProfile()
},
},
}
DBM_MinimapIcon = {["hide"] = true}
DBM:ApplyProfile("Luckyone TBC")
DBM:ApplyProfile(tbc)
elseif L1UI.Classic then
DBM:CreateProfile("Luckyone Classic")
DBM:CreateProfile(classic)
DBM_AllSavedOptions = {
["Luckyone Classic"] = {
[classic] = {
["DontShowFarWarnings"] = true,
["ChosenVoicePack"] = "VEM",
["DontShowHudMap2"] = true,
......@@ -980,7 +983,7 @@ function L1UI:GetDBMProfile()
},
}
DBT_AllPersistentOptions = {
["Luckyone Classic"] = {
[classic] = {
["DBM"] = {
["StartColorPR"] = 1,
["Scale"] = 1,
......@@ -1082,10 +1085,9 @@ function L1UI:GetDBMProfile()
},
},
}
DBM_MinimapIcon = {["hide"] = true}
DBM:ApplyProfile("Luckyone Classic")
DBM:ApplyProfile(classic)
end
DBM_MinimapIcon = {["hide"] = true}
end
local L1UI, E, L, V, P, G = unpack(select(2, ...))
local _G = _G
local PA = _G.ProjectAzilroka
local version = GetAddOnMetadata('ProjectAzilroka', 'Version')
-- ProjectAzilroka Profile
function L1UI:GetPAProfile()
local PA = _G.ProjectAzilroka
-- ProjectAzilroka version
local version = GetAddOnMetadata('ProjectAzilroka', 'Version')
-- Create and set a new Profile called Luckyone
PA.data:SetProfile('Luckyone')
......
local L1UI, E, L, V, P, G = unpack(select(2, ...))
if not L1UI.Retail then return end
local version = GetAddOnMetadata('ElvUI_SLE', 'Version')
-- Shadow & Light Profile
function L1UI:GetSLEProfile()
-- Shadow & Light Version
local version = GetAddOnMetadata('ElvUI_SLE', 'Version')
-- Shadow & Light Global DB
E.global["sle"]["advanced"]["confirmed"] = true
E.global["sle"]["advanced"]["gameMenu"]["enable"] = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment