Fix stage completion save

This commit is contained in:
Mikhail Thompson
2024-06-27 08:31:41 +03:00
parent feaa73ecf4
commit 508672bbaf
7 changed files with 93 additions and 10 deletions

View File

@@ -32,7 +32,12 @@ namespace nksrv.LobbyServer.Msgs.User
response.RepresentationTeam.Slots.Add(new NetWholeTeamSlot() { Slot = 3 });
response.RepresentationTeam.Slots.Add(new NetWholeTeamSlot() { Slot = 4 });
response.RepresentationTeam.Slots.Add(new NetWholeTeamSlot() { Slot = 5 });
response.Currency.Add(new NetUserCurrencyData() { Type = 6100, Value = 2 });
foreach (var item in user.Currency)
{
response.Currency.Add(new NetUserCurrencyData() { Type = (int)item.Key, Value = item.Value });
}
response.LastClearedNormalMainStageId = user.LastStageCleared;
//var tTeams = new NetUserTeamData();