aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/diceparserhelper.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-01-30 01:27:15 +0100
committerRenaud G <renaud@rolisteam.org>2020-03-28 02:05:05 +0100
commit653ba9395a36cc20ec1d68c9a9cae78973fa334c (patch)
tree72753ed3bdca117baf001cdf8251b1fb22276eeb /include/diceparserhelper.h
parent22d71d0032e2f44a8f267895aea3bd87864791b3 (diff)
downloadOneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.tar.gz
OneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.zip
add unicity and repeat function part2
Diffstat (limited to 'include/diceparserhelper.h')
-rw-r--r--include/diceparserhelper.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/diceparserhelper.h b/include/diceparserhelper.h
index 1b91285..461d127 100644
--- a/include/diceparserhelper.h
+++ b/include/diceparserhelper.h
@@ -39,5 +39,15 @@ enum class RESULT_TYPE : int
STRING= 2,
DICE_LIST= 4
};
-}
+/**
+ * @brief The ConditionType enum defines compare method
+ */
+enum ConditionType
+{
+ OnEach,
+ OneOfThem,
+ AllOfThem,
+ OnScalar
+};
+} // namespace Dice
#endif // DICEPARSERHELPER_H