using GameFramework; using GameFramework.Event; namespace GeometryTD.CustomEvent { public class CombineSlotClickedEventArgs : GameEventArgs { public static int EventId => typeof(CombineSlotClickedEventArgs).GetHashCode(); public override int Id => EventId; public int SlotIndex { get; private set; } = -1; public static CombineSlotClickedEventArgs Create(int slotIndex) { CombineSlotClickedEventArgs args = ReferencePool.Acquire(); args.SlotIndex = slotIndex; return args; } public override void Clear() { SlotIndex = -1; } } }