diff options
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 |