summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-15 00:31:47 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-15 00:31:47 +0300
commitc823c623827435e42e5cec0fbd2f494999ba4a85 (patch)
tree97406e83a2bf7ba7770e348113ed314c57736960 /src/net/eathena
parentf349460cedb54d3490e016a48036ced26cd8e998 (diff)
downloadmv-c823c623827435e42e5cec0fbd2f494999ba4a85.tar.gz
mv-c823c623827435e42e5cec0fbd2f494999ba4a85.tar.bz2
mv-c823c623827435e42e5cec0fbd2f494999ba4a85.tar.xz
mv-c823c623827435e42e5cec0fbd2f494999ba4a85.zip
Add packet CMSG_PLAYER_SELECT_STYLE_ACK 0x0a47.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/packetsin.inc6
-rw-r--r--src/net/eathena/playerrecv.cpp6
-rw-r--r--src/net/eathena/playerrecv.h1
3 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 86a484864..83d30570a 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -939,6 +939,12 @@ if (packetVersion >= 20150805)
packet(SMSG_SELECT_CART, 0x097f, -1, &InventoryRecv::processSelectCart, 20150805);
}
+// 20151104
+if (packetVersion >= 20151104)
+{
+ packet(CMSG_PLAYER_SELECT_STYLE_ACK, 0x0a47, 3, &PlayerRecv::processSelectStyleAck, 20151104);
+}
+
// 20151223
if (packetVersion >= 20151223)
{
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp
index a85b53c60..7ae05eba6 100644
--- a/src/net/eathena/playerrecv.cpp
+++ b/src/net/eathena/playerrecv.cpp
@@ -542,4 +542,10 @@ void PlayerRecv::processPlayerStatUpdate7(Net::MessageIn &msg)
BLOCK_END("PlayerRecv::processPlayerStatUpdate7")
}
+void PlayerRecv::processSelectStyleAck(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/playerrecv.h b/src/net/eathena/playerrecv.h
index 67c8c86f9..1d43765be 100644
--- a/src/net/eathena/playerrecv.h
+++ b/src/net/eathena/playerrecv.h
@@ -56,6 +56,7 @@ namespace EAthena
void processKilledBy(Net::MessageIn &msg);
void processPlayerAttrs(Net::MessageIn &msg);
void processPlayerStatUpdate7(Net::MessageIn &msg);
+ void processSelectStyleAck(Net::MessageIn &msg);
} // namespace PlayerRecv
} // namespace EAthena