diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-25 23:15:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-25 23:15:40 +0300 |
commit | b859885c6fcfa1828cd966162d6081638e151280 (patch) | |
tree | 99ad42ce582d3160313f5108d8c7e5d6d118ac25 /src | |
parent | 3f5414baed89f0ca2d06a9f91d8f9993bb125a78 (diff) | |
download | manaverse-b859885c6fcfa1828cd966162d6081638e151280.tar.gz manaverse-b859885c6fcfa1828cd966162d6081638e151280.tar.bz2 manaverse-b859885c6fcfa1828cd966162d6081638e151280.tar.xz manaverse-b859885c6fcfa1828cd966162d6081638e151280.zip |
Add packet SMSG_PLAYER_SET_TITLE_ACK 0x0a2f.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/packetsin.inc | 3 | ||||
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 7 | ||||
-rw-r--r-- | src/net/eathena/playerrecv.h | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index b11b20fbd..e736a7156 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -854,10 +854,13 @@ packet(SMSG_ROULETTE_OPEN_ACK, 0x0a1a, 23, &RouletteRecv::processRo packet(SMSG_ROULETTE_INFO_ACK_TYPE, 0x0a1c, -1, &RouletteRecv::processRouletteInfoAckType, 20141016); packet(SMSG_ROULETTE_GENERATE_ACK_TYPE, 0x0a20, 21, &RouletteRecv::processRouletteGenerateAckType, 20141016); packet(SMSG_ROULETTE_RECV_ITEM_ACK, 0x0a22, 5, &RouletteRecv::processRouletteItemAck, 20141016); + +// 20141016 if (packetVersion >= 20141016) { packet(SMSG_VENDING_REPORT, 0x09e5, 18, &VendingRecv::processReport, 20141016); packet(SMSG_BUYINGSTORE_REPORT, 0x09e6, 22, &BuyingStoreRecv::processBuyingStoreReport, 20141016); + packet(SMSG_PLAYER_SET_TITLE_ACK, 0x0a2f, 7, &PlayerRecv::processSetTitleAck, 20141016); } // 20141022 diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 95811448f..dfaa98b75 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -549,4 +549,11 @@ void PlayerRecv::processSelectStyleAck(Net::MessageIn &msg) msg.readUInt8("flag"); } +void PlayerRecv::processSetTitleAck(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("fail flag"); + msg.readInt32("title"); +} + } // namespace EAthena diff --git a/src/net/eathena/playerrecv.h b/src/net/eathena/playerrecv.h index 1d43765be..324c72092 100644 --- a/src/net/eathena/playerrecv.h +++ b/src/net/eathena/playerrecv.h @@ -57,6 +57,7 @@ namespace EAthena void processPlayerAttrs(Net::MessageIn &msg); void processPlayerStatUpdate7(Net::MessageIn &msg); void processSelectStyleAck(Net::MessageIn &msg); + void processSetTitleAck(Net::MessageIn &msg); } // namespace PlayerRecv } // namespace EAthena |