1 // automatically generated by the FlatBuffers compiler, do not modify 2 3 package MyGame.Example; 4 5 /** 6 * Composite components of Monster color. 7 */ 8 public final class Color { Color()9 private Color() { } 10 public static final byte Red = 1; 11 /** 12 * \brief color Green 13 * Green is bit_flag with value (1u << 1) 14 */ 15 public static final byte Green = 2; 16 /** 17 * \brief color Blue (1u << 3) 18 */ 19 public static final byte Blue = 8; 20 21 public static final String[] names = { "Red", "Green", "", "", "", "", "", "Blue", }; 22 name(int e)23 public static String name(int e) { return names[e - Red]; } 24 } 25 26