flickerstreak@25: --[[ flickerstreak@25: ReAction module template flickerstreak@25: flickerstreak@25: --]] flickerstreak@25: flickerstreak@25: -- local imports flickerstreak@25: local ReAction = ReAction flickerstreak@25: local L = ReAction.L flickerstreak@25: local _G = _G flickerstreak@25: flickerstreak@25: -- module declaration flickerstreak@25: local moduleID = "MyModuleName" flickerstreak@25: local module = ReAction:NewModule( moduleID, flickerstreak@25: -- mixins go here flickerstreak@25: ) flickerstreak@25: flickerstreak@25: -- module methods flickerstreak@25: function module:OnInitialize() flickerstreak@25: self.db = ReAction:AcquireDBNamespace(moduleID) flickerstreak@25: ReAction:RegisterDefaults(moduleID,"profile", flickerstreak@25: { flickerstreak@25: flickerstreak@25: } flickerstreak@25: ) flickerstreak@25: end flickerstreak@25: flickerstreak@25: function module:OnEnable() flickerstreak@25: flickerstreak@25: end flickerstreak@25: flickerstreak@25: function module:OnDisable() flickerstreak@25: flickerstreak@25: end flickerstreak@25: flickerstreak@25: function module:OnProfileEnable() flickerstreak@25: flickerstreak@25: end flickerstreak@25: flickerstreak@25: function module:OnProfileDisable() flickerstreak@25: flickerstreak@25: end flickerstreak@25: