Latite Scripting Documentation (Exports)
Exports > feature/manager/mmgr > ModuleManager
Interface
Source: feature/manager/mmgr.d.ts:1
forEachModule(callback:
Function):void
Loop through each module.
Source: feature/manager/mmgr.d.ts:22
| Parameter | Type |
|---|---|
| callback | (mod: Module) => void |
void
getModuleByName(name:
string):null|Module
Gets a module by the specified InternalName. For example, ArmorHud is the internal name for Armor Hud. Position is the internal name of Coordinates
Source: feature/manager/mmgr.d.ts:16
| Parameter | Type | Description |
|---|---|---|
| name | string |
The name of the module to get. |
null | Module
registerModule(mod:
Module):void
Registers a module into the Latite mod. This makes it appear in the mod menu, and be interactive.
Source: feature/manager/mmgr.d.ts:6
| Parameter | Type | Description |
|---|---|---|
| mod | Module |
The module to register. |
void