Gladdy-TBC/Modules/XiconProfiles.lua

100 lines
19 KiB
Lua
Raw Permalink Normal View History

2021-05-17 16:49:54 +02:00
local Gladdy = LibStub("Gladdy")
local L = Gladdy.L
local XiconProfiles = Gladdy:NewModule("XiconProfiles", nil, {
})
2021-05-17 18:22:31 +02:00
local ExportImport
function XiconProfiles:Initialize()
ExportImport = Gladdy.modules["ExportImport"]
end
2021-05-17 16:49:54 +02:00
function XiconProfiles:ApplyKlimp()
2021-05-17 18:22:31 +02:00
local klimpExport = "4XzRB11DIJZK(NZU7fDoydgm7DXKqsE3KUZgy6m75mhMiSfGMyS8kBN00xKF7Bv6dBzBCWDVCtsWixQ(sLQNhPSYz1YvlIebCrevmJhZf4diR(QZQfRL)CR8Nc8N5WZk2Sj7UqEYc2pPR(Q7i9JcWFCzC6oYQ5EJgmAOZuppx)rJ8MoE1MV4nC1IqswEaPZPAGCQgiNQb4uPh)F(nqY08vF9ltGNftYKt)J8SvlU)65GessxkO75I58K8)hZGhGw1vSmY6y6mMimMUADLkS1E6hCXOpvbULY2UdePl8vP08BPK48DwpF8aPoWZP7FmMKtvUHlJFNCiBjrSLMtJWjx6NwSJ)(LfcYvu5hXNhjEMfLVBojmNJU5lgIpBgiPTCbJMHQzwmLMI)bnbTOOvbRwSHlcPOVafcd)9xDgoEWuLUNlIZYls6Z7aHOH47isI69R4pwnn7iI995fg7oym(cVM1Nr76o1hhDwijpNk63744jTIiwg62sY7ZlnEWezADuyVgTZipC0BOerFgVRJJ0meCEV0gp)r(6aXVWR4kFfAkyYKKqAVERPQ3ksq2YtYwlOK8D95fhPDYfK(mAVPtu(lbL(tAUG0Ruyp)HJW3ITpfEsVcmLPJhcJ5j9Yfm2rQBsNaw5awTd1iWArMQHlYpapzXDjqg4gsi9VUmk6Bjz)1nXKOOd)1D7jBPz)LAS)9nX8mOI0oOKqSSSGzb)mopoI)UQG1YV9OD9sZ3DJG)(vmbnmNbk3INU7MBxwwtrwQsUcih)4Wjd9XpeE6cOez5yO(2y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WOvqnW9EdSCR1P1WeKqdRIBatW53yXtnExKClbQsFwC
local deserialized = ExportImport:Decode(klimpExport)
if deserialized then
ExportImport:ApplyImport(deserialized)
end
2021-05-17 16:49:54 +02:00
Gladdy:UpdateFrame()
end
function XiconProfiles:ApplyKnall()
2021-05-17 18:22:31 +02:00
local klimpExport = "4XzRB11vIZKe(NZU7fJhcqcH9oJkk7QZ4kmJV75mhgBsAG(1q6SDs0H5c)TVv1FK0jbK48YnQeQU667UEQoUWzX8fZIebCrevCbpMlWhqw8zNfZwk)5A5pf4pZxmlKZJJ4VM05fSSy1QSa8hNhNUrrxijlpGCWnTNKh9K8OhYJiGi12Q4XeVb9C7ny8Wr(dC89g7Uy1NCha8nMKLnnKNCppBXSBVAcW1K05c6wUycpj))(fqmO5sEhjUKLrwgtVGjcJPlwUywk)vQ48W8cs8IGsP8gkB9gyn99akO53qjX5BSEUxp5MWZPBVpMKtv655XVs2LnNiwtZPri3LgIzB4VEEHGCjv(r85rIhzr5BMqcZ5sJgQUaFwZfmAgAyYIP0u8pOjOahHc3kUiKIQkYcg(7p7mWR3yP9kmxeNLxK0L14o2BaUgrsuNxIVNAB2qeB7Yc863ZdxWZzDH6(9h7JuNfsYZPIUTghxPweXYqZwsExwKxVrYq0OWorTZqxK6vuIOl033XrQgcoVtsJR)qFTJ4dSK(YLqtbvMKes70QgRwvKGSMNKTuqj5B6YchQnYfKUqT74rk7LGs)fnxq6uiSR)GH4QyBtHN0jhtz44UWyEsNmbEoszl3kJ(EkqhyextXvzQiolFhuBy20eiqCfjK(9ZJI(ss23VoMefT77t3c0N9DfT)46yEgu3zduxiwwBiqN1BQEjlln)l3Bxv08Dxl4VEjtqdZzGmo7HPxFdOiBKY2DKFI8YUu2Izxcb6z3d8IG1tAvlJwvT7tUokQULLLFjDfPiwgEDrmN88BpXx92tZ2qaHOzQwQGbBs(oO4N0cFPmI5VL92tb7lOPI8HsYVNWsawxKMkOzzOADi6DK0FXgOIllRPhSISbsYMqfK43EcOgk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JB4Od0u0x9vqHgGdNx2ZYHNHAGmbaeAmsr6muLMUJKqu(piEvSr3w9dQGVAZy2wBNbT6jRz)mTkUbLBQARMUorl1kDCsmrf1hdT2ADcQn626oPZxZtWLKx1JFNbnHaKQFvPskB0YCnE06cBxdXaFnfB3h5MPbDDx5vxERPR8jFAKNRNJZ4bEEU9h733G7WgHPfcvvp66Bz1cikAfwsu3fkSp(YRO9)aaJYFhnhb32aqSHbEaEc7RRTgUmfmmSQk0padcNLqeBGl43ajxnKMT39o4b1sGSiI999ObjvbsX6kUnMqaCfcJndakEllrtU05BbEP6U0T4GKOgokCI5w4DQbq2bXub639qUpKnL)x1u1mcvMoSNWudCB5TjBBFNt)PSI6SzBXIklMbTsHhp9JTK)em5ZMhCXNUaNbbl8hV4ucXTg(njIt9xOm3EEvg3w3WwK4ZfXXVVlvgyMlFjaQb(S0TApxfTJDwku0Sd5P)CXe)rdChoEONR)4(9gaWSHmVbWAe0eISGik4kvPVRxBZ89B2bges8XgSrovb9WEMdDqcxYZZ5BHZaGZAb07dCRRJ7frT94E0(czCQ((q1pYAQvo1nWhUuHFLGjNJeSBDjR0U2sROm9ZVg6mlt1Cgeuwn(n8vdPCowvx(RPU6H2yltyuZb8PEG9e70MKUOl1gSwPyAoH4a3eTQcr5LABpAL(wCZQAs5XwRTfhzXA58mhO9id0XydAMn3X4lTMVV7(UQWBdzy4(nk1giLL5wYk97)tpR6KkhWHEpK2CWYsa)Sc7Tf03pyqkKXuCCpVVJ2P1rjwVusQsNqYNUmEVAfXTeS6VLxFO666xcI6TUCKJDR9(GPNAxP7TD)mgY7MRvptUaZe5G(IPVQ6D7vSh3PjRkY0TeFhzTncgS9vlC(pYuJY5A2Q8984j4mgLi)XxJbvFZFbA6udIjMi0iGMZwRApEcExR4(aMdKUkOtk4dpc4TKnvwDf2vYTEAHaU7CwEr
local deserialized = ExportImport:Decode(klimpExport)
if deserialized then
ExportImport:ApplyImport(deserialized)
end
2021-05-17 16:49:54 +02:00
Gladdy:UpdateFrame()
end
function XiconProfiles:ApplyClassic()
2021-05-17 18:22:31 +02:00
local klimpExport = "4XzR7STCIJSKFo7Up0oKq333myJTph7E4yOhpBetW4cubuhlK0wsYUPFWF7NmRlsLeiGUhIOd3GuvzL3ZSYmzU98zZNgZhMXJP8rzjzC8bK5F1E(0fI)Uw8xo(3Y5txMLLeN9rApBySNRtKVRDK1GqFh7WW5R(INlcK(EdVV3ah2IQvRkgI)56K8nYZyjPOCiPxe2sGWwce2sGWY1)h)gafA58VoimaEycPO4HLzPtYkMp9XBhdGinFgNUnJpolT8)tVAlK5CdRGSiHoIXxMqNVy(08SpO8RxwwrsMpS(iUNYwVbpbyt50Y7PKKYngp33sCizL0TtsiLujrDDYhKDfZi810sAmcDbvpDt2hxxXj3qfFfFEm)fwC5MXKLLzcXX0n6Jyg97LvC68PpXszBjjSIsC9iPayhG0F16QO5tl5S03OL7Z7SomVBdG4jcKxJwJuIFd(wJqs)Y74zFCdJtxwYYs1ltIRpr(oYXm51ZNEtgNvmzcGjibVhZM2io(IVJ5bIsWPSFaKNDK(5n02dB3wLsBRDCvuKKiVYAGHsTuakXMXC2p(81)vfjMtkjF(6mnnwRc9fBLkWekFjnTKSwGOkzBbsGIn0vCfZBbIU474m(2(1LVkuGPAf3ZwgQnyR5H2wsgTectl3bS5PpKws5RilP)51XX)wAXFExcjoE3F(WwG4k(t5A)RI))kcNg)xlsYBX0uYGbijkSQG9YsLoo6sLOs9POsJ98RJFcjKH5NTVwj0qSnSzD1eYyVa3qlNq3qxROiRalWFKlO2qstZQsxs3c7TajbL50Zus8oubOiNUe)FAkDR4bQf8TcWWEO(0fMYu0anNWl3b0nTOIRSwekpX42kA2XSnWs2aIrHVLsfkRmLQ9b0G)bEE(UoHbErwUb2(rk8FfNSLQChOfmnwwd82xwvCBkAlg36CuYfHi3TJhTFbzgh4PXAzwlGPocRAvTzSTuHvcPu7vjMBGInog6A5vYjlFJgRDMcB8HT58S3PXF(6lGM6NVokHLJWyycSYSQs8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btJ9dwq)6I)2T8waZRX2EGtOrvFfwdp)WD3pRHu7dnm0HIpsXWnk87zOn2Q3sM2(AuSgZ1zeD82iOBjHzziney)HH5FDAARnWZX(owEwoyHDdTblBxvFOwOC3z42tPIAQA2sFqk(X7aMLuYGKVvI(o0HkHpbuBbR1TkF)vUho3Xwf49WsKg3OMNvTFuPATMWDdcDSd9J8qcx3ofJqgocS8acQ(p)nhKKg77g6zh6ea51yB7bNLMtp23ZpkYlW2YX1leIhRqL19(gEFVPCEN(bz27HC9NToKu0evDdT8dgmi0nk03lyqOM3mFS3GbbbGUI1GapBFh3guTN3W77nDYD4mScBFpJtQ11Q1O1fOx5XB)RFSFVivzYaSQjWLhHRJv(31)xm)RvjjNVFpSNiVDgEv0CMd6N8agScMHVHluf7jSD)FoJtwHO9qsJdC9CSS9c9CIGBL4ewRu0A3igCaiCLRY)JRY)JRXEURIwuiR0KjZYWqnHITD44HASBCSSxiBzDoouAG(n7kUhg1EkVcWFZUuYw2s5Y7eM)mqXn)KP(OTVARSp2Z1csElYZdmWDHRVQekX1j591bnDhVBetztJ(L5QprwZwEOCo1m1RguhKPz(bm0tmcOTP7if4y1YA10PDlFbNYZHPMJOtMLKYQIf69R5sbDgHGFk)cTA0xm)EsYQZvlYGDcjitjDsI3QJvJF9g)zuvBCmUP34esamoa8Uhzhyz5Afznq0Gv1qU0ZB499MA7KU59R1KpqQE3FGMyVuNsExJS2TNxRv0kmDWalVaFaXcTCccdnWzFFxlFlB45UrEodSmctF43SOV3uw3d2H6oW(mnLkQP4e0b8NV(q6QQcvjqbJgZkwJLR0OVoV
local deserialized = ExportImport:Decode(klimpExport)
if deserialized then
ExportImport:ApplyImport(deserialized)
end
2021-05-17 16:49:54 +02:00
Gladdy:UpdateFrame()
end
function XiconProfiles:GetOptions()
return {
headerProfileClassic = {
type = "header",
name = L["Classic Profile"],
order = 2,
},
classicProfile = {
type = "execute",
func = function()
Gladdy.dbi:ResetProfile(Gladdy.dbi:GetCurrentProfile())
XiconProfiles:ApplyClassic()
end,
name = " ",
desc = "Classic Profile",
image = "Interface\\AddOns\\Gladdy\\Images\\BasicProfiles\\Classic1.blp",
imageWidth = 256,
imageHeight = 128,
width = "full",
order = 3,
},
headerProfileKnall = {
type = "header",
name = L["Knall's Profile"],
order = 4,
},
knallProfile = {
type = "execute",
func = function()
Gladdy.dbi:ResetProfile(Gladdy.dbi:GetCurrentProfile())
XiconProfiles:ApplyKnall()
end,
name = " ",
desc = "Knall's Profile",
image = "Interface\\AddOns\\Gladdy\\Images\\BasicProfiles\\Knall1.blp",
imageWidth = 256,
imageHeight = 128,
width = "full",
order = 5,
},
headerProfileKlimp = {
type = "header",
name = L["Klimp's Profile"],
order = 6,
},
klimpProfiles = {
type = "execute",
func = function()
Gladdy.dbi:ResetProfile(Gladdy.dbi:GetCurrentProfile())
XiconProfiles:ApplyKlimp()
end,
image = "Interface\\AddOns\\Gladdy\\Images\\BasicProfiles\\Klimp1.blp",
imageWidth = 256,
imageHeight = 128,
name = " ",
desc = "Klimp's Profile",
width = "full",
order = 7,
},
}
end