summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsLoadedGameChanged.cs
blob: cd7a366fdd3b4581db9ce29547fa0a51986ff626 (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; 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)
        {
            this.LoadedGame = loaded;
        }
    }
}