...

Text file src/github.com/google/flatbuffers/tests/MyGame/Example/Race.java

Documentation: github.com/google/flatbuffers/tests/MyGame/Example

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3package MyGame.Example;
     4
     5@SuppressWarnings("unused")
     6public 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

View as plain text