Initial commit
This commit is contained in:
30
Main.lua
Normal file
30
Main.lua
Normal 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
|
Reference in New Issue
Block a user