diff --git a/Plugins/Stats/Dtos/StatsInfoResult.cs b/Plugins/Stats/Dtos/StatsInfoResult.cs index 183bbb4fa..628419f17 100644 --- a/Plugins/Stats/Dtos/StatsInfoResult.cs +++ b/Plugins/Stats/Dtos/StatsInfoResult.cs @@ -5,6 +5,11 @@ namespace Stats.Dtos { public class StatsInfoResult { + /// + /// client name + /// + public string Name { get; set; } + /// /// ranking on the server /// diff --git a/Plugins/Stats/Helpers/StatsResourceQueryHelper.cs b/Plugins/Stats/Helpers/StatsResourceQueryHelper.cs index 61ec3a0e9..dc76ce293 100644 --- a/Plugins/Stats/Helpers/StatsResourceQueryHelper.cs +++ b/Plugins/Stats/Helpers/StatsResourceQueryHelper.cs @@ -44,6 +44,7 @@ namespace Stats.Helpers .Where(_stats => _stats.ClientId == query.ClientId) .Select(_stats => new StatsInfoResult { + Name = _stats.Client.CurrentAlias.Name, ServerId = _stats.ServerId, Kills = _stats.Kills, Deaths = _stats.Deaths,