summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 13:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 13:54:08 +0300
commit66319a9c3647c77bd13ca8c9a46bf15ba10863fa (patch)
tree1a4b13107d153d4383fb74b55a45e5cceccee9ca /src/input/inputactionmap.h
parentf567410dc7cdcf888dc4a5fa6e3e50cb8d659e80 (diff)
downloadManaVerse-66319a9c3647c77bd13ca8c9a46bf15ba10863fa.tar.gz
ManaVerse-66319a9c3647c77bd13ca8c9a46bf15ba10863fa.tar.bz2
ManaVerse-66319a9c3647c77bd13ca8c9a46bf15ba10863fa.tar.xz
ManaVerse-66319a9c3647c77bd13ca8c9a46bf15ba10863fa.zip
Add chat command for kick player/mobs.
New chat command: /kick [name|:id]
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index f03e81559..28def4d1b 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4351,6 +4351,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"addtext|textadd",
true},
+ {"keyKick",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::kick,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "kick",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H