xref: /aosp_15_r20/external/flatbuffers/tests/union_vector/Character.kt (revision 890232f25432b36107d06881e0a25aaa6b473652)
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 @Suppress("unused")
4 class Character_ private constructor() {
5     companion object {
6         const val NONE: UByte = 0u
7         const val MuLan: UByte = 1u
8         const val Rapunzel: UByte = 2u
9         const val Belle: UByte = 3u
10         const val BookFan: UByte = 4u
11         const val Other: UByte = 5u
12         const val Unused: UByte = 6u
13         val names : Array<String> = arrayOf("NONE", "MuLan", "Rapunzel", "Belle", "BookFan", "Other", "Unused")
namenull14         fun name(e: Int) : String = names[e]
15     }
16 }
17