Click or drag to resize

ModIsModLoaded Method (String, String)

Checks whether a mod with the specified name and version is currently loaded by any ModHost. If a mod with a matching name is found but the version is not the same then the return value will be false.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool IsModLoaded(
	string modName,
	string modVersion
)

Parameters

modName
Type: SystemString
The name of the mod
modVersion
Type: SystemString
The version string of the mod e.g '1.0.0'

Return Value

Type: Boolean
True if a mod with a matching name and version is currently loaded or false if not
See Also