Mercurial > wow > reaction
comparison ActionButton.lua @ 292:276165a0e860 1.1 beta 10
Don't stash CooldownFrame_SetTimer, to support mods such as 'Cooldowns' which hook it in an event handler.
author | Flick |
---|---|
date | Fri, 05 Aug 2011 16:25:41 -0700 |
parents | 4e325f1ea6e1 |
children | 0cb6a9944497 |
comparison
equal
deleted
inserted
replaced
290:9671965c7a58 | 292:276165a0e860 |
---|---|
13 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor | 13 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor |
14 local IsCurrentAction = IsCurrentAction | 14 local IsCurrentAction = IsCurrentAction |
15 local IsAutoRepeatAction = IsAutoRepeatAction | 15 local IsAutoRepeatAction = IsAutoRepeatAction |
16 local IsUsableAction = IsUsableAction | 16 local IsUsableAction = IsUsableAction |
17 local IsAttackAction = IsAttackAction | 17 local IsAttackAction = IsAttackAction |
18 local CooldownFrame_SetTimer = CooldownFrame_SetTimer | 18 -- local CooldownFrame_SetTimer = CooldownFrame_SetTimer -- don't stash this API, look it up every time to support some mods that hook it, e.g. Cooldowns |
19 local GetActionCooldown = GetActionCooldown | 19 local GetActionCooldown = GetActionCooldown |
20 local GetActionTexture = GetActionTexture | 20 local GetActionTexture = GetActionTexture |
21 local ATTACK_BUTTON_FLASH_TIME = ATTACK_BUTTON_FLASH_TIME | 21 local ATTACK_BUTTON_FLASH_TIME = ATTACK_BUTTON_FLASH_TIME |
22 local TOOLTIP_UPDATE_TIME = TOOLTIP_UPDATE_TIME | 22 local TOOLTIP_UPDATE_TIME = TOOLTIP_UPDATE_TIME |
23 local IsActionInRange = IsActionInRange | 23 local IsActionInRange = IsActionInRange |