Interface IOpenModPlugin
Represents an OpenMod plugin.
Inherited Members
Namespace: OpenMod.API.Plugins
Assembly: OpenMod.API.dll
Syntax
public interface IOpenModPlugin : IOpenModComponent
Properties
| Improve this Doc View SourceAuthor
Gets the plugin author.
Declaration
string? Author { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
Description
Gets the plugin description
Declaration
string? Description { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
DisplayName
Gets the human readable name of the plugin.
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Version
Gets the plugin version.
Declaration
SemVersion Version { get; }
Property Value
Type | Description |
---|---|
SemVersion |
Website
Gets the plugin website.
Declaration
string? Website { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
Methods
| Improve this Doc View SourceLoadAsync()
Loads the plugin.
Declaration
Task LoadAsync()
Returns
Type | Description |
---|---|
Task |
Remarks
This method is for internal usage only and should not be used by plugins.
UnloadAsync()
Unloads the plugin.
Declaration
Task UnloadAsync()
Returns
Type | Description |
---|---|
Task |
Remarks
This method is for internal usage only and should not be used by plugins.