Class TwitchSettings
- Namespace
- ONITwitchLib.Core
- Assembly
- ONITwitchLib.dll
Provides access to settings from the main Twitch Integration mod.
[PublicAPI]
public static class TwitchSettings
- Inheritance
-
TwitchSettings
- Inherited Members
Methods
GetSettingsDictionary()
Gets all of the settings from Twitch Integration. This is a copy of the settings, it is not possible to modify the settings by modifying this data.
[PublicAPI]
[NotNull]
public static IReadOnlyDictionary<string, object> GetSettingsDictionary()
Returns
- IReadOnlyDictionary<string, object>
All of the settings, in a Dictionary.
Remarks
Note that keys and values are not stable. Keys may be added or removed between Twitch Integration updates. Handle a missing setting appropriately.