diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-25 17:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-25 17:00:29 +0300 |
commit | 86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068 (patch) | |
tree | 9fb021b988d6ac482b02b2c91cfc3981696e981c /src/net/eathena/charserverhandler.h | |
parent | 5f602ac6b69195658ea54d218b29b270744bbb47 (diff) | |
download | mv-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.gz mv-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.bz2 mv-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.tar.xz mv-86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068.zip |
Move receive code from charserverhandler into separate file.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r-- | src/net/eathena/charserverhandler.h | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h index 1b0b602ae..20086c965 100644 --- a/src/net/eathena/charserverhandler.h +++ b/src/net/eathena/charserverhandler.h @@ -64,14 +64,7 @@ class CharServerHandler final : public MessageHandler, void connect() override final; - void processCharLogin(Net::MessageIn &msg); - - void processCharMapInfo(Net::MessageIn &msg); - - void processChangeMapServer(Net::MessageIn &msg); - - bool isNeedCreatePin() const override final A_WARN_UNUSED - { return mNeedCreatePin; } + bool isNeedCreatePin() const override final A_WARN_UNUSED; void setNewPincode(const std::string &pin) override final; @@ -85,47 +78,9 @@ class CharServerHandler final : public MessageHandler, void changeSlot(const int oldSlot, const int newSlot) override final; - void readPlayerData(Net::MessageIn &msg, - Net::Character *const character) - const override final; - void ping() const override final; unsigned int hatSprite() const override final A_WARN_UNUSED; - - protected: - static void processPincodeStatus(Net::MessageIn &msg); - - static void processCharLogin2(Net::MessageIn &msg); - - static void processCharCreate(Net::MessageIn &msg); - - static void processCharCheckRename(Net::MessageIn &msg); - - static void processCharRename(Net::MessageIn &msg); - - static void processCharChangeSlot(Net::MessageIn &msg); - - static void processCharDeleteFailed(Net::MessageIn &msg); - - static void processCharCaptchaNotSupported(Net::MessageIn &msg); - - static void processCharDelete2Ack(Net::MessageIn &msg); - - static void processCharDelete2AcceptActual(Net::MessageIn &msg); - - static void processCharDelete2CancelAck(Net::MessageIn &msg); - - static void processCharCharacters(Net::MessageIn &msg); - - static void processCharBanCharList(Net::MessageIn &msg); - - private: - static std::string mNewName; - static uint32_t mPinSeed; - static BeingId mPinAccountId; - static BeingId mRenameId; - static bool mNeedCreatePin; }; } // namespace EAthena |