summaryrefslogtreecommitdiff
path: root/src/guild.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-25 21:29:33 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-25 21:29:33 +0300
commitdf0761d02f541723a4d127ef1d252cfa66e6a852 (patch)
treea2bb25eeccb1755bc3757026d98953069da7b1c7 /src/guild.h
parent600bd9adc18e2c8b5f62e998779c1e1650272cc0 (diff)
downloadmanaplus-df0761d02f541723a4d127ef1d252cfa66e6a852.tar.gz
manaplus-df0761d02f541723a4d127ef1d252cfa66e6a852.tar.bz2
manaplus-df0761d02f541723a4d127ef1d252cfa66e6a852.tar.xz
manaplus-df0761d02f541723a4d127ef1d252cfa66e6a852.zip
Add packet SMSG_GUILD_LEAVE2 0x0a83.
Diffstat (limited to 'src/guild.h')
-rw-r--r--src/guild.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/guild.h b/src/guild.h
index 47f6f3e7e..064a75d28 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -107,6 +107,13 @@ class Guild final : public AvatarListModel
const A_WARN_UNUSED;
/**
+ * Find a member by char ID.
+ *
+ * @return the member with the given ID, or NULL if they don't exist.
+ */
+ GuildMember *getMemberByCharId(const int charId) const A_WARN_UNUSED;
+
+ /**
* Find a member by name.
*
* @return the member with the given name, or NULL if they don't exist.
@@ -133,7 +140,7 @@ class Guild final : public AvatarListModel
void removeMember(const GuildMember *const member);
/**
- * Removes a member from the guild.
+ * Removes a member from the guild by account id.
*/
void removeMember(const BeingId id);