PluginInfo Class
Definition
Section titled “Definition”Data class that represents information about a loadable BepInEx plugin. Contains all metadata and additional info required for plugin loading by Chainloader.
public class PluginInfo : ICacheable
Inheritance object
Implements ICacheable
Properties
Section titled “Properties”Metadata
Section titled “Metadata”General metadata about a plugin.
public BepInPlugin Metadata { get; }
Processes
Section titled “Processes”Collection of BepInProcess attributes that describe what processes the plugin can run on.
public IEnumerable<BepInProcess> Processes { get; }
Dependencies
Section titled “Dependencies”Collection of BepInDependency attributes that describe what plugins this plugin depends on.
public IEnumerable<BepInDependency> Dependencies { get; }
Incompatibilities
Section titled “Incompatibilities”Collection of BepInIncompatibility attributes that describe what plugins this plugin is incompatible with.
public IEnumerable<BepInIncompatibility> Incompatibilities { get; }
Location
Section titled “Location”File path to the plugin DLL
public string Location { get; }
Instance
Section titled “Instance”Instance of the plugin that represents this info. NULL if no plugin is instantiated from info (yet)
public object Instance { get; }
TypeName
Section titled “TypeName”public string TypeName { get; }
Methods
Section titled “Methods”ToString()
Section titled “ToString()”Returns a string that represents the current object.
public override string ToString()
Returns
Section titled “Returns”string
A string that represents the current object.