Contains all functions and classes for Mods working
- Source
Members
(static) ModsLoaded :Map
Map of loaded mods. Key - ModID, value - Mod object
Type:
- Map
- Source
Methods
(static) LoadMod(modCode) → {void}
Loads mod by it code
Parameters:
Name | Type | Description |
---|---|---|
modCode | string |
- Source
Returns:
- Type:
- void
(static) LoadModFile() → {void}
Loads mod, opens file choose dialog
- Source
Returns:
- Type:
- void
(static) UnloadModByID(modID) → {void}
Unloads mod by its ID, reloads the page
Parameters:
Name | Type | Description |
---|---|---|
modID | string | ID of the Mod |
- Source
Returns:
- Type:
- void