Class DataManager
- Namespace
- ONITwitchLib
- Assembly
- ONITwitchLib.dll
Provides methods to manipulate data of EventInfos
[PublicAPI]
public class DataManager
- Inheritance
-
DataManager
- Inherited Members
Properties
Instance
The instance of the data manager. Only safe to access if the Twitch mod is active.
[PublicAPI]
[NotNull]
public static DataManager Instance { get; }
Property Value
Methods
GetDataForEvent(EventInfo)
Gets the data for an event.
[PublicAPI]
[Pure]
[CanBeNull]
public object GetDataForEvent(EventInfo info)
Parameters
Returns
SetDataForEvent(EventInfo, object)
Sets the data for an event.
[PublicAPI]
public void SetDataForEvent(EventInfo info, object data)