IW4M-Admin/Plugins/SimpleStats/Helpers/ServerStats.cs

28 lines
890 B
C#
Raw Normal View History

using SharedLibrary;
using StatsPlugin.Cheat;
using StatsPlugin.Models;
using System;
2018-03-06 02:22:19 -05:00
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatsPlugin.Helpers
{
class ServerStats {
2018-03-06 02:22:19 -05:00
public ConcurrentDictionary<int, EFClientStatistics> PlayerStats { get; set; }
public ConcurrentDictionary<int, Detection> PlayerDetections { get; set; }
public EFServerStatistics ServerStatistics { get; private set; }
public EFServer Server { get; private set; }
public ServerStats(EFServer sv, EFServerStatistics st)
{
2018-03-06 02:22:19 -05:00
PlayerStats = new ConcurrentDictionary<int, EFClientStatistics>();
PlayerDetections = new ConcurrentDictionary<int, Detection>();
ServerStatistics = st;
Server = sv;
}
}
}