implement a few more messages

This commit is contained in:
Mikhail Thompson
2024-06-27 14:50:17 +03:00
parent c15227748f
commit 7f4e947cf5
14 changed files with 343 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
using Google.Protobuf.WellKnownTypes;
using Google.Protobuf;
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.LobbyServer.Msgs.Auth
{
[PacketPath("/auth/logout")]
public class AuthLogout : LobbyMsgHandler
{
protected override async Task HandleAsync()
{
var req = await ReadData<ReqLogout>();
WriteData(new ResLogout());
}
}
}