summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 02:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 02:43:19 +0300
commit3f61f517230632fc5fef8cb3c2f47247c431dd44 (patch)
treef158ebe5f9a956df1a15bfc301a1bac30abdffb5
parent206123cda79c8b77aafcd042c99f5ea1c38f084d (diff)
downloadplus-3f61f517230632fc5fef8cb3c2f47247c431dd44.tar.gz
plus-3f61f517230632fc5fef8cb3c2f47247c431dd44.tar.bz2
plus-3f61f517230632fc5fef8cb3c2f47247c431dd44.tar.xz
plus-3f61f517230632fc5fef8cb3c2f47247c431dd44.zip
Add packet SMSG_DRESS_ROOM_OPEN 0x0a02.
-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 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