From 21da6cde79ccd0cb7f895a29e3d8cab959ef11ba Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 4 Sep 2023 02:17:10 +0200 Subject: Too many changes to name... --- LibMatrix/StateEvent.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'LibMatrix/StateEvent.cs') 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; } -- cgit 1.4.1