summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/ItemStackChange.cs
blob: cb5d2b88d2597cd05415dbdce0904d938a711108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using StardewValley;

namespace StardewModdingAPI.Events
{
    /// <summary>Represents an inventory slot that changed.</summary>
    public class ItemStackChange
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The item in the slot.</summary>
        public Item Item { get; set; }

        /// <summary>The amount by which the item's stack size changed.</summary>
        public int StackChange { get; set; }

        /// <summary>How the inventory slot changed.</summary>
        public ChangeType ChangeType { get; set; }
    }
}