IW4M-Admin/SharedLibraryCore/Interfaces/IPlugin.cs
RaidMax b1a1aae6c0 initial framework for gsc + iw4madmin integration
improvements to script plugin capabilities and error feedback
2022-02-07 18:43:36 -06:00

16 lines
413 B
C#

using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces
{
public interface IPlugin
{
string Name { get; }
float Version { get; }
string Author { get; }
bool IsParser => false;
Task OnLoadAsync(IManager manager);
Task OnUnloadAsync();
Task OnEventAsync(GameEvent gameEvent, Server server);
Task OnTickAsync(Server S);
}
}