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