b1a1aae6c0
improvements to script plugin capabilities and error feedback
16 lines
413 B
C#
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);
|
|
}
|
|
} |