summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-12 12:35:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-12 12:35:14 +0300
commit3b69d225143dd8c6c3b0ab4e1730e427d67c5f27 (patch)
tree8716d9659bd3a328a9d9d4492a9775ae74b2cda3 /src/net/ea/gui/guildtab.cpp
parente10e6c7f8860536986b455b58b907026996b28fa (diff)
downloadplus-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.gz
plus-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.bz2
plus-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.tar.xz
plus-3b69d225143dd8c6c3b0ab4e1730e427d67c5f27.zip
add autocomplete special commands in guild tab.
Diffstat (limited to 'src/net/ea/gui/guildtab.cpp')
-rw-r--r--src/net/ea/gui/guildtab.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 5a8c78c60..889b9624b 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -147,7 +147,15 @@ void GuildTab::getAutoCompleteList(StringVect &names) const
{
if (taGuild)
taGuild->getNames(names);
+}
+
+void GuildTab::getAutoCompleteCommands(StringVect &names) const
+{
+ names.push_back("/help");
+ names.push_back("/invite ");
+ names.push_back("/kick ");
names.push_back("/notice ");
+ names.push_back("/leave");
}
void GuildTab::saveToLogFile(const std::string &msg) const