sim room opens, fix tutorial saving

This commit is contained in:
Mikhail
2024-07-05 10:16:29 -04:00
parent b4cc603343
commit 5036097c9d
5 changed files with 106 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using nksrv.Utils;
using Google.Protobuf.WellKnownTypes;
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -14,7 +15,17 @@ namespace nksrv.LobbyServer.Msgs.Simroom
{
var req = await ReadData<ReqGetSimRoom>();
var response = new ResGetSimRoom();
var response = new ResGetSimRoom() {
OverclockData = new() {
CurrentSeasonData = new() {
SeasonStartDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow),
SeasonEndDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow.AddDays(7))
},
CurrentSeasonHighScore = new(),
CurrentSubSeasonHighScore = new(),
LatestOption = new()
},
NextLegacyBuffResetDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow.AddDays(7)) };
// TODO
WriteData(response);
}