mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 22:34:34 +01:00
at least you can end the stage
This commit is contained in:
20
GameServer/Handlers/GetConfigReqHandler.cs
Normal file
20
GameServer/Handlers/GetConfigReqHandler.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Common;
|
||||
using Common.Resources.Proto;
|
||||
|
||||
namespace PemukulPaku.GameServer.Handlers
|
||||
{
|
||||
[PacketCmdId(CmdId.GetConfigReq)]
|
||||
internal class GetConfigReqHandler : IPacketHandler
|
||||
{
|
||||
public void Handle(Session session, Packet packet)
|
||||
{
|
||||
GetConfigRsp Rsp = new()
|
||||
{
|
||||
retcode = GetConfigRsp.Retcode.Succ,
|
||||
ServerCurTime = (uint)Global.GetUnixInSeconds(),
|
||||
};
|
||||
|
||||
session.Send(Packet.FromProto(Rsp, CmdId.GetConfigRsp));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user