This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Changes

Jump to: navigation, search

Modding:Migrate to SMAPI 3.0

2 bytes removed, 22:55, 8 October 2018
m
Event changes: correction
|old events = MenuEvents.MenuChanged, MenuEvents.MenuClosed
|new events = Display.MenuChanged
|summary = These caused a lot of confusion (e.g. <tt>MenuEvents.MenuClosed</tt> wasn't called when a menu was closed and immediately replaced), so they've been combined into one event which is called when a menu is opened, closed, or replaced. You can check the <tt>e.NewMenuOldMenu</tt> and <tt>e.PriorMenuNewMenu</tt> event args to know what the change is (e.g. to match the old <tt>MenuEvents.MenuClosed</tt>, check <code>if (e.NewMenu == null)</code>).
}}
{{/event
Protected, translators
5,421
edits

Navigation menu