diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-10 13:42:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-10 13:42:08 +0300 |
commit | 0c9190e17be10e513d89d15aa29c1aab84124af7 (patch) | |
tree | 058d53a6cf333968b9105222fc314e4557cb629d /src/input/inputactiondata.h | |
parent | d9a5e91f75d93970be8176aa56314800a417eadd (diff) | |
download | manaverse-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.gz manaverse-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.bz2 manaverse-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.xz manaverse-0c9190e17be10e513d89d15aa29c1aab84124af7.zip |
Add strong typed bool type UseArgs.
Diffstat (limited to 'src/input/inputactiondata.h')
-rw-r--r-- | src/input/inputactiondata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h index 76a04afc1..dc2ada642 100644 --- a/src/input/inputactiondata.h +++ b/src/input/inputactiondata.h @@ -25,6 +25,8 @@ #include "actions/actionfuncptr.h" +#include "enums/simpletypes.h" + struct InputActionData final { const char *const configField; @@ -38,7 +40,7 @@ struct InputActionData final const int priority; const int condition; const std::string chatCommand; - const bool useArgs; + const UseArgs useArgs; }; namespace Input |