include client name in stats info result
This commit is contained in:
parent
fa79f4af73
commit
b8d5495055
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user