2021-11-23 18:26:33 -05:00
|
|
|
|
using System.Threading.Tasks;
|
2017-05-26 18:49:27 -04:00
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
2017-05-26 18:49:27 -04:00
|
|
|
|
{
|
|
|
|
|
public interface IPlugin
|
|
|
|
|
{
|
2022-01-26 11:32:16 -05:00
|
|
|
|
string Name { get; }
|
|
|
|
|
float Version { get; }
|
|
|
|
|
string Author { get; }
|
|
|
|
|
bool IsParser => false;
|
2017-10-16 23:47:41 -04:00
|
|
|
|
Task OnLoadAsync(IManager manager);
|
2017-06-13 18:33:47 -04:00
|
|
|
|
Task OnUnloadAsync();
|
2018-04-13 02:32:30 -04:00
|
|
|
|
Task OnEventAsync(GameEvent E, Server S);
|
2017-05-27 18:08:04 -04:00
|
|
|
|
Task OnTickAsync(Server S);
|
2017-05-26 18:49:27 -04:00
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|