From c823c623827435e42e5cec0fbd2f494999ba4a85 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Jun 2018 00:31:47 +0300 Subject: Add packet CMSG_PLAYER_SELECT_STYLE_ACK 0x0a47. --- src/net/eathena/packetsin.inc | 6 ++++++ src/net/eathena/playerrecv.cpp | 6 ++++++ src/net/eathena/playerrecv.h | 1 + 3 files changed, 13 insertions(+) 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 -- cgit v1.2.3-70-g09d2