1 // automatically generated by the FlatBuffers compiler, do not modify 2 3 package MyGame.Example; 4 5 public final class Color { Color()6 private Color() { } 7 public static final byte Red = 1; 8 public static final byte Green = 2; 9 public static final byte Blue = 8; 10 11 public static final String[] names = { "Red", "Green", "", "", "", "", "", "Blue", }; 12 name(int e)13 public static String name(int e) { return names[e - Red]; } 14 } 15 16