19 lines
378 B
C#
19 lines
378 B
C#
// automatically generated, do not modify
|
|
|
|
namespace MyGame.Example
|
|
{
|
|
|
|
public class Color
|
|
{
|
|
public static readonly sbyte Red = 1;
|
|
public static readonly sbyte Green = 2;
|
|
public static readonly sbyte Blue = 8;
|
|
|
|
private static readonly string[] names = { "Red", "Green", "", "", "", "", "", "Blue", };
|
|
|
|
public static string Name(int e) { return names[e - Red]; }
|
|
};
|
|
|
|
|
|
}
|