From cf90f02e1f9c9f7d037976cace2b9c49119c741c Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 May 2024 19:07:09 +0000 Subject: Start implementing new event system --- ConsoleApp1/Program.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ConsoleApp1/Program.cs (limited to 'ConsoleApp1/Program.cs') diff --git a/ConsoleApp1/Program.cs b/ConsoleApp1/Program.cs new file mode 100644 index 0000000..7831ce8 --- /dev/null +++ b/ConsoleApp1/Program.cs @@ -0,0 +1,25 @@ +// See https://aka.ms/new-console-template for more information + +using LibMatrix.EventTypes; +using LibMatrix.EventTypes.Events; + +Console.WriteLine("Hello, World!"); + +MatrixEventCollection collection = new(); +collection.Add(new MatrixEvent() { + Content = new RoomMembershipEventContent() { + Membership = "yes" + } +}); + +List> collection2 = new(); +collection2.Add(new MatrixEvent() { + Content = new RoomMembershipEventContent() { + Membership = "yes" + } +}); + +List collection3 = new(); +collection3.Add(new RoomMembershipEventContent() { + Membership = "yes" +}); \ No newline at end of file -- cgit 1.4.1