summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-24 01:17:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-24 01:17:51 +0300
commitc11b4880cf5ed1d73f88739c4debabc0c9b4ddf4 (patch)
tree6170ac6a3cf23634e0ee8ba58691ae593e473195 /src
parente2357924e81c3239e5ca2af0afda2a770acb8288 (diff)
downloadmv-c11b4880cf5ed1d73f88739c4debabc0c9b4ddf4.tar.gz
mv-c11b4880cf5ed1d73f88739c4debabc0c9b4ddf4.tar.bz2
mv-c11b4880cf5ed1d73f88739c4debabc0c9b4ddf4.tar.xz
mv-c11b4880cf5ed1d73f88739c4debabc0c9b4ddf4.zip
Add packet fields comments in pethandler.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/pethandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index 34892ba64..f04d1e8fc 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -285,32 +285,32 @@ void PetHandler::processPetFood(Net::MessageIn &msg)
void PetHandler::requestStatus() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(0);
+ outMsg.writeInt8(0, "action");
}
void PetHandler::feed() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(1);
+ outMsg.writeInt8(1, "action");
}
void PetHandler::dropLoot() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(2); // performance
+ outMsg.writeInt8(2, "action"); // performance
}
void PetHandler::returnToEgg() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(3);
+ outMsg.writeInt8(3, "action");
PlayerInfo::setPet(nullptr);
}
void PetHandler::unequip() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(4);
+ outMsg.writeInt8(4, "action");
}
} // namespace EAthena