diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-08 01:35:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-08 01:35:19 +0300 |
commit | 676c5e978cbb312fbf4df8ec396c0f8b08944a96 (patch) | |
tree | 3336dda58d228fdada40453d80769e5186dab845 /src/net/eathena/charserverhandler.cpp | |
parent | 0d9e625499c18a4eaf79d38dfb1ef6abf0c553bd (diff) | |
download | manaplus-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.gz manaplus-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.bz2 manaplus-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.xz manaplus-676c5e978cbb312fbf4df8ec396c0f8b08944a96.zip |
Add support for enter auth pincode.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index a62c79c3b..71bf6aeee 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -206,6 +206,14 @@ void CharServerHandler::setNewPincode(const BeingId accountId, outMsg.writeString(pin, 4, "encrypted pin"); } +void CharServerHandler::sendCheckPincode(const BeingId accountId, + const std::string &pin) const +{ + createOutPacket(CMSG_CHAR_PIN_CHECK); + outMsg.writeBeingId(accountId, "account id"); + outMsg.writeString(pin, 4, "encrypted pin"); +} + void CharServerHandler::renameCharacter(const BeingId id, const std::string &newName) const { |