summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-02 00:53:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-02 00:53:22 +0300
commit2f6f5950605e3ffe8054f3a2675f10032ca0aaf6 (patch)
tree8cbbc807f00bc4aeffc103058d223863c8de643f /src/net/eathena/guildhandler.h
parent28165cbeca05b74cf66f121757f21f4cb7cd381e (diff)
downloadmanaplus-2f6f5950605e3ffe8054f3a2675f10032ca0aaf6.tar.gz
manaplus-2f6f5950605e3ffe8054f3a2675f10032ca0aaf6.tar.bz2
manaplus-2f6f5950605e3ffe8054f3a2675f10032ca0aaf6.tar.xz
manaplus-2f6f5950605e3ffe8054f3a2675f10032ca0aaf6.zip
improve guildhandler class.
Diffstat (limited to 'src/net/eathena/guildhandler.h')
-rw-r--r--src/net/eathena/guildhandler.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index 1508895fc..c25e8ff6f 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -40,29 +40,34 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
~GuildHandler();
- void handleMessage(Net::MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg) override;
- void create(const std::string &name);
+ void create(const std::string &name) const override;
- void invite(int guildId, const std::string &name);
+ void invite(const int guildId, const std::string &name) const override;
- void invite(int guildId, const Being *const being);
+ void invite(const int guildId,
+ const Being *const being) const override;
- void inviteResponse(int guildId, bool response);
+ void inviteResponse(const int guildId,
+ const bool response) const override;
- void leave(int guildId);
+ void leave(const int guildId) const override;
- void kick(GuildMember *member, std::string reason = "");
+ void kick(const GuildMember *const member,
+ const std::string &reason = "") const override;
- void chat(int guildId, const std::string &text);
+ void chat(const int guildId, const std::string &text) const override;
- void memberList(int guildId);
+ void memberList(const int guildId) const override;
- void info(int guildId);
+ void info(const int guildId) override;
- void changeMemberPostion(GuildMember *member, int level);
+ void changeMemberPostion(const GuildMember *const member,
+ const int level) const override;
- void changeNotice(int guildId, std::string msg1, std::string msg2);
+ void changeNotice(const int guildId, const std::string &msg1,
+ const std::string &msg2) const override;
};
extern Ea::GuildTab *guildTab;