format code

This commit is contained in:
Mikhail
2024-07-19 10:53:02 -04:00
parent 1670142226
commit 22d19cf38b
155 changed files with 148 additions and 853 deletions

View File

@@ -1,10 +1,5 @@
using Google.Protobuf.WellKnownTypes;
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.LobbyServer.Msgs.Simroom
{
@@ -15,19 +10,23 @@ namespace nksrv.LobbyServer.Msgs.Simroom
{
var req = await ReadData<ReqGetSimRoom>();
var response = new ResGetSimRoom() {
OverclockData = new() {
CurrentSeasonData = new() {
SeasonStartDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow),
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()
CurrentSeasonHighScore = new(),
CurrentSubSeasonHighScore = new(),
LatestOption = new()
},
NextLegacyBuffResetDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow.AddDays(7)) };
NextLegacyBuffResetDate = Timestamp.FromDateTimeOffset(DateTime.UtcNow.AddDays(7))
};
// TODO
await WriteDataAsync(response);
await WriteDataAsync(response);
}
}
}