-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathMissionStatus.cs
More file actions
31 lines (27 loc) · 1.31 KB
/
MissionStatus.cs
File metadata and controls
31 lines (27 loc) · 1.31 KB
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
namespace EddiDataDefinitions
{
/// <summary>
/// Legal Status
/// </summary>
public class MissionStatus : ResourceBasedLocalizedEDName<MissionStatus>
{
static MissionStatus()
{
resourceManager = Properties.MissionStatus.ResourceManager;
resourceManager.IgnoreCase = false;
Active = new MissionStatus("Active");
Complete = new MissionStatus("Complete"); // Missions where a `MissionCompleted` event has been written and which are pending removal from the missions log.
Failed = new MissionStatus("Failed"); // Missions where a `MissionFailed` or `MissionAbandoned` event has been written and which are pending removal from the missions log.
Claim = new MissionStatus("Claim"); // The requirements have been satisfied and any timer has been set to zero. Rewards have yet to be claimed.
}
public static readonly MissionStatus Active;
public static readonly MissionStatus Complete;
public static readonly MissionStatus Failed;
public static readonly MissionStatus Claim;
// dummy used to ensure that the static constructor has run
public MissionStatus() : this("")
{ }
private MissionStatus(string edname) : base(edname, edname)
{ }
}
}