fix server selector

This commit is contained in:
Mikhail
2024-07-04 08:53:30 -04:00
parent 400ab96fc1
commit 835d7367d7
4 changed files with 6 additions and 5 deletions

View File

@@ -29,8 +29,5 @@
<None Update="site.pfx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="sodium.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@@ -8,11 +8,14 @@ namespace nksrv.LobbyServer.Msgs.Misc
protected override async Task HandleAsync()
{
var req = await ReadData<ReqGachaGetAllShutdownFlags>();
var user = GetUser();
var response = new ResGachaGetAllShutdownFlags();
if (user.GachaTutorialPlayCount > 0)
response.Unavailables.Add(3);
// TODO: Validate response from real server and pull info from user info
WriteData(response);
// TODO: Validate response from real server and pull info from user info
WriteData(response);
}
}
}

View File

@@ -8,6 +8,7 @@
<IncludeHttpRuleProtos>true</IncludeHttpRuleProtos>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<IncludeNativeLibrariesForSelfExtract>True</IncludeNativeLibrariesForSelfExtract>
</PropertyGroup>
<ItemGroup>