diff --git a/IPA.Loader/Loader/Features/Feature.cs b/IPA.Loader/Loader/Features/Feature.cs index 572ed672..d3b33afd 100644 --- a/IPA.Loader/Loader/Features/Feature.cs +++ b/IPA.Loader/Loader/Features/Feature.cs @@ -57,6 +57,13 @@ namespace IPA.Loader.Features /// whether or not to call the Init method public virtual bool BeforeInit(PluginLoader.PluginInfo plugin) => true; + /// + /// Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. + /// + /// the plugin that was just initialized + /// the instance of the plugin being initialized + public virtual void AfterInit(PluginLoader.PluginInfo plugin, IBeatSaberPlugin pluginInstance) => AfterInit(plugin); + /// /// Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. ///