diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-19 17:28:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-19 17:28:57 +0300 |
commit | 34e9ca0dbab79dea6819b153ee136ae8f4caaa3d (patch) | |
tree | 7e6d8b928c2a9f50ee144143eee61313ddd54cf2 /src/net/ea/partyhandler.h | |
parent | 628219ea2bfd48ad236f9c253dc412edcc8e3004 (diff) | |
download | manaplus-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.gz manaplus-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.bz2 manaplus-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.xz manaplus-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.zip |
add static in partyhandler.
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r-- | src/net/ea/partyhandler.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index e18e8551a..d2c82cc95 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -59,26 +59,26 @@ class PartyHandler notfinal : public Net::PartyHandler ChatTab *getTab() const override final; - virtual void processPartyCreate(Net::MessageIn &msg) const; + protected: + static void createTab(); - virtual void processPartyInvited(Net::MessageIn &msg) const; + static void processPartyCreate(Net::MessageIn &msg); - virtual void processPartyMove(Net::MessageIn &msg) const; + static void processPartyInvited(Net::MessageIn &msg); - virtual void processPartyLeave(Net::MessageIn &msg) const; + static void processPartyMove(Net::MessageIn &msg); - virtual void processPartyUpdateHp(Net::MessageIn &msg) const; + static void processPartyLeave(Net::MessageIn &msg); - virtual void processPartyUpdateCoords(Net::MessageIn &msg) const; + static void processPartyUpdateHp(Net::MessageIn &msg); - void processPartySettingsContinue(const int16_t exp, - const int16_t item); + static void processPartyUpdateCoords(Net::MessageIn &msg); - void createTab() const; + static void processPartySettingsContinue(const int16_t exp, + const int16_t item); - protected: - Net::PartyShare::Type mShareExp; - Net::PartyShare::Type mShareItems; + static Net::PartyShare::Type mShareExp; + static Net::PartyShare::Type mShareItems; }; extern Party *taParty; |