19 lines
393 B
C#
19 lines
393 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SharedLibrary.Interfaces
|
|
{
|
|
public interface IPlugin
|
|
{
|
|
Task OnLoadAsync();
|
|
Task OnUnloadAsync();
|
|
Task OnEventAsync(Event E, Server S);
|
|
Task OnTickAsync(Server S);
|
|
|
|
//for logging purposes
|
|
String Name { get; }
|
|
float Version { get; }
|
|
String Author { get; }
|
|
}
|
|
}
|