summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 23:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 23:00:00 +0300
commit30a8ec57bb01a17f27a25ed9e4d8ec036039ae33 (patch)
treed61fd7d5c84dfe09679ebe3cf102833d753d2461 /src/net/eathena/beinghandler.cpp
parent9743b3341693f71bcaf62a979ec25b249eb0d39b (diff)
downloadplus-30a8ec57bb01a17f27a25ed9e4d8ec036039ae33.tar.gz
plus-30a8ec57bb01a17f27a25ed9e4d8ec036039ae33.tar.bz2
plus-30a8ec57bb01a17f27a25ed9e4d8ec036039ae33.tar.xz
plus-30a8ec57bb01a17f27a25ed9e4d8ec036039ae33.zip
eathena: add packet CMSG_PLAYER_VIEW_EQUIPMENT 0x02d6.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 02ceb0334..76debad6d 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -1674,6 +1674,15 @@ void BeingHandler::applyPlayerAction(Being *const being, const uint8_t type)
}
}
+void BeingHandler::viewPlayerEquipment(const Being *const being)
+{
+ if (!being)
+ return;
+
+ MessageOut outMsg(CMSG_PLAYER_VIEW_EQUIPMENT);
+ outMsg.writeInt32(being->getId(), "account id");
+}
+
void BeingHandler::processSkillGroundNoDamage(Net::MessageIn &msg) const
{
msg.readInt16("skill id");