intField
Returns a ReadWriteProperty for int field of the object with the specified fieldId.
inline fun JObject.intField(name: CValuesRef<ByteVar>): ReadWriteProperty<Any?, Int>?(source)
Returns a ReadWriteProperty for int field of the object with the specified name.
Return
a delegatable property of Int type or null if the specified field was not found.
Parameters
the static field name in the null-terminated modified UTF-8. Use io.github.mimimishkin.jni.binding.modifiedUtf8 to get it, or if you are sure that your string doesn't have illegal characters you may use optimized String.utf8.
Throws
if the specified field cannot be found.
if the class initializer fails due to an exception.
if the system runs out of memory.
inline fun JObject.intField(name: String): ReadWriteProperty<Any?, Int>(source)
Returns a ReadWriteProperty for int field of the object with the specified name.
Return
a delegatable property of Int type.
Parameters
the static field name.
Throws
if the specified field cannot be found.
if the class initializer fails due to an exception.
if the system runs out of memory.