19 lines
373 B
C#
19 lines
373 B
C#
|
using System;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace SharedLibrary.Extensions
|
|||
|
{
|
|||
|
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; }
|
|||
|
}
|
|||
|
}
|