1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

add lobby rating to home

add gametype (WIP) to home
misc UI tweaks
This commit is contained in:
RaidMax
2021-06-30 09:57:07 -05:00
parent c3d1780791
commit 57f1dd3f3c
9 changed files with 59 additions and 15 deletions

View File

@ -3,6 +3,7 @@ using SharedLibraryCore;
using SharedLibraryCore.Dtos;
using System.Linq;
using System.Net;
using Data.Models.Client.Stats;
using static SharedLibraryCore.Server;
namespace WebfrontCore.ViewComponents
@ -30,7 +31,8 @@ namespace WebfrontCore.ViewComponents
ClientId = p.ClientId,
Level = p.Level.ToLocalizedLevelName(),
LevelInt = (int)p.Level,
Tag = p.Tag
Tag = p.Tag,
ZScore = p.GetAdditionalProperty<EFClientStatistics>(IW4MAdmin.Plugins.Stats.Helpers.StatManager.CLIENT_STATS_KEY)?.ZScore
}).ToList(),
ChatHistory = s.ChatHistory.ToList(),
Online = !s.Throttled,