summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-25 23:15:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-25 23:15:40 +0300
commitb859885c6fcfa1828cd966162d6081638e151280 (patch)
tree99ad42ce582d3160313f5108d8c7e5d6d118ac25 /src
parent3f5414baed89f0ca2d06a9f91d8f9993bb125a78 (diff)
downloadmanaplus-b859885c6fcfa1828cd966162d6081638e151280.tar.gz
manaplus-b859885c6fcfa1828cd966162d6081638e151280.tar.bz2
manaplus-b859885c6fcfa1828cd966162d6081638e151280.tar.xz
manaplus-b859885c6fcfa1828cd966162d6081638e151280.zip
Add packet SMSG_PLAYER_SET_TITLE_ACK 0x0a2f.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsin.inc3
-rw-r--r--src/net/eathena/playerrecv.cpp7
-rw-r--r--src/net/eathena/playerrecv.h1
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