using GameFramework; using GameFramework.Event; namespace SepCore.Event { public class DisplayItemInfoRecycleEventArgs : GameEventArgs { public static readonly int EventId = typeof(DisplayItemInfoRecycleEventArgs).GetHashCode(); public override int Id => EventId; public int Index; public int Price; public DisplayItemInfoRecycleEventArgs() { Index = -1; Price = 0; } public static DisplayItemInfoRecycleEventArgs Create(int index, int price) { var args = ReferencePool.Acquire(); args.Index = index; args.Price = price; return args; } public override void Clear() { Index = -1; Price = 0; } } }