HolyLib Wiki

addonsystem

addonsystem

This library provides functions related to the addonsystem
Supports: Linux32 | Windows32

This library is still in active development and is unfinished BUT it was included in the 0.7 release

Methods

addonsystem.Clear()
Clears the addonsystem removing any active addons?
table addonsystem.MountFile( string filePath )
Mounts the given .gma file
addonsystem.Refresh()
Refreshes the addonsystem to handle any changes in addons? or is this like a Think for it?
addonsystem.SetShouldMount( string workshopID, boolean shouldMount = false )
Sets whether the given addon should be mounted. The workshopID should be a string as being a number will cause issues.
boolean addonsystem.ShouldMount( number workshopID )
Returns true if the given addon should be mounted The workshopID should be a string as being a number will cause issues.