Creating the loader
Last updated
Was this helpful?
Last updated
Was this helpful?
Note: this is intended for application developers. To use the LyokoPluginLoader, you need to add the LyokoPluginLoader.dll and LyokoAPI.dll to your project.
You can create the loader with:
Where the path is the folder where you expect users to place Plugins.
The plugin .dll's placed in the plugin folder will be looped over, and if they extend , they will be loaded and enabled.
If a plugin is called is "LoggerPlugin", it'll be loaded before all others.
If there's an issue loading or enabling the plugins, it'll be logged (assuming someone is listening)
Calling this method will disable all plugins. note: there's no guarantee that a plugin will actually be disabled.
Calling this method will enable all plugins. note: there's no guarantee that a plugin will actually be enabled.
Plugins - A List of Plugins that are known. Note: these can be both enabled and disabled.