From c11b4880cf5ed1d73f88739c4debabc0c9b4ddf4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Oct 2014 01:17:51 +0300 Subject: Add packet fields comments in pethandler. --- src/net/eathena/pethandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2