summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 14:51:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 14:51:23 +0300
commitc4802097dec05ca39e395e7dba3a55dba70edbe8 (patch)
treeb78e4d197a6e88dd646bc46b1c00286f97c63011 /src/net/ea
parente0bd37fd01e8c14bf6d044382ac12cc11f5eaa43 (diff)
downloadplus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.gz
plus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.bz2
plus-c4802097dec05ca39e395e7dba3a55dba70edbe8.tar.xz
plus-c4802097dec05ca39e395e7dba3a55dba70edbe8.zip
Add static in chatserverhandler.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverhandler.cpp2
-rw-r--r--src/net/ea/charserverhandler.h12
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