mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-17 08:54:44 +01:00
implement more handler
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user