Class PluginInfo
Data class that represents information about a loadable BepInEx plugin. Contains all metadata and additional info required for plugin loading by Chainloader.
Namespace: BepInEx
Assembly: BepInEx.dll
Syntax
public class PluginInfo : ICacheable
Properties
Collection of BepInDependency attributes that describe what plugins this plugin depends on.
Declaration
public IEnumerable<BepInDependency> Dependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BepInDependency> |
Collection of BepInIncompatibility attributes that describe what plugins this plugin is incompatible with.
Declaration
public IEnumerable<BepInIncompatibility> Incompatibilities { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BepInIncompatibility> |
Instance of the plugin that represents this info. NULL if no plugin is instantiated from info (yet)
Declaration
public BaseUnityPlugin Instance { get; }
Property Value
Type | Description |
---|---|
BaseUnityPlugin |
File path to the plugin DLL
Declaration
public string Location { get; }
Property Value
Type | Description |
---|---|
System.String |
General metadata about a plugin.
Declaration
public BepInPlugin Metadata { get; }
Property Value
Type | Description |
---|---|
BepInPlugin |
Collection of BepInProcess attributes that describe what processes the plugin can run on.
Declaration
public IEnumerable<BepInProcess> Processes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BepInProcess> |
Methods
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Explicit Interface Implementations
Declaration
void ICacheable.Load(BinaryReader br)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader |
br |
Declaration
void ICacheable.Save(BinaryWriter bw)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryWriter |
bw |