Class PluginManager
Manages plugins in the RisingV framework.
public class PluginManager : TypeMapManager<IPlugin, PluginManager>, IManager<IPlugin, PluginManager>, IManager, IPluginComponent, IManageable<PluginComponentsManager>, IManageable
- Inheritance
-
PluginManager
- Implements
- Inherited Members
- Extension Methods
Properties
ChainLoader
Represents the chainloader for RisingV plugins, responsible for loading and managing plugin dependencies.
public RisingVChainloader ChainLoader { get; }
Property Value
Log
protected override Logger Log { get; }
Property Value
Methods
Add<TX>(TX)
public void Add<TX>(TX plugin) where TX : IPlugin
Parameters
plugin
TX
Type Parameters
TX
AutoReload(IReadOnlyList<FileChange>, IPlugin, bool)
Automatically reloads manageable objects based on file changes.
protected override void AutoReload(IReadOnlyList<FileChange> fileChanges, IPlugin plugin, bool force = false)
Parameters
fileChanges
IReadOnlyList<FileChange>List of file changes that triggered the reload.
plugin
IPluginThe plugin that is reloading the manageable objects.
force
boolIf true, forces the reload regardless of the file changes.
CanAutoReloadAll(IReadOnlyList<FileChange>)
protected override bool CanAutoReloadAll(IReadOnlyList<FileChange> fileChanges)
Parameters
fileChanges
IReadOnlyList<FileChange>