using StardewValley;
namespace StardewModdingAPI.Events
{
/// An inventory item stack size change.
public class ItemStackSizeChange
{
/*********
** Accessors
*********/
/// The item whose stack size changed.
public Item Item { get; }
/// The previous stack size.
public int OldSize { get; }
/// The new stack size.
public int NewSize { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The item whose stack size changed.
/// The previous stack size.
/// The new stack size.
public ItemStackSizeChange(Item item, int oldSize, int newSize)
{
this.Item = item;
this.OldSize = oldSize;
this.NewSize = newSize;
}
}
}