summaryrefslogtreecommitdiff
path: root/src/net/ea/guildhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/guildhandler.h')
-rw-r--r--src/net/ea/guildhandler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/ea/guildhandler.h b/src/net/ea/guildhandler.h
index 8b1753c7..df43a2a1 100644
--- a/src/net/ea/guildhandler.h
+++ b/src/net/ea/guildhandler.h
@@ -32,6 +32,8 @@ class GuildHandler : public Net::GuildHandler, public MessageHandler
public:
GuildHandler();
+ ~GuildHandler();
+
void handleMessage(Net::MessageIn &msg);
void create(const std::string &name);
@@ -44,13 +46,13 @@ class GuildHandler : public Net::GuildHandler, public MessageHandler
void leave(int guildId);
- void kick(GuildMember member);
+ void kick(GuildMember *member, std::string reason = "");
void chat(int guildId, const std::string &text);
void memberList(int guildId);
- void changeMemberPostion(GuildMember member, int level);
+ void changeMemberPostion(GuildMember *member, int level);
void requestAlliance(int guildId, int otherGuildId);