summaryrefslogtreecommitdiff
path: root/src/input/inputactiondata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-10 13:42:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-10 13:42:08 +0300
commit0c9190e17be10e513d89d15aa29c1aab84124af7 (patch)
tree058d53a6cf333968b9105222fc314e4557cb629d /src/input/inputactiondata.h
parentd9a5e91f75d93970be8176aa56314800a417eadd (diff)
downloadManaVerse-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.h4
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