diff options
Diffstat (limited to '')
-rw-r--r-- | LibMatrix/StateEvent.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/LibMatrix/StateEvent.cs b/LibMatrix/StateEvent.cs index a2f951b..26dc39a 100644 --- a/LibMatrix/StateEvent.cs +++ b/LibMatrix/StateEvent.cs @@ -1,8 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; using System.Reflection; using System.Text.Json; using System.Text.Json.Nodes; using System.Text.Json.Serialization; +using ArcaneLibs; +using ArcaneLibs.Extensions; using LibMatrix.Extensions; +using LibMatrix.Helpers; using LibMatrix.Interfaces; namespace LibMatrix; @@ -103,6 +109,7 @@ public class StateEvent { } //debug + [JsonIgnore] public string dtype { get { var res = GetType().Name switch { @@ -113,5 +120,6 @@ public class StateEvent { } } + [JsonIgnore] public string cdtype => TypedContent.GetType().Name; } |