summaryrefslogtreecommitdiff
path: root/src/guild.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/guild.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/guild.h')
-rw-r--r--src/guild.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/guild.h b/src/guild.h
index 9b0eff9c..0bee95e0 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -46,8 +46,6 @@ protected:
GuildMember(Guild *guild, int id, const std::string &name);
- GuildMember(Guild *guild, int id);
-
GuildMember(Guild *guild, const std::string &name);
int mId;
@@ -74,11 +72,6 @@ public:
/**
* Adds member to the list.
*/
- GuildMember *addMember(int id);
-
- /**
- * Adds member to the list.
- */
GuildMember *addMember(const std::string &name);
/**
@@ -86,14 +79,14 @@ public:
*
* @return the member with the given ID, or NULL if they don't exist.
*/
- GuildMember *getMember(int id);
+ GuildMember *getMember(int id) const;
/**
* Find a member by name.
*
* @return the member with the given name, or NULL if they don't exist.
*/
- GuildMember *getMember(std::string name);
+ GuildMember *getMember(const std::string &name) const;
/**
* Get the name of the guild.