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