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/tmwa | |
parent | 628219ea2bfd48ad236f9c253dc412edcc8e3004 (diff) | |
download | mv-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.gz mv-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.bz2 mv-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.tar.xz mv-34e9ca0dbab79dea6819b153ee136ae8f4caaa3d.zip |
add static in partyhandler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/partyhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/tmwa/partyhandler.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index e2b0c1893..72e3fcbce 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -218,7 +218,7 @@ void PartyHandler::processPartySettings(Net::MessageIn &msg) processPartySettingsContinue(exp, item); } -void PartyHandler::processPartyInfo(Net::MessageIn &msg) const +void PartyHandler::processPartyInfo(Net::MessageIn &msg) { bool isOldParty = false; std::set<std::string> names; @@ -322,7 +322,7 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg) const } } -void PartyHandler::processPartyMessage(Net::MessageIn &msg) const +void PartyHandler::processPartyMessage(Net::MessageIn &msg) { const int msgLength = msg.readInt16() - 8; if (msgLength <= 0) @@ -346,7 +346,7 @@ void PartyHandler::processPartyMessage(Net::MessageIn &msg) const } } -void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const +void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) { if (!partyTab) return; diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index 112a36d54..a6fdfdddf 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -66,13 +66,13 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler void allowInvite(const bool allow) const override final; protected: - void processPartySettings(Net::MessageIn &msg); + static void processPartySettings(Net::MessageIn &msg); - void processPartyInfo(Net::MessageIn &msg) const; + static void processPartyInfo(Net::MessageIn &msg); - void processPartyMessage(Net::MessageIn &msg) const; + static void processPartyMessage(Net::MessageIn &msg); - void processPartyInviteResponse(Net::MessageIn &msg) const; + static void processPartyInviteResponse(Net::MessageIn &msg); }; } // namespace TmwAthena |