2018-04-08 17:50:58 -04:00
|
|
|
|
using SharedLibraryCore;
|
|
|
|
|
using IW4MAdmin.Plugins.Stats.Cheat;
|
|
|
|
|
using IW4MAdmin.Plugins.Stats.Models;
|
2018-02-07 00:19:06 -05:00
|
|
|
|
using System;
|
2018-03-06 02:22:19 -05:00
|
|
|
|
using System.Collections.Concurrent;
|
2018-02-07 00:19:06 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-04-08 17:50:58 -04:00
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Helpers
|
2018-02-07 00:19:06 -05:00
|
|
|
|
{
|
2018-02-26 23:24:19 -05:00
|
|
|
|
class ServerStats {
|
2018-03-06 02:22:19 -05:00
|
|
|
|
public ConcurrentDictionary<int, EFClientStatistics> PlayerStats { get; set; }
|
|
|
|
|
public ConcurrentDictionary<int, Detection> PlayerDetections { get; set; }
|
2018-02-09 02:21:25 -05:00
|
|
|
|
public EFServerStatistics ServerStatistics { get; private set; }
|
2018-02-07 00:19:06 -05:00
|
|
|
|
public EFServer Server { get; private set; }
|
|
|
|
|
|
2018-02-09 02:21:25 -05:00
|
|
|
|
public ServerStats(EFServer sv, EFServerStatistics st)
|
2018-02-07 00:19:06 -05:00
|
|
|
|
{
|
2018-03-06 02:22:19 -05:00
|
|
|
|
PlayerStats = new ConcurrentDictionary<int, EFClientStatistics>();
|
|
|
|
|
PlayerDetections = new ConcurrentDictionary<int, Detection>();
|
2018-02-09 02:21:25 -05:00
|
|
|
|
ServerStatistics = st;
|
2018-02-07 00:19:06 -05:00
|
|
|
|
Server = sv;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|