From b859885c6fcfa1828cd966162d6081638e151280 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Sep 2018 23:15:40 +0300 Subject: Add packet SMSG_PLAYER_SET_TITLE_ACK 0x0a2f. --- src/net/eathena/packetsin.inc | 3 +++ src/net/eathena/playerrecv.cpp | 7 +++++++ src/net/eathena/playerrecv.h | 1 + 3 files changed, 11 insertions(+) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2