Class TwitchModInfo
- Namespace
- ONITwitchLib
- Assembly
- ONITwitchLib.dll
Various information about the Twitch mod, primarily for integrations.
[PublicAPI]
public static class TwitchModInfo
- Inheritance
-
TwitchModInfo
- Inherited Members
Fields
ConfigFolder
The folder that holds the config for the mod. Only valid if the Twitch mod is active.
[PublicAPI]
public static readonly string ConfigFolder
Field Value
ConfigName
The filename of the config file containing the main Twitch mod config.
[PublicAPI]
public const string ConfigName = "config.json"
Field Value
ConfigPath
The path to the config file containing the main Twitch mod config. Only valid if the Twitch mod is active.
[PublicAPI]
public static readonly string ConfigPath
Field Value
MainModFolder
The mod folder containing the Twitch mod dll. Only valid if the Twitch mod is active.
[PublicAPI]
public static readonly string MainModFolder
Field Value
ModPrefix
The prefix that the twitch mod uses for IDs, with a few exceptions
[PublicAPI]
public const string ModPrefix = "ONITwitch."
Field Value
StaticID
The static ID of the Twitch mod.
[PublicAPI]
public const string StaticID = "asquared31415.TwitchIntegration"
Field Value
Properties
MainTwitchModType
The Type for the main Twitch mod's UserMod2, if it exists. null if it cannot be found. Safe to access even if the Twitch mod is not installed or active.
[PublicAPI]
[CanBeNull]
public static Type MainTwitchModType { get; }
Property Value
TwitchIsPresent
True if the Twitch mod has been detected, false otherwise. Safe to access even if the Twitch mod is not installed or active.
[PublicAPI]
public static bool TwitchIsPresent { get; }