mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
16 lines
354 B
Kotlin
16 lines
354 B
Kotlin
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example
|
|
|
|
@Suppress("unused")
|
|
class TestEnum private constructor() {
|
|
companion object {
|
|
const val A: Byte = 0
|
|
const val B: Byte = 1
|
|
const val C: Byte = 2
|
|
val names: Array<String> = arrayOf("A", "B", "C")
|
|
|
|
fun name(e: Int): String = names[e]
|
|
}
|
|
}
|