summaryrefslogtreecommitdiff
path: root/src/net/eathena/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-01 12:31:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-01 12:31:19 +0300
commitadb6a81c70e2665c47afd47c9545514f9979d13f (patch)
tree5d8911076dc59708e8ce8c1dc4c59b2af6a0e493 /src/net/eathena/gamehandler.cpp
parent8b94c92950cc5f6860d2a32a2254d99197db6c64 (diff)
downloadmv-adb6a81c70e2665c47afd47c9545514f9979d13f.tar.gz
mv-adb6a81c70e2665c47afd47c9545514f9979d13f.tar.bz2
mv-adb6a81c70e2665c47afd47c9545514f9979d13f.tar.xz
mv-adb6a81c70e2665c47afd47c9545514f9979d13f.zip
eathena: add partial support for packet SMSG_MAP_AUTH_REFUSE 0x0074.
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r--src/net/eathena/gamehandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 4848946ce..989aa0665 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -54,6 +54,7 @@ GameHandler::GameHandler() :
SMSG_CHAR_SWITCH_RESPONSE,
SMSG_MAP_QUIT_RESPONSE,
SMSG_MAP_ACCOUNT_ID,
+ SMSG_MAP_AUTH_REFUSE,
0
};
handledMessages = _messages;
@@ -90,6 +91,10 @@ void GameHandler::handleMessage(Net::MessageIn &msg)
processMapAccountId(msg);
break;
+ case SMSG_MAP_AUTH_REFUSE:
+ processMapAuthRefuse(msg);
+ break;
+
default:
break;
}
@@ -214,4 +219,9 @@ void GameHandler::processServerTick(Net::MessageIn &msg)
msg.readInt32("tick");
}
+void GameHandler::processMapAuthRefuse(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("error");
+}
} // namespace EAthena