summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 17:00:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 17:00:44 +0300
commit2791fac578c27f6dafc8d5fcebc7f281424285d6 (patch)
tree5852a9b26901c5461619a595738423321e044e05 /src/input
parent36345952f734b410e745ccfe093b9c12cc65c4fe (diff)
downloadmanaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.gz
manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.bz2
manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.tar.xz
manaverse-2791fac578c27f6dafc8d5fcebc7f281424285d6.zip
Add chat command for select guild chat tab.
New chat command: /guildtab Alias: /guildchattab
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index b027ff0e2..694647a93 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -533,6 +533,7 @@ namespace InputAction
CHAT_LANG_TAB,
CHAT_GM_TAB,
CHAT_PARTY_TAB,
+ CHAT_GUILD_TAB,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a46fb72e4..2235daba4 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3959,6 +3959,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"partytab|partychattab",
false},
+ {"keyGuildTab",
+ defaultAction(&Actions::chatGuildTab),
+ InputCondition::INGAME,
+ "guildtab|guildchattab",
+ false},
};
#undef defaultAction