mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-17 00:44:53 +01:00
implement more handler
This commit is contained in:
19
Novaria.GameServer/Controllers/Api/ProtocolHandlers/Phone.cs
Normal file
19
Novaria.GameServer/Controllers/Api/ProtocolHandlers/Phone.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user