Static variables

@:value(new Map<String,Bool>())staticmodList:Map<String, Bool> = new Map<String,Bool>()

@:value(new Map())staticmodMetadatas:Map<String, ModMetadata> = new Map()

Static methods

staticgetActiveMods(modsToCheck:Array<String>):Array<String>

Returns an Array of all active mods NOTE: Will prioritize the current selected mod over all other mods.

Parameters:

modsToCheck

Returns:

The array of mods

staticgetModEnabled(mod:String):Bool

Gets if a mod is enabled

Parameters:

mod

The mod to check

Returns:

If the mod is enabled or not.

staticinlineload():Void

Loads all mods.

staticsetModEnabled(mod:String, enabled:Bool):Void

Enables / disables a mod

Parameters:

mod

The mod to enable / disable

enabled

should the mod be enabled?