TasSpellView = {
AutoRun = true --(true) will create Itself at 0s, (false) you need to InitSpellView()
,TocPath = "war3mapImported\\TasSpellView.toc"
,ParentFuncSimple = function()
if GetHandleId(BlzGetFrameByName("CommandBarFrame", 0)) > 0 then return BlzGetFrameByName("CommandBarFrame", 0) end
return BlzGetFrameByName("ConsoleUI", 0)
end
,ParentFunc = function() return BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0) end
,UpdateTime = 0.1 -- lower number is faster
,ShowCooldown = true -- can be set async, needs BlzGetAbilityId for ability by index
,ToolTipSizeX = 0.26
,ToolTipPosX = 0.79
,ToolTipPosY = 0.165
,ToolTipPos = FRAMEPOINT_BOTTOMRIGHT
,Data = {}
,UnitSkills = {
-- you can store the abilities shown for that unitCode
--, otherwise the system will show the abilites found by index which pass the filter
[FourCC'Ulic'] = {[1]= FourCC'AUfn',[2]= FourCC'AUfu',[3]= FourCC'AUdr',[4]= FourCC'AUdd'}
}
,MOD_ABI = 1
,MOD_ABI_CODE = 0
,AbilityCache = {} -- makes performance better in V1.31 cause it lacks ParseTags and needs to do tooltip nonsense which with a cachce needs to be done only once.
}