allow completion of 0-1 stage

This commit is contained in:
Mikhail Thompson
2024-06-26 19:27:01 +03:00
parent 838240de58
commit ce0b5bf040
10 changed files with 77 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.LobbyServer.Msgs.Team
{
[PacketPath("/team/get")]
public class GetTeamData : LobbyMsgHandler
{
protected override async Task HandleAsync()
{
var req = await ReadData<ReqGetTeamData>();
// TODO: assume that team data did not change
var resp = new ResGetTeamData();
//resp.TypeTeams
WriteData(req);
}
}
}