From c54d7e82f0f05f51ce45db59d14e1b70fe33ef3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 21:01:41 +0300 Subject: eathena: add packet CMSG_ADMIN_UNEQUIP_ALL 0x07f5. --- src/net/eathena/adminhandler.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net/eathena/adminhandler.cpp') diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 6b584269c..c05c00771 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -179,6 +179,15 @@ void AdminHandler::setTileType(const int x, const int y, outMsg.writeInt16(type, "type"); } +void AdminHandler::unequipAll(const Being *const being) const +{ + if (!being) + return; + + MessageOut outMsg(CMSG_ADMIN_UNEQUIP_ALL); + outMsg.writeInt32(being->getId(), "account id"); +} + void AdminHandler::processAdminGetLoginAck(Net::MessageIn &msg) { msg.readInt32("account id"); -- cgit v1.2.3-70-g09d2