summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-19 17:33:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-19 17:33:16 +0300
commitb7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch)
treeeed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/beinghandler.cpp
parent403792db7d005066273bcbe138afcd1a98b3144c (diff)
downloadmv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz
mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2
mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz
mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp6
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");
}