diff options
author | tyler staples <tyler.a.staples@gmail.com> | 2016-03-28 01:13:40 -0700 |
---|---|---|
committer | tyler staples <tyler.a.staples@gmail.com> | 2016-03-28 01:13:40 -0700 |
commit | 6da92c08b9b6885faf46d8a260f4956c72b6a32a (patch) | |
tree | be11b2409237e27ccc71a18e8b325aa2d4664f26 /StardewModdingAPI/Events/EventArgs.cs | |
parent | e6f2825929bc45ea541df46b1baab5d5cbf4dbb1 (diff) | |
download | SMAPI-6da92c08b9b6885faf46d8a260f4956c72b6a32a.tar.gz SMAPI-6da92c08b9b6885faf46d8a260f4956c72b6a32a.tar.bz2 SMAPI-6da92c08b9b6885faf46d8a260f4956c72b6a32a.zip |
Added MenuClosed event which fires when the current menu is closed.
Diffstat (limited to 'StardewModdingAPI/Events/EventArgs.cs')
-rw-r--r-- | StardewModdingAPI/Events/EventArgs.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/EventArgs.cs b/StardewModdingAPI/Events/EventArgs.cs index d057796a..2bce964e 100644 --- a/StardewModdingAPI/Events/EventArgs.cs +++ b/StardewModdingAPI/Events/EventArgs.cs @@ -108,6 +108,16 @@ namespace StardewModdingAPI.Events public IClickableMenu PriorMenu { get; private set; }
}
+ public class EventArgsClickableMenuClosed : EventArgs
+ {
+ public EventArgsClickableMenuClosed(IClickableMenu priorMenu)
+ {
+ PriorMenu = priorMenu;
+ }
+
+ public IClickableMenu PriorMenu { get; private set; }
+ }
+
public class EventArgsGameLocationsChanged : EventArgs
{
public EventArgsGameLocationsChanged(List<GameLocation> newLocations)
|