summaryrefslogtreecommitdiff
path: root/src/net/guildhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/guildhandler.h')
-rw-r--r--src/net/guildhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h
index bba261bc..da44e6cd 100644
--- a/src/net/guildhandler.h
+++ b/src/net/guildhandler.h
@@ -22,6 +22,7 @@
#ifndef GUILDHANDLER_H
#define GUILDHANDLER_H
+#include "guild.h"
#include "player.h"
#include <iosfwd>
@@ -41,14 +42,13 @@ class GuildHandler
virtual void leave(int guildId) = 0;
- virtual void kick(int guildId, int playerId) = 0;
+ virtual void kick(GuildMember member) = 0;
virtual void chat(int guildId, const std::string &text) = 0;
virtual void memberList(int guildId) = 0;
- virtual void changeMemberPostion(int guildId, int playerId,
- int level) = 0;
+ virtual void changeMemberPostion(GuildMember member, int level) = 0;
virtual void requestAlliance(int guildId, int otherGuildId) = 0;