From 3f61f517230632fc5fef8cb3c2f47247c431dd44 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jan 2016 02:43:19 +0300 Subject: Add packet SMSG_DRESS_ROOM_OPEN 0x0a02. --- src/net/eathena/packetsin.inc | 6 ++++++ src/net/eathena/playerrecv.cpp | 6 ++++++ src/net/eathena/playerrecv.h | 1 + 3 files changed, 13 insertions(+) (limited to 'src/net/eathena') diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 7f7200fc8..c7eb6e537 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -460,3 +460,9 @@ if (serverVersion >= 8 && packetVersion >= 20150226) packet(SMSG_PLAYER_CART_EQUIP, 0x0a0f, -1, &InventoryRecv::processPlayerCartEquip); packet(SMSG_PLAYER_STORAGE_EQUIP, 0x0a10, -1, &InventoryRecv::processPlayerStorageEquip); } + +// partial implimentation for future use +if (packetVersion >= 20150513) +{ + packet(SMSG_DRESS_ROOM_OPEN, 0x0a02, 4, &PlayerRecv::processDressRoomOpen); +} diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 28be2155e..6aa71870a 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -419,4 +419,10 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) BLOCK_END("PlayerRecv::processOnlineList") } +void PlayerRecv::processDressRoomOpen(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("view"); +} + } // namespace EAthena diff --git a/src/net/eathena/playerrecv.h b/src/net/eathena/playerrecv.h index 0fb991510..8dfab5944 100644 --- a/src/net/eathena/playerrecv.h +++ b/src/net/eathena/playerrecv.h @@ -51,6 +51,7 @@ namespace EAthena void processPlayerRankPoints(Net::MessageIn &msg); void processPlayerClientCommand(Net::MessageIn &msg); void processOnlineList(Net::MessageIn &msg); + void processDressRoomOpen(Net::MessageIn &msg); } // namespace PlayerRecv } // namespace EAthena -- cgit v1.2.3-70-g09d2