Implement side story + move jsondb class

This commit is contained in:
Mikhail
2024-07-25 15:50:51 -04:00
parent 8ea17003e6
commit e83dcdbfa8
43 changed files with 306 additions and 55 deletions

View File

@@ -0,0 +1,19 @@
using nksrv.Net;
using nksrv.Utils;
namespace nksrv.LobbyServer.Msgs.Sidestory
{
[PacketPath("/sidestory/cut/enterbattle")]
public class EnterBattle : LobbyMsgHandler
{
protected override async Task HandleAsync()
{
var req = await ReadData<ReqEnterSideStoryCutForBattle>();
var user = GetUser();
var response = new ResEnterSideStoryCutForBattle();
await WriteDataAsync(response);
}
}
}