using GameFramework; using GameFramework.Event; namespace GeometryTD.CustomEvent { public class RepoItemSelectedEventArgs : GameEventArgs { public static int EventId => typeof(RepoItemSelectedEventArgs).GetHashCode(); public override int Id => EventId; public long ItemId { get; private set; } public static RepoItemSelectedEventArgs Create(long itemId) { RepoItemSelectedEventArgs args = ReferencePool.Acquire(); args.ItemId = itemId; return args; } public override void Clear() { ItemId = 0; } } }