summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 15:04:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 15:04:24 +0300
commit7df47310cba40daf9f29fbebfddef8b978b2770f (patch)
treeddd52d55078623c8945e6eafe79251b514a398dc /src/net/eathena/inventoryhandler.cpp
parentc4ffef0103507c8f514d1a395b630e21b9b9541b (diff)
downloadmv-7df47310cba40daf9f29fbebfddef8b978b2770f.tar.gz
mv-7df47310cba40daf9f29fbebfddef8b978b2770f.tar.bz2
mv-7df47310cba40daf9f29fbebfddef8b978b2770f.tar.xz
mv-7df47310cba40daf9f29fbebfddef8b978b2770f.zip
eathena: add partial support for packet SMSG_PLAYER_STORAGE_PASSWORD 0x023a.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index c42e31903..52f793eb9 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -110,6 +110,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_REPAIR_LIST,
SMSG_PLAYER_REPAIR_EFFECT,
SMSG_PLAYER_REFINE_LIST,
+ SMSG_PLAYER_STORAGE_PASSWORD,
0
};
handledMessages = _messages;
@@ -258,6 +259,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerRefineList(msg);
break;
+ case SMSG_PLAYER_STORAGE_PASSWORD:
+ processPlayerStoragePassword(msg);
+ break;
+
default:
break;
}
@@ -1042,4 +1047,11 @@ void InventoryHandler::processPlayerRefineList(Net::MessageIn &msg)
menu = MenuType::WeaponeRefine;
}
+void InventoryHandler::processPlayerStoragePassword(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("info");
+}
+
} // namespace EAthena