forked from Pathoschild/SMAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoadStageChangedEventArgs.cs
More file actions
31 lines (27 loc) · 922 Bytes
/
LoadStageChangedEventArgs.cs
File metadata and controls
31 lines (27 loc) · 922 Bytes
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
28
29
30
31
using System;
using StardewModdingAPI.Enums;
namespace StardewModdingAPI.Events
{
/// <summary>Event arguments for an <see cref="ISpecializedEvents.LoadStageChanged"/> event.</summary>
public class LoadStageChangedEventArgs : EventArgs
{
/*********
** Accessors
*********/
/// <summary>The previous load stage.</summary>
public LoadStage OldStage { get; }
/// <summary>The new load stage.</summary>
public LoadStage NewStage { get; }
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="old">The previous load stage.</param>
/// <param name="current">The new load stage.</param>
public LoadStageChangedEventArgs(LoadStage old, LoadStage current)
{
this.OldStage = old;
this.NewStage = current;
}
}
}