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/beinghandler.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/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index a3c40ab68..a4e934af2 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -111,7 +111,7 @@ BeingHandler::BeingHandler(const bool enableSync) : void BeingHandler::requestNameById(const int id) const { - MessageOut outMsg(CMSG_NAME_REQUEST); + createOutPacket(CMSG_NAME_REQUEST); outMsg.writeInt32(id); // readLong(2)); } @@ -297,7 +297,7 @@ void BeingHandler::undress(Being *const being) const void BeingHandler::requestRanks(const Rank::Rank rank) const { - MessageOut outMsg(CMSG_REQUEST_RANKS); + createOutPacket(CMSG_REQUEST_RANKS); outMsg.writeInt16(static_cast<int16_t>(rank), "type"); } @@ -1689,7 +1689,7 @@ void BeingHandler::viewPlayerEquipment(const Being *const being) if (!being) return; - MessageOut outMsg(CMSG_PLAYER_VIEW_EQUIPMENT); + createOutPacket(CMSG_PLAYER_VIEW_EQUIPMENT); outMsg.writeInt32(being->getId(), "account id"); } |