Changes

Jump to navigation Jump to search
update for SMAPI 2.10 release
Line 182: Line 182:  
  |group = GameLoop
 
  |group = GameLoop
 
  |name  = OneSecondUpdateTicking, OneSecondUpdateTicked
 
  |name  = OneSecondUpdateTicking, OneSecondUpdateTicked
  |desc  = {{SMAPI upcoming|2.10}} Raised before/after the game state is updated, once per second.
+
  |desc  = Raised before/after the game state is updated, once per second.
    
  |arg name 1 = <tt>e.Ticks</tt>
 
  |arg name 1 = <tt>e.Ticks</tt>
Line 469: Line 469:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
 
}}
 
}}
 
{{/event
 
{{/event
Line 490: Line 490:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
    
}}
 
}}
Line 512: Line 512:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
 
}}
 
}}
 
{{/event
 
{{/event
Line 533: Line 533:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
 
}}
 
}}
 
{{/event
 
{{/event
Line 554: Line 554:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
 
}}
 
}}
 
{{/event
 
{{/event
Line 575: Line 575:  
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg name 4 = <tt>e.IsCurrentLocation</tt>
 
  |arg type 4 = <tt>bool</tt>
 
  |arg type 4 = <tt>bool</tt>
  |arg desc 4 = {{SMAPI upcoming|2.10}} Whether <tt>e.Location</tt> is the location containing the local player.
+
  |arg desc 4 = Whether <tt>e.Location</tt> is the location containing the local player.
 
}}
 
}}
 
|}
 
|}
Line 589: Line 589:  
  |group = Specialised
 
  |group = Specialised
 
  |name  = LoadStageChanged
 
  |name  = LoadStageChanged
  |desc  = {{SMAPI upcoming|2.10}} Raised when the low-level stage in the game's loading process has changed, for mods which need to run code at specific points in the loading process. The available stages or when they happen might change without warning in future versions (e.g. due to changes in the game's load process), so '''mods using this event are more likely to break or have bugs'''. Most mods should use the [[#Game loop|game loop events]] instead.
+
  |desc  = Raised when the low-level stage in the game's loading process has changed, for mods which need to run code at specific points in the loading process. The available stages or when they happen might change without warning in future versions (e.g. due to changes in the game's load process), so '''mods using this event are more likely to break or have bugs'''. Most mods should use the [[#Game loop|game loop events]] instead.
    
  |arg name 1 = <tt>e.NewStage</tt>
 
  |arg name 1 = <tt>e.NewStage</tt>
translators
8,404

edits

Navigation menu