You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
814 B
34 lines
814 B
|
2 years ago
|
-- AllInOne.lua
|
||
|
|
-- @Author : DengSir (tdaddon@163.com)
|
||
|
|
-- @Link : https://dengsir.github.io
|
||
|
|
-- @Date : 9/20/2018, 4:05:16 PM
|
||
|
|
|
||
|
|
local ns = select(2, ...)
|
||
|
|
local Addon = ns.Addon
|
||
|
|
local Script = ns.Script
|
||
|
|
local L = ns.L
|
||
|
|
|
||
|
|
local AllInOne = Addon:NewPlugin('AllInOne')
|
||
|
|
|
||
|
|
function AllInOne:OnInitialize(args)
|
||
|
|
self:EnableWithAddon('Blizzard_PetBattleUI')
|
||
|
|
self:SetPluginTitle(L.SELECTOR_ALLINONE_TITLE)
|
||
|
|
self:SetPluginNotes(L.SELECTOR_ALLINONE_NOTES)
|
||
|
|
self:SetPluginIcon([[Interface\ICONS\ABILITY_SEAL]])
|
||
|
|
end
|
||
|
|
|
||
|
|
function AllInOne:GetCurrentKey()
|
||
|
|
return '-'
|
||
|
|
end
|
||
|
|
|
||
|
|
function AllInOne:IterateKeys()
|
||
|
|
return pairs({['-'] = true})
|
||
|
|
end
|
||
|
|
|
||
|
|
function AllInOne:GetTitleByKey(key)
|
||
|
|
return L.SELECTOR_ALLINONE_TITLE
|
||
|
|
end
|
||
|
|
|
||
|
|
function AllInOne:OnTooltipFormatting(tip, key)
|
||
|
|
end
|