File tree Expand file tree Collapse file tree
GameFrameX.Core/Abstractions/Events Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments