diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 19:12:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 21:22:47 +0300 |
commit | efb2f46fc326117d77851fe588784ff869e2935f (patch) | |
tree | ba483c230a64e16aefa89f9717d6915d267e2f01 /src/net/ea/gamehandler.h | |
parent | 661dec0f325a01427911598fb6b7e24754a3a1b5 (diff) | |
download | plus-efb2f46fc326117d77851fe588784ff869e2935f.tar.gz plus-efb2f46fc326117d77851fe588784ff869e2935f.tar.bz2 plus-efb2f46fc326117d77851fe588784ff869e2935f.tar.xz plus-efb2f46fc326117d77851fe588784ff869e2935f.zip |
Add static in gamehandler.
Diffstat (limited to 'src/net/ea/gamehandler.h')
-rw-r--r-- | src/net/ea/gamehandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ea/gamehandler.h b/src/net/ea/gamehandler.h index 68de36c70..09854b7a5 100644 --- a/src/net/ea/gamehandler.h +++ b/src/net/ea/gamehandler.h @@ -50,19 +50,19 @@ class GameHandler notfinal : public Net::GameHandler virtual bool canUseMagicBar() const override final A_WARN_UNUSED { return true; } - virtual void processWhoAnswer(Net::MessageIn &msg) const; + static void processWhoAnswer(Net::MessageIn &msg); - virtual void processCharSwitchResponse(Net::MessageIn &msg) const; + static void processCharSwitchResponse(Net::MessageIn &msg); - virtual void processMapQuitResponse(Net::MessageIn &msg) const; + static void processMapQuitResponse(Net::MessageIn &msg); virtual void clear() override final; virtual void initEngines() const override final; protected: - std::string mMap; - int mCharID; // < Saved for map-server switching + static std::string mMap; + static int mCharID; // < Saved for map-server switching }; } // namespace Ea |