Class Plugin<TConfig>
Expose how a plugin has to be made.
Inheritance
System.Object
Plugin<TConfig>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Exiled.API.dll
Syntax
public abstract class Plugin<TConfig> : IPlugin<TConfig>, IComparable<IPlugin<IConfig>> where TConfig : IConfig, new()
Type Parameters
Name |
Description |
TConfig |
The config type.
|
Constructors
|
Improve this Doc
View Source
Plugin()
Declaration
Properties
|
Improve this Doc
View Source
Assembly
Declaration
public Assembly Assembly { get; protected set; }
Property Value
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
Author
Declaration
public virtual string Author { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Commands
Declaration
public Dictionary<Type, Dictionary<Type, ICommand>> Commands { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Type, System.Collections.Generic.Dictionary<System.Type, CommandSystem.ICommand>> |
|
|
Improve this Doc
View Source
Config
Declaration
public TConfig Config { get; }
Property Value
|
Improve this Doc
View Source
ConfigPath
Declaration
public string ConfigPath { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IgnoreRequiredVersionCheck
Declaration
public virtual bool IgnoreRequiredVersionCheck { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InternalTranslation
Declaration
public ITranslation InternalTranslation { get; protected set; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public virtual string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Prefix
Declaration
public virtual string Prefix { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Priority
Declaration
public virtual PluginPriority Priority { get; }
Property Value
|
Improve this Doc
View Source
RequiredExiledVersion
Declaration
public virtual Version RequiredExiledVersion { get; }
Property Value
Type |
Description |
System.Version |
|
|
Improve this Doc
View Source
TranslationPath
Declaration
public string TranslationPath { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Version
Declaration
public virtual Version Version { get; }
Property Value
Type |
Description |
System.Version |
|
Methods
|
Improve this Doc
View Source
CompareTo(IPlugin<IConfig>)
Declaration
public int CompareTo(IPlugin<IConfig> other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OnDisabled()
Declaration
public virtual void OnDisabled()
|
Improve this Doc
View Source
OnEnabled()
Declaration
public virtual void OnEnabled()
|
Improve this Doc
View Source
OnRegisteringCommands()
Declaration
public virtual void OnRegisteringCommands()
|
Improve this Doc
View Source
OnReloaded()
Declaration
public virtual void OnReloaded()
|
Improve this Doc
View Source
OnUnregisteringCommands()
Declaration
public virtual void OnUnregisteringCommands()
Implements
System.IComparable<T>
Extension Methods