mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
Moved client database into manager, as it should be.. Some more transitional things and a few fixes.
This commit is contained in:
@ -13,5 +13,7 @@ namespace SharedLibrary.Interfaces
|
||||
void Stop();
|
||||
List<Server> GetServers();
|
||||
List<Command> GetCommands();
|
||||
IPenaltyList GetClientPenalties();
|
||||
ClientsDB GetClientDatabase();
|
||||
}
|
||||
}
|
||||
|
15
SharedLibrary/Interfaces/IPenaltyList.cs
Normal file
15
SharedLibrary/Interfaces/IPenaltyList.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibrary.Interfaces
|
||||
{
|
||||
public interface IPenaltyList
|
||||
{
|
||||
void AddPenalty(Penalty P);
|
||||
void RemovePenalty(Penalty P);
|
||||
List<Penalty> FindPenalties(Player P);
|
||||
}
|
||||
}
|
@ -5,10 +5,10 @@ namespace SharedLibrary.Interfaces
|
||||
{
|
||||
public interface IPlugin
|
||||
{
|
||||
Task OnLoad();
|
||||
Task OnUnload();
|
||||
Task OnEvent(Event E, Server S);
|
||||
Task OnTick(Server S);
|
||||
Task OnLoadAsync();
|
||||
Task OnUnloadAsync();
|
||||
Task OnEventAsync(Event E, Server S);
|
||||
Task OnTickAsync(Server S);
|
||||
|
||||
//for logging purposes
|
||||
String Name { get; }
|
||||
|
Reference in New Issue
Block a user