-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathMicroResourceCategory.cs
More file actions
25 lines (22 loc) · 1.01 KB
/
MicroResourceCategory.cs
File metadata and controls
25 lines (22 loc) · 1.01 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
namespace EddiDataDefinitions
{
public class MicroResourceCategory : ResourceBasedLocalizedEDName<MicroResourceCategory>
{
static MicroResourceCategory()
{
resourceManager = Properties.MicroResourceCategories.ResourceManager;
resourceManager.IgnoreCase = false;
missingEDNameHandler = (edname) => new MicroResourceCategory(edname);
}
public static readonly MicroResourceCategory Components = new("Component");
public static readonly MicroResourceCategory Consumables = new("Consumable");
public static readonly MicroResourceCategory Data = new("Data");
public static readonly MicroResourceCategory Items = new("Item");
public static readonly MicroResourceCategory Unknown = new("Unknown");
// dummy used to ensure that the static constructor has run
public MicroResourceCategory() : this("")
{ }
private MicroResourceCategory(string edname) : base(edname, edname)
{ }
}
}