Appearance
LibTSMModule
Methods
OnModuleLoad
lua
function LibTSMModule:OnModuleLoad(func)Registers the function be called when the module is loaded.
Parameters:
| Name | Type | Description |
|---|---|---|
func | fun() | The function to call |
OnModuleUnload
lua
function LibTSMModule:OnModuleUnload(func)Registers the function be called when the module is unloaded.
Parameters:
| Name | Type | Description |
|---|---|---|
func | fun() | The function to call |
OnModuleUnloadLate
lua
function LibTSMModule:OnModuleUnloadLate(func)Registers the function be called when the module is unloaded as late as possible in the process.
Parameters:
| Name | Type | Description |
|---|---|---|
func | fun() | The function to call |