summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
blob: 688b4b3dd33ad14792fa2cbcd298559fe4ba1d10 (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
26
27
#if SMAPI_1_x
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;
        }
    }
}
#endif