godot.gen.godot.ScriptLanguage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-library-release Show documentation
Show all versions of godot-library-release Show documentation
Contains godot api as kotlin classes and jvm cpp interaction code.
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"RedundantVisibilityModifier", "RedundantUnitReturnType", "MemberVisibilityCanBePrivate")
package godot
import godot.`annotation`.GodotBaseType
import kotlin.Int
import kotlin.Long
import kotlin.Suppress
import kotlin.Unit
@GodotBaseType
public open class ScriptLanguage internal constructor() : Object() {
public override fun new(scriptIndex: Int): Unit {
callConstructor(ENGINECLASS_SCRIPTLANGUAGE, scriptIndex)
}
public enum class ScriptNameCasing(
id: Long,
) {
SCRIPT_NAME_CASING_AUTO(0),
SCRIPT_NAME_CASING_PASCAL_CASE(1),
SCRIPT_NAME_CASING_SNAKE_CASE(2),
SCRIPT_NAME_CASING_KEBAB_CASE(3),
;
public val id: Long
init {
this.id = id
}
public companion object {
public fun from(`value`: Long): ScriptNameCasing = entries.single { it.id == `value` }
}
}
public companion object
internal object MethodBindings
}