Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 1 | // automatically generated by the FlatBuffers compiler, do not modify |
2 | |||||
3 | package MyGame.Example; | ||||
4 | |||||
5 | public final class 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 | |||||
14 | public static String name(int e) { return names[e - None]; } | ||||
15 | } | ||||
16 |