summaryrefslogtreecommitdiff
path: root/src/net/manaserv/partyhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-08 20:42:40 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-08 20:42:40 +0300
commit1fcd75140b847a0e50584fc07fc47d90c9dd9fa8 (patch)
tree5c1b23c7eabc7d421f46d40ab0bf787ef7dac49b /src/net/manaserv/partyhandler.h
parent53bc0b25c23f8f24d4119ae6fb5ba6ca0a91be19 (diff)
downloadmanaverse-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.gz
manaverse-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.bz2
manaverse-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.xz
manaverse-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.zip
Add small optimisations and fixes.
Diffstat (limited to 'src/net/manaserv/partyhandler.h')
-rw-r--r--src/net/manaserv/partyhandler.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/manaserv/partyhandler.h b/src/net/manaserv/partyhandler.h
index 45cc39e05..7403d0e36 100644
--- a/src/net/manaserv/partyhandler.h
+++ b/src/net/manaserv/partyhandler.h
@@ -65,13 +65,16 @@ public:
void chat(const std::string &text);
- void requestPartyMembers();
+ void requestPartyMembers() const;
- PartyShare getShareExperience() { return PARTY_SHARE_NO; }
+ PartyShare getShareExperience() const
+ { return PARTY_SHARE_NO; }
- void setShareExperience(PartyShare share A_UNUSED) {}
+ void setShareExperience(PartyShare share A_UNUSED)
+ { }
- PartyShare getShareItems() { return PARTY_SHARE_NO; }
+ PartyShare getShareItems() const
+ { return PARTY_SHARE_NO; }
void setShareItems(PartyShare share A_UNUSED) {}
private: