diff options
author | Carl <slxxls92@gmail.com> | 2016-03-28 09:20:17 +0100 |
---|---|---|
committer | Carl <slxxls92@gmail.com> | 2016-03-28 09:20:17 +0100 |
commit | 44967669961e6b9dc6e028caa806abf466c2cbf3 (patch) | |
tree | be11b2409237e27ccc71a18e8b325aa2d4664f26 /StardewModdingAPI/Events/EventArgs.cs | |
parent | e6f2825929bc45ea541df46b1baab5d5cbf4dbb1 (diff) | |
parent | 6da92c08b9b6885faf46d8a260f4956c72b6a32a (diff) | |
download | SMAPI-44967669961e6b9dc6e028caa806abf466c2cbf3.tar.gz SMAPI-44967669961e6b9dc6e028caa806abf466c2cbf3.tar.bz2 SMAPI-44967669961e6b9dc6e028caa806abf466c2cbf3.zip |
Merge pull request #72 from tstaples/master
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)
|