blob: 6f770a3c9a3d7070b24966046488f5ab3c48d61c [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")
Austin Schuh272c6132020-11-14 16:37:52 -08006class Race private constructor() {
7 companion object {
8 const val None: Byte = -1
9 const val Human: Byte = 0
10 const val Dwarf: Byte = 1
11 const val Elf: Byte = 2
12 val names : Array<String> = arrayOf("None", "Human", "Dwarf", "Elf")
13 fun name(e: Int) : String = names[e - None.toInt()]
14 }
15}