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,19 @@
using Google.Protobuf;
using Novaria.Common.Core;
using Proto;
namespace Novaria.GameServer.Controllers.Api.ProtocolHandlers
{
public class Phone : ProtocolHandlerBase
{
public Phone(IProtocolHandlerFactory protocolHandlerFactory) : base(protocolHandlerFactory)
{
}
[ProtocolHandler(NetMsgId.phone_contacts_info_req)]
public Packet PhoneContactsInfoHandler(Nil req)
{
return Packet.Create(NetMsgId.phone_contacts_info_succeed_ack, PcapParser.PcapParser.Instance.GetPcapPacket(NetMsgId.phone_contacts_info_succeed_ack));
}
}
}