lobby part 1, idk what i'm doing

This commit is contained in:
rafi1212122
2023-06-10 07:27:06 +07:00
parent f2e83c93dd
commit f9e0aa8e1f
17 changed files with 494 additions and 53 deletions

View File

@@ -0,0 +1,21 @@
using Common.Resources.Proto;
namespace PemukulPaku.GameServer.Handlers.Two
{
[PacketCmdId(CmdId.GetExtraStoryChallengeModeDataReq)]
internal class GetExtraStoryChallengeModeDataReqHandler : IPacketHandler
{
public void Handle(Session session, Packet packet)
{
GetExtraStoryChallengeModeDataReq Data = packet.GetDecodedBody<GetExtraStoryChallengeModeDataReq>();
session.Send(Packet.FromProto(new GetExtraStoryChallengeModeDataRsp()
{
retcode = GetExtraStoryChallengeModeDataRsp.Retcode.Succ,
ChooseDifficulty = 0,
IsCanReset = true,
ChapterId = Data.ChapterId
}, CmdId.GetExtraStoryChallengeModeDataRsp));
}
}
}