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