summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-23 14:51:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-23 14:51:30 +0300
commitab5e3e053a31efdc5799c1239e2bceaacf7cff61 (patch)
tree281095fe5a82edf1b377fe80910ec813c5b40064 /src/net/eathena
parentc2a0903d2f487a6146bbf0829adb16afeb1efda5 (diff)
downloadplus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.gz
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.bz2
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.xz
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.zip
eathena: rename packet CMSG_PET_REQUEST_STATE to CMSG_PET_SEND_MESSAGE.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/pethandler.cpp4
-rw-r--r--src/net/eathena/pethandler.h2
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index c565cd280..00dc27c07 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -140,9 +140,9 @@ void PetHandler::catchPet(const Being *const being) const
outMsg.writeInt32(being->getId(), "monster id");
}
-void PetHandler::requestPetState(const int data) const
+void PetHandler::sendPetMessage(const int data) const
{
- createOutPacket(CMSG_PET_REQUEST_STATE);
+ createOutPacket(CMSG_PET_SEND_MESSAGE);
outMsg.writeInt32(data, "param");
}
diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h
index 3f98b619b..58f1ffe4b 100644
--- a/src/net/eathena/pethandler.h
+++ b/src/net/eathena/pethandler.h
@@ -51,7 +51,7 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void catchPet(const Being *const being) const override final;
- void requestPetState(const int data) const override final;
+ void sendPetMessage(const int data) const override final;
void processPetMessage(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 188599ac0..5c57a7643 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -406,7 +406,7 @@
#define CMSG_PLAYER_SET_MEMO 0x011d
#define CMSG_PET_CATCH 0x019f
-#define CMSG_PET_REQUEST_STATE 0x01a9
+#define CMSG_PET_SEND_MESSAGE 0x01a9
#define CMSG_PET_SET_NAME 0x01a5
#define CMSG_PET_SELECT_EGG 0x01a7
#define CMSG_PET_MENU_ACTION 0x01a1