diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 14:51:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 14:51:23 +0300 |
commit | c4802097dec05ca39e395e7dba3a55dba70edbe8 (patch) | |
tree | b78e4d197a6e88dd646bc46b1c00286f97c63011 /src/net/ea | |
parent | e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43 (diff) | |
download | manaplus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.gz manaplus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.bz2 manaplus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.xz manaplus-c4802097dec05ca39e395e7dba3a55dba70edbe8.zip |
Add static in chatserverhandler.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/charserverhandler.h | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index 015904918..8c400852b 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -77,7 +77,7 @@ unsigned int CharServerHandler::maxSprite() const return EA_SPRITE_VECTOREND; } -void CharServerHandler::processCharLoginError(Net::MessageIn &msg) const +void CharServerHandler::processCharLoginError(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharLoginError") switch (msg.readUInt8("error")) diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h index c9b324c5b..0609e7637 100644 --- a/src/net/ea/charserverhandler.h +++ b/src/net/ea/charserverhandler.h @@ -54,22 +54,18 @@ class CharServerHandler notfinal : public Net::CharServerHandler virtual void connect() = 0; - virtual void processCharLoginError(Net::MessageIn &msg) const; + static void processCharLoginError(Net::MessageIn &msg); - virtual void processCharCreateFailed(Net::MessageIn &msg); + static void processCharCreateFailed(Net::MessageIn &msg); - virtual void processCharDelete(Net::MessageIn &msg); + static void processCharDelete(Net::MessageIn &msg); - virtual void processCharDeleteFailed(Net::MessageIn &msg); + static void processCharDeleteFailed(Net::MessageIn &msg); virtual void clear() override final; protected: CharServerHandler(); - - virtual void readPlayerData(Net::MessageIn &msg, - Net::Character *const character, - const bool withColors) const = 0; }; } // namespace Ea |