Mods
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Holds information on all the mods that are registered. Can be accessed using theloadedMods
global keyword Operators
.(modid as string) as Mod
[](modid as string) as Mod
Parameters:
modid: string
Type: string
Return Type:
Mod
Members
getMod(modid as string) as Mod
isModLoaded(modid as string) as bool
Checks if a mod is laoded
Returns: true if the mod is loaded
Parameters:
modid: string
Type: string
- modid to check
Return Type:
bool
Getter
Gets the amount of mods loaded
Return Type:
int
size() as int
Gets the amount of mods loaded
Returns: The amount of mods that are loaded
Return Type:
int