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