...

Text file src/github.com/google/flatbuffers/tests/MyGame/Example/TestEnum.kt

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

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3package MyGame.Example
     4
     5@Suppress("unused")
     6class TestEnum private constructor() {
     7    companion object {
     8        const val A: Byte = 0
     9        const val B: Byte = 1
    10        const val C: Byte = 2
    11        val names : Array<String> = arrayOf("A", "B", "C")
    12        fun name(e: Int) : String = names[e]
    13    }
    14}

View as plain text