summaryrefslogtreecommitdiff
path: root/src/party.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-03-31 21:33:31 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-03-31 22:17:29 +0200
commit7e13e0f2cacc1e0e4177b73eaf71a430094cc58f (patch)
treed540584082be4a8eb494a59e018a5fe8e79d0943 /src/party.h
parent9a0f5327c25c57963af837439d23a61c9510a6ac (diff)
downloadmana-client-7e13e0f2cacc1e0e4177b73eaf71a430094cc58f.tar.gz
mana-client-7e13e0f2cacc1e0e4177b73eaf71a430094cc58f.tar.bz2
mana-client-7e13e0f2cacc1e0e4177b73eaf71a430094cc58f.tar.xz
mana-client-7e13e0f2cacc1e0e4177b73eaf71a430094cc58f.zip
Removed some unused members from Party and Guild classes
Reviewed-by: Jared Adams
Diffstat (limited to 'src/party.h')
-rw-r--r--src/party.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/party.h b/src/party.h
index c9d26672..91ff69bb 100644
--- a/src/party.h
+++ b/src/party.h
@@ -51,10 +51,6 @@ protected:
PartyMember(Party *party, int id, const std::string &name);
- PartyMember(Party *party, int id);
-
- PartyMember(Party *party, const std::string &name);
-
int mId;
Party *mParty;
bool mLeader;
@@ -78,28 +74,18 @@ public:
PartyMember *addMember(int id, const std::string &name);
/**
- * Adds member to the list.
- */
- PartyMember *addMember(int id);
-
- /**
- * Adds member to the list.
- */
- PartyMember *addMember(const std::string &name);
-
- /**
* Find a member by ID.
*
* @return the member with the given ID, or NULL if they don't exist.
*/
- PartyMember *getMember(int id);
+ PartyMember *getMember(int id) const;
/**
* Find a member by name.
*
* @return the member with the given name, or NULL if they don't exist.
*/
- PartyMember *getMember(std::string name);
+ PartyMember *getMember(const std::string &name) const;
/**
* Get the name of the party.