summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs')
-rw-r--r--src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs b/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
index 1b6e21e2..cd7a366f 100644
--- a/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
@@ -2,13 +2,24 @@
namespace StardewModdingAPI.Events
{
+ /// <summary>Event arguments for a <see cref="PlayerEvents.LoadedGame"/> event.</summary>
public class EventArgsLoadedGameChanged : EventArgs
{
- public EventArgsLoadedGameChanged(bool loadedGame)
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>Whether the save has been loaded. This is always true.</summary>
+ public bool LoadedGame { get; private set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ /// <param name="loaded">Whether the save has been loaded. This is always true.</param>
+ public EventArgsLoadedGameChanged(bool loaded)
{
- LoadedGame = loadedGame;
+ this.LoadedGame = loaded;
}
-
- public bool LoadedGame { get; private set; }
}
-} \ No newline at end of file
+}