From e597401af5d0005f3f6039cc0e76d8ecfaae66ef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 22:35:17 +0300 Subject: Add whisper commands for server side ignore/unignore whispers. New chat commands: /serverignore NICK - ignore whispers on server from NICK. /serverunignore NICK - unignore whispers on server from NICK. --- src/input/inputactionmap.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index a355c33ba..3e95f4291 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4044,6 +4044,24 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "catchpet|catch", true}, + {"keyChatServerIgnoreWhisper", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::serverIgnoreWhisper, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "serverignore", + false}, + {"keyChatServerUnIgnoreWhisper", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::serverUnIgnoreWhisper, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "serverunignore", + false}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50