Interface IPluginAccessor<TPlugin>
Service used for resolving plugin instances. Must be lazy accessed on global scope services.
Namespace: OpenMod.API.Plugins
Assembly: OpenMod.API.dll
Syntax
public interface IPluginAccessor<out TPlugin>
where TPlugin : IOpenModPlugin
Type Parameters
Name | Description |
---|---|
TPlugin | The plugin to resolve. |
Properties
| Improve this Doc View SourceInstance
Gets the plugin instance. Returns null if the plugin is not loaded or found.
Declaration
TPlugin Instance { get; }
Property Value
Type | Description |
---|---|
TPlugin |