blob: 6eb953488dca5d95177862bc17085cf16878c876 [file] [log] [blame]
Austin Schuh272c6132020-11-14 16:37:52 -08001// automatically generated by the FlatBuffers compiler, do not modify
2
3package MyGame.Example
4
5@Suppress("unused")
6@ExperimentalUnsignedTypes
7class Race private constructor() {
8 companion object {
9 const val None: Byte = -1
10 const val Human: Byte = 0
11 const val Dwarf: Byte = 1
12 const val Elf: Byte = 2
13 val names : Array<String> = arrayOf("None", "Human", "Dwarf", "Elf")
14 fun name(e: Int) : String = names[e - None.toInt()]
15 }
16}