Initial commit

This commit is contained in:
2025-01-04 13:47:04 +01:00
commit 19a7052f75
8 changed files with 471 additions and 0 deletions

30
Main.lua Normal file
View File

@@ -0,0 +1,30 @@
local ADDON_NAME, shared = ...
local frame = CreateFrame("Frame")
frame:RegisterEvent("ADDON_LOADED")
frame:SetScript("OnEvent", function(self, event, addon)
if addon ~= ADDON_NAME then return end
ActionBarSaverReloaded = ActionBarSaverReloaded or {}
ActionBarSaverReloaded.spellAliases = ActionBarSaverReloaded.spellAliases or {}
ActionBarSaverReloaded.sets = ActionBarSaverReloaded.sets or {}
end)
--function ABS:OnInitialize()
-- self.commands = {
-- save = self.actions.SaveSet,
-- restore = self.actions.RestoreSet,
-- delete = self.actions.DeleteSet,
-- list = self.actions.ListSets,
-- alias = self.actions.AliasSpell,
-- unalias = self.actions.DeleteSpellAliases,
-- aliases = self.actions.ListAliases,
-- }
--end
--
--function ABS:HandleCommands(input)
-- local cmd, args = Str.split(input, " ", 2)
-- local fn = self.commands[Str.toLower(cmd)]
--
-- if fn then fn(self, args) else self.actions.PrintUsage(self) end
--end