summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-10 15:47:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-10 15:47:42 +0300
commita3635c94a9f1074736f243b0f7de7ab1c8aa14d0 (patch)
tree6c0b4c6231def1f391ee5dd5dbad715c57d4005f /src/net/ea/partyhandler.h
parent3efda43abd11979adfd048fc62fe4f09e702f772 (diff)
downloadmanaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.gz
manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.bz2
manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.tar.xz
manaverse-a3635c94a9f1074736f243b0f7de7ab1c8aa14d0.zip
Improve partyhandler class.
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r--src/net/ea/partyhandler.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h
index c113a6a3b..62d08034a 100644
--- a/src/net/ea/partyhandler.h
+++ b/src/net/ea/partyhandler.h
@@ -42,41 +42,39 @@ class PartyHandler : public Net::PartyHandler
~PartyHandler();
- void join(int partyId);
+ void join(const int partyId) const override;
- void requestPartyMembers() const;
-
- PartyShare getShareExperience() const A_WARN_UNUSED
+ PartyShare getShareExperience() const override A_WARN_UNUSED
{ return mShareExp; }
- PartyShare getShareItems() const A_WARN_UNUSED
+ PartyShare getShareItems() const override A_WARN_UNUSED
{ return mShareItems; }
- void reload();
+ void reload() const;
- void clear();
+ void clear() const override;
- ChatTab *getTab();
+ ChatTab *getTab() override;
- virtual void processPartyCreate(Net::MessageIn &msg);
+ virtual void processPartyCreate(Net::MessageIn &msg) const;
- virtual void processPartyInfo(Net::MessageIn &msg);
+ virtual void processPartyInfo(Net::MessageIn &msg) const;
- virtual void processPartyInviteResponse(Net::MessageIn &msg);
+ virtual void processPartyInviteResponse(Net::MessageIn &msg) const;
- virtual void processPartyInvited(Net::MessageIn &msg);
+ virtual void processPartyInvited(Net::MessageIn &msg) const;
virtual void processPartySettings(Net::MessageIn &msg);
- virtual void processPartyMove(Net::MessageIn &msg);
+ virtual void processPartyMove(Net::MessageIn &msg) const;
- virtual void processPartyLeave(Net::MessageIn &msg);
+ virtual void processPartyLeave(Net::MessageIn &msg) const;
- virtual void processPartyUpdateHp(Net::MessageIn &msg);
+ virtual void processPartyUpdateHp(Net::MessageIn &msg) const;
- virtual void processPartyUpdateCoords(Net::MessageIn &msg);
+ virtual void processPartyUpdateCoords(Net::MessageIn &msg) const;
- virtual void processPartyMessage(Net::MessageIn &msg);
+ virtual void processPartyMessage(Net::MessageIn &msg) const;
protected:
PartyShare mShareExp;