implement more handler

This commit is contained in:
ArkanDash
2025-03-03 23:21:28 +07:00
parent 54bb351e5b
commit e1b4dd45e5
6 changed files with 91 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
using Google.Protobuf;
using Novaria.Common.Core;
using Proto;
namespace Novaria.GameServer.Controllers.Api.ProtocolHandlers
{
public class Player : ProtocolHandlerBase
{
public Player(IProtocolHandlerFactory protocolHandlerFactory) : base(protocolHandlerFactory)
{
}
[ProtocolHandler(NetMsgId.player_board_set_req)]
public Packet PlayerBoardSetHandler(PlayerBoardSetReq req)
{
ChangeInfo changeInfo = new();
return Packet.Create(NetMsgId.player_board_set_succeed_ack, changeInfo);
}
}
}