using System;
namespace IPA
{
///
/// Provides methods to allow runtime disabling of a plugin.
///
[Obsolete("Use the attribute-based system instead.")]
public interface IDisablablePlugin : IPlugin
{
///
/// Called when a plugin is disabled at runtime. This should disable things like Harmony patches and unsubscribe
/// from events. After this is called there should be no lingering effects of the mod.
///
///
/// This will get called at shutdown, after , as well as when the
/// plugin is disabled at runtime.
///
void OnDisable();
}
}