From b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 17:33:16 +0300 Subject: Add comments for all output packets header. --- src/net/eathena/gamehandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/gamehandler.cpp') diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 381131fbc..d8f3f5c0e 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -97,7 +97,7 @@ void GameHandler::handleMessage(Net::MessageIn &msg) void GameHandler::mapLoadedEvent() const { - MessageOut outMsg(CMSG_MAP_LOADED); + createOutPacket(CMSG_MAP_LOADED); } void GameHandler::connect() @@ -125,7 +125,7 @@ void GameHandler::connect() } // Send login infos - MessageOut outMsg(CMSG_MAP_SERVER_CONNECT); + createOutPacket(CMSG_MAP_SERVER_CONNECT); outMsg.writeInt32(token.account_ID, "account id"); outMsg.writeInt32(mCharID, "char id"); outMsg.writeInt32(token.session_ID1, "session key1"); @@ -157,7 +157,7 @@ void GameHandler::disconnect() void GameHandler::quit() const { - MessageOut outMsg(CMSG_CLIENT_QUIT); + createOutPacket(CMSG_CLIENT_QUIT); } void GameHandler::ping(const int tick) const -- cgit v1.2.3-60-g2f50