Files
PemukulPaku/GameServer/Handlers/GetAuthkeyReqHandler.cs
rafi1212122 88c69529fd okey
2023-05-30 09:37:52 +07:00

25 lines
669 B
C#

using Common.Resources.Proto;
namespace PemukulPaku.GameServer.Handlers
{
[PacketCmdId(CmdId.GetAuthkeyReq)]
internal class GetAuthkeyReqHandler : IPacketHandler
{
public void Handle(Session session, Packet packet)
{
GetAuthkeyReq Data = packet.GetDecodedBody<GetAuthkeyReq>();
GetAuthkeyRsp Rsp = new()
{
retcode = GetAuthkeyRsp.Retcode.Succ,
AuthAppid = Data.AuthAppid,
Authkey = "0",
SignType = 2,
AuthkeyVer = 1
};
session.Send(Packet.FromProto(Rsp, CmdId.GetAuthkeyRsp));
}
}
}