track private slots for webfront overview

This commit is contained in:
RaidMax
2023-04-05 23:10:40 -05:00
parent 99e0990770
commit bc0ec6c050
7 changed files with 20 additions and 7 deletions

View File

@ -38,6 +38,7 @@ namespace WebfrontCore.Controllers
Game = (Reference.Game)matchingServer.GameName,
ClientCount = matchingServer.ClientNum,
MaxClients = matchingServer.MaxClients,
PrivateClientSlots = matchingServer.PrivateClientSlots,
GameType = matchingServer.GametypeName,
Players = matchingServer.GetClientsAsList()
.Select(client => new PlayerInfo