From 08f5483df2c01eba7c764cdaec94fca71e4976b8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 May 2024 09:31:29 +0000 Subject: Clarify LegacyEvent types --- LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs (limited to 'LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs') diff --git a/LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs b/LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs new file mode 100644 index 0000000..708dad1 --- /dev/null +++ b/LibMatrix.LegacyEvents.EventTypes/MatrixEventAttribute.cs @@ -0,0 +1,7 @@ +namespace LibMatrix.LegacyEvents.EventTypes; + +[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] +public class MatrixEventAttribute : Attribute { + public required string EventName { get; set; } + public bool Legacy { get; set; } +} \ No newline at end of file -- cgit 1.4.1