about summary refs log tree commit diff
path: root/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-02-23 13:57:06 +0100
committerRory& <root@rory.gay>2024-02-23 13:57:06 +0100
commitd0d11db2209a8be65c27e15ca9d8a3b594f1a352 (patch)
treeb42b7de4b09888a1439d0939707ba1331becf626 /MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
parentHS emulator (diff)
downloadMatrixUtils-d0d11db2209a8be65c27e15ca9d8a3b594f1a352.tar.xz
Add eons of work because I forgot to push
Diffstat (limited to 'MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs')
-rw-r--r--MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
new file mode 100644
index 0000000..16c7b70
--- /dev/null
+++ b/MatrixUtils.LibDMSpace/StateEvents/DMSpaceChildLayer.cs
@@ -0,0 +1,20 @@
+using System.Text.Json.Serialization;
+using LibMatrix.EventTypes;
+using LibMatrix.Interfaces;
+
+namespace MatrixUtils.LibDMSpace.StateEvents;
+
+[MatrixEvent(EventName = EventId)]
+public class DMSpaceChildLayer : EventContent {
+    public const string EventId = "gay.rory.dm_space_child_layer";
+
+    [JsonPropertyName("space_id")]
+    public string SpaceId { get; set; }
+    
+    [JsonPropertyName("override_name")]
+    public string? OverrideName { get; set; }
+    
+    [JsonPropertyName("override_avatar")]
+    public string? OverrideAvatar { get; set; }
+    
+}