You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
486 B

  1. namespace IPA.Loader.Features
  2. {
  3. internal class AddInFeature : Feature
  4. {
  5. private PluginLoader.PluginMetadata selfMeta;
  6. public override bool Initialize(PluginLoader.PluginMetadata meta, string[] parameters)
  7. {
  8. selfMeta = meta;
  9. RequireLoaded(meta);
  10. return true;
  11. }
  12. public override bool BeforeLoad(PluginLoader.PluginMetadata plugin)
  13. {
  14. return plugin != selfMeta;
  15. }
  16. }
  17. }