summaryrefslogtreecommitdiff
path: root/src/net/manaserv/partyhandler.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
commit5afe88df2538274859a162ffd63ed52118e80c19 (patch)
treeb610dfd58dc748fd63f49565b2a43eea2316714f /src/net/manaserv/partyhandler.h
parent73ba2a95f5bd4a0dd09af52d5864800be2b0a4c6 (diff)
downloadmana-5afe88df2538274859a162ffd63ed52118e80c19.tar.gz
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.bz2
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.xz
mana-5afe88df2538274859a162ffd63ed52118e80c19.zip
Apply C++11 fixits
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
Diffstat (limited to 'src/net/manaserv/partyhandler.h')
-rw-r--r--src/net/manaserv/partyhandler.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/net/manaserv/partyhandler.h b/src/net/manaserv/partyhandler.h
index 6c526f73..ed8a1f25 100644
--- a/src/net/manaserv/partyhandler.h
+++ b/src/net/manaserv/partyhandler.h
@@ -37,35 +37,35 @@ class PartyHandler : public MessageHandler, public Net::PartyHandler
public:
PartyHandler();
- void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg) override;
- void create(const std::string &name = "");
+ void create(const std::string &name = "") override;
- void join(int partyId);
+ void join(int partyId) override;
- void invite(Being *being);
+ void invite(Being *being) override;
- void invite(const std::string &name);
+ void invite(const std::string &name) override;
- void inviteResponse(const std::string &inviter, bool accept);
+ void inviteResponse(const std::string &inviter, bool accept) override;
- void leave();
+ void leave() override;
- void kick(Being *being);
+ void kick(Being *being) override;
- void kick(const std::string &name);
+ void kick(const std::string &name) override;
- void chat(const std::string &text);
+ void chat(const std::string &text) override;
- void requestPartyMembers();
+ void requestPartyMembers() override;
- PartyShare getShareExperience() { return PARTY_SHARE_NO; }
+ PartyShare getShareExperience() override { return PARTY_SHARE_NO; }
- void setShareExperience(PartyShare share) {}
+ void setShareExperience(PartyShare share) override {}
- PartyShare getShareItems() { return PARTY_SHARE_NO; }
+ PartyShare getShareItems() override { return PARTY_SHARE_NO; }
- void setShareItems(PartyShare share) {}
+ void setShareItems(PartyShare share) override {}
private:
Party *mParty;
};