Apparently I was working with an older codebase.. Oh well, i've merged the changes..
This commit is contained in:
18
SharedLibrary/Interfaces/IPlugin.cs
Normal file
18
SharedLibrary/Interfaces/IPlugin.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibrary.Interfaces
|
||||
{
|
||||
public interface IPlugin
|
||||
{
|
||||
Task OnLoad();
|
||||
Task OnUnload();
|
||||
Task OnEvent(Event E, Server S);
|
||||
Task OnTick(Server S);
|
||||
|
||||
//for logging purposes
|
||||
String Name { get; }
|
||||
float Version { get; }
|
||||
String Author { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user