managed

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMod

func AddMod(game config.Game, tm *mods.TrackedMod) error

func AddModFromFile

func AddModFromFile(game config.Game, file string) (tm *mods.TrackedMod, err error)

func AddModFromUrl

func AddModFromUrl(game config.Game, url string) (tm *mods.TrackedMod, err error)

func CheckForUpdates

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

func DisableMod

func DisableMod(game config.Game, tm *mods.TrackedMod) (err error)

func EnableMod

func EnableMod(enabler *mods.ModEnabler) (err error)

func GetMods

func GetMods(game config.Game) []*mods.TrackedMod

func Initialize

func Initialize() (err error)

func IsModEnabled added in v0.4.3

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

func RemoveMod

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

func TryGetMod

func TryGetMod(game config.Game, id mods.ModID) (*mods.TrackedMod, bool)

func UpdateMod

func UpdateMod(game config.Game, tm *mods.TrackedMod) (err error)

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