diff options
Diffstat (limited to 'tests/MyGame/Example/TestEnum.java')
-rw-r--r-- | tests/MyGame/Example/TestEnum.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/MyGame/Example/TestEnum.java b/tests/MyGame/Example/TestEnum.java new file mode 100644 index 00000000..411bf8e3 --- /dev/null +++ b/tests/MyGame/Example/TestEnum.java @@ -0,0 +1,15 @@ +// automatically generated by the FlatBuffers compiler, do not modify + +package MyGame.Example; + +public final class TestEnum { + private TestEnum() { } + public static final byte A = 0; + public static final byte B = 1; + public static final byte C = 2; + + public static final String[] names = { "A", "B", "C", }; + + public static String name(int e) { return names[e]; } +} + |