All Downloads are FREE. Search and download functionalities are using the official Maven repository.

godot.gen.godot.KotlinScript.kt Maven / Gradle / Ivy

// 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 godot.core.VariantType.ANY
import godot.core.memory.TransferContext
import kotlin.Any
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

@GodotBaseType
public open class KotlinScript : Script() {
  public override fun new(scriptIndex: Int): Boolean {
    callConstructor(ENGINECLASS_KOTLINSCRIPT, scriptIndex)
    return true
  }

  public fun new(vararg __var_args: Any?): Any? {
    TransferContext.writeArguments( *__var_args.map { ANY to it }.toTypedArray())
    TransferContext.callMethod(rawPtr, ENGINEMETHOD_ENGINECLASS_KOTLINSCRIPT_NEW, ANY)
    return (TransferContext.readReturnValue(ANY, true) as Any?)
  }

  public companion object
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy