mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 17:04:44 +01:00
format code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user