Interface IPlugin
- Namespace
- Elegy.Common.Interfaces
- Assembly
- Elegy.Common.dll
Generic plugin interface.
public interface IPlugin
Properties
Error
If Init() returned false
, the error message.
string Error { get; }
Property Value
Initialised
Set by Init() once initialisation succeeds.
bool Initialised { get; }
Property Value
Name
The name of this plugin.
string Name { get; }
Property Value
Methods
Init()
Called when the plugin is being initialised.
bool Init()
Returns
Shutdown()
Called when the engine and plugins are shutting down.
void Shutdown()