Mercurial > wow > skeletonkey
comparison Events.lua @ 75:e75a2fd448c0
- binding slot mixin:
- store key binding definitions under their slot's data table
- apply action button attributes when a slot is assigned
- obtain correct macro body text when a macro is slotted
- fix algorithm for resolving renamed macro indices
- move spell detail lookup code out of mixin script
- event chains:
- initialize addon from PLAYER_LOGIN
- reload keybinds from PLAYER_SPECIALIZATION_CHANGED, after spec profile is resolved
- refresh interface content from SPELLS_CHANGED
- hard refresh after PLAYER_SPECIALIZATION_CHANGED
- hotkey text:
- restore communication and detection of key binding updates and reflect them accordingly
- properly respond to dynamic bindings that result from talent updates
author | Nenue |
---|---|
date | Mon, 23 Jan 2017 18:59:02 -0500 |
parents | 9824d524a661 |
children | 6623b7f2c1ca |
comparison
equal
deleted
inserted
replaced
74:9824d524a661 | 75:e75a2fd448c0 |
---|---|
37 kb.UpdateSpecInfo() | 37 kb.UpdateSpecInfo() |
38 kb.UpdateTalentInfo() | 38 kb.UpdateTalentInfo() |
39 kb.UpdatePetInfo() | 39 kb.UpdatePetInfo() |
40 kb.SelectProfileSet(kb.profileName) | 40 kb.SelectProfileSet(kb.profileName) |
41 kb.ApplyAllBindings() | 41 kb.ApplyAllBindings() |
42 SkeletonKey:Update(true) | |
42 end | 43 end |
43 | 44 |
44 kb.SPELLS_CHANGED = function() | 45 kb.SPELLS_CHANGED = function() |
45 SkeletonKey:Update() | 46 SkeletonKey:Update() |
46 end | 47 end |