-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOtherModule.lua
More file actions
30 lines (22 loc) · 779 Bytes
/
OtherModule.lua
File metadata and controls
30 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local ADDON_NAME, Addon = ...
---------------------------------------------------------------- Setup Module --
local MODULE_NAME = 'OtherModule'
local Module = Addon:NewModule(MODULE_NAME)
local L = Addon.L
-------------------------------------------------------------------- Database --
local defaultDB = {
profile = {
}
}
---------------------------------------------------------------- Core Methods --
function Module:OnInitialize()
self.db = Addon.db:RegisterNamespace(MODULE_NAME, defaultDB)
self:Debug('OnInitialize Trigered')
end
function Module:OnEnable()
self:Debug('OnEnabled Trigered')
end
function Module:OnDisable()
self:Debug('OnDisable Trigered')
end
------------------------------------------------------------------------- Fin --