Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 2.38 KB

File metadata and controls

69 lines (39 loc) · 2.38 KB

Latite Scripting Documentation (Exports)


Exports > feature/manager/mmgr > ModuleManager

ModuleManager

Interface

Source: feature/manager/mmgr.d.ts:1

Methods

forEachModule()

forEachModule(callback: Function): void

Loop through each module.

Source: feature/manager/mmgr.d.ts:22

Parameters

Parameter Type
callback (mod: Module) => void

Returns

void

getModuleByName()

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

Parameters

Parameter Type Description
name string The name of the module to get.

Returns

null | Module

registerModule()

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

Parameters

Parameter Type Description
mod Module The module to register.

Returns

void