Mods
Namespace: MordhauBuddy.Core
Parent Module: BridgeOperations
Attributes:
[<RequireQualifiedAccess>]
Mod related bridge commands
Functions and values
Function or value | Description |
Mods.defDir()
Signature: unit -> string option
|
Try to locate the default Mordhau mods directory
|
Mods.dirExists(dir)
Signature: dir:string -> bool
|
Determine if input is valid maps directory
|
Mods.disableMod dir modId
Signature: dir:string -> modId:int -> Result<bool,string>
|
Disable a mod
|
Mods.enableMod dir modId
Signature: dir:string -> modId:int -> Result<bool,string>
|
Enable a mod
|
Mods.getAvailableMods()
Signature: unit -> ModInfoFile list
|
Get the list of valid community maps based on info files
|
Mods.getInstalledMods(dir)
Signature: dir:string -> ModInfoFile list * ModInfoFile list
|
Get all installed maps
|
Mods.installMod(...)
Signature: mCmd:ModTarget -> dispatchWrapper:(ModResult -> unit) -> cToken:(type) -> bool
|
Download map if available
|
Mods.uninstallMod dir modId
Signature: dir:string -> modId:int -> Result<bool,string>
|
Remove a mod
|