mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 22:04:36 +01:00
okey
This commit is contained in:
24
GameServer/Handlers/GetAuthkeyReqHandler.cs
Normal file
24
GameServer/Handlers/GetAuthkeyReqHandler.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user