diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-28 15:23:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-28 15:23:03 +0300 |
commit | 5ae7168e1f30efa4fd61c155eaecd55ce83bea14 (patch) | |
tree | 617af9417f6b4175fdf4ba0691dd5c4ac28e427e /src/guildmanager.h | |
parent | 096de2a656c036a241dd5f10c2bf28ae4d4dbe5a (diff) | |
download | plus-5ae7168e1f30efa4fd61c155eaecd55ce83bea14.tar.gz plus-5ae7168e1f30efa4fd61c155eaecd55ce83bea14.tar.bz2 plus-5ae7168e1f30efa4fd61c155eaecd55ce83bea14.tar.xz plus-5ae7168e1f30efa4fd61c155eaecd55ce83bea14.zip |
improve guild related files.
Diffstat (limited to 'src/guildmanager.h')
-rw-r--r-- | src/guildmanager.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/guildmanager.h b/src/guildmanager.h index e9b05526d..c01ee6078 100644 --- a/src/guildmanager.h +++ b/src/guildmanager.h @@ -41,11 +41,11 @@ class GuildManager final static void init(); - void chat(std::string msg); + void chat(const std::string &msg); - void send(std::string msg) const; + static void send(const std::string &msg); - bool processGuildMessage(std::string msg); + bool processGuildMessage(const std::string &msg); void getNames(StringVect &names) const; @@ -56,23 +56,23 @@ class GuildManager final static bool getEnableGuildBot() A_WARN_UNUSED { return mEnableGuildBot; } - void kick(std::string msg) const; + static void kick(const std::string &msg); - void invite(std::string msg) const; + static void invite(const std::string &msg); - void leave() const; + static void leave(); - void notice(std::string msg) const; + static void notice(const std::string &msg); void createTab(Guild *const guild); Guild *createGuild() const A_WARN_UNUSED; - void clear() const; + static void clear(); void reload(); - void inviteResponse(const bool response) const; + static void inviteResponse(const bool response); bool afterRemove(); |