summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/EventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/Events/EventArgs.cs')
-rw-r--r--StardewModdingAPI/Events/EventArgs.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/EventArgs.cs b/StardewModdingAPI/Events/EventArgs.cs
index c9055f84..f856f477 100644
--- a/StardewModdingAPI/Events/EventArgs.cs
+++ b/StardewModdingAPI/Events/EventArgs.cs
@@ -92,6 +92,15 @@ namespace StardewModdingAPI.Events
public Farmer PriorFarmer { get; private set; }
}
+ public class EventArgsInventory : EventArgs
+ {
+ public EventArgsInventory(List<Item> inventory)
+ {
+ Inventory = inventory;
+ }
+ public List<Item> Inventory { get; private set; }
+ }
+
public class EventArgsIntChanged : EventArgs
{
public EventArgsIntChanged(Int32 priorInt, Int32 newInt)