summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-04 23:08:51 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-04 23:08:51 +0300
commitf28382b61b02a2d13c7d3f5b63c9e699fc549d22 (patch)
treeadd80044601af13650457b843caf2eaeac358342
parenta10b7cb955ab974c42474726f66e8e16f659bdb6 (diff)
downloadplus-f28382b61b02a2d13c7d3f5b63c9e699fc549d22.tar.gz
plus-f28382b61b02a2d13c7d3f5b63c9e699fc549d22.tar.bz2
plus-f28382b61b02a2d13c7d3f5b63c9e699fc549d22.tar.xz
plus-f28382b61b02a2d13c7d3f5b63c9e699fc549d22.zip
Rename packet SMSG_PLAYER_EQUIP_TICK_ACK into SMSG_PLAYER_ZC_CONFIG
-rw-r--r--src/net/eathena/packetsin.inc2
-rw-r--r--src/net/eathena/playerrecv.cpp5
-rw-r--r--src/net/eathena/playerrecv.h2
3 files changed, 4 insertions, 5 deletions
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);