summaryrefslogtreecommitdiff
path: root/src/guild.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-13 23:54:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-13 23:54:06 +0300
commit6065690856ffc750404c9c0940d9a1f3a0cdd42c (patch)
tree5c9982c794c5631a967436032f9a6d55a0dacd08 /src/guild.h
parent424ed0b25065cc5ecc4b8464db2581a03189ef60 (diff)
downloadplus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.gz
plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.bz2
plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.xz
plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.zip
Add player/item/other counter in social window.
Diffstat (limited to 'src/guild.h')
-rw-r--r--src/guild.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/guild.h b/src/guild.h
index e6f237304..a1057552b 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -195,6 +195,11 @@ public:
bool getServerGuild() const A_WARN_UNUSED
{ return mServerGuild; }
+ typedef std::vector<GuildMember*> MemberList;
+
+ const MemberList *getMembers() const A_WARN_UNUSED
+ { return &mMembers; }
+
private:
typedef std::map<int, Guild*> GuildMap;
static GuildMap guilds;
@@ -204,7 +209,6 @@ private:
*/
explicit Guild(const int16_t id);
- typedef std::vector<GuildMember*> MemberList;
MemberList mMembers;
std::string mName;
int16_t mId;