CustomHead and Frame impl, with GetMainDataRsp fix

This commit is contained in:
rafi1212122
2023-06-07 10:21:58 +07:00
parent f95f370a48
commit cd2087f6cb
20 changed files with 324 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
using Common.Resources.Proto;
namespace PemukulPaku.GameServer.Handlers.Three
{
[PacketCmdId(CmdId.GetOtherPlayerClientSettingReq)]
internal class GetOtherPlayerClientSettingReqHadler : IPacketHandler
{
public void Handle(Session session, Packet packet)
{
GetOtherPlayerClientSettingReq Data = packet.GetDecodedBody<GetOtherPlayerClientSettingReq>();
GetOtherPlayerClientSettingRsp Rsp = new()
{
retcode = GetOtherPlayerClientSettingRsp.Retcode.Succ,
ClientSettingType = Data.ClientSettingType,
TargetUid = Data.TargetUid,
IsWeeklyGuideSwitchOn = false
};
session.Send(Packet.FromProto(Rsp, CmdId.GetOtherPlayerClientSettingRsp));
}
}
}