1 // automatically generated by the FlatBuffers compiler, do not modify 2 3 package MyGame 4 5 import java.nio.* 6 import kotlin.math.sign 7 import com.google.flatbuffers.* 8 9 @Suppress("unused") 10 @ExperimentalUnsignedTypes 11 class InParentNamespace : Table() { 12 __initnull13 fun __init(_i: Int, _bb: ByteBuffer) { 14 __reset(_i, _bb) 15 } __assignnull16 fun __assign(_i: Int, _bb: ByteBuffer) : InParentNamespace { 17 __init(_i, _bb) 18 return this 19 } 20 companion object { validateVersionnull21 fun validateVersion() = Constants.FLATBUFFERS_1_12_0() 22 fun getRootAsInParentNamespace(_bb: ByteBuffer): InParentNamespace = getRootAsInParentNamespace(_bb, InParentNamespace()) 23 fun getRootAsInParentNamespace(_bb: ByteBuffer, obj: InParentNamespace): InParentNamespace { 24 _bb.order(ByteOrder.LITTLE_ENDIAN) 25 return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)) 26 } startInParentNamespacenull27 fun startInParentNamespace(builder: FlatBufferBuilder) = builder.startTable(0) 28 fun endInParentNamespace(builder: FlatBufferBuilder) : Int { 29 val o = builder.endTable() 30 return o 31 } 32 } 33 } 34