comparison SkeletonKey/SkeletonKey.lua @ 59:d8bb2629fea8

LKT - organized addon templates a little - centralized ticker
author Nenue
date Sat, 27 Aug 2016 10:31:48 -0400
parents a545933ddf3d
children 556e075983a6
comparison
equal deleted inserted replaced
58:39cfd8e142f9 59:d8bb2629fea8
303 303
304 kb.ui(true) 304 kb.ui(true)
305 end 305 end
306 306
307 307
308 kb.wrap = function(module)
309 kb.modules = kb.modules or {}
310 tinsert(kb.modules, module)
311 end
312
313 -- Volatiles Access 308 -- Volatiles Access
314 kb.FormatActionID = function(actionType, actionID) return tostring(actionType) .. '_' .. tostring(actionID) end 309 kb.FormatActionID = function(actionType, actionID) return tostring(actionType) .. '_' .. tostring(actionID) end
315 kb.GetBindings = function() return kb.bindings end 310 kb.GetBindings = function() return kb.bindings end
316 kb.GetButtons = function() return kb.buttons end 311 kb.GetButtons = function() return kb.buttons end
317 kb.GetCharacterProfile = function () return kb.loadedProfiles[BINDING_TYPE_CHARACTER] end 312 kb.GetCharacterProfile = function () return kb.loadedProfiles[BINDING_TYPE_CHARACTER] end