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