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 | |
James Kuszmaul | 8e62b02 | 2022-03-22 09:33:25 -0700 | [diff] [blame] | 5 | @SuppressWarnings("unused") |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 6 | public final class 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 | |
| 15 | public static String name(int e) { return names[e - None]; } |
| 16 | } |
| 17 | |