summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-23 23:45:41 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 02:39:11 +0300
commit852ca6c80f1c7958b08f0bafcb783a48a51aabb8 (patch)
treeb34df84b2f7bf9815f35972930bd10602baff4c6 /src/net/tmwa
parent19366a7eae5cb6862da3212f8d3e16fe0bf9255e (diff)
downloadplus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.gz
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.bz2
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.tar.xz
plus-852ca6c80f1c7958b08f0bafcb783a48a51aabb8.zip
Add packet CMSG_LOGIN_OTP_CODE 0x0ad0
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/loginhandler.cpp4
-rw-r--r--src/net/tmwa/loginhandler.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index e88069d25..c0abf22bc 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -146,4 +146,8 @@ void LoginHandler::sendMobileCode(const BeingId accountId A_UNUSED,
{
}
+void LoginHandler::sendOtpCode(const std::string &code A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h
index 7539569a0..abd70cf69 100644
--- a/src/net/tmwa/loginhandler.h
+++ b/src/net/tmwa/loginhandler.h
@@ -63,6 +63,8 @@ class LoginHandler final : public Ea::LoginHandler
void sendMobileCode(const BeingId accountId,
const std::string &code) const override final;
+ void sendOtpCode(const std::string &code) const override final;
+
private:
void sendLoginRegister(const std::string &restrict username,
const std::string &restrict password,