diff --git a/src/Artemis.Core/Artemis.Core.csproj b/src/Artemis.Core/Artemis.Core.csproj
index a8b6dd96c..f73a999ab 100644
--- a/src/Artemis.Core/Artemis.Core.csproj
+++ b/src/Artemis.Core/Artemis.Core.csproj
@@ -84,4 +84,8 @@
PreserveNewest
+
+
+
+
\ No newline at end of file
diff --git a/src/Artemis.Core/Artemis.Core.csproj.DotSettings b/src/Artemis.Core/Artemis.Core.csproj.DotSettings
index 31cbebcb3..535046f29 100644
--- a/src/Artemis.Core/Artemis.Core.csproj.DotSettings
+++ b/src/Artemis.Core/Artemis.Core.csproj.DotSettings
@@ -1,5 +1,6 @@
True
+ True
True
True
True
@@ -43,12 +44,15 @@
True
True
True
+ True
True
True
True
True
True
True
+ True
+ True
True
True
True
@@ -83,4 +87,6 @@
True
True
True
- True
\ No newline at end of file
+ True
+ True
+ True
\ No newline at end of file
diff --git a/src/Artemis.Core/Constants.cs b/src/Artemis.Core/Constants.cs
index c0b3e7ad7..751702129 100644
--- a/src/Artemis.Core/Constants.cs
+++ b/src/Artemis.Core/Constants.cs
@@ -77,13 +77,13 @@ namespace Artemis.Core
internal static JsonSerializerSettings JsonConvertSettings = new()
{
- Converters = new List {new SKColorConverter(), new ForgivingIntConverter()}
+ Converters = new List {new SKColorConverter(), new NumericJsonConverter(), new ForgivingIntConverter()}
};
internal static JsonSerializerSettings JsonConvertTypedSettings = new()
{
TypeNameHandling = TypeNameHandling.All,
- Converters = new List {new SKColorConverter(), new ForgivingIntConverter()}
+ Converters = new List {new SKColorConverter(), new NumericJsonConverter(), new ForgivingIntConverter()}
};
///
diff --git a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumContainsConditionOperator.cs b/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumContainsConditionOperator.cs
deleted file mode 100644
index dd79f14cb..000000000
--- a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumContainsConditionOperator.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-
-namespace Artemis.Core
-{
- internal class EnumContainsConditionOperator : ConditionOperator
- {
- public override string Description => "Contains";
- public override string Icon => "Contain";
-
- public override bool Evaluate(Enum a, Enum b)
- {
- return a != null && b != null && a.HasFlag(b);
- }
- }
-}
\ No newline at end of file
diff --git a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumNotContainsConditionOperator.cs b/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumNotContainsConditionOperator.cs
deleted file mode 100644
index ef78b8470..000000000
--- a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EnumNotContainsConditionOperator.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-
-namespace Artemis.Core
-{
- internal class EnumNotContainsConditionOperator : ConditionOperator
- {
- public override string Description => "Does not contain";
- public override string Icon => "FormatStrikethrough";
-
- public override bool Evaluate(Enum a, Enum b)
- {
- return a != null && (b == null || !a.HasFlag(b));
- }
- }
-}
\ No newline at end of file
diff --git a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs b/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs
deleted file mode 100644
index 789f86d63..000000000
--- a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace Artemis.Core
-{
- internal class EqualsConditionOperator : ConditionOperator