From f4761d658102198abcce6b020c2c0f0e756d534a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 20:04:47 +0300 Subject: Add protection attribute to input actions. Unsafe actions blocked from remote usage. --- src/input/inputactiondata.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input/inputactiondata.h') diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h index ae9359466..0feb8567b 100644 --- a/src/input/inputactiondata.h +++ b/src/input/inputactiondata.h @@ -26,6 +26,7 @@ #include "actions/actionfuncptr.h" #include "enums/simpletypes/useargs.h" +#include "enums/simpletypes/protected.h" struct InputActionData final { @@ -41,6 +42,7 @@ struct InputActionData final const int condition; const std::string chatCommand; const UseArgs useArgs; + const Protected isProtected; }; namespace Input -- cgit v1.2.3-60-g2f50