From f28382b61b02a2d13c7d3f5b63c9e699fc549d22 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Mar 2019 23:08:51 +0300 Subject: Rename packet SMSG_PLAYER_EQUIP_TICK_ACK into SMSG_PLAYER_ZC_CONFIG --- src/net/eathena/packetsin.inc | 2 +- src/net/eathena/playerrecv.cpp | 5 ++--- src/net/eathena/playerrecv.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 0689708d4..79ab7fc2a 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -445,7 +445,7 @@ if (packetVersion >= 20070227) packet(SMSG_PARTY_INVITATION_STATS, 0x02c9, 3, &PartyRecv::processPartyInvitationStats, 20070227); packet(SMSG_INSTANCE_CREATE, 0x02cc, 4, &MapRecv::processInstanceCreate, 20070227); packet(SMSG_INSTANCE_DELETE, 0x02ce, 10, &MapRecv::processInstanceDelete, 20070227); - packet(SMSG_PLAYER_EQUIP_TICK_ACK, 0x02d9, 10, &PlayerRecv::processPlayerEquipTickAck, 20070227); + packet(SMSG_PLAYER_ZC_CONFIG, 0x02d9, 10, &PlayerRecv::processPlayerZCConfig, 20070227); packet(SMSG_PLAYER_SHOW_EQUIP, 0x02da, 3, &PlayerRecv::processPlayerShowEquip, 20070227); packet(SMSG_BATTLE_CHAT_MESSAGE, 0x02dc, -1, &ChatRecv::processBattleChatMessage, 20070227); packet(SMSG_BATTLE_EMBLEM, 0x02dd, 32, &BattleGroundRecv::processBattleEmblem, 20070227); diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 63e3a8f6c..c6f843168 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -408,11 +408,10 @@ void PlayerRecv::processPlayerReadBook(Net::MessageIn &msg) msg.readInt32("page"); } -void PlayerRecv::processPlayerEquipTickAck(Net::MessageIn &msg) +void PlayerRecv::processPlayerZCConfig(Net::MessageIn &msg) { - // +++ actually ZC_CONFIG UNIMPLEMENTEDPACKET; - msg.readInt32("unused"); + msg.readInt32("type"); msg.readInt32("flag"); } diff --git a/src/net/eathena/playerrecv.h b/src/net/eathena/playerrecv.h index 030c3bcc5..eb611e5a6 100644 --- a/src/net/eathena/playerrecv.h +++ b/src/net/eathena/playerrecv.h @@ -48,7 +48,7 @@ namespace EAthena void processPlayerUpgradeMessage(Net::MessageIn &msg); void processPlayerFameTaekwon(Net::MessageIn &msg); void processPlayerReadBook(Net::MessageIn &msg); - void processPlayerEquipTickAck(Net::MessageIn &msg); + void processPlayerZCConfig(Net::MessageIn &msg); void processPlayerAutoShadowSpellList(Net::MessageIn &msg); void processPlayerRankPoints(Net::MessageIn &msg); void processOnlineList(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2