summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 21:01:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 21:01:41 +0300
commitc54d7e82f0f05f51ce45db59d14e1b70fe33ef3b (patch)
treece3722978690c09af7fd6357033ef5c699c0fede /src/net/eathena/adminhandler.cpp
parent58adb06d27a8fc69d4010bf61b4a6c9841fa1c5c (diff)
downloadManaVerse-c54d7e82f0f05f51ce45db59d14e1b70fe33ef3b.tar.gz
ManaVerse-c54d7e82f0f05f51ce45db59d14e1b70fe33ef3b.tar.bz2
ManaVerse-c54d7e82f0f05f51ce45db59d14e1b70fe33ef3b.tar.xz
ManaVerse-c54d7e82f0f05f51ce45db59d14e1b70fe33ef3b.zip
eathena: add packet CMSG_ADMIN_UNEQUIP_ALL 0x07f5.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp9
1 files changed, 9 insertions, 0 deletions
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");