mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-14 09:08:32 -05:00
Add GameName to ClientInfoResult and ClientController
Updated `ClientInfoResult` to include a new `GameName` property. Also modified `ClientController` to handle and display this new property properly.
This commit is contained in:
@ -9,6 +9,7 @@ using System.Linq;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
using Data.Models;
|
||||
using Humanizer;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||
using Microsoft.Extensions.Logging;
|
||||
@ -90,6 +91,7 @@ namespace WebfrontCore.Controllers.API
|
||||
Name = clientInfo.CleanedName,
|
||||
Level = clientInfo.Level.ToLocalizedLevelName(),
|
||||
NetworkId = clientInfo.NetworkId,
|
||||
GameName = clientInfo.GameName.ToString(),
|
||||
Tag = metaResult?.Value,
|
||||
FirstConnection = clientInfo.FirstConnection,
|
||||
LastConnection = clientInfo.LastConnection,
|
||||
|
Reference in New Issue
Block a user