Changes

Jump to navigation Jump to search
→‎Save events: + before/after create, tweak documentation
Line 248: Line 248:  
|-
 
|-
 
! event !! summary
 
! event !! summary
 +
|-
 +
| BeforeCreate<br />AfterCreate || '''[SMAPI 2.4+]''' Raised before and after the game creates the save file (after the new-game intro). The save won't be written until all mods have finished handling this event.
 
|-
 
|-
 
| AfterLoad || Raised after the player loads a saved game. The world is ready for mods to modify at this point.
 
| AfterLoad || Raised after the player loads a saved game. The world is ready for mods to modify at this point.
 
|-
 
|-
| BeforeSave || Raised before the game updates the save file. (The save won't be written until all mods have finished handling this event.)
+
| BeforeSave<br />AfterSave || Raised before and after the game updates the save file. Not raised for the initial creation. The save won't be written until all mods have finished handling this event.
|-
  −
| AfterSave || Raised after the game finishes updating the save file.
   
|-
 
|-
 
| AfterReturnToTitle || Raised after the player exits to the title screen.
 
| AfterReturnToTitle || Raised after the player exits to the title screen.
translators
8,437

edits

Navigation menu