summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-11 23:53:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-11 23:53:57 +0300
commite9fccf3db2f44531e013d708a64550ebb6c4927a (patch)
tree8dc3469dd0d3b463746bcb88d50ac4061f74def3 /src/input
parentf441bb5b1dbb6ea579d7628f39bdd1f53787756e (diff)
downloadplus-e9fccf3db2f44531e013d708a64550ebb6c4927a.tar.gz
plus-e9fccf3db2f44531e013d708a64550ebb6c4927a.tar.bz2
plus-e9fccf3db2f44531e013d708a64550ebb6c4927a.tar.xz
plus-e9fccf3db2f44531e013d708a64550ebb6c4927a.zip
Add new chat command for invite to guild.
New chat command: /guild name
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index b3b95a8f7..5b9288950 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -493,6 +493,7 @@ namespace InputAction
BUY,
SELL,
WHISPER2,
+ GUILD,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 8e14f911c..292fdc1c1 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4180,6 +4180,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"w2|whisper2|msg2",
true},
+ {"keyGuild",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::guild,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "guild",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H