diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-10 15:47:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-10 15:47:42 +0300 |
commit | a3635c94a9f1074736f243b0f7de7ab1c8aa14d0 (patch) | |
tree | 6c0b4c6231def1f391ee5dd5dbad715c57d4005f /src/net/eathena/partyhandler.h | |
parent | 3efda43abd11979adfd048fc62fe4f09e702f772 (diff) | |
download | manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.gz manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.bz2 manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.xz manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.zip |
Improve partyhandler class.
Diffstat (limited to 'src/net/eathena/partyhandler.h')
-rw-r--r-- | src/net/eathena/partyhandler.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h index bf58b58aa..7e3e6630b 100644 --- a/src/net/eathena/partyhandler.h +++ b/src/net/eathena/partyhandler.h @@ -41,27 +41,28 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler ~PartyHandler(); - void handleMessage(Net::MessageIn &msg); + void handleMessage(Net::MessageIn &msg) override; - void create(const std::string &name); + void create(const std::string &name) const override; - void invite(Being *being); + void invite(Being *const being) const override; - void invite(const std::string &name); + void invite(const std::string &name) const override; - void inviteResponse(const std::string &inviter, bool accept); + void inviteResponse(const std::string &inviter, + const bool accept) const override; - void leave(); + void leave() const override; - void kick(Being *being); + void kick(Being *const being) const override; - void kick(const std::string &name); + void kick(const std::string &name) const override; - void chat(const std::string &text); + void chat(const std::string &text) const override; - void setShareExperience(PartyShare share); + void setShareExperience(const PartyShare share) const override; - void setShareItems(PartyShare share); + void setShareItems(const PartyShare share) const override; }; } // namespace EAthena |