Table of Contents

Class PluginManager

Namespace
RisingV.Shared.Plugins
Assembly
RisingV.Shared.dll

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

RisingVChainloader

Log

protected override Logger Log { get; }

Property Value

Logger

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 IPlugin

The plugin that is reloading the manageable objects.

force bool

If true, forces the reload regardless of the file changes.

CanAutoReloadAll(IReadOnlyList<FileChange>)

protected override bool CanAutoReloadAll(IReadOnlyList<FileChange> fileChanges)

Parameters

fileChanges IReadOnlyList<FileChange>

Returns

bool