managed

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMod

func AddMod(game config.GameDef, mod *mods.Mod) (tm mods.TrackedMod, err error)

func AddModFromFile

func AddModFromFile(game config.GameDef, file string) (mods.TrackedMod, error)

func AddModFromUrl

func AddModFromUrl(game config.GameDef, url string) (mods.TrackedMod, error)

func CheckForUpdates

func CheckForUpdates(game config.GameDef, result func(err error))

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 ForceDisableAll(game config.GameDef)

func GetEnabledMods added in v0.5.4

func GetEnabledMods(game config.GameDef) (result []mods.TrackedMod)

func GetMods

func GetMods(game config.GameDef) []mods.TrackedMod

func Initialize

func Initialize(games []config.GameDef) (err error)

func IsModEnabled added in v0.4.3

func IsModEnabled(game config.GameDef, id mods.ModID) (mod mods.TrackedMod, found bool, enabled bool)

func RemoveMod

func RemoveMod(game config.GameDef, tm mods.TrackedMod) error

func TryGetMod

func TryGetMod(game config.GameDef, id mods.ModID) (m mods.TrackedMod, found bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL