mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 13:54:43 +01:00
Init enter game
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using KianaBH.GameServer.Server.Packet.Send.Client;
|
||||
using KianaBH.Proto;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Recv.Client;
|
||||
|
||||
[Opcode(CmdIds.GetClientDataReq)]
|
||||
public class HandlerGetClientDataReq : Handler
|
||||
{
|
||||
public override async Task OnHandle(Connection connection, byte[] header, byte[] data)
|
||||
{
|
||||
var req = GetClientDataReq.Parser.ParseFrom(data);
|
||||
|
||||
await connection.SendPacket(new PacketGetClientDataRsp(req.Id,req.Type, connection.Player!));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user