1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

Moved client database into manager, as it should be.. Some more transitional things and a few fixes.

This commit is contained in:
RaidMax
2017-05-27 17:08:04 -05:00
parent c151bcbdae
commit c1faf8a02e
26 changed files with 215 additions and 186 deletions

View File

@ -204,12 +204,12 @@ namespace Votemap_Plugin
}
}
public async Task OnLoad()
public async Task OnLoadAsync()
{
serverVotingList = new List<ServerVoting>();
}
public async Task OnUnload()
public async Task OnUnloadAsync()
{
serverVotingList.Clear();
}
@ -219,7 +219,7 @@ namespace Votemap_Plugin
/// This is not high-precision, but will run 1 time per second
/// </summary>
/// <param name="S"></param>
public async Task OnTick(Server S)
public async Task OnTickAsync(Server S)
{
var serverVotes = getServerVotes(S.getPort());
@ -277,7 +277,7 @@ namespace Votemap_Plugin
}
}
public async Task OnEvent(Event E, Server S)
public async Task OnEventAsync(Event E, Server S)
{
if (E.Type == Event.GType.Start)
{