• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DDSLoader
    • DDSImage
    • DDSImage.DDSHeader
    • DDSImage.DDSPixelFormat
    • DDSImage.HeaderFlags
    • DDSImage.PixelFormatFlags
    • DDSUnityExtensions
    • FourCC
  • LLBML
    • BallApi
    • CharacterApi
    • GraphicUtils
    • InputApi
    • LLBMLPlugin
    • LoadingInfo
    • LoadingScreen
    • PluginInfos
    • ProgressApi
    • ScreenApi
    • StateApi
  • LLBML.Audio
    • AudioAsset
    • AudioCache
    • AudioInfo
    • AudioUtils
  • LLBML.External
    • IntHelpers
    • Murmur3
  • LLBML.GameEvents
    • GameEvents
    • GameStateEvents
    • LobbyEventArgs
    • LobbyEvents
    • LobbyReadyArgs
    • MenuEvents
    • OnLobbyEnteredHandler
    • OnLobbyReadyHandler
    • OnMainMenuEnteredArgs
    • OnMainMenuEnteredHandler
    • OnMainMenuFirstEnteredHandler
    • OnPlayerJoinArgs
    • OnPlayerJoinHandler
    • OnStateChangeArgs
    • OnStateChangeHandler
    • OnUnlinkFromPlayerArgs
    • OnUnlinkFromPlayerHandler
    • OnUserCharacterPickArgs
    • OnUserCharacterPickHandler
    • OnUserSkinClickArgs
    • OnUserSkinClickHandler
  • LLBML.Graphic
    • Draw
    • Draw.Alignment
  • LLBML.Math
    • BinaryUtils
    • Boundsf
    • Floatf
    • Vector2f
    • Vector2i
  • LLBML.Messages
    • CustomMessage
    • MessageActions
    • MessageApi
    • MessageApi.OnReceiveMessageHandler
    • MessageEventArgs
  • LLBML.Networking
    • Channel
    • EnvelopeApi
    • EnvelopeApi.OnReceiveEnvelopeHandler
    • EnvelopeEventArgs
    • EP2PSend
    • EP2PSend.Enum
    • EP2PSend.Enum_Mapping
    • NetworkApi
    • Transaction
    • TransactionCode
    • TransactionState
  • LLBML.Players
    • Player
    • PlayerStatus
    • PlayerStatus.Enum
    • PlayerStatus.Enum_Mappings
    • Team
    • Team.Enum
    • Team.Enum_Mappings
  • LLBML.Settings
    • GameSettings
  • LLBML.States
    • GameState
    • GameState.Enum
    • GameState.Enum_Mapping
    • GameStates
    • GameStatesGameUtils
    • GameStatesLobbyUtils
    • PlayerLobbyState
  • LLBML.Texture
    • TextureUtils
  • LLBML.UI
    • Dialogs
  • LLBML.Utils
    • ArrayExtension
    • BepInRef
    • ControlledRandom
    • DebugUtils
    • EnumWrapper<T>
    • GenericCache<K, T>
    • GenericUtils
    • Hash<T>
    • IByteable
    • ModDependenciesUtils
    • ModdingFolder
    • PatchUtils
    • StringUtils

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

true, if ModMenu was loaded and the ModOptions screen is visible, false otherwise.

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

true, if mod was present, false otherwise.

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

true, if mod was present, false otherwise.

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.

In This Article
Back to top Generated by DocFX