Class ModDependenciesUtils
A class that helps abstracting soft dependencies make maintaining compatibility with LLBMM easier
Inheritance
System.Object
ModDependenciesUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LLBML.Utils
Assembly: LLBModdingLib.dll
Syntax
public static class ModDependenciesUtils
Fields
ModMenuGUID
ModMenu's plugin GUID.
Declaration
public static string ModMenuGUID
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
InModOptions()
Calls the eponymous method from ModMenu, if it is loaded.
Declaration
public static bool InModOptions()
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IsModLoaded(String)
Returns whether or not the mod was present in the BepInEx Chainloader.
Declaration
public static bool IsModLoaded(string modGUID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | modGUID | Mod GUID. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IsModPresent(String)
Returns whether or not the mod was present in the BepInEx Chainloader.
Declaration
public static bool IsModPresent(string modGUID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | modGUID | Mod GUID. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
RegisterToModMenu(PluginInfo, List<String>)
Calls the eponymous method from ModMenu, if it is loaded.
Declaration
public static void RegisterToModMenu(PluginInfo pluginInfo, List<string> modmenuText = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BepInEx.PluginInfo | pluginInfo | The Plugin's Info. |
| System.Collections.Generic.List<System.String> | modmenuText | The informational text that can be displayed in the configuration menu. |