add game to player profile and admins page
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Data.Models;
|
||||
using Data.Models.Client;
|
||||
|
||||
namespace SharedLibraryCore.Dtos
|
||||
@ -10,6 +11,7 @@ namespace SharedLibraryCore.Dtos
|
||||
public int LinkId { get; set; }
|
||||
public EFClient.Permission Level { get; set; }
|
||||
public DateTime LastConnection { get; set; }
|
||||
public Reference.Game Game { get; set; }
|
||||
public bool IsMasked { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ namespace SharedLibraryCore.Dtos
|
||||
public class PlayerInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public Reference.Game Game { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
public string Level { get; set; }
|
||||
public string Tag { get; set; }
|
||||
|
@ -178,6 +178,7 @@ namespace SharedLibraryCore.Services
|
||||
.Select(_client => new EFClient
|
||||
{
|
||||
ClientId = _client.ClientId,
|
||||
GameName = _client.GameName,
|
||||
AliasLinkId = _client.AliasLinkId,
|
||||
Level = _client.Level,
|
||||
Connections = _client.Connections,
|
||||
@ -789,7 +790,8 @@ namespace SharedLibraryCore.Services
|
||||
PasswordSalt = client.PasswordSalt,
|
||||
NetworkId = client.NetworkId,
|
||||
LastConnection = client.LastConnection,
|
||||
Masked = client.Masked
|
||||
Masked = client.Masked,
|
||||
GameName = client.GameName
|
||||
};
|
||||
|
||||
return await iqClients.ToListAsync();
|
||||
|
Reference in New Issue
Block a user