Skip to content

Commit a22772c

Browse files
committed
[删除]1. 删除事件的标记可以标记多个的处理
1 parent e4fc0b1 commit a22772c

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
namespace GameFrameX.Core.Abstractions.Events;
2-
3-
/// <summary>
4-
/// 事件监听器
5-
/// </summary>
6-
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
7-
public class EventInfoAttribute : System.Attribute
8-
{
9-
/// <summary>
10-
/// 事件监听器
11-
/// </summary>
12-
/// <param name="eventId">事件id</param>
13-
public EventInfoAttribute(int eventId)
14-
{
15-
EventId = eventId;
16-
}
17-
18-
/// <summary>
19-
/// 事件id
20-
/// </summary>
21-
public int EventId { get; }
1+
namespace GameFrameX.Core.Abstractions.Events;
2+
3+
/// <summary>
4+
/// 事件监听器
5+
/// </summary>
6+
[AttributeUsage(AttributeTargets.Class)]
7+
public class EventInfoAttribute : System.Attribute
8+
{
9+
/// <summary>
10+
/// 事件监听器
11+
/// </summary>
12+
/// <param name="eventId">事件id</param>
13+
public EventInfoAttribute(int eventId)
14+
{
15+
EventId = eventId;
16+
}
17+
18+
/// <summary>
19+
/// 事件id
20+
/// </summary>
21+
public int EventId { get; }
2222
}

0 commit comments

Comments
 (0)