using GameFramework; using GameFramework.Event; namespace SepCore.Event { public class SelectRoleHoverEventArgs : GameEventArgs { public static readonly int EventId = typeof(SelectRoleHoverEventArgs).GetHashCode(); public override int Id => EventId; public int RoleId { get; private set; } = -1; public static SelectRoleHoverEventArgs Create(int roleId) { var args = ReferencePool.Acquire(); args.RoleId = roleId; return args; } public override void Clear() { RoleId = -1; } } }