summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-24 00:38:41 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 02:39:13 +0300
commit2811da7ca1e50f0d0cfcf44c98e78aa118bd9d7f (patch)
tree025bed0b429dd36c65d63b0507ef0eeeb0c8e944 /src/net/eathena/loginrecv.cpp
parent852ca6c80f1c7958b08f0bafcb783a48a51aabb8 (diff)
downloadmanaverse-2811da7ca1e50f0d0cfcf44c98e78aa118bd9d7f.tar.gz
manaverse-2811da7ca1e50f0d0cfcf44c98e78aa118bd9d7f.tar.bz2
manaverse-2811da7ca1e50f0d0cfcf44c98e78aa118bd9d7f.tar.xz
manaverse-2811da7ca1e50f0d0cfcf44c98e78aa118bd9d7f.zip
Add packet SMSG_LOGIN_OTP
Diffstat (limited to 'src/net/eathena/loginrecv.cpp')
-rw-r--r--src/net/eathena/loginrecv.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp
index cfd067cf7..047c243e9 100644
--- a/src/net/eathena/loginrecv.cpp
+++ b/src/net/eathena/loginrecv.cpp
@@ -303,4 +303,30 @@ void LoginRecv::processLoginData(Net::MessageIn &msg)
client->setState(State::WORLD_SELECT);
}
+void LoginRecv::processLoginOtp1(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ const int tokenLen = msg.readInt16("len") - 8;
+ msg.readInt32("login flag");
+ msg.readString(tokenLen, "token");
+}
+
+void LoginRecv::processLoginOtp2(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ const int tokenLen = msg.readInt16("len") - 14;
+ msg.readInt32("login flag");
+ msg.readString(6, "login flag2");
+ msg.readString(tokenLen, "token");
+}
+
+void LoginRecv::processLoginOtp3(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ const int tokenLen = msg.readInt16("len") - 28;
+ msg.readInt32("login flag");
+ msg.readString(20, "login flag2");
+ msg.readString(tokenLen, "token");
+}
+
} // namespace EAthena