mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
37 lines
777 B
Plaintext
37 lines
777 B
Plaintext
--- Desction <get from json>
|
|
-- @module ThisModule@X.Y.Z
|
|
-- @author <get from json>
|
|
-- @license <get from json>
|
|
-- @alias ThisModule
|
|
|
|
-- Module Require
|
|
local Module = require('Module')
|
|
local SubModule = require('Collection.Submodule')
|
|
local OptModule -- OptModule@^X.Y.Z
|
|
|
|
-- Local Variables
|
|
|
|
-- Module Define
|
|
local module_verbose = false
|
|
local ThisModule = {
|
|
on_init=function(self)
|
|
if loaded_modules['OptModule'] then OptModule = require('OptModule') end
|
|
if loaded_modules['OptModule2'] then require(module_path..'/src/module2',{self=self}) end
|
|
--code
|
|
end,
|
|
on_post=function()
|
|
--code
|
|
end
|
|
}
|
|
|
|
-- Global Define
|
|
local global = global{
|
|
key='value'
|
|
}
|
|
|
|
-- Function Define
|
|
|
|
-- Event Handlers Define
|
|
|
|
-- Module Return
|
|
return ThisModule |