Changes

→‎Events: + Multiplayer events
Line 278: Line 278:  
|-
 
|-
 
| MineLevelChanged || Raised after the player warps to a new level of the mine. Handlers are passed the previous and new mine level as arguments.
 
| MineLevelChanged || Raised after the player warps to a new level of the mine. Handlers are passed the previous and new mine level as arguments.
 +
|}
 +
 +
===Multiplayer events===
 +
{{SMAPI upcoming|2.6}}
 +
 +
<tt>MultiplayerEvents</tt> are raised during the multiplayer sync process. These are specialised events; most mods shouldn't use these directly.
 +
 +
{| class="wikitable"
 +
|-
 +
! event !! summary
 +
|-
 +
| BeforeMainSync<br />AfterMainSync || Raised before and after the game fetches data from other players and syncs the world to match.
 +
|-
 +
| BeforeMainBroadcast<br />AfterMainBroadcast || Raised before/after the game sends world data to other players. This event is raised for the main world broadcast, but a few specialised broadcasts (particularly sprite broadcasts) occur outside this event.
 
|}
 
|}
  
translators
8,404

edits