From df0761d02f541723a4d127ef1d252cfa66e6a852 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Sep 2018 21:29:33 +0300 Subject: Add packet SMSG_GUILD_LEAVE2 0x0a83. --- src/guild.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/guild.h') diff --git a/src/guild.h b/src/guild.h index 47f6f3e7e..064a75d28 100644 --- a/src/guild.h +++ b/src/guild.h @@ -106,6 +106,13 @@ class Guild final : public AvatarListModel const int charId) 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. * @@ -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); -- cgit v1.2.3-70-g09d2