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)
Syntaxpublic IModInfo CurrentMod { get; }Property Value
Type:
IModInfo
Exceptions| Exception | Condition |
|---|
| ModNotLoadedException | Thrown when the property is accessed but a mod is not currently loaded |
See Also