Mercurial > wow > reaction
comparison PetActionButton.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 | 499ca4edf033 |
children | f7a5676c9517 |
comparison
equal
deleted
inserted
replaced
290:9671965c7a58 | 292:276165a0e860 |
---|---|
10 local GetPetActionSlotUsable = GetPetActionSlotUsable | 10 local GetPetActionSlotUsable = GetPetActionSlotUsable |
11 local GetPetActionCooldown = GetPetActionCooldown | 11 local GetPetActionCooldown = GetPetActionCooldown |
12 local AutoCastShine_AutoCastStart = AutoCastShine_AutoCastStart | 12 local AutoCastShine_AutoCastStart = AutoCastShine_AutoCastStart |
13 local AutoCastShine_AutoCastStop = AutoCastShine_AutoCastStop | 13 local AutoCastShine_AutoCastStop = AutoCastShine_AutoCastStop |
14 local SetDesaturation = SetDesaturation | 14 local SetDesaturation = SetDesaturation |
15 local CooldownFrame_SetTimer = CooldownFrame_SetTimer | 15 -- 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 |
16 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor | 16 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor |
17 | 17 |
18 -- | 18 -- |
19 -- Secure snippets | 19 -- Secure snippets |
20 -- These are run within the context of the bar's sandbox, as the | 20 -- These are run within the context of the bar's sandbox, as the |