Click or drag to resize

ModHostCurrentMod Property

Returns the IModInfo interface for the the current mod allowing access to values such as mod name and version.

Namespace:  UMod
Assembly:  UMod (in UMod.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IModInfo CurrentMod { get; }

Property Value

Type: IModInfo
Exceptions
ExceptionCondition
ModNotLoadedExceptionThrown when the property is accessed but a mod is not currently loaded
See Also