summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-31 16:53:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:54 +0300
commit8ad8da325107ef1b33bd6c3ed985859e7edb78ae (patch)
tree3dd76adef5e6dbe7da8db925ffa42ebbf21eb638 /src/net/eathena/charserverhandler.h
parent8cc52b6e9cf46643cc6300df844e70b8dcb85212 (diff)
downloadmanaverse-8ad8da325107ef1b33bd6c3ed985859e7edb78ae.tar.gz
manaverse-8ad8da325107ef1b33bd6c3ed985859e7edb78ae.tar.bz2
manaverse-8ad8da325107ef1b33bd6c3ed985859e7edb78ae.tar.xz
manaverse-8ad8da325107ef1b33bd6c3ed985859e7edb78ae.zip
add basic implimentation for set pincode.
For now it not sending pincode to server.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r--src/net/eathena/charserverhandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h
index 9a58a50e7..e647a6d60 100644
--- a/src/net/eathena/charserverhandler.h
+++ b/src/net/eathena/charserverhandler.h
@@ -63,12 +63,19 @@ class CharServerHandler final : public MessageHandler,
void processChangeMapServer(Net::MessageIn &msg);
+ bool isNeedCreatePin() const A_WARN_UNUSED
+ { return mNeedCreatePin; }
+
protected:
void readPlayerData(Net::MessageIn &msg,
Net::Character *const character,
const bool) const override final;
void processPincodeStatus(Net::MessageIn &msg);
+
+ private:
+ uint32_t mPinSeed;
+ bool mNeedCreatePin;
};
} // namespace EAthena