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

57 bytes removed, 16:56, 3 December 2018
Event changes: update PlayerEvents migration summary
|old events = PlayerEvents.InventoryChanged
|new events = Player.InventoryChanged
|summary = Mostly equivalent. The event arguments changed type, but should be straightforward to migrate. Although the new event is still only called for the current player, that will likely change in a future version; '''make sure to check <tt>e.Player</tt>, <tt>e.Player.IsLocalPlayer</tt>, or <tt>e.Player.IsMainPlayer</tt> if neededyou only want to handle the current player'''.
}}
{{/event
|old events = PlayerEvents.LeveledUp
|new events = Player.LevelChanged
|summary = Mostly equivalent. The event arguments changed type, but should be straightforward to migrate. Although the new event is still only called for the current player, that will likely change in a future version; '''make sure to check <tt>e.Player</tt>, <tt>e.Player.IsLocalPlayer</tt>, or <tt>e.Player.IsMainPlayer</tt> if neededyou only want to handle the current player'''.
}}
{{/event
|old events = PlayerEvents.Warped
|new events = Player.Warped
|summary = Mostly equivalent. The event arguments changed type, but should be straightforward to migrate. Although the new event is still only called for the current player, that will likely change in a future version; '''make sure to check <tt>e.Player</tt>, <tt>e.Player.IsLocalPlayer</tt>, or <tt>e.Player.IsMainPlayer</tt> if neededyou only want to handle the current player'''.
}}
{{/event
Protected, translators
5,421
edits

Navigation menu