summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-31 20:45:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:54 +0300
commit87e351fa21e94991038f3ca1cae1767b81071507 (patch)
treef504d6b760901a3a4f8c7be70d6f7cd84638e6af /src/net/eathena/charserverhandler.h
parent8ad8da325107ef1b33bd6c3ed985859e7edb78ae (diff)
downloadManaVerse-87e351fa21e94991038f3ca1cae1767b81071507.tar.gz
ManaVerse-87e351fa21e94991038f3ca1cae1767b81071507.tar.bz2
ManaVerse-87e351fa21e94991038f3ca1cae1767b81071507.tar.xz
ManaVerse-87e351fa21e94991038f3ca1cae1767b81071507.zip
Add partial pincode sending.
Need reverse or find way how to encrypt pincode. For now pincodes not supported.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r--src/net/eathena/charserverhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h
index e647a6d60..1f9cbbcfb 100644
--- a/src/net/eathena/charserverhandler.h
+++ b/src/net/eathena/charserverhandler.h
@@ -66,6 +66,8 @@ class CharServerHandler final : public MessageHandler,
bool isNeedCreatePin() const A_WARN_UNUSED
{ return mNeedCreatePin; }
+ void setNewPincode(const std::string &pin) override final;
+
protected:
void readPlayerData(Net::MessageIn &msg,
Net::Character *const character,
@@ -75,6 +77,7 @@ class CharServerHandler final : public MessageHandler,
private:
uint32_t mPinSeed;
+ uint32_t mPinAccountId;
bool mNeedCreatePin;
};