Mercurial > wow > skeletonkey
comparison SkeletonKey/SkeletonKey.lua @ 27:73df13211b22
- actionbar hotkey text properly updates after hotkeys get switched
- remove a unused function call
| author | Nenue |
|---|---|
| date | Tue, 02 Aug 2016 12:33:13 -0400 |
| parents | 67db6b712bf3 |
| children | 1aba8a6fd4a9 |
comparison
equal
deleted
inserted
replaced
| 26:c081f117c19d | 27:73df13211b22 |
|---|---|
| 40 [BINDING_TYPE_GLOBAL] = L('The bindings are applied globally.'), | 40 [BINDING_TYPE_GLOBAL] = L('The bindings are applied globally.'), |
| 41 [BINDING_TYPE_CHARACTER] = L('Applied when you log onto this character.'), | 41 [BINDING_TYPE_CHARACTER] = L('Applied when you log onto this character.'), |
| 42 [BINDING_TYPE_SPECIALIZATION] = L('Applied when you select this specialization.'), | 42 [BINDING_TYPE_SPECIALIZATION] = L('Applied when you select this specialization.'), |
| 43 } | 43 } |
| 44 | 44 |
| 45 | 45 kb.ChangedBindings = {} |
| 46 kb.SystemBindings = {} | 46 kb.SystemBindings = {} |
| 47 kb.ActionTypes = {} | 47 kb.ActionTypes = {} |
| 48 kb.TalentBindings = {} | 48 kb.TalentBindings = {} |
| 49 kb.PetCache = { | |
| 50 spell = {}, | |
| 51 spellslot = {}, | |
| 52 action = {}, | |
| 53 special = {}, | |
| 54 subtext = {} | |
| 55 } | |
| 56 kb.TalentCache = {} | |
| 57 kb.ProfessionCache = {} | |
| 58 kb.pendingCalls = {} | |
| 59 kb.pendingAttributes = {} | |
| 49 | 60 |
| 50 kb.configHeaders = {} | 61 kb.configHeaders = {} |
| 51 kb.loadedProfiles = {} | 62 kb.loadedProfiles = {} |
| 52 kb.orderedProfiles = {} | 63 kb.orderedProfiles = {} |
| 53 kb.buttons = {} | 64 kb.buttons = {} |
| 72 | 83 |
| 73 --- Returns conflicting assignment and binding profiles for use in displaying confirmations | 84 --- Returns conflicting assignment and binding profiles for use in displaying confirmations |
| 74 kb.IsCommandBound = function(self, command) | 85 kb.IsCommandBound = function(self, command) |
| 75 local isAssigned, assignedBy = false, db.bindMode | 86 local isAssigned, assignedBy = false, db.bindMode |
| 76 local isBound, boundBy = false, db.bindMode | 87 local isBound, boundBy = false, db.bindMode |
| 77 | |
| 78 | |
| 79 command = command or self.command | 88 command = command or self.command |
| 80 for i = 1, #kb.orderedProfiles do | 89 for i = 1, #kb.orderedProfiles do |
| 81 local tier = kb.orderedProfiles[i] | 90 local tier = kb.orderedProfiles[i] |
| 82 if i ~= db.bindMode then | 91 if i ~= db.bindMode then |
| 83 | 92 |
| 293 -- todo: redo import checking | 302 -- todo: redo import checking |
| 294 | 303 |
| 295 kb.UpdateSystemBinds() | 304 kb.UpdateSystemBinds() |
| 296 kb.ApplyAllBindings() | 305 kb.ApplyAllBindings() |
| 297 | 306 |
| 307 if not InCombatLockdown() then | |
| 308 kb.CreateHooks() | |
| 309 else | |
| 310 kb:print('Some functionality will not load until breaking combat.') | |
| 311 tinsert(kb.pendingCalls, kb.CreateHooks) | |
| 312 end | |
| 313 | |
| 314 | |
| 298 kb.ui(true) | 315 kb.ui(true) |
| 299 end | 316 end |
| 300 | 317 |
| 301 | 318 |
| 302 kb.wrap = function(module) | 319 kb.wrap = function(module) |
