1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-07-06 03:50:18 -05:00

huge commit for advanced stats feature.

broke data out into its own library.
may be breaking changes with existing plugins
This commit is contained in:
RaidMax
2021-03-22 11:09:25 -05:00
parent 267b045883
commit 434392a7e4
505 changed files with 13671 additions and 3271 deletions

View File

@ -0,0 +1,28 @@
using System.Collections.Generic;
using Data.Models.Client;
using Data.Models.Client.Stats;
using SharedLibraryCore.Dtos;
namespace Stats.Dtos
{
public class AdvancedStatsInfo
{
public long? ServerId { get; set; }
public string ServerEndpoint { get; set; }
public string ClientName { get; set; }
public int ClientId { get; set; }
public EFClient.Permission Level { get; set; }
public double? Performance { get; set; }
public int? Ranking { get; set; }
public double? ZScore { get; set; }
public double? Rating { get; set; }
public List<ServerInfo> Servers { get; set; }
public List<EFClientHitStatistic> All { get; set; }
public EFClientHitStatistic Aggregate { get; set; }
public List<EFClientHitStatistic> ByHitLocation { get; set; }
public List<EFClientHitStatistic> ByWeapon { get; set; }
public List<EFClientHitStatistic> ByAttachmentCombo { get; set; }
public List<EFClientRankingHistory> Ratings { get; set; }
public List<EFClientStatistics> LegacyStats { get; set; }
}
}

View File

@ -6,5 +6,6 @@
/// client identifier
/// </summary>
public int? ClientId { get; set; }
public string ServerEndpoint { get; set; }
}
}

View File

@ -11,12 +11,16 @@ namespace IW4MAdmin.Plugins.Stats.Web.Dtos
public string Name { get; set; }
public int ClientId { get; set; }
public double KDR { get; set; }
public double Performance { get; set; }
public double? Performance { get; set; }
public string TimePlayed { get; set; }
public TimeSpan TimePlayedValue { get; set; }
public string LastSeen { get; set; }
public TimeSpan LastSeenValue { get; set; }
public int Kills { get; set; }
public int Deaths { get; set; }
public int RatingChange { get; set; }
public List<double> PerformanceHistory { get; set; }
public double? ZScore { get; set; }
public long? ServerId { get; set; }
}
}