summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 15:39:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 15:39:07 +0300
commit4c4c2684278f84f952544d8e4f119ce9da980c1a (patch)
tree6d7b7f5cc06782cbed5a9fd0c12e3e3ca671f5e3 /src/net/eathena/pethandler.cpp
parent43e7e15b797fbe4f2e1f636745208f71dd0078a9 (diff)
downloadplus-4c4c2684278f84f952544d8e4f119ce9da980c1a.tar.gz
plus-4c4c2684278f84f952544d8e4f119ce9da980c1a.tar.bz2
plus-4c4c2684278f84f952544d8e4f119ce9da980c1a.tar.xz
plus-4c4c2684278f84f952544d8e4f119ce9da980c1a.zip
eathena: add packet CMSG_PET_REQUEST_STATE 0x01a9.
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index bf4939345..9d6772006 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -85,4 +85,10 @@ void PetHandler::catchPet(const Being *const being) const
outMsg.writeInt32(being->getId(), "monster id");
}
+void PetHandler::requestPetState(const int data) const
+{
+ MessageOut outMsg(CMSG_PET_REQUEST_STATE);
+ outMsg.writeInt32(data, "param");
+}
+
} // namespace EAthena