IW4M-Admin/Plugins/SimpleStats/Helpers/ServerStats.cs
RaidMax 52cc5a30e6 kick clients with default name or an inuse name
fixed regular expression not being escaped when matching names
fixed reset stats
fixed duplicate kills
2018-02-26 22:24:19 -06:00

27 lines
813 B
C#

using SharedLibrary;
using StatsPlugin.Cheat;
using StatsPlugin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatsPlugin.Helpers
{
class ServerStats {
public Dictionary<int, EFClientStatistics> PlayerStats { get; set; }
public Dictionary<int, Detection> PlayerDetections { get; set; }
public EFServerStatistics ServerStatistics { get; private set; }
public EFServer Server { get; private set; }
public ServerStats(EFServer sv, EFServerStatistics st)
{
PlayerStats = new Dictionary<int, EFClientStatistics>();
PlayerDetections = new Dictionary<int, Detection>();
ServerStatistics = st;
Server = sv;
}
}
}