Skip to content

PluginInfo Class

Data class that represents information about a loadable BepInEx plugin. Contains all metadata and additional info required for plugin loading by Chainloader.

C#
public class PluginInfo : ICacheable

Inheritance object

Implements ICacheable

General metadata about a plugin.

C#
public BepInPlugin Metadata { get; }

Collection of BepInProcess attributes that describe what processes the plugin can run on.

C#
public IEnumerable<BepInProcess> Processes { get; }

Collection of BepInDependency attributes that describe what plugins this plugin depends on.

C#
public IEnumerable<BepInDependency> Dependencies { get; }

Collection of BepInIncompatibility attributes that describe what plugins this plugin is incompatible with.

C#
public IEnumerable<BepInIncompatibility> Incompatibilities { get; }

File path to the plugin DLL

C#
public string Location { get; }

Instance of the plugin that represents this info. NULL if no plugin is instantiated from info (yet)

C#
public object Instance { get; }
C#
public string TypeName { get; }

Returns a string that represents the current object.

C#
public override string ToString()

string
A string that represents the current object.