mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 23:58:08 -05:00
include client name in stats info result
This commit is contained in:
@ -5,6 +5,11 @@ namespace Stats.Dtos
|
|||||||
{
|
{
|
||||||
public class StatsInfoResult
|
public class StatsInfoResult
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// client name
|
||||||
|
/// </summary>
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ranking on the server
|
/// ranking on the server
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -44,6 +44,7 @@ namespace Stats.Helpers
|
|||||||
.Where(_stats => _stats.ClientId == query.ClientId)
|
.Where(_stats => _stats.ClientId == query.ClientId)
|
||||||
.Select(_stats => new StatsInfoResult
|
.Select(_stats => new StatsInfoResult
|
||||||
{
|
{
|
||||||
|
Name = _stats.Client.CurrentAlias.Name,
|
||||||
ServerId = _stats.ServerId,
|
ServerId = _stats.ServerId,
|
||||||
Kills = _stats.Kills,
|
Kills = _stats.Kills,
|
||||||
Deaths = _stats.Deaths,
|
Deaths = _stats.Deaths,
|
||||||
|
Reference in New Issue
Block a user