summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
blob: 51d64016cdc0a82a37f5e198d868182c5a9f00ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;

namespace StardewModdingAPI.Events
{
    /// <summary>Event arguments for a <see cref="PlayerEvents.LoadedGame"/> event.</summary>
    public class EventArgsLoadedGameChanged : EventArgs
    {
        /*********
        ** Accessors
        *********/
        /// <summary>Whether the save has been loaded. This is always true.</summary>
        public bool LoadedGame { get; }


        /*********
        ** 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)
        {
            this.LoadedGame = loaded;
        }
    }
}