Class PluginMetadata
A class which describes a loaded plugin.
Inherited Members
Namespace: IPA.Loader
Assembly: IPA.Loader.dll
Syntax
public class PluginMetadata
Properties
| Improve this Doc View SourceAssembly
The assembly the plugin was loaded from.
Declaration
public Assembly Assembly { get; }
Property Value
Type | Description |
---|---|
Assembly | the loaded Assembly that contains the plugin main type |
Features
The features this plugin requests.
Declaration
public IReadOnlyList<Feature> Features { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Feature> | the list of features requested by the plugin |
File
The file the plugin was loaded from.
Declaration
public FileInfo File { get; }
Property Value
Type | Description |
---|---|
FileInfo | the file the plugin was loaded from |
Id
The BeatMods ID of the plugin, or null if it doesn't have one.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String | the updater ID of the plugin |
IsAttributePlugin
Whether the plugin referred to by this metadata object is a BSIPA 4 attribute plugin.
Declaration
public bool IsAttributePlugin { get; }
Property Value
Type | Description |
---|---|
Boolean | true if the plugin is a BSIPA 4 plugin, false if it is a BSIPA 3 plugin. |
IsBare
Whether or not this metadata object represents a bare manifest.
Declaration
public bool IsBare { get; }
Property Value
Type | Description |
---|---|
Boolean | true if it is bare, false otherwise |
Name
The human readable name of the plugin.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | the name of the plugin |
PluginType
The TypeDefinition for the main type of the plugin.
Declaration
public TypeDefinition PluginType { get; }
Property Value
Type | Description |
---|---|
TypeDefinition | the Cecil definition for the plugin main type |
RuntimeOptions
The RuntimeOptions that the plugin specified in its PluginAttribute.
Declaration
public RuntimeOptions RuntimeOptions { get; }
Property Value
Type | Description |
---|---|
RuntimeOptions |
Version
The version of the plugin.
Declaration
public SemVer.Version Version { get; }
Property Value
Type | Description |
---|---|
SemVer.Version | the version of the plugin |
Methods
| Improve this Doc View SourceToString()
Gets all of the metadata as a readable string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | the readable printable metadata string |