Game. ModAPI

Contains all functions and classes for Mods working

Members

(static) ModsLoaded :Map

Map of loaded mods. Key - ModID, value - Mod object

Type:
  • Map

Methods

(static) LoadMod(modCode) → {void}

Loads mod by it code

Parameters:
NameTypeDescription
modCodestring
Returns:
Type: 
void

(static) LoadModFile() → {void}

Loads mod, opens file choose dialog

Returns:
Type: 
void

(static) UnloadModByID(modID) → {void}

Unloads mod by its ID, reloads the page

Parameters:
NameTypeDescription
modIDstring

ID of the Mod

Returns:
Type: 
void