mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 17:34:33 +01:00
21 lines
730 B
C#
21 lines
730 B
C#
using Common.Resources.Proto;
|
|
|
|
namespace PemukulPaku.GameServer.Handlers.Openworld
|
|
{
|
|
[PacketCmdId(CmdId.TakeOpenworldCycleFinishRewardReq)]
|
|
internal class TakeOpenworldCycleFinishRewardReqHandler : IPacketHandler
|
|
{
|
|
public void Handle(Session session, Packet packet)
|
|
{
|
|
TakeOpenworldCycleFinishRewardReq Data = packet.GetDecodedBody<TakeOpenworldCycleFinishRewardReq>();
|
|
|
|
session.Send(Packet.FromProto(new TakeOpenworldCycleFinishRewardRsp()
|
|
{
|
|
retcode = TakeOpenworldCycleFinishRewardRsp.Retcode.Succ,
|
|
MapId = Data.MapId,
|
|
Cycle = Data.Cycle
|
|
}, CmdId.TakeOpenworldCycleFinishRewardRsp));
|
|
}
|
|
}
|
|
}
|