Documentation ¶
Index ¶
- func AddMod(game config.GameDef, mod *mods.Mod) (tm mods.TrackedMod, err error)
- func AddModFromFile(game config.GameDef, file string) (mods.TrackedMod, error)
- func AddModFromUrl(game config.GameDef, url string) (mods.TrackedMod, error)
- func CheckForUpdates(game config.GameDef, result func(err error))
- func DisableMod(tm mods.TrackedMod) error
- func EnableMod(tm mods.TrackedMod) error
- func ForceDisable(tm mods.TrackedMod)
- func ForceDisableAll(game config.GameDef)
- func GetEnabledMods(game config.GameDef) (result []mods.TrackedMod)
- func GetMods(game config.GameDef) []mods.TrackedMod
- func Initialize(games []config.GameDef) (err error)
- func IsModEnabled(game config.GameDef, id mods.ModID) (mod mods.TrackedMod, found bool, enabled bool)
- func RemoveMod(game config.GameDef, tm mods.TrackedMod) error
- func TryGetMod(game config.GameDef, id mods.ModID) (m mods.TrackedMod, found bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddModFromFile ¶
func AddModFromUrl ¶
func CheckForUpdates ¶
func DisableMod ¶
func DisableMod(tm mods.TrackedMod) error
func EnableMod ¶
func EnableMod(tm mods.TrackedMod) error
func ForceDisable ¶ added in v0.9.0
func ForceDisable(tm mods.TrackedMod)
func ForceDisableAll ¶ added in v0.9.0
func GetEnabledMods ¶ added in v0.5.4
func GetEnabledMods(game config.GameDef) (result []mods.TrackedMod)
func Initialize ¶
func IsModEnabled ¶ added in v0.4.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.