update event data

This commit is contained in:
Mikhail
2024-07-26 09:32:12 -04:00
parent e83dcdbfa8
commit 9e331c487a
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.LobbyServer.Msgs.Event.StoryEvent
{
[PacketPath("/event/storydungeon/get")]
public class GetStoryDungeon : LobbyMsgHandler
{
protected override async Task HandleAsync()
{
var req = await ReadData<ReqStoryDungeonEventData>();
var user = GetUser();
var response = new ResStoryDungeonEventData()
{
TeamData = new NetUserTeamData()
};
// TOOD
await WriteDataAsync(response);
}
}
}