summaryrefslogtreecommitdiff
path: root/src/SMAPI/Enums
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-07 20:15:10 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-07 20:15:10 -0500
commit5399239c2be01396958ed454d6ae56f006d20ca5 (patch)
tree87683eda0873a0c24d9bcee5d47f1cec896f21bb /src/SMAPI/Enums
parentdb011ee751bdfb8bbd9abbeb706966db4c4e2461 (diff)
parenta571f459f59a6ecfdd53e3158ba8d29157598920 (diff)
downloadSMAPI-5399239c2be01396958ed454d6ae56f006d20ca5.tar.gz
SMAPI-5399239c2be01396958ed454d6ae56f006d20ca5.tar.bz2
SMAPI-5399239c2be01396958ed454d6ae56f006d20ca5.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Enums')
-rw-r--r--src/SMAPI/Enums/LoadStage.cs31
1 files changed, 20 insertions, 11 deletions
diff --git a/src/SMAPI/Enums/LoadStage.cs b/src/SMAPI/Enums/LoadStage.cs
index 5c2b0412..302c263b 100644
--- a/src/SMAPI/Enums/LoadStage.cs
+++ b/src/SMAPI/Enums/LoadStage.cs
@@ -4,33 +4,42 @@ namespace StardewModdingAPI.Enums
public enum LoadStage
{
/// <summary>A save is not loaded or loading.</summary>
- None,
+ None = 0,
/// <summary>The game is creating a new save slot, and has initialized the basic save info.</summary>
- CreatedBasicInfo,
+ CreatedBasicInfo = 1,
+
+ /// <summary>The game is creating a new save slot, and has added the location instances but hasn't fully initialized them yet.</summary>
+ CreatedInitialLocations = 10,
/// <summary>The game is creating a new save slot, and has initialized the in-game locations.</summary>
- CreatedLocations,
+ CreatedLocations = 2,
/// <summary>The game is creating a new save slot, and has created the physical save files.</summary>
- CreatedSaveFile,
+ CreatedSaveFile = 3,
/// <summary>The game is loading a save slot, and has read the raw save data into <see cref="StardewValley.SaveGame.loaded"/>. Not applicable when connecting to a multiplayer host. This is equivalent to <see cref="StardewValley.SaveGame.getLoadEnumerator"/> value 20.</summary>
- SaveParsed,
+ SaveParsed = 4,
/// <summary>The game is loading a save slot, and has applied the basic save info (including player data). Not applicable when connecting to a multiplayer host. Note that some basic info (like daily luck) is not initialized at this point. This is equivalent to <see cref="StardewValley.SaveGame.getLoadEnumerator"/> value 36.</summary>
- SaveLoadedBasicInfo,
+ SaveLoadedBasicInfo = 5,
+
+ /// <summary>The game is loading a save slot and has added the location instances, but hasn't restored their save data yet. Not applicable when connecting to a multiplayer host.</summary>
+ SaveAddedLocations = 11,
- /// <summary>The game is loading a save slot, and has applied the in-game location data. Not applicable when connecting to a multiplayer host. This is equivalent to <see cref="StardewValley.SaveGame.getLoadEnumerator"/> value 50.</summary>
- SaveLoadedLocations,
+ /// <summary>The game is loading a save slot, and has restored the in-game location data. Not applicable when connecting to a multiplayer host. This is equivalent to <see cref="StardewValley.SaveGame.getLoadEnumerator"/> value 50.</summary>
+ SaveLoadedLocations = 6,
/// <summary>The final metadata has been loaded from the save file. This happens before the game applies problem fixes, checks for achievements, starts music, etc. Not applicable when connecting to a multiplayer host.</summary>
- Preloaded,
+ Preloaded = 7,
/// <summary>The save is fully loaded, but the world may not be fully initialized yet.</summary>
- Loaded,
+ Loaded = 8,
/// <summary>The save is fully loaded, the world has been initialized, and <see cref="Context.IsWorldReady"/> is now true.</summary>
- Ready
+ Ready = 9,
+
+ /// <summary>The game is exiting the loaded save and returning to the title screen. This happens before it returns to title; see <see cref="None"/> after it returns.</summary>
+ ReturningToTitle = 12
}
}