Class Events
Patch and unpatch events into the game.
public sealed class Events : Plugin<Config>, IPlugin<Config>, IComparable<IPlugin<IConfig>>
- Inheritance
-
Events
- Implements
- Inherited Members
- Extension Methods
Properties
Instance
Gets the plugin instance.
public static Events Instance { get; }
Property Value
Patcher
Gets the Patcher used to employ all patches.
public Patcher Patcher { get; }
Property Value
Priority
Gets the plugin priority. Higher values mean higher priority and vice versa.
public override PluginPriority Priority { get; }
Property Value
Methods
OnDisabled()
Fired after disabling the plugin.
public override void OnDisabled()
OnEnabled()
Fired after enabling the plugin.
public override void OnEnabled()
Patch()
Patches all events.
public void Patch()
Unpatch()
Unpatches all events.
public void Unpatch()