summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-01 00:25:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:54 +0300
commit3a320dc5d0cff4e3583e6c5ebe72c84e47034c69 (patch)
tree1151aa48e518d5975c03e682afd5c353fc610e0f /src/net/eathena
parentcf302132a1a1b7a9a05710f51ac4cdf20afa3f6b (diff)
downloadplus-3a320dc5d0cff4e3583e6c5ebe72c84e47034c69.tar.gz
plus-3a320dc5d0cff4e3583e6c5ebe72c84e47034c69.tar.bz2
plus-3a320dc5d0cff4e3583e6c5ebe72c84e47034c69.tar.xz
plus-3a320dc5d0cff4e3583e6c5ebe72c84e47034c69.zip
eathena: rename SMSG_MAP_CHAR_ID to SMSG_MAP_ACCOUNT_ID.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/gamehandler.cpp10
-rw-r--r--src/net/eathena/gamehandler.h2
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 54c64d995..31c883158 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -53,7 +53,7 @@ GameHandler::GameHandler() :
SMSG_WHO_ANSWER,
SMSG_CHAR_SWITCH_RESPONSE,
SMSG_MAP_QUIT_RESPONSE,
- SMSG_MAP_CHAR_ID,
+ SMSG_MAP_ACCOUNT_ID,
0
};
handledMessages = _messages;
@@ -85,8 +85,8 @@ void GameHandler::handleMessage(Net::MessageIn &msg)
processMapQuitResponse(msg);
break;
- case SMSG_MAP_CHAR_ID:
- processMapCharId(msg);
+ case SMSG_MAP_ACCOUNT_ID:
+ processMapAccountId(msg);
break;
default:
@@ -171,9 +171,9 @@ void GameHandler::disconnect2() const
MessageOut outMsg(CMSG_CLIENT_DISCONNECT);
}
-void GameHandler::processMapCharId(Net::MessageIn &msg)
+void GameHandler::processMapAccountId(Net::MessageIn &msg)
{
- msg.readInt32(); // char id
+ msg.readInt32("account id");
}
} // namespace EAthena
diff --git a/src/net/eathena/gamehandler.h b/src/net/eathena/gamehandler.h
index 075bc6f94..56af1979b 100644
--- a/src/net/eathena/gamehandler.h
+++ b/src/net/eathena/gamehandler.h
@@ -53,7 +53,7 @@ class GameHandler final : public MessageHandler, public Ea::GameHandler
void mapLoadedEvent() const override final;
- static void processMapCharId(Net::MessageIn &msg);
+ static void processMapAccountId(Net::MessageIn &msg);
bool mustPing() const override final A_WARN_UNUSED
{ return true; }
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 8f21b5738..d6c180b11 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -306,7 +306,7 @@
#define CMSG_SEND_CLIENT_INFO 0x7533
#define SMSG_UPDATE_HOST2 0x7534
-#define SMSG_MAP_CHAR_ID 0x0283
+#define SMSG_MAP_ACCOUNT_ID 0x0283
#define SMSG_PLAYER_SHORTCUTS 0x02b9
#define SMSG_PLAYER_SHOW_EQUIP 0x02da
#define SMSG_NPC_CUTIN 0x01b3