diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
commit | b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch) | |
tree | eed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/pethandler.cpp | |
parent | 403792db7d005066273bcbe138afcd1a98b3144c (diff) | |
download | ManaVerse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz ManaVerse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2 ManaVerse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz ManaVerse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip |
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index d801c422c..7ccc57283 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -100,19 +100,19 @@ void PetHandler::catchPet(const Being *const being) const if (!being) return; - MessageOut outMsg(CMSG_PET_CATCH); + createOutPacket(CMSG_PET_CATCH); outMsg.writeInt32(being->getId(), "monster id"); } void PetHandler::requestPetState(const int data) const { - MessageOut outMsg(CMSG_PET_REQUEST_STATE); + createOutPacket(CMSG_PET_REQUEST_STATE); outMsg.writeInt32(data, "param"); } void PetHandler::setName(const std::string &name) const { - MessageOut outMsg(CMSG_PET_SET_NAME); + createOutPacket(CMSG_PET_SET_NAME); outMsg.writeString(name, 24, "name"); } |