Static variables
View on GitHub
staticuseLibFile:Bool = true
If accessing a file as assets/data/global/LIB_mymod.hx should redirect to mymod:assets/data/global.hx
Static methods
View on GitHub
staticloadLibraryFromFolder(libName:String, folder:String, force:Bool = false, ?modName:String, tag:AssetSource = MODS):AssetLibrary
View on GitHub
staticloadLibraryFromZip(libName:String, zipPath:String, force:Bool = false, ?modName:String, tag:AssetSource = MODS):AssetLibrary
View on GitHub
staticloadModLib(path:String, force:Bool = false, ?modName:String):AssetLibrary
Loads a mod library from the specified path. Supports folders and zips.
Parameters:
modName | Name of the mod |
---|---|
force | Whenever the mod should be reloaded if it has already been loaded |
View on GitHub
staticprepareModLibrary(libName:String, lib:IModsAssetLibrary, force:Bool = false, ?tag:AssetSource):AssetLibrary
View on GitHub
staticswitchMod(mod:String):Void
Switches mod - unloads all the other mods, then load this one.
Parameters:
null | libName |
---|