summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/partytab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-12 12:14:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-12 12:14:01 +0300
commite10e6c7f8860536986b455b58b907026996b28fa (patch)
tree5281f76c52d61be643ff7ef44804a361b079829b /src/net/ea/gui/partytab.cpp
parent165556c8ddf4d3a036d6d89e680e208d2b435866 (diff)
downloadmv-e10e6c7f8860536986b455b58b907026996b28fa.tar.gz
mv-e10e6c7f8860536986b455b58b907026996b28fa.tar.bz2
mv-e10e6c7f8860536986b455b58b907026996b28fa.tar.xz
mv-e10e6c7f8860536986b455b58b907026996b28fa.zip
add autocomplete special commands in party tab.
Diffstat (limited to 'src/net/ea/gui/partytab.cpp')
-rw-r--r--src/net/ea/gui/partytab.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 4a59e89b7..1307e2882 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -275,6 +275,16 @@ void PartyTab::getAutoCompleteList(StringVect &names) const
p->getNames(names);
}
+void PartyTab::getAutoCompleteCommands(StringVect &names) const
+{
+ names.push_back("/help");
+ names.push_back("/invite ");
+ names.push_back("/leave");
+ names.push_back("/kick ");
+ names.push_back("/item");
+ names.push_back("/exp");
+}
+
void PartyTab::saveToLogFile(const std::string &msg) const
{
if (chatLogger)