diff --git a/cmd/generate.sh b/cmd/generate.sh index 7a4cf179..0cd61675 100755 --- a/cmd/generate.sh +++ b/cmd/generate.sh @@ -31,4 +31,8 @@ fi # Run our generator echo "Generating Godot classes..." -go run $GOPATH/src/github.com/shadowapex/godot-go/cmd/generate/generate.go | gofmt > $PKG_PATH/godot/classes.go +go run $GOPATH/src/github.com/shadowapex/godot-go/cmd/generate/generate.go + +# Format all our code +echo "Running gofmt on generated classes..." +find $PKG_PATH -name '*.go' -not -path '*/\.*' -exec gofmt -w {} \; \ No newline at end of file diff --git a/cmd/generate/generate.go b/cmd/generate/generate.go index 87828f2f..31e30def 100644 --- a/cmd/generate/generate.go +++ b/cmd/generate/generate.go @@ -13,8 +13,10 @@ import ( "io/ioutil" "log" "os" + "path/filepath" "regexp" "sort" + "strconv" "strings" "text/template" "unicode" @@ -129,6 +131,9 @@ type View struct { ClassDocs map[string]string MethodDocs map[string]map[string]string SingletonMap map[string]bool + ClassMap map[string]GDAPI + GodotCalls map[GodotCallSigKey]GodotCallSignature + Debug bool } // ClassDoc returns the class documentation for the given class. @@ -210,8 +215,12 @@ func (v View) GoArgName(argString string) string { return casee.ToCamelCase(argString) } -// GoValue will convert the Godot value into a valid Go value. func (v View) GoValue(returnString string) string { + return GetGoValue(returnString) +} + +// GoValue will convert the Godot value into a valid Go value. +func GetGoValue(returnString string) string { // TODO: Right now we're converting any enum types to int64. We should // look into creating types for each of these maybe? LOL if strings.Contains(returnString, "enum.") { @@ -270,6 +279,47 @@ func (v View) SetClassName(classString string, singleton bool) string { func (v View) SetBaseClassName(baseClass string) string { return v.SetClassName(baseClass, v.SingletonMap[baseClass]) } + +func (v View) IsClassType(t string) bool { + return isClassType(t) && !isEnum(t) +} + +func (v View) GodotCall(method GDMethod) string { + var args []string + for _, arg := range method.Arguments { + args = append(args, getICallTypeName(arg.Type)) + } + icallRetType := getICallTypeName(method.ReturnType) + sigKey := GodotCallSigKey{icallRetType, strings.Join(args, ",")} + + argNames := []string{"o", strconv.Quote(method.Name)} + for _, arg := range method.Arguments { + argName := v.GoArgName(arg.Name) + if isClassType(arg.Type) && !(arg.Type == "Object") { + argName = fmt.Sprintf("&%s.Object", argName) + } + argNames = append(argNames, argName) + //TODO: escape_cpp(arg["name"]) + (".ptr()" if isReferenceType(arg["type"]) else "") + } + + var sig GodotCallSignature + sig, found := v.GodotCalls[sigKey] + if !found { + godotArgs := make([]GodotCallArg, len(args)) + for idx, arg := range args { + godotArgs[idx] = GodotCallArg{ + fmt.Sprintf("arg%d", idx), + arg, + isPrimitive(arg), + } + } + sig = GodotCallSignature{icallRetType, godotArgs, v.Debug} + v.GodotCalls[sigKey] = sig + } + icallName := sig.GodotCallName() + return fmt.Sprintf("%s(%s)", icallName, strings.Join(argNames, ",")) +} + func main() { // Get the basepath so we know where to look for our JSON API and template file. @@ -281,6 +331,12 @@ func main() { if docsPath == "" { panic("$GODOT_DOC_PATH environment variable was not set. Be sure to run this from generate.sh!") } + pkgPath := os.Getenv("PKG_PATH") + if pkgPath == "" { + panic("$PKG_PATH environment variable was not set. Be sure to run this from generate.sh!") + } + debugLogs := os.Getenv("DEBUG_LOGS") + outputDebug := strings.ToLower(debugLogs) == "true" // Get our documentation that was pulled down from generate.sh. docFiles, err := ioutil.ReadDir(docsPath) @@ -318,6 +374,7 @@ func main() { // Unmarshal the JSON into a defined structure. var view View + view.Debug = outputDebug json.Unmarshal(body, &view.APIs) view.Header = ` //------------------------------------------------------------------------------ @@ -335,10 +392,14 @@ func main() { // Store all objects singleton value so it can be looked up later. view.SingletonMap = map[string]bool{} + // TODO: combine SingletonMap and ClassMap probably + view.ClassMap = map[string]GDAPI{} for _, api := range view.APIs { view.SingletonMap[api.Name] = api.Singleton + view.ClassMap[api.Name] = api } + view.GodotCalls = make(map[GodotCallSigKey]GodotCallSignature) // Sort the APIs so they will be generated in order. sort.Sort(ByName(view.APIs)) for _, api := range view.APIs { @@ -348,21 +409,535 @@ func main() { sort.Sort(BySignalName(api.Signals)) } - // List out template file - templateFile := templatePath + "/classes.go.template" - - // Create a template from our template file. - t, err := template.ParseFiles(templateFile) + // Create a template from our template files. + t, err := template.ParseGlob(filepath.Join(templatePath, "*.template")) if err != nil { - log.Fatal("Error parsing template:", err) + log.Fatal("Error parsing templates:", err) } templateBuffer := bytes.NewBufferString("") - err = t.Execute(templateBuffer, view) + + err = t.ExecuteTemplate(templateBuffer, "classes.go.template", view) + if err != nil { + log.Fatal("Unable to apply classes template:", err) + } + + classesOutputFile := filepath.Join(pkgPath, "godot", "classes.go") + // Output our template to file + if err := ioutil.WriteFile(classesOutputFile, templateBuffer.Bytes(), 0644); err != nil { + log.Fatalf("Unable to write %s: %s", classesOutputFile, err) + } + + templateBuffer.Reset() + err = t.ExecuteTemplate(templateBuffer, "godotcalls.go.template", view) if err != nil { - log.Fatal("Unable to apply template:", err) + log.Fatal("Unable to apply godotcalls template:", err) + } + + godotCallsOutputFile := filepath.Join(pkgPath, "godot", "godotcalls.go") + // Output our template to file + if err := ioutil.WriteFile(godotCallsOutputFile, templateBuffer.Bytes(), 0644); err != nil { + log.Fatalf("Unable to write %s: %s", godotCallsOutputFile, err) + } + + // iCalls := make(map[GodotCallSigKey]struct{}) + // usedClasses := getUsedClasses(view.APIs[2]) + + // fmt.Fprintln(os.Stderr, generateClassImplementation(iCalls, usedClasses, view.ClassMap, view.APIs[2])) + // fmt.Fprintln(os.Stderr, generateICallImplementation(iCalls)) + +} + +type GodotCallSigKey struct { + ReturnType string + ArgTypesStringified string +} + +type GodotCallSignature struct { + ReturnType string + Arguments []GodotCallArg + Debug bool +} + +type GodotCallArg struct { + Name string + Type string + IsPrimitive bool +} + +func (gcs GodotCallSignature) GetReturnType() string { + return returnType(gcs.ReturnType) +} + +func (gcs GodotCallSignature) GodotCallName() string { + nameParts := []string{fmt.Sprintf("godotCall_%s", stripName(gcs.ReturnType))} + for _, arg := range gcs.Arguments { + nameParts = append(nameParts, stripName(arg.Type)) + } + return casee.ToCamelCase(strings.Join(nameParts, "_")) +} + +func (gcs GodotCallSignature) GodotCallDef() string { + params := []string{"o Class, methodName string"} + for _, arg := range gcs.Arguments { + params = append(params, fmt.Sprintf("%s %s", arg.Name, GetGoValue(arg.Type))) + } + return fmt.Sprintf("%s(%s) %s", gcs.GodotCallName(), strings.Join(params, ","), GetGoValue(gcs.ReturnType)) +} + +var setMember struct{} + +func generateClassImplementation( + icalls map[GodotCallSigKey]struct{}, + usedClasses map[string]struct{}, + classes map[string]GDAPI, + c GDAPI) string { + + //className := stripName(c.Name) + + var source []string + + // TODO: per -type common stuff + // source = append(source,"#include <" + class_name + ".hpp>") + // source = append(source,"") + // source = append(source,"") + + // source = append(source,"#include ") + // source = append(source,"#include ") + // source = append(source,"#include ") + + // source = append(source,"#include ") + // source = append(source,"") + + // source = append(source,"#include \"__icalls.hpp\"") + // source = append(source,"") + // source = append(source,"") + + for usedClass, _ := range usedClasses { + fmt.Fprintf(os.Stderr, "UsedClass: '%s'\n", usedClass) + if !isEnum(usedClass) { + source = append(source, "// import usedClass somehow") /// TODO: ref used class "#include <" + strip_name(used_class) + ".hpp>") + } + } + + source = append(source, "", "") + + //source = append(source,"namespace godot {") + + //core_object_name = ("___static_object_" + strip_name(c["name"])) if c["singleton"] else "this" + + // source = append(source,"") + // source = append(source,"") + + // if c["singleton"]: + // source = append(source,"static godot_object *" + core_object_name + ";") + // source = append(source,"") + // source = append(source,"") + + // # FIXME Test if inlining has a huge impact on binary size + // source = append(source,"static inline void ___singleton_init()") + // source = append(source,"{") + // source = append(source,"\tif (" + core_object_name + " == nullptr) {") + // source = append(source,"\t\t" + core_object_name + " = godot::api->godot_global_get_singleton((char *) \"" + strip_name(c["name"]) + "\");") + // source = append(source,"\t}") + // source = append(source,"}") + + // source = append(source,"") + // source = append(source,"") + + // if c["instanciable"]: + // source = append(source,"void *" + strip_name(c["name"]) + "::operator new(size_t)") + // source = append(source,"{") + // source = append(source,"\treturn godot::api->godot_get_class_constructor((char *)\"" + c["name"] + "\")();") + // source = append(source,"}") + + // source = append(source,"void " + strip_name(c["name"]) + "::operator delete(void *ptr)") + // source = append(source,"{") + // source = append(source,"\tgodot::api->godot_object_destroy((godot_object *)ptr);") + // source = append(source,"}") + + for _, method := range c.Methods { + methodSig := "" + + fmt.Fprintf(os.Stderr, "Process method '%s'\n", method.Name) + methodSig += makeGDNativeType(method.ReturnType, classes) + // TODO: method_signature += stripName(c.Name) + "::" + escape_cpp(method["name"]) + "(" + + var argDecls []string + for _, argument := range method.Arguments { + fmt.Fprintf(os.Stderr, "Process argument '%s':%s\n", argument.Name, argument.Type) + argDecls = append(argDecls, argument.Name+" "+makeGDNativeType(argument.Type, classes)) + } + methodSig += strings.Join(argDecls, ", ") + + if method.HasVarargs { + if len(method.Arguments) > 0 { + methodSig += ", " + } + methodSig += "const Array& __var_args" // TODO: + } + + // TODO: methodSig += ")" + (" const" if method["is_const"] and not c["singleton"] else "") + + source = append(source, methodSig+" {") + + // if c["singleton"]: + // source = append(source,"\t___singleton_init();") + + source = append(source, fmt.Sprintf("mb *C.godot_method_bind = godot_method_bind_get_method(%s, %s);", c.Name, method.Name)) + + returnStatement := "" + + if method.ReturnType != "void" { + // TODO: handle return type + if isClassType(method.ReturnType) { + if isEnum(method.ReturnType) { + returnStatement += "return (" + removeEnumPrefix(method.ReturnType) + ") " + } else if isReferenceType(method.ReturnType, classes) { + // TODO: handle references + returnStatement += "return Ref<" + stripName(method.ReturnType) + ">::__internal_constructor(" + } else { + ret := "" + if isClassType(method.ReturnType) { + ret = "(" + stripName(method.ReturnType) + " *) " + } + returnStatement += "return " + ret + } + } else { + returnStatement += "return " + } + } + + if method.HasVarargs { + + //TODO: handle vararg variant calls + + // if len(method["arguments"]) != 0: + // source = append(source,"\tVariant __given_args[" + str(len(method["arguments"])) + "];") + + // for i, argument in enumerate(method["arguments"]): + // source = append(source,"\tgodot::api->godot_variant_new_nil((godot_variant *) &__given_args[" + str(i) + "]);") + + // source = append(source,"") + + // for i, argument in enumerate(method["arguments"]): + // source = append(source,"\t__given_args[" + str(i) + "] = " + escape_cpp(argument["name"]) + ";") + + // source = append(source,"") + + // size = "" + // if method["has_varargs"]: + // size = "(__var_args.size() + " + str(len(method["arguments"])) + ")" + // else: + // size = "(" + str(len(method["arguments"])) + ")" + + // source = append(source,"\tgodot_variant **__args = (godot_variant **) alloca(sizeof(godot_variant *) * " + size + ");") + + // source = append(source,"") + + // for i, argument in enumerate(method["arguments"]): + // source = append(source,"\t__args[" + str(i) + "] = (godot_variant *) &__given_args[" + str(i) + "];") + + // source = append(source,"") + + // if method["has_varargs"]: + // source = append(source,"\tfor (int i = 0; i < __var_args.size(); i++) {") + // source = append(source,"\t\t__args[i + " + str(len(method["arguments"])) + "] = (godot_variant *) &((Array &) __var_args)[i];") + // source = append(source,"\t}") + + // source = append(source,"") + + // source = append(source,"\tVariant __result;") + // source = append(source,"\t*(godot_variant *) &__result = godot::api->godot_method_bind_call(mb, (godot_object *) " + core_object_name + ", (const godot_variant **) __args, " + size + ", nullptr);") + + // source = append(source,"") + + // for i, argument in enumerate(method["arguments"]): + // source = append(source,"\tgodot::api->godot_variant_destroy((godot_variant *) &__given_args[" + str(i) + "]);") + + // source = append(source,"") + + // if method["return_type"] != "void": + // cast = "" + // if is_class_type(method["return_type"]): + // if isReferenceType(method["return_type"]): + // cast += "Ref<" + strip_name(method["return_type"]) + ">::__internal_constructor(__result);" + // else: + // cast += "(" + strip_name(method["return_type"]) + " *) (Object *) __result;" + // else: + // cast += "__result;" + // source = append(source,"\treturn " + cast) + + } else { + + var args []string + for _, arg := range method.Arguments { + args = append(args, getICallTypeName(arg.Type)) + } + + icallRetType := getICallTypeName(method.ReturnType) + sig := GodotCallSigKey{icallRetType, strings.Join(args, ",")} + icalls[sig] = setMember + icallName := "whatevs" // TODO:getICallNamegetICallName(sig) + + argNames := []string{"o"} + for _, arg := range method.Arguments { + // TODO: escape Go reserved words + argNames = append(argNames, arg.Name) + //TODO: escape_cpp(arg["name"]) + (".ptr()" if isReferenceType(arg["type"]) else "") + } + returnStatement += fmt.Sprintf("%s(%s)", icallName, strings.Join(argNames, ",")) + + source = append(source, "\t"+returnStatement) // TODO (")" if isReferenceType(method.ReturnType else "") + ";") + } + + source = append(source, "", "") + } + + source = append(source, "}") + return strings.Join(source, "\n") +} + +func returnType(t string) string { + if isClassType(t) { + return "C.godot_object" + } + + if t == "int" { + return "C.godot_int" + } + + if t == "float" || t == "real" { + return "C.godot_real" + } + + if t == "bool" { + return "C.godot_bool" + } + + coreType, found := coreTypesGo2Godot[t] + if found { + return coreType + } + + return t +} + +func getICallTypeName(name string) string { + if isEnum(name) { + return "int" + } + if isClassType(name) { + return "Object" //TODO: right name + } + return name +} + +func isReferenceType(t string, classes map[string]GDAPI) bool { + c, found := classes[t] + if !found { + return false + } + return c.IsReference +} + +func makeGDNativeType(t string, classes map[string]GDAPI) string { + fmt.Fprintf(os.Stderr, "Making GDNativeType for '%s'\n", t) + if isEnum(t) { + return removeEnumPrefix(t) + " " + } + + if isClassType(t) { + // TODO fix this CPP shit + if isReferenceType(t, classes) { + return "Ref<" + stripName(t) + "> " + } + return stripName(t) + " *" + } + + if t == "int" { + return "int64_t " + } + + if t == "float" || t == "real" { + return "double " + } + + return stripName(t) + " " +} + +func isEnum(name string) bool { + return strings.Index(name, "enum.") == 0 +} + +func stripName(name string) string { + if name[0] == '_' { + return name[1:] + } + return name +} + +func removeEnumPrefix(name string) string { + idx := strings.Index(name, "enum.") + return stripName(name[idx+5:]) +} + +func getUsedClasses(g GDAPI) map[string]struct{} { + classes := make(map[string]struct{}) + for _, method := range g.Methods { + if isClassType(method.ReturnType) { + if _, found := classes[method.ReturnType]; !found { + classes[method.ReturnType] = setMember + } + } + + for _, arg := range method.Arguments { + if isClassType(arg.Type) { + if _, found := classes[arg.Type]; !found { + classes[arg.Type] = setMember + } + } + } + } + return classes +} + +func isClassType(name string) bool { + return !(isCoreType(name) || isPrimitive(name)) +} + +var coreTypesGo2Godot = map[string]string{ + "Array": "C.godot_array", + "Basis": "C.godot_basis", + "Color": "C.godot_color", + "Dictionary": "C.godot_dictionary", + "Error": "C.godot_error", + "NodePath": "C.godot_node_path", + "Plane": "C.godot_plane", + "PoolByteArray": "C.godot_pool_byte_array", + "PoolIntArray": "C.godot_pool_int_array", + "PoolRealArray": "C.godot_pool_real_array", + "PoolStringArray": "C.godot_pool_string_array", + "PoolVector2Array": "C.godot_pool_vector2_array", + "PoolVector3Array": "C.godot_pool_vector3_array", + "PoolColorArray": "C.godot_pool_color_array", + "Quat": "C.godot_quat", + "Rect2": "C.godot_rect2", + "AABB": "C.godot_aabb", + "RID": "C.godot_rid", + "String": "C.godot_string", + "Transform": "C.godot_transform", + "Transform2D": "C.godot_transform2d", + "Variant": "C.godot_variant", + "Vector2": "C.godot_vector2", + "Vector3": "C.godot_vector3", +} + +func isCoreType(name string) bool { + _, ok := coreTypesGo2Godot[name] + return ok +} + +var primitiveTypes = map[string]struct{}{ + "int": setMember, + "bool": setMember, + "real": setMember, + "float": setMember, + "void": setMember, +} + +func isPrimitive(name string) bool { + _, ok := primitiveTypes[name] + return ok +} + +// generate icall functions + +func generateICallImplementation(icalls map[GodotCallSigKey]struct{}) string { + var source []string + source = append(source, "") + + source = append(source, "#include ") + source = append(source, "#include ") + source = append(source, "") + + source = append(source, "") + source = append(source, "") + + source = append(source, "") + + for icall, _ := range icalls { + methodSig := "" + + retType := icall.ReturnType + var args []string + if icall.ArgTypesStringified != "" { + args = strings.Split(icall.ArgTypesStringified, ",") + } + + var methodArgs []string + for i, arg := range args { + // TODO: handle this distinction in Go + + // if isCoreType(arg) { + // methodSig += arg + "& " + // } else + methodArg := arg + if !isPrimitive(arg) { + methodArg = "*Object" + } + + methodArgs = append(methodArgs, fmt.Sprintf("arg%d %s", i, methodArg)) + } + + //methodSig += fmt.Sprintf("func %s(%s) %s", getICallName(icall), strings.Join(methodArgs, ","), returnType(retType)) + + source = append(source, methodSig+" {") + + if retType != "void" { + source = append(source, "\t"+returnType(retType)+"ret;") + if isClassType(retType) { + source = append(source, "\tret = nullptr;") + } + } + + arrIdx := "" + if len(args) == 0 { + arrIdx = "1" + } + source = append(source, "\tconst void *args["+arrIdx+"] = {") + + for i, arg := range args { + + wrappedArg := "\t\t" + if isPrimitive(arg) || isCoreType(arg) { + wrappedArg += "(void *) &arg" + string(i) + } else { + wrappedArg += "(void *) arg" + string(i) + } + + wrappedArg += "," + source = append(source, wrappedArg) + } + + source = append(source, "\t};") + source = append(source, "") + + // handle return type + callRetParam := "&ret" + if retType == "void" { + callRetParam = "nullptr" + } + source = append(source, "\tgodot::api->godot_method_bind_ptrcall(mb, inst, args, "+callRetParam+");") + + if retType != "void" { + source = append(source, "\treturn ret;") + } + + source = append(source, "}") } - // Output our template to STDOUT - fmt.Println(templateBuffer.String()) + source = append(source, "}") + source = append(source, "") + return strings.Join(source, "\n") } diff --git a/godot/classes.go b/godot/classes.go index b68227b5..e5919319 100644 --- a/godot/classes.go +++ b/godot/classes.go @@ -14,31 +14,11 @@ package godot #include #include #include - -void **build_array(int length); -void **build_array(int length) { - void *ptr; - void **arr = malloc(sizeof(void *) * length); - for (int i = 0; i < length; i++) { - arr[i] = ptr; - } - - return arr; -} - -void add_element(void**, void*, int); -void add_element(void **array, void *element, int index) { - printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); - array[index] = element; - printf("CGO: Index %i %p\n", index, element); - printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); -} */ import "C" import ( "log" - "reflect" "unsafe" ) @@ -67,16 +47,9 @@ func (o *ARVRAnchor) baseClass() string { func (o *ARVRAnchor) GetAnchorId() int64 { log.Println("Calling ARVRAnchor.GetAnchorId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anchor_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_anchor_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87,16 +60,9 @@ func (o *ARVRAnchor) GetAnchorId() int64 { func (o *ARVRAnchor) GetAnchorName() string { log.Println("Calling ARVRAnchor.GetAnchorName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anchor_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_anchor_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107,16 +73,9 @@ func (o *ARVRAnchor) GetAnchorName() string { func (o *ARVRAnchor) GetIsActive() bool { log.Println("Calling ARVRAnchor.GetIsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -127,16 +86,9 @@ func (o *ARVRAnchor) GetIsActive() bool { func (o *ARVRAnchor) GetPlane() *Plane { log.Println("Calling ARVRAnchor.GetPlane()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_plane", goArguments, "*Plane") - - returnValue := goRet.Interface().(*Plane) - + returnValue := godotCallPlane(o, "get_plane") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -147,16 +99,9 @@ func (o *ARVRAnchor) GetPlane() *Plane { func (o *ARVRAnchor) GetSize() *Vector3 { log.Println("Calling ARVRAnchor.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -167,14 +112,7 @@ func (o *ARVRAnchor) GetSize() *Vector3 { func (o *ARVRAnchor) SetAnchorId(anchorId int64) { log.Println("Calling ARVRAnchor.SetAnchorId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anchorId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchor_id", goArguments, "") - + godotCallVoidInt(o, "set_anchor_id", anchorId) log.Println(" Function successfully completed.") } @@ -221,16 +159,9 @@ func (o *ARVRController) baseClass() string { func (o *ARVRController) GetControllerId() int64 { log.Println("Calling ARVRController.GetControllerId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_controller_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_controller_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -241,16 +172,9 @@ func (o *ARVRController) GetControllerId() int64 { func (o *ARVRController) GetControllerName() string { log.Println("Calling ARVRController.GetControllerName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_controller_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_controller_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -261,16 +185,9 @@ func (o *ARVRController) GetControllerName() string { func (o *ARVRController) GetHand() int64 { log.Println("Calling ARVRController.GetHand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hand", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_hand") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -281,16 +198,9 @@ func (o *ARVRController) GetHand() int64 { func (o *ARVRController) GetIsActive() bool { log.Println("Calling ARVRController.GetIsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -301,17 +211,9 @@ func (o *ARVRController) GetIsActive() bool { func (o *ARVRController) GetJoystickAxis(axis int64) float64 { log.Println("Calling ARVRController.GetJoystickAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joystick_axis", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_joystick_axis", axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -322,16 +224,9 @@ func (o *ARVRController) GetJoystickAxis(axis int64) float64 { func (o *ARVRController) GetJoystickId() int64 { log.Println("Calling ARVRController.GetJoystickId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joystick_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_joystick_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -342,16 +237,9 @@ func (o *ARVRController) GetJoystickId() int64 { func (o *ARVRController) GetRumble() float64 { log.Println("Calling ARVRController.GetRumble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rumble", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rumble") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -362,17 +250,9 @@ func (o *ARVRController) GetRumble() float64 { func (o *ARVRController) IsButtonPressed(button int64) int64 { log.Println("Calling ARVRController.IsButtonPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(button) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_button_pressed", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "is_button_pressed", button) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -383,14 +263,7 @@ func (o *ARVRController) IsButtonPressed(button int64) int64 { func (o *ARVRController) SetControllerId(controllerId int64) { log.Println("Calling ARVRController.SetControllerId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(controllerId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_controller_id", goArguments, "") - + godotCallVoidInt(o, "set_controller_id", controllerId) log.Println(" Function successfully completed.") } @@ -401,14 +274,7 @@ func (o *ARVRController) SetControllerId(controllerId int64) { func (o *ARVRController) SetRumble(rumble float64) { log.Println("Calling ARVRController.SetRumble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rumble) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rumble", goArguments, "") - + godotCallVoidFloat(o, "set_rumble", rumble) log.Println(" Function successfully completed.") } @@ -437,16 +303,9 @@ func (o *ARVRInterface) baseClass() string { func (o *ARVRInterface) GetAnchorDetectionIsEnabled() bool { log.Println("Calling ARVRInterface.GetAnchorDetectionIsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anchor_detection_is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_anchor_detection_is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -457,16 +316,9 @@ func (o *ARVRInterface) GetAnchorDetectionIsEnabled() bool { func (o *ARVRInterface) GetCapabilities() int64 { log.Println("Calling ARVRInterface.GetCapabilities()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_capabilities", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_capabilities") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -477,16 +329,9 @@ func (o *ARVRInterface) GetCapabilities() int64 { func (o *ARVRInterface) GetName() string { log.Println("Calling ARVRInterface.GetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -497,16 +342,9 @@ func (o *ARVRInterface) GetName() string { func (o *ARVRInterface) GetRenderTargetsize() *Vector2 { log.Println("Calling ARVRInterface.GetRenderTargetsize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_render_targetsize", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_render_targetsize") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -517,16 +355,9 @@ func (o *ARVRInterface) GetRenderTargetsize() *Vector2 { func (o *ARVRInterface) GetTrackingStatus() int64 { log.Println("Calling ARVRInterface.GetTrackingStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracking_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tracking_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -537,16 +368,9 @@ func (o *ARVRInterface) GetTrackingStatus() int64 { func (o *ARVRInterface) Initialize() bool { log.Println("Calling ARVRInterface.Initialize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "initialize", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "initialize") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -557,16 +381,9 @@ func (o *ARVRInterface) Initialize() bool { func (o *ARVRInterface) IsInitialized() bool { log.Println("Calling ARVRInterface.IsInitialized()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_initialized", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_initialized") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -577,16 +394,9 @@ func (o *ARVRInterface) IsInitialized() bool { func (o *ARVRInterface) IsPrimary() bool { log.Println("Calling ARVRInterface.IsPrimary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_primary", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_primary") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -597,16 +407,9 @@ func (o *ARVRInterface) IsPrimary() bool { func (o *ARVRInterface) IsStereo() bool { log.Println("Calling ARVRInterface.IsStereo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_stereo", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_stereo") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -617,14 +420,7 @@ func (o *ARVRInterface) IsStereo() bool { func (o *ARVRInterface) SetAnchorDetectionIsEnabled(enable bool) { log.Println("Calling ARVRInterface.SetAnchorDetectionIsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchor_detection_is_enabled", goArguments, "") - + godotCallVoidBool(o, "set_anchor_detection_is_enabled", enable) log.Println(" Function successfully completed.") } @@ -635,14 +431,7 @@ func (o *ARVRInterface) SetAnchorDetectionIsEnabled(enable bool) { func (o *ARVRInterface) SetIsInitialized(initialized bool) { log.Println("Calling ARVRInterface.SetIsInitialized()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(initialized) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_is_initialized", goArguments, "") - + godotCallVoidBool(o, "set_is_initialized", initialized) log.Println(" Function successfully completed.") } @@ -653,14 +442,7 @@ func (o *ARVRInterface) SetIsInitialized(initialized bool) { func (o *ARVRInterface) SetIsPrimary(enable bool) { log.Println("Calling ARVRInterface.SetIsPrimary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_is_primary", goArguments, "") - + godotCallVoidBool(o, "set_is_primary", enable) log.Println(" Function successfully completed.") } @@ -671,13 +453,7 @@ func (o *ARVRInterface) SetIsPrimary(enable bool) { func (o *ARVRInterface) Uninitialize() { log.Println("Calling ARVRInterface.Uninitialize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "uninitialize", goArguments, "") - + godotCallVoid(o, "uninitialize") log.Println(" Function successfully completed.") } @@ -724,16 +500,9 @@ func (o *ARVROrigin) baseClass() string { func (o *ARVROrigin) GetWorldScale() float64 { log.Println("Calling ARVROrigin.GetWorldScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_world_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -744,14 +513,7 @@ func (o *ARVROrigin) GetWorldScale() float64 { func (o *ARVROrigin) SetWorldScale(worldScale float64) { log.Println("Calling ARVROrigin.SetWorldScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(worldScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_world_scale", goArguments, "") - + godotCallVoidFloat(o, "set_world_scale", worldScale) log.Println(" Function successfully completed.") } @@ -780,14 +542,7 @@ func (o *ARVRPositionalTracker) baseClass() string { func (o *ARVRPositionalTracker) X_SetJoyId(joyId int64) { log.Println("Calling ARVRPositionalTracker.X_SetJoyId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joyId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_joy_id", goArguments, "") - + godotCallVoidInt(o, "_set_joy_id", joyId) log.Println(" Function successfully completed.") } @@ -798,14 +553,7 @@ func (o *ARVRPositionalTracker) X_SetJoyId(joyId int64) { func (o *ARVRPositionalTracker) X_SetName(name string) { log.Println("Calling ARVRPositionalTracker.X_SetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_name", goArguments, "") - + godotCallVoidString(o, "_set_name", name) log.Println(" Function successfully completed.") } @@ -816,14 +564,7 @@ func (o *ARVRPositionalTracker) X_SetName(name string) { func (o *ARVRPositionalTracker) X_SetOrientation(orientation *Basis) { log.Println("Calling ARVRPositionalTracker.X_SetOrientation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(orientation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_orientation", goArguments, "") - + godotCallVoidBasis(o, "_set_orientation", orientation) log.Println(" Function successfully completed.") } @@ -834,14 +575,7 @@ func (o *ARVRPositionalTracker) X_SetOrientation(orientation *Basis) { func (o *ARVRPositionalTracker) X_SetRwPosition(rwPosition *Vector3) { log.Println("Calling ARVRPositionalTracker.X_SetRwPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rwPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_rw_position", goArguments, "") - + godotCallVoidVector3(o, "_set_rw_position", rwPosition) log.Println(" Function successfully completed.") } @@ -852,14 +586,7 @@ func (o *ARVRPositionalTracker) X_SetRwPosition(rwPosition *Vector3) { func (o *ARVRPositionalTracker) X_SetType(aType int64) { log.Println("Calling ARVRPositionalTracker.X_SetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_type", goArguments, "") - + godotCallVoidInt(o, "_set_type", aType) log.Println(" Function successfully completed.") } @@ -870,16 +597,9 @@ func (o *ARVRPositionalTracker) X_SetType(aType int64) { func (o *ARVRPositionalTracker) GetHand() int64 { log.Println("Calling ARVRPositionalTracker.GetHand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hand", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_hand") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -890,16 +610,9 @@ func (o *ARVRPositionalTracker) GetHand() int64 { func (o *ARVRPositionalTracker) GetJoyId() int64 { log.Println("Calling ARVRPositionalTracker.GetJoyId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_joy_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -910,16 +623,9 @@ func (o *ARVRPositionalTracker) GetJoyId() int64 { func (o *ARVRPositionalTracker) GetName() string { log.Println("Calling ARVRPositionalTracker.GetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -930,16 +636,9 @@ func (o *ARVRPositionalTracker) GetName() string { func (o *ARVRPositionalTracker) GetOrientation() *Basis { log.Println("Calling ARVRPositionalTracker.GetOrientation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_orientation", goArguments, "*Basis") - - returnValue := goRet.Interface().(*Basis) - + returnValue := godotCallBasis(o, "get_orientation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -950,16 +649,9 @@ func (o *ARVRPositionalTracker) GetOrientation() *Basis { func (o *ARVRPositionalTracker) GetPosition() *Vector3 { log.Println("Calling ARVRPositionalTracker.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -970,16 +662,9 @@ func (o *ARVRPositionalTracker) GetPosition() *Vector3 { func (o *ARVRPositionalTracker) GetRumble() float64 { log.Println("Calling ARVRPositionalTracker.GetRumble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rumble", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rumble") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -990,16 +675,9 @@ func (o *ARVRPositionalTracker) GetRumble() float64 { func (o *ARVRPositionalTracker) GetTracksOrientation() bool { log.Println("Calling ARVRPositionalTracker.GetTracksOrientation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracks_orientation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_tracks_orientation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1010,16 +688,9 @@ func (o *ARVRPositionalTracker) GetTracksOrientation() bool { func (o *ARVRPositionalTracker) GetTracksPosition() bool { log.Println("Calling ARVRPositionalTracker.GetTracksPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracks_position", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_tracks_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1030,17 +701,9 @@ func (o *ARVRPositionalTracker) GetTracksPosition() bool { func (o *ARVRPositionalTracker) GetTransform(adjustByReferenceFrame bool) *Transform { log.Println("Calling ARVRPositionalTracker.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(adjustByReferenceFrame) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformBool(o, "get_transform", adjustByReferenceFrame) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1051,16 +714,9 @@ func (o *ARVRPositionalTracker) GetTransform(adjustByReferenceFrame bool) *Trans func (o *ARVRPositionalTracker) GetType() int64 { log.Println("Calling ARVRPositionalTracker.GetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1071,14 +727,7 @@ func (o *ARVRPositionalTracker) GetType() int64 { func (o *ARVRPositionalTracker) SetRumble(rumble float64) { log.Println("Calling ARVRPositionalTracker.SetRumble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rumble) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rumble", goArguments, "") - + godotCallVoidFloat(o, "set_rumble", rumble) log.Println(" Function successfully completed.") } @@ -1092,7 +741,9 @@ type ARVRPositionalTrackerImplementer interface { func newSingletonARVRServer() *arvrServer { obj := &arvrServer{} - ptr := C.godot_global_get_singleton(C.CString("ARVRServer")) + name := C.CString("ARVRServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -1119,15 +770,7 @@ func (o *arvrServer) baseClass() string { func (o *arvrServer) CenterOnHmd(rotationMode int64, keepHeight bool) { log.Println("Calling ARVRServer.CenterOnHmd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(rotationMode) - goArguments[1] = reflect.ValueOf(keepHeight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "center_on_hmd", goArguments, "") - + godotCallVoidIntBool(o, "center_on_hmd", rotationMode, keepHeight) log.Println(" Function successfully completed.") } @@ -1138,18 +781,12 @@ func (o *arvrServer) CenterOnHmd(rotationMode int64, keepHeight bool) { func (o *arvrServer) FindInterface(name string) *ARVRInterface { log.Println("Calling ARVRServer.FindInterface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_interface", goArguments, "*ARVRInterface") - - returnValue := goRet.Interface().(*ARVRInterface) - + returnValue := godotCallObjectString(o, "find_interface", name) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ARVRInterface + ret.owner = returnValue.owner + return &ret } @@ -1159,18 +796,12 @@ func (o *arvrServer) FindInterface(name string) *ARVRInterface { func (o *arvrServer) GetInterface(idx int64) *ARVRInterface { log.Println("Calling ARVRServer.GetInterface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interface", goArguments, "*ARVRInterface") - - returnValue := goRet.Interface().(*ARVRInterface) - + returnValue := godotCallObjectInt(o, "get_interface", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ARVRInterface + ret.owner = returnValue.owner + return &ret } @@ -1180,16 +811,9 @@ func (o *arvrServer) GetInterface(idx int64) *ARVRInterface { func (o *arvrServer) GetInterfaceCount() int64 { log.Println("Calling ARVRServer.GetInterfaceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interface_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_interface_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1200,16 +824,9 @@ func (o *arvrServer) GetInterfaceCount() int64 { func (o *arvrServer) GetInterfaces() *Array { log.Println("Calling ARVRServer.GetInterfaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interfaces", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_interfaces") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1220,16 +837,9 @@ func (o *arvrServer) GetInterfaces() *Array { func (o *arvrServer) GetReferenceFrame() *Transform { log.Println("Calling ARVRServer.GetReferenceFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_reference_frame", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_reference_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1240,18 +850,12 @@ func (o *arvrServer) GetReferenceFrame() *Transform { func (o *arvrServer) GetTracker(idx int64) *ARVRPositionalTracker { log.Println("Calling ARVRServer.GetTracker()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracker", goArguments, "*ARVRPositionalTracker") - - returnValue := goRet.Interface().(*ARVRPositionalTracker) - + returnValue := godotCallObjectInt(o, "get_tracker", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ARVRPositionalTracker + ret.owner = returnValue.owner + return &ret } @@ -1261,16 +865,9 @@ func (o *arvrServer) GetTracker(idx int64) *ARVRPositionalTracker { func (o *arvrServer) GetTrackerCount() int64 { log.Println("Calling ARVRServer.GetTrackerCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracker_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tracker_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1281,16 +878,9 @@ func (o *arvrServer) GetTrackerCount() int64 { func (o *arvrServer) GetWorldScale() float64 { log.Println("Calling ARVRServer.GetWorldScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_world_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1301,14 +891,7 @@ func (o *arvrServer) GetWorldScale() float64 { func (o *arvrServer) SetPrimaryInterface(intrfce *ARVRInterface) { log.Println("Calling ARVRServer.SetPrimaryInterface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intrfce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_primary_interface", goArguments, "") - + godotCallVoidObject(o, "set_primary_interface", &intrfce.Object) log.Println(" Function successfully completed.") } @@ -1319,14 +902,7 @@ func (o *arvrServer) SetPrimaryInterface(intrfce *ARVRInterface) { func (o *arvrServer) SetWorldScale(arg0 float64) { log.Println("Calling ARVRServer.SetWorldScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_world_scale", goArguments, "") - + godotCallVoidFloat(o, "set_world_scale", arg0) log.Println(" Function successfully completed.") } @@ -1348,18 +924,9 @@ func (o *AStar) baseClass() string { func (o *AStar) X_ComputeCost(fromId int64, toId int64) float64 { log.Println("Calling AStar.X_ComputeCost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromId) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_compute_cost", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "_compute_cost", fromId, toId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1370,18 +937,9 @@ func (o *AStar) X_ComputeCost(fromId int64, toId int64) float64 { func (o *AStar) X_EstimateCost(fromId int64, toId int64) float64 { log.Println("Calling AStar.X_EstimateCost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromId) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_estimate_cost", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "_estimate_cost", fromId, toId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1392,16 +950,7 @@ func (o *AStar) X_EstimateCost(fromId int64, toId int64) float64 { func (o *AStar) AddPoint(id int64, position *Vector3, weightScale float64) { log.Println("Calling AStar.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(weightScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_point", goArguments, "") - + godotCallVoidIntVector3Float(o, "add_point", id, position, weightScale) log.Println(" Function successfully completed.") } @@ -1412,18 +961,9 @@ func (o *AStar) AddPoint(id int64, position *Vector3, weightScale float64) { func (o *AStar) ArePointsConnected(id int64, toId int64) bool { log.Println("Calling AStar.ArePointsConnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "are_points_connected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "are_points_connected", id, toId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1434,13 +974,7 @@ func (o *AStar) ArePointsConnected(id int64, toId int64) bool { func (o *AStar) Clear() { log.Println("Calling AStar.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -1451,16 +985,7 @@ func (o *AStar) Clear() { func (o *AStar) ConnectPoints(id int64, toId int64, bidirectional bool) { log.Println("Calling AStar.ConnectPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(toId) - goArguments[2] = reflect.ValueOf(bidirectional) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "connect_points", goArguments, "") - + godotCallVoidIntIntBool(o, "connect_points", id, toId, bidirectional) log.Println(" Function successfully completed.") } @@ -1471,15 +996,7 @@ func (o *AStar) ConnectPoints(id int64, toId int64, bidirectional bool) { func (o *AStar) DisconnectPoints(id int64, toId int64) { log.Println("Calling AStar.DisconnectPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect_points", goArguments, "") - + godotCallVoidIntInt(o, "disconnect_points", id, toId) log.Println(" Function successfully completed.") } @@ -1490,16 +1007,9 @@ func (o *AStar) DisconnectPoints(id int64, toId int64) { func (o *AStar) GetAvailablePointId() int64 { log.Println("Calling AStar.GetAvailablePointId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_available_point_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_available_point_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1510,17 +1020,9 @@ func (o *AStar) GetAvailablePointId() int64 { func (o *AStar) GetClosestPoint(toPosition *Vector3) int64 { log.Println("Calling AStar.GetClosestPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector3(o, "get_closest_point", toPosition) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1531,17 +1033,9 @@ func (o *AStar) GetClosestPoint(toPosition *Vector3) int64 { func (o *AStar) GetClosestPositionInSegment(toPosition *Vector3) *Vector3 { log.Println("Calling AStar.GetClosestPositionInSegment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_position_in_segment", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "get_closest_position_in_segment", toPosition) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1552,18 +1046,9 @@ func (o *AStar) GetClosestPositionInSegment(toPosition *Vector3) *Vector3 { func (o *AStar) GetIdPath(fromId int64, toId int64) *PoolIntArray { log.Println("Calling AStar.GetIdPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromId) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_id_path", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayIntInt(o, "get_id_path", fromId, toId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1574,17 +1059,9 @@ func (o *AStar) GetIdPath(fromId int64, toId int64) *PoolIntArray { func (o *AStar) GetPointConnections(id int64) *PoolIntArray { log.Println("Calling AStar.GetPointConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_connections", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_point_connections", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1595,18 +1072,9 @@ func (o *AStar) GetPointConnections(id int64) *PoolIntArray { func (o *AStar) GetPointPath(fromId int64, toId int64) *PoolVector3Array { log.Println("Calling AStar.GetPointPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromId) - goArguments[1] = reflect.ValueOf(toId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_path", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3ArrayIntInt(o, "get_point_path", fromId, toId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1617,17 +1085,9 @@ func (o *AStar) GetPointPath(fromId int64, toId int64) *PoolVector3Array { func (o *AStar) GetPointPosition(id int64) *Vector3 { log.Println("Calling AStar.GetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_point_position", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1638,17 +1098,9 @@ func (o *AStar) GetPointPosition(id int64) *Vector3 { func (o *AStar) GetPointWeightScale(id int64) float64 { log.Println("Calling AStar.GetPointWeightScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_weight_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_point_weight_scale", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1659,16 +1111,9 @@ func (o *AStar) GetPointWeightScale(id int64) float64 { func (o *AStar) GetPoints() *Array { log.Println("Calling AStar.GetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_points", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1679,17 +1124,9 @@ func (o *AStar) GetPoints() *Array { func (o *AStar) HasPoint(id int64) bool { log.Println("Calling AStar.HasPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_point", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "has_point", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1700,14 +1137,7 @@ func (o *AStar) HasPoint(id int64) bool { func (o *AStar) RemovePoint(id int64) { log.Println("Calling AStar.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", id) log.Println(" Function successfully completed.") } @@ -1718,15 +1148,7 @@ func (o *AStar) RemovePoint(id int64) { func (o *AStar) SetPointPosition(id int64, position *Vector3) { log.Println("Calling AStar.SetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_position", goArguments, "") - + godotCallVoidIntVector3(o, "set_point_position", id, position) log.Println(" Function successfully completed.") } @@ -1737,15 +1159,7 @@ func (o *AStar) SetPointPosition(id int64, position *Vector3) { func (o *AStar) SetPointWeightScale(id int64, weightScale float64) { log.Println("Calling AStar.SetPointWeightScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(weightScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_weight_scale", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_weight_scale", id, weightScale) log.Println(" Function successfully completed.") } @@ -1774,14 +1188,7 @@ func (o *AcceptDialog) baseClass() string { func (o *AcceptDialog) X_BuiltinTextEntered(arg0 string) { log.Println("Calling AcceptDialog.X_BuiltinTextEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_builtin_text_entered", goArguments, "") - + godotCallVoidString(o, "_builtin_text_entered", arg0) log.Println(" Function successfully completed.") } @@ -1792,14 +1199,7 @@ func (o *AcceptDialog) X_BuiltinTextEntered(arg0 string) { func (o *AcceptDialog) X_CustomAction(arg0 string) { log.Println("Calling AcceptDialog.X_CustomAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_custom_action", goArguments, "") - + godotCallVoidString(o, "_custom_action", arg0) log.Println(" Function successfully completed.") } @@ -1810,13 +1210,7 @@ func (o *AcceptDialog) X_CustomAction(arg0 string) { func (o *AcceptDialog) X_Ok() { log.Println("Calling AcceptDialog.X_Ok()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_ok", goArguments, "") - + godotCallVoid(o, "_ok") log.Println(" Function successfully completed.") } @@ -1827,20 +1221,12 @@ func (o *AcceptDialog) X_Ok() { func (o *AcceptDialog) AddButton(text string, right bool, action string) *Button { log.Println("Calling AcceptDialog.AddButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(text) - goArguments[1] = reflect.ValueOf(right) - goArguments[2] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_button", goArguments, "*Button") - - returnValue := goRet.Interface().(*Button) - + returnValue := godotCallObjectStringBoolString(o, "add_button", text, right, action) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Button + ret.owner = returnValue.owner + return &ret } @@ -1850,18 +1236,12 @@ func (o *AcceptDialog) AddButton(text string, right bool, action string) *Button func (o *AcceptDialog) AddCancel(name string) *Button { log.Println("Calling AcceptDialog.AddCancel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_cancel", goArguments, "*Button") - - returnValue := goRet.Interface().(*Button) - + returnValue := godotCallObjectString(o, "add_cancel", name) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Button + ret.owner = returnValue.owner + return &ret } @@ -1871,16 +1251,9 @@ func (o *AcceptDialog) AddCancel(name string) *Button { func (o *AcceptDialog) GetHideOnOk() bool { log.Println("Calling AcceptDialog.GetHideOnOk()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hide_on_ok", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_hide_on_ok") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1891,17 +1264,12 @@ func (o *AcceptDialog) GetHideOnOk() bool { func (o *AcceptDialog) GetLabel() *Label { log.Println("Calling AcceptDialog.GetLabel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_label", goArguments, "*Label") - - returnValue := goRet.Interface().(*Label) - + returnValue := godotCallObject(o, "get_label") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Label + ret.owner = returnValue.owner + return &ret } @@ -1911,17 +1279,12 @@ func (o *AcceptDialog) GetLabel() *Label { func (o *AcceptDialog) GetOk() *Button { log.Println("Calling AcceptDialog.GetOk()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ok", goArguments, "*Button") - - returnValue := goRet.Interface().(*Button) - + returnValue := godotCallObject(o, "get_ok") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Button + ret.owner = returnValue.owner + return &ret } @@ -1931,16 +1294,9 @@ func (o *AcceptDialog) GetOk() *Button { func (o *AcceptDialog) GetText() string { log.Println("Calling AcceptDialog.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -1951,14 +1307,7 @@ func (o *AcceptDialog) GetText() string { func (o *AcceptDialog) RegisterTextEnter(lineEdit *Object) { log.Println("Calling AcceptDialog.RegisterTextEnter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lineEdit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "register_text_enter", goArguments, "") - + godotCallVoidObject(o, "register_text_enter", lineEdit) log.Println(" Function successfully completed.") } @@ -1969,14 +1318,7 @@ func (o *AcceptDialog) RegisterTextEnter(lineEdit *Object) { func (o *AcceptDialog) SetHideOnOk(enabled bool) { log.Println("Calling AcceptDialog.SetHideOnOk()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_on_ok", goArguments, "") - + godotCallVoidBool(o, "set_hide_on_ok", enabled) log.Println(" Function successfully completed.") } @@ -1987,14 +1329,7 @@ func (o *AcceptDialog) SetHideOnOk(enabled bool) { func (o *AcceptDialog) SetText(text string) { log.Println("Calling AcceptDialog.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -2023,16 +1358,9 @@ func (o *AnimatedSprite) baseClass() string { func (o *AnimatedSprite) X_IsPlaying() bool { log.Println("Calling AnimatedSprite.X_IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2043,13 +1371,7 @@ func (o *AnimatedSprite) X_IsPlaying() bool { func (o *AnimatedSprite) X_ResChanged() { log.Println("Calling AnimatedSprite.X_ResChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_res_changed", goArguments, "") - + godotCallVoid(o, "_res_changed") log.Println(" Function successfully completed.") } @@ -2060,14 +1382,7 @@ func (o *AnimatedSprite) X_ResChanged() { func (o *AnimatedSprite) X_SetPlaying(playing bool) { log.Println("Calling AnimatedSprite.X_SetPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(playing) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_playing", goArguments, "") - + godotCallVoidBool(o, "_set_playing", playing) log.Println(" Function successfully completed.") } @@ -2078,16 +1393,9 @@ func (o *AnimatedSprite) X_SetPlaying(playing bool) { func (o *AnimatedSprite) GetAnimation() string { log.Println("Calling AnimatedSprite.GetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_animation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2098,16 +1406,9 @@ func (o *AnimatedSprite) GetAnimation() string { func (o *AnimatedSprite) GetFrame() int64 { log.Println("Calling AnimatedSprite.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2118,16 +1419,9 @@ func (o *AnimatedSprite) GetFrame() int64 { func (o *AnimatedSprite) GetOffset() *Vector2 { log.Println("Calling AnimatedSprite.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2138,17 +1432,12 @@ func (o *AnimatedSprite) GetOffset() *Vector2 { func (o *AnimatedSprite) GetSpriteFrames() *SpriteFrames { log.Println("Calling AnimatedSprite.GetSpriteFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sprite_frames", goArguments, "*SpriteFrames") - - returnValue := goRet.Interface().(*SpriteFrames) - + returnValue := godotCallObject(o, "get_sprite_frames") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SpriteFrames + ret.owner = returnValue.owner + return &ret } @@ -2158,16 +1447,9 @@ func (o *AnimatedSprite) GetSpriteFrames() *SpriteFrames { func (o *AnimatedSprite) IsCentered() bool { log.Println("Calling AnimatedSprite.IsCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_centered", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_centered") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2178,16 +1460,9 @@ func (o *AnimatedSprite) IsCentered() bool { func (o *AnimatedSprite) IsFlippedH() bool { log.Println("Calling AnimatedSprite.IsFlippedH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_h", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_h") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2198,16 +1473,9 @@ func (o *AnimatedSprite) IsFlippedH() bool { func (o *AnimatedSprite) IsFlippedV() bool { log.Println("Calling AnimatedSprite.IsFlippedV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_v", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_v") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2218,16 +1486,9 @@ func (o *AnimatedSprite) IsFlippedV() bool { func (o *AnimatedSprite) IsPlaying() bool { log.Println("Calling AnimatedSprite.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2238,14 +1499,7 @@ func (o *AnimatedSprite) IsPlaying() bool { func (o *AnimatedSprite) Play(anim string) { log.Println("Calling AnimatedSprite.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidString(o, "play", anim) log.Println(" Function successfully completed.") } @@ -2256,14 +1510,7 @@ func (o *AnimatedSprite) Play(anim string) { func (o *AnimatedSprite) SetAnimation(animation string) { log.Println("Calling AnimatedSprite.SetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(animation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation", goArguments, "") - + godotCallVoidString(o, "set_animation", animation) log.Println(" Function successfully completed.") } @@ -2274,14 +1521,7 @@ func (o *AnimatedSprite) SetAnimation(animation string) { func (o *AnimatedSprite) SetCentered(centered bool) { log.Println("Calling AnimatedSprite.SetCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(centered) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_centered", goArguments, "") - + godotCallVoidBool(o, "set_centered", centered) log.Println(" Function successfully completed.") } @@ -2292,14 +1532,7 @@ func (o *AnimatedSprite) SetCentered(centered bool) { func (o *AnimatedSprite) SetFlipH(flipH bool) { log.Println("Calling AnimatedSprite.SetFlipH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipH) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_h", goArguments, "") - + godotCallVoidBool(o, "set_flip_h", flipH) log.Println(" Function successfully completed.") } @@ -2310,14 +1543,7 @@ func (o *AnimatedSprite) SetFlipH(flipH bool) { func (o *AnimatedSprite) SetFlipV(flipV bool) { log.Println("Calling AnimatedSprite.SetFlipV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipV) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_v", goArguments, "") - + godotCallVoidBool(o, "set_flip_v", flipV) log.Println(" Function successfully completed.") } @@ -2328,14 +1554,7 @@ func (o *AnimatedSprite) SetFlipV(flipV bool) { func (o *AnimatedSprite) SetFrame(frame int64) { log.Println("Calling AnimatedSprite.SetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frame) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame", goArguments, "") - + godotCallVoidInt(o, "set_frame", frame) log.Println(" Function successfully completed.") } @@ -2346,14 +1565,7 @@ func (o *AnimatedSprite) SetFrame(frame int64) { func (o *AnimatedSprite) SetOffset(offset *Vector2) { log.Println("Calling AnimatedSprite.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -2364,14 +1576,7 @@ func (o *AnimatedSprite) SetOffset(offset *Vector2) { func (o *AnimatedSprite) SetSpriteFrames(spriteFrames *SpriteFrames) { log.Println("Calling AnimatedSprite.SetSpriteFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(spriteFrames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sprite_frames", goArguments, "") - + godotCallVoidObject(o, "set_sprite_frames", &spriteFrames.Object) log.Println(" Function successfully completed.") } @@ -2382,13 +1587,7 @@ func (o *AnimatedSprite) SetSpriteFrames(spriteFrames *SpriteFrames) { func (o *AnimatedSprite) Stop() { log.Println("Calling AnimatedSprite.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -2417,16 +1616,9 @@ func (o *AnimatedSprite3D) baseClass() string { func (o *AnimatedSprite3D) X_IsPlaying() bool { log.Println("Calling AnimatedSprite3D.X_IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2437,13 +1629,7 @@ func (o *AnimatedSprite3D) X_IsPlaying() bool { func (o *AnimatedSprite3D) X_ResChanged() { log.Println("Calling AnimatedSprite3D.X_ResChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_res_changed", goArguments, "") - + godotCallVoid(o, "_res_changed") log.Println(" Function successfully completed.") } @@ -2454,14 +1640,7 @@ func (o *AnimatedSprite3D) X_ResChanged() { func (o *AnimatedSprite3D) X_SetPlaying(playing bool) { log.Println("Calling AnimatedSprite3D.X_SetPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(playing) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_playing", goArguments, "") - + godotCallVoidBool(o, "_set_playing", playing) log.Println(" Function successfully completed.") } @@ -2472,16 +1651,9 @@ func (o *AnimatedSprite3D) X_SetPlaying(playing bool) { func (o *AnimatedSprite3D) GetAnimation() string { log.Println("Calling AnimatedSprite3D.GetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_animation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2492,16 +1664,9 @@ func (o *AnimatedSprite3D) GetAnimation() string { func (o *AnimatedSprite3D) GetFrame() int64 { log.Println("Calling AnimatedSprite3D.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2512,17 +1677,12 @@ func (o *AnimatedSprite3D) GetFrame() int64 { func (o *AnimatedSprite3D) GetSpriteFrames() *SpriteFrames { log.Println("Calling AnimatedSprite3D.GetSpriteFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sprite_frames", goArguments, "*SpriteFrames") - - returnValue := goRet.Interface().(*SpriteFrames) - + returnValue := godotCallObject(o, "get_sprite_frames") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SpriteFrames + ret.owner = returnValue.owner + return &ret } @@ -2532,16 +1692,9 @@ func (o *AnimatedSprite3D) GetSpriteFrames() *SpriteFrames { func (o *AnimatedSprite3D) IsPlaying() bool { log.Println("Calling AnimatedSprite3D.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2552,14 +1705,7 @@ func (o *AnimatedSprite3D) IsPlaying() bool { func (o *AnimatedSprite3D) Play(anim string) { log.Println("Calling AnimatedSprite3D.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidString(o, "play", anim) log.Println(" Function successfully completed.") } @@ -2570,14 +1716,7 @@ func (o *AnimatedSprite3D) Play(anim string) { func (o *AnimatedSprite3D) SetAnimation(animation string) { log.Println("Calling AnimatedSprite3D.SetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(animation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation", goArguments, "") - + godotCallVoidString(o, "set_animation", animation) log.Println(" Function successfully completed.") } @@ -2588,14 +1727,7 @@ func (o *AnimatedSprite3D) SetAnimation(animation string) { func (o *AnimatedSprite3D) SetFrame(frame int64) { log.Println("Calling AnimatedSprite3D.SetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frame) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame", goArguments, "") - + godotCallVoidInt(o, "set_frame", frame) log.Println(" Function successfully completed.") } @@ -2606,14 +1738,7 @@ func (o *AnimatedSprite3D) SetFrame(frame int64) { func (o *AnimatedSprite3D) SetSpriteFrames(spriteFrames *SpriteFrames) { log.Println("Calling AnimatedSprite3D.SetSpriteFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(spriteFrames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sprite_frames", goArguments, "") - + godotCallVoidObject(o, "set_sprite_frames", &spriteFrames.Object) log.Println(" Function successfully completed.") } @@ -2624,13 +1749,7 @@ func (o *AnimatedSprite3D) SetSpriteFrames(spriteFrames *SpriteFrames) { func (o *AnimatedSprite3D) Stop() { log.Println("Calling AnimatedSprite3D.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -2659,18 +1778,9 @@ func (o *Animation) baseClass() string { func (o *Animation) AddTrack(aType int64, atPosition int64) int64 { log.Println("Calling Animation.AddTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(aType) - goArguments[1] = reflect.ValueOf(atPosition) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_track", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "add_track", aType, atPosition) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2681,13 +1791,7 @@ func (o *Animation) AddTrack(aType int64, atPosition int64) int64 { func (o *Animation) Clear() { log.Println("Calling Animation.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -2698,15 +1802,7 @@ func (o *Animation) Clear() { func (o *Animation) CopyTrack(track int64, toAnimation *Animation) { log.Println("Calling Animation.CopyTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(track) - goArguments[1] = reflect.ValueOf(toAnimation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "copy_track", goArguments, "") - + godotCallVoidIntObject(o, "copy_track", track, &toAnimation.Object) log.Println(" Function successfully completed.") } @@ -2717,17 +1813,9 @@ func (o *Animation) CopyTrack(track int64, toAnimation *Animation) { func (o *Animation) FindTrack(path *NodePath) int64 { log.Println("Calling Animation.FindTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_track", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntNodePath(o, "find_track", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2738,16 +1826,9 @@ func (o *Animation) FindTrack(path *NodePath) int64 { func (o *Animation) GetLength() float64 { log.Println("Calling Animation.GetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2758,16 +1839,9 @@ func (o *Animation) GetLength() float64 { func (o *Animation) GetStep() float64 { log.Println("Calling Animation.GetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_step", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2778,16 +1852,9 @@ func (o *Animation) GetStep() float64 { func (o *Animation) GetTrackCount() int64 { log.Println("Calling Animation.GetTrackCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_track_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_track_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2798,16 +1865,9 @@ func (o *Animation) GetTrackCount() int64 { func (o *Animation) HasLoop() bool { log.Println("Calling Animation.HasLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_loop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_loop") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2818,19 +1878,9 @@ func (o *Animation) HasLoop() bool { func (o *Animation) MethodTrackGetKeyIndices(idx int64, timeSec float64, delta float64) *PoolIntArray { log.Println("Calling Animation.MethodTrackGetKeyIndices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(timeSec) - goArguments[2] = reflect.ValueOf(delta) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "method_track_get_key_indices", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayIntFloatFloat(o, "method_track_get_key_indices", idx, timeSec, delta) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2841,18 +1891,9 @@ func (o *Animation) MethodTrackGetKeyIndices(idx int64, timeSec float64, delta f func (o *Animation) MethodTrackGetName(idx int64, keyIdx int64) string { log.Println("Calling Animation.MethodTrackGetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "method_track_get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringIntInt(o, "method_track_get_name", idx, keyIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2863,18 +1904,9 @@ func (o *Animation) MethodTrackGetName(idx int64, keyIdx int64) string { func (o *Animation) MethodTrackGetParams(idx int64, keyIdx int64) *Array { log.Println("Calling Animation.MethodTrackGetParams()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "method_track_get_params", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayIntInt(o, "method_track_get_params", idx, keyIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2885,14 +1917,7 @@ func (o *Animation) MethodTrackGetParams(idx int64, keyIdx int64) *Array { func (o *Animation) RemoveTrack(idx int64) { log.Println("Calling Animation.RemoveTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_track", goArguments, "") - + godotCallVoidInt(o, "remove_track", idx) log.Println(" Function successfully completed.") } @@ -2903,14 +1928,7 @@ func (o *Animation) RemoveTrack(idx int64) { func (o *Animation) SetLength(timeSec float64) { log.Println("Calling Animation.SetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(timeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_length", goArguments, "") - + godotCallVoidFloat(o, "set_length", timeSec) log.Println(" Function successfully completed.") } @@ -2921,14 +1939,7 @@ func (o *Animation) SetLength(timeSec float64) { func (o *Animation) SetLoop(enabled bool) { log.Println("Calling Animation.SetLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop", goArguments, "") - + godotCallVoidBool(o, "set_loop", enabled) log.Println(" Function successfully completed.") } @@ -2939,14 +1950,7 @@ func (o *Animation) SetLoop(enabled bool) { func (o *Animation) SetStep(sizeSec float64) { log.Println("Calling Animation.SetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sizeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_step", goArguments, "") - + godotCallVoidFloat(o, "set_step", sizeSec) log.Println(" Function successfully completed.") } @@ -2957,19 +1961,9 @@ func (o *Animation) SetStep(sizeSec float64) { func (o *Animation) TrackFindKey(idx int64, time float64, exact bool) int64 { log.Println("Calling Animation.TrackFindKey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(time) - goArguments[2] = reflect.ValueOf(exact) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_find_key", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntFloatBool(o, "track_find_key", idx, time, exact) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -2980,17 +1974,9 @@ func (o *Animation) TrackFindKey(idx int64, time float64, exact bool) int64 { func (o *Animation) TrackGetInterpolationLoopWrap(idx int64) bool { log.Println("Calling Animation.TrackGetInterpolationLoopWrap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_interpolation_loop_wrap", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "track_get_interpolation_loop_wrap", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3001,17 +1987,9 @@ func (o *Animation) TrackGetInterpolationLoopWrap(idx int64) bool { func (o *Animation) TrackGetInterpolationType(idx int64) int64 { log.Println("Calling Animation.TrackGetInterpolationType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_interpolation_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "track_get_interpolation_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3022,17 +2000,9 @@ func (o *Animation) TrackGetInterpolationType(idx int64) int64 { func (o *Animation) TrackGetKeyCount(idx int64) int64 { log.Println("Calling Animation.TrackGetKeyCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_key_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "track_get_key_count", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3043,18 +2013,9 @@ func (o *Animation) TrackGetKeyCount(idx int64) int64 { func (o *Animation) TrackGetKeyTime(idx int64, keyIdx int64) float64 { log.Println("Calling Animation.TrackGetKeyTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_key_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "track_get_key_time", idx, keyIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3065,18 +2026,9 @@ func (o *Animation) TrackGetKeyTime(idx int64, keyIdx int64) float64 { func (o *Animation) TrackGetKeyTransition(idx int64, keyIdx int64) float64 { log.Println("Calling Animation.TrackGetKeyTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_key_transition", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "track_get_key_transition", idx, keyIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3087,18 +2039,9 @@ func (o *Animation) TrackGetKeyTransition(idx int64, keyIdx int64) float64 { func (o *Animation) TrackGetKeyValue(idx int64, keyIdx int64) *Variant { log.Println("Calling Animation.TrackGetKeyValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_key_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantIntInt(o, "track_get_key_value", idx, keyIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3109,17 +2052,9 @@ func (o *Animation) TrackGetKeyValue(idx int64, keyIdx int64) *Variant { func (o *Animation) TrackGetPath(idx int64) *NodePath { log.Println("Calling Animation.TrackGetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "track_get_path", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3130,17 +2065,9 @@ func (o *Animation) TrackGetPath(idx int64) *NodePath { func (o *Animation) TrackGetType(idx int64) int64 { log.Println("Calling Animation.TrackGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "track_get_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3151,17 +2078,7 @@ func (o *Animation) TrackGetType(idx int64) int64 { func (o *Animation) TrackInsertKey(idx int64, time float64, key *Variant, transition float64) { log.Println("Calling Animation.TrackInsertKey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(time) - goArguments[2] = reflect.ValueOf(key) - goArguments[3] = reflect.ValueOf(transition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_insert_key", goArguments, "") - + godotCallVoidIntFloatVariantFloat(o, "track_insert_key", idx, time, key, transition) log.Println(" Function successfully completed.") } @@ -3172,17 +2089,9 @@ func (o *Animation) TrackInsertKey(idx int64, time float64, key *Variant, transi func (o *Animation) TrackIsEnabled(idx int64) bool { log.Println("Calling Animation.TrackIsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "track_is_enabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3193,17 +2102,9 @@ func (o *Animation) TrackIsEnabled(idx int64) bool { func (o *Animation) TrackIsImported(idx int64) bool { log.Println("Calling Animation.TrackIsImported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "track_is_imported", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "track_is_imported", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3214,14 +2115,7 @@ func (o *Animation) TrackIsImported(idx int64) bool { func (o *Animation) TrackMoveDown(idx int64) { log.Println("Calling Animation.TrackMoveDown()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_move_down", goArguments, "") - + godotCallVoidInt(o, "track_move_down", idx) log.Println(" Function successfully completed.") } @@ -3232,14 +2126,7 @@ func (o *Animation) TrackMoveDown(idx int64) { func (o *Animation) TrackMoveUp(idx int64) { log.Println("Calling Animation.TrackMoveUp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_move_up", goArguments, "") - + godotCallVoidInt(o, "track_move_up", idx) log.Println(" Function successfully completed.") } @@ -3250,15 +2137,7 @@ func (o *Animation) TrackMoveUp(idx int64) { func (o *Animation) TrackRemoveKey(idx int64, keyIdx int64) { log.Println("Calling Animation.TrackRemoveKey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_remove_key", goArguments, "") - + godotCallVoidIntInt(o, "track_remove_key", idx, keyIdx) log.Println(" Function successfully completed.") } @@ -3269,15 +2148,7 @@ func (o *Animation) TrackRemoveKey(idx int64, keyIdx int64) { func (o *Animation) TrackRemoveKeyAtPosition(idx int64, position float64) { log.Println("Calling Animation.TrackRemoveKeyAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_remove_key_at_position", goArguments, "") - + godotCallVoidIntFloat(o, "track_remove_key_at_position", idx, position) log.Println(" Function successfully completed.") } @@ -3288,15 +2159,7 @@ func (o *Animation) TrackRemoveKeyAtPosition(idx int64, position float64) { func (o *Animation) TrackSetEnabled(idx int64, enabled bool) { log.Println("Calling Animation.TrackSetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_enabled", goArguments, "") - + godotCallVoidIntBool(o, "track_set_enabled", idx, enabled) log.Println(" Function successfully completed.") } @@ -3307,15 +2170,7 @@ func (o *Animation) TrackSetEnabled(idx int64, enabled bool) { func (o *Animation) TrackSetImported(idx int64, imported bool) { log.Println("Calling Animation.TrackSetImported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(imported) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_imported", goArguments, "") - + godotCallVoidIntBool(o, "track_set_imported", idx, imported) log.Println(" Function successfully completed.") } @@ -3326,15 +2181,7 @@ func (o *Animation) TrackSetImported(idx int64, imported bool) { func (o *Animation) TrackSetInterpolationLoopWrap(idx int64, interpolation bool) { log.Println("Calling Animation.TrackSetInterpolationLoopWrap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(interpolation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_interpolation_loop_wrap", goArguments, "") - + godotCallVoidIntBool(o, "track_set_interpolation_loop_wrap", idx, interpolation) log.Println(" Function successfully completed.") } @@ -3345,15 +2192,7 @@ func (o *Animation) TrackSetInterpolationLoopWrap(idx int64, interpolation bool) func (o *Animation) TrackSetInterpolationType(idx int64, interpolation int64) { log.Println("Calling Animation.TrackSetInterpolationType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(interpolation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_interpolation_type", goArguments, "") - + godotCallVoidIntInt(o, "track_set_interpolation_type", idx, interpolation) log.Println(" Function successfully completed.") } @@ -3364,16 +2203,7 @@ func (o *Animation) TrackSetInterpolationType(idx int64, interpolation int64) { func (o *Animation) TrackSetKeyTransition(idx int64, keyIdx int64, transition float64) { log.Println("Calling Animation.TrackSetKeyTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(keyIdx) - goArguments[2] = reflect.ValueOf(transition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_key_transition", goArguments, "") - + godotCallVoidIntIntFloat(o, "track_set_key_transition", idx, keyIdx, transition) log.Println(" Function successfully completed.") } @@ -3384,16 +2214,7 @@ func (o *Animation) TrackSetKeyTransition(idx int64, keyIdx int64, transition fl func (o *Animation) TrackSetKeyValue(idx int64, key int64, value *Variant) { log.Println("Calling Animation.TrackSetKeyValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(key) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_key_value", goArguments, "") - + godotCallVoidIntIntVariant(o, "track_set_key_value", idx, key, value) log.Println(" Function successfully completed.") } @@ -3404,15 +2225,7 @@ func (o *Animation) TrackSetKeyValue(idx int64, key int64, value *Variant) { func (o *Animation) TrackSetPath(idx int64, path *NodePath) { log.Println("Calling Animation.TrackSetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "track_set_path", goArguments, "") - + godotCallVoidIntNodePath(o, "track_set_path", idx, path) log.Println(" Function successfully completed.") } @@ -3423,21 +2236,9 @@ func (o *Animation) TrackSetPath(idx int64, path *NodePath) { func (o *Animation) TransformTrackInsertKey(idx int64, time float64, location *Vector3, rotation *Quat, scale *Vector3) int64 { log.Println("Calling Animation.TransformTrackInsertKey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(time) - goArguments[2] = reflect.ValueOf(location) - goArguments[3] = reflect.ValueOf(rotation) - goArguments[4] = reflect.ValueOf(scale) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transform_track_insert_key", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntFloatVector3QuatVector3(o, "transform_track_insert_key", idx, time, location, rotation, scale) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3448,18 +2249,9 @@ func (o *Animation) TransformTrackInsertKey(idx int64, time float64, location *V func (o *Animation) TransformTrackInterpolate(idx int64, timeSec float64) *Array { log.Println("Calling Animation.TransformTrackInterpolate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(timeSec) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transform_track_interpolate", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayIntFloat(o, "transform_track_interpolate", idx, timeSec) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3470,19 +2262,9 @@ func (o *Animation) TransformTrackInterpolate(idx int64, timeSec float64) *Array func (o *Animation) ValueTrackGetKeyIndices(idx int64, timeSec float64, delta float64) *PoolIntArray { log.Println("Calling Animation.ValueTrackGetKeyIndices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(timeSec) - goArguments[2] = reflect.ValueOf(delta) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "value_track_get_key_indices", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayIntFloatFloat(o, "value_track_get_key_indices", idx, timeSec, delta) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3493,17 +2275,9 @@ func (o *Animation) ValueTrackGetKeyIndices(idx int64, timeSec float64, delta fl func (o *Animation) ValueTrackGetUpdateMode(idx int64) int64 { log.Println("Calling Animation.ValueTrackGetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "value_track_get_update_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "value_track_get_update_mode", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3514,15 +2288,7 @@ func (o *Animation) ValueTrackGetUpdateMode(idx int64) int64 { func (o *Animation) ValueTrackSetUpdateMode(idx int64, mode int64) { log.Println("Calling Animation.ValueTrackSetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "value_track_set_update_mode", goArguments, "") - + godotCallVoidIntInt(o, "value_track_set_update_mode", idx, mode) log.Println(" Function successfully completed.") } @@ -3551,13 +2317,7 @@ func (o *AnimationPlayer) baseClass() string { func (o *AnimationPlayer) X_AnimationChanged() { log.Println("Calling AnimationPlayer.X_AnimationChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_animation_changed", goArguments, "") - + godotCallVoid(o, "_animation_changed") log.Println(" Function successfully completed.") } @@ -3568,14 +2328,7 @@ func (o *AnimationPlayer) X_AnimationChanged() { func (o *AnimationPlayer) X_NodeRemoved(arg0 *Object) { log.Println("Calling AnimationPlayer.X_NodeRemoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_node_removed", goArguments, "") - + godotCallVoidObject(o, "_node_removed", arg0) log.Println(" Function successfully completed.") } @@ -3586,18 +2339,9 @@ func (o *AnimationPlayer) X_NodeRemoved(arg0 *Object) { func (o *AnimationPlayer) AddAnimation(name string, animation *Animation) int64 { log.Println("Calling AnimationPlayer.AddAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(animation) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_animation", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringObject(o, "add_animation", name, &animation.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3608,14 +2352,7 @@ func (o *AnimationPlayer) AddAnimation(name string, animation *Animation) int64 func (o *AnimationPlayer) Advance(delta float64) { log.Println("Calling AnimationPlayer.Advance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "advance", goArguments, "") - + godotCallVoidFloat(o, "advance", delta) log.Println(" Function successfully completed.") } @@ -3626,17 +2363,9 @@ func (o *AnimationPlayer) Advance(delta float64) { func (o *AnimationPlayer) AnimationGetNext(animFrom string) string { log.Println("Calling AnimationPlayer.AnimationGetNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(animFrom) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "animation_get_next", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "animation_get_next", animFrom) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3647,15 +2376,7 @@ func (o *AnimationPlayer) AnimationGetNext(animFrom string) string { func (o *AnimationPlayer) AnimationSetNext(animFrom string, animTo string) { log.Println("Calling AnimationPlayer.AnimationSetNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(animFrom) - goArguments[1] = reflect.ValueOf(animTo) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "animation_set_next", goArguments, "") - + godotCallVoidStringString(o, "animation_set_next", animFrom, animTo) log.Println(" Function successfully completed.") } @@ -3666,13 +2387,7 @@ func (o *AnimationPlayer) AnimationSetNext(animFrom string, animTo string) { func (o *AnimationPlayer) ClearCaches() { log.Println("Calling AnimationPlayer.ClearCaches()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_caches", goArguments, "") - + godotCallVoid(o, "clear_caches") log.Println(" Function successfully completed.") } @@ -3683,13 +2398,7 @@ func (o *AnimationPlayer) ClearCaches() { func (o *AnimationPlayer) ClearQueue() { log.Println("Calling AnimationPlayer.ClearQueue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_queue", goArguments, "") - + godotCallVoid(o, "clear_queue") log.Println(" Function successfully completed.") } @@ -3700,17 +2409,9 @@ func (o *AnimationPlayer) ClearQueue() { func (o *AnimationPlayer) FindAnimation(animation *Animation) string { log.Println("Calling AnimationPlayer.FindAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(animation) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringObject(o, "find_animation", &animation.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3721,18 +2422,12 @@ func (o *AnimationPlayer) FindAnimation(animation *Animation) string { func (o *AnimationPlayer) GetAnimation(name string) *Animation { log.Println("Calling AnimationPlayer.GetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation", goArguments, "*Animation") - - returnValue := goRet.Interface().(*Animation) - + returnValue := godotCallObjectString(o, "get_animation", name) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Animation + ret.owner = returnValue.owner + return &ret } @@ -3742,16 +2437,9 @@ func (o *AnimationPlayer) GetAnimation(name string) *Animation { func (o *AnimationPlayer) GetAnimationList() *PoolStringArray { log.Println("Calling AnimationPlayer.GetAnimationList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_animation_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3762,16 +2450,9 @@ func (o *AnimationPlayer) GetAnimationList() *PoolStringArray { func (o *AnimationPlayer) GetAnimationProcessMode() int64 { log.Println("Calling AnimationPlayer.GetAnimationProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation_process_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_animation_process_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3782,16 +2463,9 @@ func (o *AnimationPlayer) GetAnimationProcessMode() int64 { func (o *AnimationPlayer) GetAssignedAnimation() string { log.Println("Calling AnimationPlayer.GetAssignedAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_assigned_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_assigned_animation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3802,16 +2476,9 @@ func (o *AnimationPlayer) GetAssignedAnimation() string { func (o *AnimationPlayer) GetAutoplay() string { log.Println("Calling AnimationPlayer.GetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_autoplay", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_autoplay") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3822,18 +2489,9 @@ func (o *AnimationPlayer) GetAutoplay() string { func (o *AnimationPlayer) GetBlendTime(animFrom string, animTo string) float64 { log.Println("Calling AnimationPlayer.GetBlendTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(animFrom) - goArguments[1] = reflect.ValueOf(animTo) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatStringString(o, "get_blend_time", animFrom, animTo) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3844,16 +2502,9 @@ func (o *AnimationPlayer) GetBlendTime(animFrom string, animTo string) float64 { func (o *AnimationPlayer) GetCurrentAnimation() string { log.Println("Calling AnimationPlayer.GetCurrentAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_animation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3864,16 +2515,9 @@ func (o *AnimationPlayer) GetCurrentAnimation() string { func (o *AnimationPlayer) GetCurrentAnimationLength() float64 { log.Println("Calling AnimationPlayer.GetCurrentAnimationLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_animation_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_current_animation_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3884,16 +2528,9 @@ func (o *AnimationPlayer) GetCurrentAnimationLength() float64 { func (o *AnimationPlayer) GetCurrentAnimationPosition() float64 { log.Println("Calling AnimationPlayer.GetCurrentAnimationPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_animation_position", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_current_animation_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3904,16 +2541,9 @@ func (o *AnimationPlayer) GetCurrentAnimationPosition() float64 { func (o *AnimationPlayer) GetDefaultBlendTime() float64 { log.Println("Calling AnimationPlayer.GetDefaultBlendTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_blend_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_default_blend_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3924,16 +2554,9 @@ func (o *AnimationPlayer) GetDefaultBlendTime() float64 { func (o *AnimationPlayer) GetRoot() *NodePath { log.Println("Calling AnimationPlayer.GetRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_root", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_root") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3944,16 +2567,9 @@ func (o *AnimationPlayer) GetRoot() *NodePath { func (o *AnimationPlayer) GetSpeedScale() float64 { log.Println("Calling AnimationPlayer.GetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_speed_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3964,17 +2580,9 @@ func (o *AnimationPlayer) GetSpeedScale() float64 { func (o *AnimationPlayer) HasAnimation(name string) bool { log.Println("Calling AnimationPlayer.HasAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_animation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_animation", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -3985,16 +2593,9 @@ func (o *AnimationPlayer) HasAnimation(name string) bool { func (o *AnimationPlayer) IsActive() bool { log.Println("Calling AnimationPlayer.IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4005,16 +2606,9 @@ func (o *AnimationPlayer) IsActive() bool { func (o *AnimationPlayer) IsPlaying() bool { log.Println("Calling AnimationPlayer.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4025,17 +2619,7 @@ func (o *AnimationPlayer) IsPlaying() bool { func (o *AnimationPlayer) Play(name string, customBlend float64, customSpeed float64, fromEnd bool) { log.Println("Calling AnimationPlayer.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(customBlend) - goArguments[2] = reflect.ValueOf(customSpeed) - goArguments[3] = reflect.ValueOf(fromEnd) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidStringFloatFloatBool(o, "play", name, customBlend, customSpeed, fromEnd) log.Println(" Function successfully completed.") } @@ -4046,15 +2630,7 @@ func (o *AnimationPlayer) Play(name string, customBlend float64, customSpeed flo func (o *AnimationPlayer) PlayBackwards(name string, customBlend float64) { log.Println("Calling AnimationPlayer.PlayBackwards()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(customBlend) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play_backwards", goArguments, "") - + godotCallVoidStringFloat(o, "play_backwards", name, customBlend) log.Println(" Function successfully completed.") } @@ -4065,14 +2641,7 @@ func (o *AnimationPlayer) PlayBackwards(name string, customBlend float64) { func (o *AnimationPlayer) Queue(name string) { log.Println("Calling AnimationPlayer.Queue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue", goArguments, "") - + godotCallVoidString(o, "queue", name) log.Println(" Function successfully completed.") } @@ -4083,14 +2652,7 @@ func (o *AnimationPlayer) Queue(name string) { func (o *AnimationPlayer) RemoveAnimation(name string) { log.Println("Calling AnimationPlayer.RemoveAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_animation", goArguments, "") - + godotCallVoidString(o, "remove_animation", name) log.Println(" Function successfully completed.") } @@ -4101,15 +2663,7 @@ func (o *AnimationPlayer) RemoveAnimation(name string) { func (o *AnimationPlayer) RenameAnimation(name string, newname string) { log.Println("Calling AnimationPlayer.RenameAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(newname) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_animation", goArguments, "") - + godotCallVoidStringString(o, "rename_animation", name, newname) log.Println(" Function successfully completed.") } @@ -4120,15 +2674,7 @@ func (o *AnimationPlayer) RenameAnimation(name string, newname string) { func (o *AnimationPlayer) Seek(seconds float64, update bool) { log.Println("Calling AnimationPlayer.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(seconds) - goArguments[1] = reflect.ValueOf(update) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "seek", goArguments, "") - + godotCallVoidFloatBool(o, "seek", seconds, update) log.Println(" Function successfully completed.") } @@ -4139,14 +2685,7 @@ func (o *AnimationPlayer) Seek(seconds float64, update bool) { func (o *AnimationPlayer) SetActive(active bool) { log.Println("Calling AnimationPlayer.SetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_active", goArguments, "") - + godotCallVoidBool(o, "set_active", active) log.Println(" Function successfully completed.") } @@ -4157,14 +2696,7 @@ func (o *AnimationPlayer) SetActive(active bool) { func (o *AnimationPlayer) SetAnimationProcessMode(mode int64) { log.Println("Calling AnimationPlayer.SetAnimationProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation_process_mode", goArguments, "") - + godotCallVoidInt(o, "set_animation_process_mode", mode) log.Println(" Function successfully completed.") } @@ -4175,14 +2707,7 @@ func (o *AnimationPlayer) SetAnimationProcessMode(mode int64) { func (o *AnimationPlayer) SetAssignedAnimation(anim string) { log.Println("Calling AnimationPlayer.SetAssignedAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_assigned_animation", goArguments, "") - + godotCallVoidString(o, "set_assigned_animation", anim) log.Println(" Function successfully completed.") } @@ -4193,14 +2718,7 @@ func (o *AnimationPlayer) SetAssignedAnimation(anim string) { func (o *AnimationPlayer) SetAutoplay(name string) { log.Println("Calling AnimationPlayer.SetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autoplay", goArguments, "") - + godotCallVoidString(o, "set_autoplay", name) log.Println(" Function successfully completed.") } @@ -4211,16 +2729,7 @@ func (o *AnimationPlayer) SetAutoplay(name string) { func (o *AnimationPlayer) SetBlendTime(animFrom string, animTo string, sec float64) { log.Println("Calling AnimationPlayer.SetBlendTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(animFrom) - goArguments[1] = reflect.ValueOf(animTo) - goArguments[2] = reflect.ValueOf(sec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blend_time", goArguments, "") - + godotCallVoidStringStringFloat(o, "set_blend_time", animFrom, animTo, sec) log.Println(" Function successfully completed.") } @@ -4231,14 +2740,7 @@ func (o *AnimationPlayer) SetBlendTime(animFrom string, animTo string, sec float func (o *AnimationPlayer) SetCurrentAnimation(anim string) { log.Println("Calling AnimationPlayer.SetCurrentAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_animation", goArguments, "") - + godotCallVoidString(o, "set_current_animation", anim) log.Println(" Function successfully completed.") } @@ -4249,14 +2751,7 @@ func (o *AnimationPlayer) SetCurrentAnimation(anim string) { func (o *AnimationPlayer) SetDefaultBlendTime(sec float64) { log.Println("Calling AnimationPlayer.SetDefaultBlendTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_blend_time", goArguments, "") - + godotCallVoidFloat(o, "set_default_blend_time", sec) log.Println(" Function successfully completed.") } @@ -4267,14 +2762,7 @@ func (o *AnimationPlayer) SetDefaultBlendTime(sec float64) { func (o *AnimationPlayer) SetRoot(path *NodePath) { log.Println("Calling AnimationPlayer.SetRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_root", goArguments, "") - + godotCallVoidNodePath(o, "set_root", path) log.Println(" Function successfully completed.") } @@ -4285,14 +2773,7 @@ func (o *AnimationPlayer) SetRoot(path *NodePath) { func (o *AnimationPlayer) SetSpeedScale(speed float64) { log.Println("Calling AnimationPlayer.SetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed_scale", goArguments, "") - + godotCallVoidFloat(o, "set_speed_scale", speed) log.Println(" Function successfully completed.") } @@ -4303,14 +2784,7 @@ func (o *AnimationPlayer) SetSpeedScale(speed float64) { func (o *AnimationPlayer) Stop(reset bool) { log.Println("Calling AnimationPlayer.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(reset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoidBool(o, "stop", reset) log.Println(" Function successfully completed.") } @@ -4339,15 +2813,7 @@ func (o *AnimationTreePlayer) baseClass() string { func (o *AnimationTreePlayer) AddNode(aType int64, id string) { log.Println("Calling AnimationTreePlayer.AddNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(aType) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_node", goArguments, "") - + godotCallVoidIntString(o, "add_node", aType, id) log.Println(" Function successfully completed.") } @@ -4358,14 +2824,7 @@ func (o *AnimationTreePlayer) AddNode(aType int64, id string) { func (o *AnimationTreePlayer) Advance(delta float64) { log.Println("Calling AnimationTreePlayer.Advance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "advance", goArguments, "") - + godotCallVoidFloat(o, "advance", delta) log.Println(" Function successfully completed.") } @@ -4376,18 +2835,12 @@ func (o *AnimationTreePlayer) Advance(delta float64) { func (o *AnimationTreePlayer) AnimationNodeGetAnimation(id string) *Animation { log.Println("Calling AnimationTreePlayer.AnimationNodeGetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "animation_node_get_animation", goArguments, "*Animation") - - returnValue := goRet.Interface().(*Animation) - + returnValue := godotCallObjectString(o, "animation_node_get_animation", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Animation + ret.owner = returnValue.owner + return &ret } @@ -4397,17 +2850,9 @@ func (o *AnimationTreePlayer) AnimationNodeGetAnimation(id string) *Animation { func (o *AnimationTreePlayer) AnimationNodeGetMasterAnimation(id string) string { log.Println("Calling AnimationTreePlayer.AnimationNodeGetMasterAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "animation_node_get_master_animation", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "animation_node_get_master_animation", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4418,15 +2863,7 @@ func (o *AnimationTreePlayer) AnimationNodeGetMasterAnimation(id string) string func (o *AnimationTreePlayer) AnimationNodeSetAnimation(id string, animation *Animation) { log.Println("Calling AnimationTreePlayer.AnimationNodeSetAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(animation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "animation_node_set_animation", goArguments, "") - + godotCallVoidStringObject(o, "animation_node_set_animation", id, &animation.Object) log.Println(" Function successfully completed.") } @@ -4437,16 +2874,7 @@ func (o *AnimationTreePlayer) AnimationNodeSetAnimation(id string, animation *An func (o *AnimationTreePlayer) AnimationNodeSetFilterPath(id string, path *NodePath, enable bool) { log.Println("Calling AnimationTreePlayer.AnimationNodeSetFilterPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(path) - goArguments[2] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "animation_node_set_filter_path", goArguments, "") - + godotCallVoidStringNodePathBool(o, "animation_node_set_filter_path", id, path, enable) log.Println(" Function successfully completed.") } @@ -4457,15 +2885,7 @@ func (o *AnimationTreePlayer) AnimationNodeSetFilterPath(id string, path *NodePa func (o *AnimationTreePlayer) AnimationNodeSetMasterAnimation(id string, source string) { log.Println("Calling AnimationTreePlayer.AnimationNodeSetMasterAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(source) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "animation_node_set_master_animation", goArguments, "") - + godotCallVoidStringString(o, "animation_node_set_master_animation", id, source) log.Println(" Function successfully completed.") } @@ -4476,19 +2896,9 @@ func (o *AnimationTreePlayer) AnimationNodeSetMasterAnimation(id string, source func (o *AnimationTreePlayer) AreNodesConnected(id string, dstId string, dstInputIdx int64) bool { log.Println("Calling AnimationTreePlayer.AreNodesConnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(dstId) - goArguments[2] = reflect.ValueOf(dstInputIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "are_nodes_connected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringStringInt(o, "are_nodes_connected", id, dstId, dstInputIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4499,17 +2909,9 @@ func (o *AnimationTreePlayer) AreNodesConnected(id string, dstId string, dstInpu func (o *AnimationTreePlayer) Blend2NodeGetAmount(id string) float64 { log.Println("Calling AnimationTreePlayer.Blend2NodeGetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "blend2_node_get_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "blend2_node_get_amount", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4520,15 +2922,7 @@ func (o *AnimationTreePlayer) Blend2NodeGetAmount(id string) float64 { func (o *AnimationTreePlayer) Blend2NodeSetAmount(id string, blend float64) { log.Println("Calling AnimationTreePlayer.Blend2NodeSetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(blend) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend2_node_set_amount", goArguments, "") - + godotCallVoidStringFloat(o, "blend2_node_set_amount", id, blend) log.Println(" Function successfully completed.") } @@ -4539,16 +2933,7 @@ func (o *AnimationTreePlayer) Blend2NodeSetAmount(id string, blend float64) { func (o *AnimationTreePlayer) Blend2NodeSetFilterPath(id string, path *NodePath, enable bool) { log.Println("Calling AnimationTreePlayer.Blend2NodeSetFilterPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(path) - goArguments[2] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend2_node_set_filter_path", goArguments, "") - + godotCallVoidStringNodePathBool(o, "blend2_node_set_filter_path", id, path, enable) log.Println(" Function successfully completed.") } @@ -4559,17 +2944,9 @@ func (o *AnimationTreePlayer) Blend2NodeSetFilterPath(id string, path *NodePath, func (o *AnimationTreePlayer) Blend3NodeGetAmount(id string) float64 { log.Println("Calling AnimationTreePlayer.Blend3NodeGetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "blend3_node_get_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "blend3_node_get_amount", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4580,15 +2957,7 @@ func (o *AnimationTreePlayer) Blend3NodeGetAmount(id string) float64 { func (o *AnimationTreePlayer) Blend3NodeSetAmount(id string, blend float64) { log.Println("Calling AnimationTreePlayer.Blend3NodeSetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(blend) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend3_node_set_amount", goArguments, "") - + godotCallVoidStringFloat(o, "blend3_node_set_amount", id, blend) log.Println(" Function successfully completed.") } @@ -4599,17 +2968,9 @@ func (o *AnimationTreePlayer) Blend3NodeSetAmount(id string, blend float64) { func (o *AnimationTreePlayer) Blend4NodeGetAmount(id string) *Vector2 { log.Println("Calling AnimationTreePlayer.Blend4NodeGetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "blend4_node_get_amount", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2String(o, "blend4_node_get_amount", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4620,15 +2981,7 @@ func (o *AnimationTreePlayer) Blend4NodeGetAmount(id string) *Vector2 { func (o *AnimationTreePlayer) Blend4NodeSetAmount(id string, blend *Vector2) { log.Println("Calling AnimationTreePlayer.Blend4NodeSetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(blend) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend4_node_set_amount", goArguments, "") - + godotCallVoidStringVector2(o, "blend4_node_set_amount", id, blend) log.Println(" Function successfully completed.") } @@ -4639,19 +2992,9 @@ func (o *AnimationTreePlayer) Blend4NodeSetAmount(id string, blend *Vector2) { func (o *AnimationTreePlayer) ConnectNodes(id string, dstId string, dstInputIdx int64) int64 { log.Println("Calling AnimationTreePlayer.ConnectNodes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(dstId) - goArguments[2] = reflect.ValueOf(dstInputIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect_nodes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringStringInt(o, "connect_nodes", id, dstId, dstInputIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4662,15 +3005,7 @@ func (o *AnimationTreePlayer) ConnectNodes(id string, dstId string, dstInputIdx func (o *AnimationTreePlayer) DisconnectNodes(id string, dstInputIdx int64) { log.Println("Calling AnimationTreePlayer.DisconnectNodes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(dstInputIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect_nodes", goArguments, "") - + godotCallVoidStringInt(o, "disconnect_nodes", id, dstInputIdx) log.Println(" Function successfully completed.") } @@ -4681,16 +3016,9 @@ func (o *AnimationTreePlayer) DisconnectNodes(id string, dstInputIdx int64) { func (o *AnimationTreePlayer) GetAnimationProcessMode() int64 { log.Println("Calling AnimationTreePlayer.GetAnimationProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation_process_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_animation_process_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4701,16 +3029,9 @@ func (o *AnimationTreePlayer) GetAnimationProcessMode() int64 { func (o *AnimationTreePlayer) GetBasePath() *NodePath { log.Println("Calling AnimationTreePlayer.GetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_base_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4721,16 +3042,9 @@ func (o *AnimationTreePlayer) GetBasePath() *NodePath { func (o *AnimationTreePlayer) GetMasterPlayer() *NodePath { log.Println("Calling AnimationTreePlayer.GetMasterPlayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_master_player", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_master_player") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4741,16 +3055,9 @@ func (o *AnimationTreePlayer) GetMasterPlayer() *NodePath { func (o *AnimationTreePlayer) GetNodeList() *PoolStringArray { log.Println("Calling AnimationTreePlayer.GetNodeList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_node_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4761,16 +3068,9 @@ func (o *AnimationTreePlayer) GetNodeList() *PoolStringArray { func (o *AnimationTreePlayer) IsActive() bool { log.Println("Calling AnimationTreePlayer.IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4781,17 +3081,9 @@ func (o *AnimationTreePlayer) IsActive() bool { func (o *AnimationTreePlayer) MixNodeGetAmount(id string) float64 { log.Println("Calling AnimationTreePlayer.MixNodeGetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mix_node_get_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "mix_node_get_amount", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4802,15 +3094,7 @@ func (o *AnimationTreePlayer) MixNodeGetAmount(id string) float64 { func (o *AnimationTreePlayer) MixNodeSetAmount(id string, ratio float64) { log.Println("Calling AnimationTreePlayer.MixNodeSetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mix_node_set_amount", goArguments, "") - + godotCallVoidStringFloat(o, "mix_node_set_amount", id, ratio) log.Println(" Function successfully completed.") } @@ -4821,17 +3105,9 @@ func (o *AnimationTreePlayer) MixNodeSetAmount(id string, ratio float64) { func (o *AnimationTreePlayer) NodeExists(node string) bool { log.Println("Calling AnimationTreePlayer.NodeExists()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_exists", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "node_exists", node) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4842,17 +3118,9 @@ func (o *AnimationTreePlayer) NodeExists(node string) bool { func (o *AnimationTreePlayer) NodeGetInputCount(id string) int64 { log.Println("Calling AnimationTreePlayer.NodeGetInputCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_get_input_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "node_get_input_count", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4863,18 +3131,9 @@ func (o *AnimationTreePlayer) NodeGetInputCount(id string) int64 { func (o *AnimationTreePlayer) NodeGetInputSource(id string, idx int64) string { log.Println("Calling AnimationTreePlayer.NodeGetInputSource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_get_input_source", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringStringInt(o, "node_get_input_source", id, idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4885,17 +3144,9 @@ func (o *AnimationTreePlayer) NodeGetInputSource(id string, idx int64) string { func (o *AnimationTreePlayer) NodeGetPosition(id string) *Vector2 { log.Println("Calling AnimationTreePlayer.NodeGetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2String(o, "node_get_position", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4906,17 +3157,9 @@ func (o *AnimationTreePlayer) NodeGetPosition(id string) *Vector2 { func (o *AnimationTreePlayer) NodeGetType(id string) int64 { log.Println("Calling AnimationTreePlayer.NodeGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "node_get_type", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4927,18 +3170,9 @@ func (o *AnimationTreePlayer) NodeGetType(id string) int64 { func (o *AnimationTreePlayer) NodeRename(node string, newName string) int64 { log.Println("Calling AnimationTreePlayer.NodeRename()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(node) - goArguments[1] = reflect.ValueOf(newName) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "node_rename", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringString(o, "node_rename", node, newName) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4949,15 +3183,7 @@ func (o *AnimationTreePlayer) NodeRename(node string, newName string) int64 { func (o *AnimationTreePlayer) NodeSetPosition(id string, screenPosition *Vector2) { log.Println("Calling AnimationTreePlayer.NodeSetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(screenPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "node_set_position", goArguments, "") - + godotCallVoidStringVector2(o, "node_set_position", id, screenPosition) log.Println(" Function successfully completed.") } @@ -4968,17 +3194,9 @@ func (o *AnimationTreePlayer) NodeSetPosition(id string, screenPosition *Vector2 func (o *AnimationTreePlayer) OneshotNodeGetAutorestartDelay(id string) float64 { log.Println("Calling AnimationTreePlayer.OneshotNodeGetAutorestartDelay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_get_autorestart_delay", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "oneshot_node_get_autorestart_delay", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -4989,17 +3207,9 @@ func (o *AnimationTreePlayer) OneshotNodeGetAutorestartDelay(id string) float64 func (o *AnimationTreePlayer) OneshotNodeGetAutorestartRandomDelay(id string) float64 { log.Println("Calling AnimationTreePlayer.OneshotNodeGetAutorestartRandomDelay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_get_autorestart_random_delay", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "oneshot_node_get_autorestart_random_delay", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5010,17 +3220,9 @@ func (o *AnimationTreePlayer) OneshotNodeGetAutorestartRandomDelay(id string) fl func (o *AnimationTreePlayer) OneshotNodeGetFadeinTime(id string) float64 { log.Println("Calling AnimationTreePlayer.OneshotNodeGetFadeinTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_get_fadein_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "oneshot_node_get_fadein_time", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5031,17 +3233,9 @@ func (o *AnimationTreePlayer) OneshotNodeGetFadeinTime(id string) float64 { func (o *AnimationTreePlayer) OneshotNodeGetFadeoutTime(id string) float64 { log.Println("Calling AnimationTreePlayer.OneshotNodeGetFadeoutTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_get_fadeout_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "oneshot_node_get_fadeout_time", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5052,17 +3246,9 @@ func (o *AnimationTreePlayer) OneshotNodeGetFadeoutTime(id string) float64 { func (o *AnimationTreePlayer) OneshotNodeHasAutorestart(id string) bool { log.Println("Calling AnimationTreePlayer.OneshotNodeHasAutorestart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_has_autorestart", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "oneshot_node_has_autorestart", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5073,17 +3259,9 @@ func (o *AnimationTreePlayer) OneshotNodeHasAutorestart(id string) bool { func (o *AnimationTreePlayer) OneshotNodeIsActive(id string) bool { log.Println("Calling AnimationTreePlayer.OneshotNodeIsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "oneshot_node_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "oneshot_node_is_active", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5094,15 +3272,7 @@ func (o *AnimationTreePlayer) OneshotNodeIsActive(id string) bool { func (o *AnimationTreePlayer) OneshotNodeSetAutorestart(id string, enable bool) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetAutorestart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_autorestart", goArguments, "") - + godotCallVoidStringBool(o, "oneshot_node_set_autorestart", id, enable) log.Println(" Function successfully completed.") } @@ -5113,15 +3283,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetAutorestart(id string, enable bool) func (o *AnimationTreePlayer) OneshotNodeSetAutorestartDelay(id string, delaySec float64) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetAutorestartDelay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(delaySec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_autorestart_delay", goArguments, "") - + godotCallVoidStringFloat(o, "oneshot_node_set_autorestart_delay", id, delaySec) log.Println(" Function successfully completed.") } @@ -5132,15 +3294,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetAutorestartDelay(id string, delaySec func (o *AnimationTreePlayer) OneshotNodeSetAutorestartRandomDelay(id string, randSec float64) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetAutorestartRandomDelay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(randSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_autorestart_random_delay", goArguments, "") - + godotCallVoidStringFloat(o, "oneshot_node_set_autorestart_random_delay", id, randSec) log.Println(" Function successfully completed.") } @@ -5151,15 +3305,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetAutorestartRandomDelay(id string, ra func (o *AnimationTreePlayer) OneshotNodeSetFadeinTime(id string, timeSec float64) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetFadeinTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(timeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_fadein_time", goArguments, "") - + godotCallVoidStringFloat(o, "oneshot_node_set_fadein_time", id, timeSec) log.Println(" Function successfully completed.") } @@ -5170,15 +3316,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetFadeinTime(id string, timeSec float6 func (o *AnimationTreePlayer) OneshotNodeSetFadeoutTime(id string, timeSec float64) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetFadeoutTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(timeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_fadeout_time", goArguments, "") - + godotCallVoidStringFloat(o, "oneshot_node_set_fadeout_time", id, timeSec) log.Println(" Function successfully completed.") } @@ -5189,16 +3327,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetFadeoutTime(id string, timeSec float func (o *AnimationTreePlayer) OneshotNodeSetFilterPath(id string, path *NodePath, enable bool) { log.Println("Calling AnimationTreePlayer.OneshotNodeSetFilterPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(path) - goArguments[2] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_set_filter_path", goArguments, "") - + godotCallVoidStringNodePathBool(o, "oneshot_node_set_filter_path", id, path, enable) log.Println(" Function successfully completed.") } @@ -5209,14 +3338,7 @@ func (o *AnimationTreePlayer) OneshotNodeSetFilterPath(id string, path *NodePath func (o *AnimationTreePlayer) OneshotNodeStart(id string) { log.Println("Calling AnimationTreePlayer.OneshotNodeStart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_start", goArguments, "") - + godotCallVoidString(o, "oneshot_node_start", id) log.Println(" Function successfully completed.") } @@ -5227,14 +3349,7 @@ func (o *AnimationTreePlayer) OneshotNodeStart(id string) { func (o *AnimationTreePlayer) OneshotNodeStop(id string) { log.Println("Calling AnimationTreePlayer.OneshotNodeStop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "oneshot_node_stop", goArguments, "") - + godotCallVoidString(o, "oneshot_node_stop", id) log.Println(" Function successfully completed.") } @@ -5245,13 +3360,7 @@ func (o *AnimationTreePlayer) OneshotNodeStop(id string) { func (o *AnimationTreePlayer) RecomputeCaches() { log.Println("Calling AnimationTreePlayer.RecomputeCaches()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "recompute_caches", goArguments, "") - + godotCallVoid(o, "recompute_caches") log.Println(" Function successfully completed.") } @@ -5262,14 +3371,7 @@ func (o *AnimationTreePlayer) RecomputeCaches() { func (o *AnimationTreePlayer) RemoveNode(id string) { log.Println("Calling AnimationTreePlayer.RemoveNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_node", goArguments, "") - + godotCallVoidString(o, "remove_node", id) log.Println(" Function successfully completed.") } @@ -5280,13 +3382,7 @@ func (o *AnimationTreePlayer) RemoveNode(id string) { func (o *AnimationTreePlayer) Reset() { log.Println("Calling AnimationTreePlayer.Reset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "reset", goArguments, "") - + godotCallVoid(o, "reset") log.Println(" Function successfully completed.") } @@ -5297,14 +3393,7 @@ func (o *AnimationTreePlayer) Reset() { func (o *AnimationTreePlayer) SetActive(enabled bool) { log.Println("Calling AnimationTreePlayer.SetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_active", goArguments, "") - + godotCallVoidBool(o, "set_active", enabled) log.Println(" Function successfully completed.") } @@ -5315,14 +3404,7 @@ func (o *AnimationTreePlayer) SetActive(enabled bool) { func (o *AnimationTreePlayer) SetAnimationProcessMode(mode int64) { log.Println("Calling AnimationTreePlayer.SetAnimationProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation_process_mode", goArguments, "") - + godotCallVoidInt(o, "set_animation_process_mode", mode) log.Println(" Function successfully completed.") } @@ -5333,14 +3415,7 @@ func (o *AnimationTreePlayer) SetAnimationProcessMode(mode int64) { func (o *AnimationTreePlayer) SetBasePath(path *NodePath) { log.Println("Calling AnimationTreePlayer.SetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_path", goArguments, "") - + godotCallVoidNodePath(o, "set_base_path", path) log.Println(" Function successfully completed.") } @@ -5351,14 +3426,7 @@ func (o *AnimationTreePlayer) SetBasePath(path *NodePath) { func (o *AnimationTreePlayer) SetMasterPlayer(nodepath *NodePath) { log.Println("Calling AnimationTreePlayer.SetMasterPlayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(nodepath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_master_player", goArguments, "") - + godotCallVoidNodePath(o, "set_master_player", nodepath) log.Println(" Function successfully completed.") } @@ -5369,17 +3437,9 @@ func (o *AnimationTreePlayer) SetMasterPlayer(nodepath *NodePath) { func (o *AnimationTreePlayer) TimescaleNodeGetScale(id string) float64 { log.Println("Calling AnimationTreePlayer.TimescaleNodeGetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "timescale_node_get_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "timescale_node_get_scale", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5390,15 +3450,7 @@ func (o *AnimationTreePlayer) TimescaleNodeGetScale(id string) float64 { func (o *AnimationTreePlayer) TimescaleNodeSetScale(id string, scale float64) { log.Println("Calling AnimationTreePlayer.TimescaleNodeSetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "timescale_node_set_scale", goArguments, "") - + godotCallVoidStringFloat(o, "timescale_node_set_scale", id, scale) log.Println(" Function successfully completed.") } @@ -5409,15 +3461,7 @@ func (o *AnimationTreePlayer) TimescaleNodeSetScale(id string, scale float64) { func (o *AnimationTreePlayer) TimeseekNodeSeek(id string, seconds float64) { log.Println("Calling AnimationTreePlayer.TimeseekNodeSeek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(seconds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "timeseek_node_seek", goArguments, "") - + godotCallVoidStringFloat(o, "timeseek_node_seek", id, seconds) log.Println(" Function successfully completed.") } @@ -5428,15 +3472,7 @@ func (o *AnimationTreePlayer) TimeseekNodeSeek(id string, seconds float64) { func (o *AnimationTreePlayer) TransitionNodeDeleteInput(id string, inputIdx int64) { log.Println("Calling AnimationTreePlayer.TransitionNodeDeleteInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(inputIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "transition_node_delete_input", goArguments, "") - + godotCallVoidStringInt(o, "transition_node_delete_input", id, inputIdx) log.Println(" Function successfully completed.") } @@ -5447,17 +3483,9 @@ func (o *AnimationTreePlayer) TransitionNodeDeleteInput(id string, inputIdx int6 func (o *AnimationTreePlayer) TransitionNodeGetCurrent(id string) int64 { log.Println("Calling AnimationTreePlayer.TransitionNodeGetCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transition_node_get_current", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "transition_node_get_current", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5468,17 +3496,9 @@ func (o *AnimationTreePlayer) TransitionNodeGetCurrent(id string) int64 { func (o *AnimationTreePlayer) TransitionNodeGetInputCount(id string) int64 { log.Println("Calling AnimationTreePlayer.TransitionNodeGetInputCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transition_node_get_input_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "transition_node_get_input_count", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5489,17 +3509,9 @@ func (o *AnimationTreePlayer) TransitionNodeGetInputCount(id string) int64 { func (o *AnimationTreePlayer) TransitionNodeGetXfadeTime(id string) float64 { log.Println("Calling AnimationTreePlayer.TransitionNodeGetXfadeTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transition_node_get_xfade_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "transition_node_get_xfade_time", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5510,18 +3522,9 @@ func (o *AnimationTreePlayer) TransitionNodeGetXfadeTime(id string) float64 { func (o *AnimationTreePlayer) TransitionNodeHasInputAutoAdvance(id string, inputIdx int64) bool { log.Println("Calling AnimationTreePlayer.TransitionNodeHasInputAutoAdvance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(inputIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "transition_node_has_input_auto_advance", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringInt(o, "transition_node_has_input_auto_advance", id, inputIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5532,15 +3535,7 @@ func (o *AnimationTreePlayer) TransitionNodeHasInputAutoAdvance(id string, input func (o *AnimationTreePlayer) TransitionNodeSetCurrent(id string, inputIdx int64) { log.Println("Calling AnimationTreePlayer.TransitionNodeSetCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(inputIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "transition_node_set_current", goArguments, "") - + godotCallVoidStringInt(o, "transition_node_set_current", id, inputIdx) log.Println(" Function successfully completed.") } @@ -5551,16 +3546,7 @@ func (o *AnimationTreePlayer) TransitionNodeSetCurrent(id string, inputIdx int64 func (o *AnimationTreePlayer) TransitionNodeSetInputAutoAdvance(id string, inputIdx int64, enable bool) { log.Println("Calling AnimationTreePlayer.TransitionNodeSetInputAutoAdvance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(inputIdx) - goArguments[2] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "transition_node_set_input_auto_advance", goArguments, "") - + godotCallVoidStringIntBool(o, "transition_node_set_input_auto_advance", id, inputIdx, enable) log.Println(" Function successfully completed.") } @@ -5571,15 +3557,7 @@ func (o *AnimationTreePlayer) TransitionNodeSetInputAutoAdvance(id string, input func (o *AnimationTreePlayer) TransitionNodeSetInputCount(id string, count int64) { log.Println("Calling AnimationTreePlayer.TransitionNodeSetInputCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(count) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "transition_node_set_input_count", goArguments, "") - + godotCallVoidStringInt(o, "transition_node_set_input_count", id, count) log.Println(" Function successfully completed.") } @@ -5590,15 +3568,7 @@ func (o *AnimationTreePlayer) TransitionNodeSetInputCount(id string, count int64 func (o *AnimationTreePlayer) TransitionNodeSetXfadeTime(id string, timeSec float64) { log.Println("Calling AnimationTreePlayer.TransitionNodeSetXfadeTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(timeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "transition_node_set_xfade_time", goArguments, "") - + godotCallVoidStringFloat(o, "transition_node_set_xfade_time", id, timeSec) log.Println(" Function successfully completed.") } @@ -5627,14 +3597,7 @@ func (o *Area) baseClass() string { func (o *Area) X_AreaEnterTree(id int64) { log.Println("Calling Area.X_AreaEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_area_enter_tree", id) log.Println(" Function successfully completed.") } @@ -5645,14 +3608,7 @@ func (o *Area) X_AreaEnterTree(id int64) { func (o *Area) X_AreaExitTree(id int64) { log.Println("Calling Area.X_AreaExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_area_exit_tree", id) log.Println(" Function successfully completed.") } @@ -5663,18 +3619,7 @@ func (o *Area) X_AreaExitTree(id int64) { func (o *Area) X_AreaInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 int64) { log.Println("Calling Area.X_AreaInout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - goArguments[4] = reflect.ValueOf(arg4) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_inout", goArguments, "") - + godotCallVoidIntRidIntIntInt(o, "_area_inout", arg0, arg1, arg2, arg3, arg4) log.Println(" Function successfully completed.") } @@ -5685,14 +3630,7 @@ func (o *Area) X_AreaInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 i func (o *Area) X_BodyEnterTree(id int64) { log.Println("Calling Area.X_BodyEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_body_enter_tree", id) log.Println(" Function successfully completed.") } @@ -5703,14 +3641,7 @@ func (o *Area) X_BodyEnterTree(id int64) { func (o *Area) X_BodyExitTree(id int64) { log.Println("Calling Area.X_BodyExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_body_exit_tree", id) log.Println(" Function successfully completed.") } @@ -5721,18 +3652,7 @@ func (o *Area) X_BodyExitTree(id int64) { func (o *Area) X_BodyInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 int64) { log.Println("Calling Area.X_BodyInout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - goArguments[4] = reflect.ValueOf(arg4) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_inout", goArguments, "") - + godotCallVoidIntRidIntIntInt(o, "_body_inout", arg0, arg1, arg2, arg3, arg4) log.Println(" Function successfully completed.") } @@ -5743,16 +3663,9 @@ func (o *Area) X_BodyInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 i func (o *Area) GetAngularDamp() float64 { log.Println("Calling Area.GetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5763,16 +3676,9 @@ func (o *Area) GetAngularDamp() float64 { func (o *Area) GetAudioBus() string { log.Println("Calling Area.GetAudioBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_audio_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_audio_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5783,16 +3689,9 @@ func (o *Area) GetAudioBus() string { func (o *Area) GetCollisionLayer() int64 { log.Println("Calling Area.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5803,17 +3702,9 @@ func (o *Area) GetCollisionLayer() int64 { func (o *Area) GetCollisionLayerBit(bit int64) bool { log.Println("Calling Area.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5824,16 +3715,9 @@ func (o *Area) GetCollisionLayerBit(bit int64) bool { func (o *Area) GetCollisionMask() int64 { log.Println("Calling Area.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5844,17 +3728,9 @@ func (o *Area) GetCollisionMask() int64 { func (o *Area) GetCollisionMaskBit(bit int64) bool { log.Println("Calling Area.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5865,16 +3741,9 @@ func (o *Area) GetCollisionMaskBit(bit int64) bool { func (o *Area) GetGravity() float64 { log.Println("Calling Area.GetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5885,16 +3754,9 @@ func (o *Area) GetGravity() float64 { func (o *Area) GetGravityDistanceScale() float64 { log.Println("Calling Area.GetGravityDistanceScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_distance_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity_distance_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5905,16 +3767,9 @@ func (o *Area) GetGravityDistanceScale() float64 { func (o *Area) GetGravityVector() *Vector3 { log.Println("Calling Area.GetGravityVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_vector", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_gravity_vector") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5925,16 +3780,9 @@ func (o *Area) GetGravityVector() *Vector3 { func (o *Area) GetLinearDamp() float64 { log.Println("Calling Area.GetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5945,16 +3793,9 @@ func (o *Area) GetLinearDamp() float64 { func (o *Area) GetOverlappingAreas() *Array { log.Println("Calling Area.GetOverlappingAreas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_overlapping_areas", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_overlapping_areas") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5965,16 +3806,9 @@ func (o *Area) GetOverlappingAreas() *Array { func (o *Area) GetOverlappingBodies() *Array { log.Println("Calling Area.GetOverlappingBodies()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_overlapping_bodies", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_overlapping_bodies") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -5985,16 +3819,9 @@ func (o *Area) GetOverlappingBodies() *Array { func (o *Area) GetPriority() float64 { log.Println("Calling Area.GetPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_priority", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_priority") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6005,16 +3832,9 @@ func (o *Area) GetPriority() float64 { func (o *Area) GetReverbAmount() float64 { log.Println("Calling Area.GetReverbAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_reverb_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_reverb_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6025,16 +3845,9 @@ func (o *Area) GetReverbAmount() float64 { func (o *Area) GetReverbBus() string { log.Println("Calling Area.GetReverbBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_reverb_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_reverb_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6045,16 +3858,9 @@ func (o *Area) GetReverbBus() string { func (o *Area) GetReverbUniformity() float64 { log.Println("Calling Area.GetReverbUniformity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_reverb_uniformity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_reverb_uniformity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6065,16 +3871,9 @@ func (o *Area) GetReverbUniformity() float64 { func (o *Area) GetSpaceOverrideMode() int64 { log.Println("Calling Area.GetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space_override_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_space_override_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6085,16 +3884,9 @@ func (o *Area) GetSpaceOverrideMode() int64 { func (o *Area) IsGravityAPoint() bool { log.Println("Calling Area.IsGravityAPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_gravity_a_point", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_gravity_a_point") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6105,16 +3897,9 @@ func (o *Area) IsGravityAPoint() bool { func (o *Area) IsMonitorable() bool { log.Println("Calling Area.IsMonitorable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_monitorable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_monitorable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6125,16 +3910,9 @@ func (o *Area) IsMonitorable() bool { func (o *Area) IsMonitoring() bool { log.Println("Calling Area.IsMonitoring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_monitoring", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_monitoring") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6145,16 +3923,9 @@ func (o *Area) IsMonitoring() bool { func (o *Area) IsOverridingAudioBus() bool { log.Println("Calling Area.IsOverridingAudioBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_overriding_audio_bus", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_overriding_audio_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6165,16 +3936,9 @@ func (o *Area) IsOverridingAudioBus() bool { func (o *Area) IsUsingReverbBus() bool { log.Println("Calling Area.IsUsingReverbBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_reverb_bus", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_reverb_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6185,17 +3949,9 @@ func (o *Area) IsUsingReverbBus() bool { func (o *Area) OverlapsArea(area *Object) bool { log.Println("Calling Area.OverlapsArea()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "overlaps_area", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "overlaps_area", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6206,17 +3962,9 @@ func (o *Area) OverlapsArea(area *Object) bool { func (o *Area) OverlapsBody(body *Object) bool { log.Println("Calling Area.OverlapsBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "overlaps_body", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "overlaps_body", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6227,14 +3975,7 @@ func (o *Area) OverlapsBody(body *Object) bool { func (o *Area) SetAngularDamp(angularDamp float64) { log.Println("Calling Area.SetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_damp", goArguments, "") - + godotCallVoidFloat(o, "set_angular_damp", angularDamp) log.Println(" Function successfully completed.") } @@ -6245,14 +3986,7 @@ func (o *Area) SetAngularDamp(angularDamp float64) { func (o *Area) SetAudioBus(name string) { log.Println("Calling Area.SetAudioBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_bus", goArguments, "") - + godotCallVoidString(o, "set_audio_bus", name) log.Println(" Function successfully completed.") } @@ -6263,14 +3997,7 @@ func (o *Area) SetAudioBus(name string) { func (o *Area) SetAudioBusOverride(enable bool) { log.Println("Calling Area.SetAudioBusOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_bus_override", goArguments, "") - + godotCallVoidBool(o, "set_audio_bus_override", enable) log.Println(" Function successfully completed.") } @@ -6281,14 +4008,7 @@ func (o *Area) SetAudioBusOverride(enable bool) { func (o *Area) SetCollisionLayer(collisionLayer int64) { log.Println("Calling Area.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", collisionLayer) log.Println(" Function successfully completed.") } @@ -6299,15 +4019,7 @@ func (o *Area) SetCollisionLayer(collisionLayer int64) { func (o *Area) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling Area.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -6318,14 +4030,7 @@ func (o *Area) SetCollisionLayerBit(bit int64, value bool) { func (o *Area) SetCollisionMask(collisionMask int64) { log.Println("Calling Area.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", collisionMask) log.Println(" Function successfully completed.") } @@ -6336,15 +4041,7 @@ func (o *Area) SetCollisionMask(collisionMask int64) { func (o *Area) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling Area.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -6355,14 +4052,7 @@ func (o *Area) SetCollisionMaskBit(bit int64, value bool) { func (o *Area) SetGravity(gravity float64) { log.Println("Calling Area.SetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gravity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity", goArguments, "") - + godotCallVoidFloat(o, "set_gravity", gravity) log.Println(" Function successfully completed.") } @@ -6373,14 +4063,7 @@ func (o *Area) SetGravity(gravity float64) { func (o *Area) SetGravityDistanceScale(distanceScale float64) { log.Println("Calling Area.SetGravityDistanceScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distanceScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_distance_scale", goArguments, "") - + godotCallVoidFloat(o, "set_gravity_distance_scale", distanceScale) log.Println(" Function successfully completed.") } @@ -6391,14 +4074,7 @@ func (o *Area) SetGravityDistanceScale(distanceScale float64) { func (o *Area) SetGravityIsPoint(enable bool) { log.Println("Calling Area.SetGravityIsPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_is_point", goArguments, "") - + godotCallVoidBool(o, "set_gravity_is_point", enable) log.Println(" Function successfully completed.") } @@ -6409,14 +4085,7 @@ func (o *Area) SetGravityIsPoint(enable bool) { func (o *Area) SetGravityVector(vector *Vector3) { log.Println("Calling Area.SetGravityVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vector) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_vector", goArguments, "") - + godotCallVoidVector3(o, "set_gravity_vector", vector) log.Println(" Function successfully completed.") } @@ -6427,14 +4096,7 @@ func (o *Area) SetGravityVector(vector *Vector3) { func (o *Area) SetLinearDamp(linearDamp float64) { log.Println("Calling Area.SetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_damp", goArguments, "") - + godotCallVoidFloat(o, "set_linear_damp", linearDamp) log.Println(" Function successfully completed.") } @@ -6445,14 +4107,7 @@ func (o *Area) SetLinearDamp(linearDamp float64) { func (o *Area) SetMonitorable(enable bool) { log.Println("Calling Area.SetMonitorable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_monitorable", goArguments, "") - + godotCallVoidBool(o, "set_monitorable", enable) log.Println(" Function successfully completed.") } @@ -6463,14 +4118,7 @@ func (o *Area) SetMonitorable(enable bool) { func (o *Area) SetMonitoring(enable bool) { log.Println("Calling Area.SetMonitoring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_monitoring", goArguments, "") - + godotCallVoidBool(o, "set_monitoring", enable) log.Println(" Function successfully completed.") } @@ -6481,14 +4129,7 @@ func (o *Area) SetMonitoring(enable bool) { func (o *Area) SetPriority(priority float64) { log.Println("Calling Area.SetPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_priority", goArguments, "") - + godotCallVoidFloat(o, "set_priority", priority) log.Println(" Function successfully completed.") } @@ -6499,14 +4140,7 @@ func (o *Area) SetPriority(priority float64) { func (o *Area) SetReverbAmount(amount float64) { log.Println("Calling Area.SetReverbAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_reverb_amount", goArguments, "") - + godotCallVoidFloat(o, "set_reverb_amount", amount) log.Println(" Function successfully completed.") } @@ -6517,14 +4151,7 @@ func (o *Area) SetReverbAmount(amount float64) { func (o *Area) SetReverbBus(name string) { log.Println("Calling Area.SetReverbBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_reverb_bus", goArguments, "") - + godotCallVoidString(o, "set_reverb_bus", name) log.Println(" Function successfully completed.") } @@ -6535,14 +4162,7 @@ func (o *Area) SetReverbBus(name string) { func (o *Area) SetReverbUniformity(amount float64) { log.Println("Calling Area.SetReverbUniformity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_reverb_uniformity", goArguments, "") - + godotCallVoidFloat(o, "set_reverb_uniformity", amount) log.Println(" Function successfully completed.") } @@ -6553,14 +4173,7 @@ func (o *Area) SetReverbUniformity(amount float64) { func (o *Area) SetSpaceOverrideMode(enable int64) { log.Println("Calling Area.SetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_space_override_mode", goArguments, "") - + godotCallVoidInt(o, "set_space_override_mode", enable) log.Println(" Function successfully completed.") } @@ -6571,14 +4184,7 @@ func (o *Area) SetSpaceOverrideMode(enable int64) { func (o *Area) SetUseReverbBus(enable bool) { log.Println("Calling Area.SetUseReverbBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_reverb_bus", goArguments, "") - + godotCallVoidBool(o, "set_use_reverb_bus", enable) log.Println(" Function successfully completed.") } @@ -6607,14 +4213,7 @@ func (o *Area2D) baseClass() string { func (o *Area2D) X_AreaEnterTree(id int64) { log.Println("Calling Area2D.X_AreaEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_area_enter_tree", id) log.Println(" Function successfully completed.") } @@ -6625,14 +4224,7 @@ func (o *Area2D) X_AreaEnterTree(id int64) { func (o *Area2D) X_AreaExitTree(id int64) { log.Println("Calling Area2D.X_AreaExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_area_exit_tree", id) log.Println(" Function successfully completed.") } @@ -6643,18 +4235,7 @@ func (o *Area2D) X_AreaExitTree(id int64) { func (o *Area2D) X_AreaInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 int64) { log.Println("Calling Area2D.X_AreaInout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - goArguments[4] = reflect.ValueOf(arg4) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_area_inout", goArguments, "") - + godotCallVoidIntRidIntIntInt(o, "_area_inout", arg0, arg1, arg2, arg3, arg4) log.Println(" Function successfully completed.") } @@ -6665,14 +4246,7 @@ func (o *Area2D) X_AreaInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 func (o *Area2D) X_BodyEnterTree(id int64) { log.Println("Calling Area2D.X_BodyEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_body_enter_tree", id) log.Println(" Function successfully completed.") } @@ -6683,14 +4257,7 @@ func (o *Area2D) X_BodyEnterTree(id int64) { func (o *Area2D) X_BodyExitTree(id int64) { log.Println("Calling Area2D.X_BodyExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_body_exit_tree", id) log.Println(" Function successfully completed.") } @@ -6701,18 +4268,7 @@ func (o *Area2D) X_BodyExitTree(id int64) { func (o *Area2D) X_BodyInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 int64) { log.Println("Calling Area2D.X_BodyInout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - goArguments[4] = reflect.ValueOf(arg4) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_inout", goArguments, "") - + godotCallVoidIntRidIntIntInt(o, "_body_inout", arg0, arg1, arg2, arg3, arg4) log.Println(" Function successfully completed.") } @@ -6723,16 +4279,9 @@ func (o *Area2D) X_BodyInout(arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 func (o *Area2D) GetAngularDamp() float64 { log.Println("Calling Area2D.GetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6743,16 +4292,9 @@ func (o *Area2D) GetAngularDamp() float64 { func (o *Area2D) GetAudioBusName() string { log.Println("Calling Area2D.GetAudioBusName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_audio_bus_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_audio_bus_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6763,16 +4305,9 @@ func (o *Area2D) GetAudioBusName() string { func (o *Area2D) GetCollisionLayer() int64 { log.Println("Calling Area2D.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6783,17 +4318,9 @@ func (o *Area2D) GetCollisionLayer() int64 { func (o *Area2D) GetCollisionLayerBit(bit int64) bool { log.Println("Calling Area2D.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6804,16 +4331,9 @@ func (o *Area2D) GetCollisionLayerBit(bit int64) bool { func (o *Area2D) GetCollisionMask() int64 { log.Println("Calling Area2D.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6824,17 +4344,9 @@ func (o *Area2D) GetCollisionMask() int64 { func (o *Area2D) GetCollisionMaskBit(bit int64) bool { log.Println("Calling Area2D.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6845,16 +4357,9 @@ func (o *Area2D) GetCollisionMaskBit(bit int64) bool { func (o *Area2D) GetGravity() float64 { log.Println("Calling Area2D.GetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6865,16 +4370,9 @@ func (o *Area2D) GetGravity() float64 { func (o *Area2D) GetGravityDistanceScale() float64 { log.Println("Calling Area2D.GetGravityDistanceScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_distance_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity_distance_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6885,16 +4383,9 @@ func (o *Area2D) GetGravityDistanceScale() float64 { func (o *Area2D) GetGravityVector() *Vector2 { log.Println("Calling Area2D.GetGravityVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_vector", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_gravity_vector") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6905,16 +4396,9 @@ func (o *Area2D) GetGravityVector() *Vector2 { func (o *Area2D) GetLinearDamp() float64 { log.Println("Calling Area2D.GetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6925,16 +4409,9 @@ func (o *Area2D) GetLinearDamp() float64 { func (o *Area2D) GetOverlappingAreas() *Array { log.Println("Calling Area2D.GetOverlappingAreas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_overlapping_areas", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_overlapping_areas") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6945,16 +4422,9 @@ func (o *Area2D) GetOverlappingAreas() *Array { func (o *Area2D) GetOverlappingBodies() *Array { log.Println("Calling Area2D.GetOverlappingBodies()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_overlapping_bodies", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_overlapping_bodies") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6965,16 +4435,9 @@ func (o *Area2D) GetOverlappingBodies() *Array { func (o *Area2D) GetPriority() float64 { log.Println("Calling Area2D.GetPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_priority", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_priority") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -6985,16 +4448,9 @@ func (o *Area2D) GetPriority() float64 { func (o *Area2D) GetSpaceOverrideMode() int64 { log.Println("Calling Area2D.GetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space_override_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_space_override_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7005,16 +4461,9 @@ func (o *Area2D) GetSpaceOverrideMode() int64 { func (o *Area2D) IsGravityAPoint() bool { log.Println("Calling Area2D.IsGravityAPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_gravity_a_point", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_gravity_a_point") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7025,16 +4474,9 @@ func (o *Area2D) IsGravityAPoint() bool { func (o *Area2D) IsMonitorable() bool { log.Println("Calling Area2D.IsMonitorable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_monitorable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_monitorable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7045,16 +4487,9 @@ func (o *Area2D) IsMonitorable() bool { func (o *Area2D) IsMonitoring() bool { log.Println("Calling Area2D.IsMonitoring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_monitoring", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_monitoring") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7065,16 +4500,9 @@ func (o *Area2D) IsMonitoring() bool { func (o *Area2D) IsOverridingAudioBus() bool { log.Println("Calling Area2D.IsOverridingAudioBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_overriding_audio_bus", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_overriding_audio_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7085,17 +4513,9 @@ func (o *Area2D) IsOverridingAudioBus() bool { func (o *Area2D) OverlapsArea(area *Object) bool { log.Println("Calling Area2D.OverlapsArea()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "overlaps_area", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "overlaps_area", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7106,17 +4526,9 @@ func (o *Area2D) OverlapsArea(area *Object) bool { func (o *Area2D) OverlapsBody(body *Object) bool { log.Println("Calling Area2D.OverlapsBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "overlaps_body", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "overlaps_body", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7127,14 +4539,7 @@ func (o *Area2D) OverlapsBody(body *Object) bool { func (o *Area2D) SetAngularDamp(angularDamp float64) { log.Println("Calling Area2D.SetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_damp", goArguments, "") - + godotCallVoidFloat(o, "set_angular_damp", angularDamp) log.Println(" Function successfully completed.") } @@ -7145,14 +4550,7 @@ func (o *Area2D) SetAngularDamp(angularDamp float64) { func (o *Area2D) SetAudioBusName(name string) { log.Println("Calling Area2D.SetAudioBusName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_bus_name", goArguments, "") - + godotCallVoidString(o, "set_audio_bus_name", name) log.Println(" Function successfully completed.") } @@ -7163,14 +4561,7 @@ func (o *Area2D) SetAudioBusName(name string) { func (o *Area2D) SetAudioBusOverride(enable bool) { log.Println("Calling Area2D.SetAudioBusOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_bus_override", goArguments, "") - + godotCallVoidBool(o, "set_audio_bus_override", enable) log.Println(" Function successfully completed.") } @@ -7181,14 +4572,7 @@ func (o *Area2D) SetAudioBusOverride(enable bool) { func (o *Area2D) SetCollisionLayer(collisionLayer int64) { log.Println("Calling Area2D.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", collisionLayer) log.Println(" Function successfully completed.") } @@ -7199,15 +4583,7 @@ func (o *Area2D) SetCollisionLayer(collisionLayer int64) { func (o *Area2D) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling Area2D.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -7218,14 +4594,7 @@ func (o *Area2D) SetCollisionLayerBit(bit int64, value bool) { func (o *Area2D) SetCollisionMask(collisionMask int64) { log.Println("Calling Area2D.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", collisionMask) log.Println(" Function successfully completed.") } @@ -7236,15 +4605,7 @@ func (o *Area2D) SetCollisionMask(collisionMask int64) { func (o *Area2D) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling Area2D.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -7255,14 +4616,7 @@ func (o *Area2D) SetCollisionMaskBit(bit int64, value bool) { func (o *Area2D) SetGravity(gravity float64) { log.Println("Calling Area2D.SetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gravity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity", goArguments, "") - + godotCallVoidFloat(o, "set_gravity", gravity) log.Println(" Function successfully completed.") } @@ -7273,14 +4627,7 @@ func (o *Area2D) SetGravity(gravity float64) { func (o *Area2D) SetGravityDistanceScale(distanceScale float64) { log.Println("Calling Area2D.SetGravityDistanceScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distanceScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_distance_scale", goArguments, "") - + godotCallVoidFloat(o, "set_gravity_distance_scale", distanceScale) log.Println(" Function successfully completed.") } @@ -7291,14 +4638,7 @@ func (o *Area2D) SetGravityDistanceScale(distanceScale float64) { func (o *Area2D) SetGravityIsPoint(enable bool) { log.Println("Calling Area2D.SetGravityIsPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_is_point", goArguments, "") - + godotCallVoidBool(o, "set_gravity_is_point", enable) log.Println(" Function successfully completed.") } @@ -7309,14 +4649,7 @@ func (o *Area2D) SetGravityIsPoint(enable bool) { func (o *Area2D) SetGravityVector(vector *Vector2) { log.Println("Calling Area2D.SetGravityVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vector) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_vector", goArguments, "") - + godotCallVoidVector2(o, "set_gravity_vector", vector) log.Println(" Function successfully completed.") } @@ -7327,14 +4660,7 @@ func (o *Area2D) SetGravityVector(vector *Vector2) { func (o *Area2D) SetLinearDamp(linearDamp float64) { log.Println("Calling Area2D.SetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_damp", goArguments, "") - + godotCallVoidFloat(o, "set_linear_damp", linearDamp) log.Println(" Function successfully completed.") } @@ -7345,14 +4671,7 @@ func (o *Area2D) SetLinearDamp(linearDamp float64) { func (o *Area2D) SetMonitorable(enable bool) { log.Println("Calling Area2D.SetMonitorable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_monitorable", goArguments, "") - + godotCallVoidBool(o, "set_monitorable", enable) log.Println(" Function successfully completed.") } @@ -7363,14 +4682,7 @@ func (o *Area2D) SetMonitorable(enable bool) { func (o *Area2D) SetMonitoring(enable bool) { log.Println("Calling Area2D.SetMonitoring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_monitoring", goArguments, "") - + godotCallVoidBool(o, "set_monitoring", enable) log.Println(" Function successfully completed.") } @@ -7381,14 +4693,7 @@ func (o *Area2D) SetMonitoring(enable bool) { func (o *Area2D) SetPriority(priority float64) { log.Println("Calling Area2D.SetPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_priority", goArguments, "") - + godotCallVoidFloat(o, "set_priority", priority) log.Println(" Function successfully completed.") } @@ -7399,14 +4704,7 @@ func (o *Area2D) SetPriority(priority float64) { func (o *Area2D) SetSpaceOverrideMode(spaceOverrideMode int64) { log.Println("Calling Area2D.SetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(spaceOverrideMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_space_override_mode", goArguments, "") - + godotCallVoidInt(o, "set_space_override_mode", spaceOverrideMode) log.Println(" Function successfully completed.") } @@ -7435,14 +4733,7 @@ func (o *ArrayMesh) baseClass() string { func (o *ArrayMesh) AddBlendShape(name string) { log.Println("Calling ArrayMesh.AddBlendShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_blend_shape", goArguments, "") - + godotCallVoidString(o, "add_blend_shape", name) log.Println(" Function successfully completed.") } @@ -7453,17 +4744,7 @@ func (o *ArrayMesh) AddBlendShape(name string) { func (o *ArrayMesh) AddSurfaceFromArrays(primitive int64, arrays *Array, blendShapes *Array, compressFlags int64) { log.Println("Calling ArrayMesh.AddSurfaceFromArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(primitive) - goArguments[1] = reflect.ValueOf(arrays) - goArguments[2] = reflect.ValueOf(blendShapes) - goArguments[3] = reflect.ValueOf(compressFlags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_surface_from_arrays", goArguments, "") - + godotCallVoidIntArrayArrayInt(o, "add_surface_from_arrays", primitive, arrays, blendShapes, compressFlags) log.Println(" Function successfully completed.") } @@ -7474,13 +4755,7 @@ func (o *ArrayMesh) AddSurfaceFromArrays(primitive int64, arrays *Array, blendSh func (o *ArrayMesh) CenterGeometry() { log.Println("Calling ArrayMesh.CenterGeometry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "center_geometry", goArguments, "") - + godotCallVoid(o, "center_geometry") log.Println(" Function successfully completed.") } @@ -7491,13 +4766,7 @@ func (o *ArrayMesh) CenterGeometry() { func (o *ArrayMesh) ClearBlendShapes() { log.Println("Calling ArrayMesh.ClearBlendShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_blend_shapes", goArguments, "") - + godotCallVoid(o, "clear_blend_shapes") log.Println(" Function successfully completed.") } @@ -7508,16 +4777,9 @@ func (o *ArrayMesh) ClearBlendShapes() { func (o *ArrayMesh) GetBlendShapeCount() int64 { log.Println("Calling ArrayMesh.GetBlendShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_blend_shape_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7528,16 +4790,9 @@ func (o *ArrayMesh) GetBlendShapeCount() int64 { func (o *ArrayMesh) GetBlendShapeMode() int64 { log.Println("Calling ArrayMesh.GetBlendShapeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_shape_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_blend_shape_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7548,17 +4803,9 @@ func (o *ArrayMesh) GetBlendShapeMode() int64 { func (o *ArrayMesh) GetBlendShapeName(index int64) string { log.Println("Calling ArrayMesh.GetBlendShapeName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_shape_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_blend_shape_name", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7569,16 +4816,9 @@ func (o *ArrayMesh) GetBlendShapeName(index int64) string { func (o *ArrayMesh) GetCustomAabb() *AABB { log.Println("Calling ArrayMesh.GetCustomAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_custom_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7589,16 +4829,9 @@ func (o *ArrayMesh) GetCustomAabb() *AABB { func (o *ArrayMesh) GetSurfaceCount() int64 { log.Println("Calling ArrayMesh.GetSurfaceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_surface_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_surface_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7609,13 +4842,7 @@ func (o *ArrayMesh) GetSurfaceCount() int64 { func (o *ArrayMesh) RegenNormalmaps() { log.Println("Calling ArrayMesh.RegenNormalmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "regen_normalmaps", goArguments, "") - + godotCallVoid(o, "regen_normalmaps") log.Println(" Function successfully completed.") } @@ -7626,14 +4853,7 @@ func (o *ArrayMesh) RegenNormalmaps() { func (o *ArrayMesh) SetBlendShapeMode(mode int64) { log.Println("Calling ArrayMesh.SetBlendShapeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blend_shape_mode", goArguments, "") - + godotCallVoidInt(o, "set_blend_shape_mode", mode) log.Println(" Function successfully completed.") } @@ -7644,14 +4864,7 @@ func (o *ArrayMesh) SetBlendShapeMode(mode int64) { func (o *ArrayMesh) SetCustomAabb(aabb *AABB) { log.Println("Calling ArrayMesh.SetCustomAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aabb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_aabb", goArguments, "") - + godotCallVoidAabb(o, "set_custom_aabb", aabb) log.Println(" Function successfully completed.") } @@ -7662,17 +4875,9 @@ func (o *ArrayMesh) SetCustomAabb(aabb *AABB) { func (o *ArrayMesh) SurfaceGetArrayIndexLen(surfIdx int64) int64 { log.Println("Calling ArrayMesh.SurfaceGetArrayIndexLen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_array_index_len", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "surface_get_array_index_len", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7683,17 +4888,9 @@ func (o *ArrayMesh) SurfaceGetArrayIndexLen(surfIdx int64) int64 { func (o *ArrayMesh) SurfaceGetArrayLen(surfIdx int64) int64 { log.Println("Calling ArrayMesh.SurfaceGetArrayLen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_array_len", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "surface_get_array_len", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7704,17 +4901,9 @@ func (o *ArrayMesh) SurfaceGetArrayLen(surfIdx int64) int64 { func (o *ArrayMesh) SurfaceGetArrays(surfIdx int64) *Array { log.Println("Calling ArrayMesh.SurfaceGetArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_arrays", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "surface_get_arrays", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7725,17 +4914,9 @@ func (o *ArrayMesh) SurfaceGetArrays(surfIdx int64) *Array { func (o *ArrayMesh) SurfaceGetBlendShapeArrays(surfIdx int64) *Array { log.Println("Calling ArrayMesh.SurfaceGetBlendShapeArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_blend_shape_arrays", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "surface_get_blend_shape_arrays", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7746,17 +4927,9 @@ func (o *ArrayMesh) SurfaceGetBlendShapeArrays(surfIdx int64) *Array { func (o *ArrayMesh) SurfaceGetFormat(surfIdx int64) int64 { log.Println("Calling ArrayMesh.SurfaceGetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "surface_get_format", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7767,18 +4940,12 @@ func (o *ArrayMesh) SurfaceGetFormat(surfIdx int64) int64 { func (o *ArrayMesh) SurfaceGetMaterial(surfIdx int64) *Material { log.Println("Calling ArrayMesh.SurfaceGetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObjectInt(o, "surface_get_material", surfIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -7788,17 +4955,9 @@ func (o *ArrayMesh) SurfaceGetMaterial(surfIdx int64) *Material { func (o *ArrayMesh) SurfaceGetName(surfIdx int64) string { log.Println("Calling ArrayMesh.SurfaceGetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "surface_get_name", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7809,17 +4968,9 @@ func (o *ArrayMesh) SurfaceGetName(surfIdx int64) string { func (o *ArrayMesh) SurfaceGetPrimitiveType(surfIdx int64) int64 { log.Println("Calling ArrayMesh.SurfaceGetPrimitiveType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "surface_get_primitive_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "surface_get_primitive_type", surfIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7830,14 +4981,7 @@ func (o *ArrayMesh) SurfaceGetPrimitiveType(surfIdx int64) int64 { func (o *ArrayMesh) SurfaceRemove(surfIdx int64) { log.Println("Calling ArrayMesh.SurfaceRemove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surfIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "surface_remove", goArguments, "") - + godotCallVoidInt(o, "surface_remove", surfIdx) log.Println(" Function successfully completed.") } @@ -7848,15 +4992,7 @@ func (o *ArrayMesh) SurfaceRemove(surfIdx int64) { func (o *ArrayMesh) SurfaceSetMaterial(surfIdx int64, material *Material) { log.Println("Calling ArrayMesh.SurfaceSetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(surfIdx) - goArguments[1] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "surface_set_material", goArguments, "") - + godotCallVoidIntObject(o, "surface_set_material", surfIdx, &material.Object) log.Println(" Function successfully completed.") } @@ -7867,15 +5003,7 @@ func (o *ArrayMesh) SurfaceSetMaterial(surfIdx int64, material *Material) { func (o *ArrayMesh) SurfaceSetName(surfIdx int64, name string) { log.Println("Calling ArrayMesh.SurfaceSetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(surfIdx) - goArguments[1] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "surface_set_name", goArguments, "") - + godotCallVoidIntString(o, "surface_set_name", surfIdx, name) log.Println(" Function successfully completed.") } @@ -7886,16 +5014,7 @@ func (o *ArrayMesh) SurfaceSetName(surfIdx int64, name string) { func (o *ArrayMesh) SurfaceUpdateRegion(surfIdx int64, offset int64, data *PoolByteArray) { log.Println("Calling ArrayMesh.SurfaceUpdateRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(surfIdx) - goArguments[1] = reflect.ValueOf(offset) - goArguments[2] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "surface_update_region", goArguments, "") - + godotCallVoidIntIntPoolByteArray(o, "surface_update_region", surfIdx, offset, data) log.Println(" Function successfully completed.") } @@ -7924,17 +5043,12 @@ func (o *AtlasTexture) baseClass() string { func (o *AtlasTexture) GetAtlas() *Texture { log.Println("Calling AtlasTexture.GetAtlas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_atlas", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_atlas") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -7944,16 +5058,9 @@ func (o *AtlasTexture) GetAtlas() *Texture { func (o *AtlasTexture) GetMargin() *Rect2 { log.Println("Calling AtlasTexture.GetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7964,16 +5071,9 @@ func (o *AtlasTexture) GetMargin() *Rect2 { func (o *AtlasTexture) GetRegion() *Rect2 { log.Println("Calling AtlasTexture.GetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_region") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -7984,16 +5084,9 @@ func (o *AtlasTexture) GetRegion() *Rect2 { func (o *AtlasTexture) HasFilterClip() bool { log.Println("Calling AtlasTexture.HasFilterClip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_filter_clip", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_filter_clip") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8004,14 +5097,7 @@ func (o *AtlasTexture) HasFilterClip() bool { func (o *AtlasTexture) SetAtlas(atlas *Texture) { log.Println("Calling AtlasTexture.SetAtlas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(atlas) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_atlas", goArguments, "") - + godotCallVoidObject(o, "set_atlas", &atlas.Object) log.Println(" Function successfully completed.") } @@ -8022,14 +5108,7 @@ func (o *AtlasTexture) SetAtlas(atlas *Texture) { func (o *AtlasTexture) SetFilterClip(enable bool) { log.Println("Calling AtlasTexture.SetFilterClip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filter_clip", goArguments, "") - + godotCallVoidBool(o, "set_filter_clip", enable) log.Println(" Function successfully completed.") } @@ -8040,14 +5119,7 @@ func (o *AtlasTexture) SetFilterClip(enable bool) { func (o *AtlasTexture) SetMargin(margin *Rect2) { log.Println("Calling AtlasTexture.SetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin", goArguments, "") - + godotCallVoidRect2(o, "set_margin", margin) log.Println(" Function successfully completed.") } @@ -8058,14 +5130,7 @@ func (o *AtlasTexture) SetMargin(margin *Rect2) { func (o *AtlasTexture) SetRegion(region *Rect2) { log.Println("Calling AtlasTexture.SetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(region) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region", goArguments, "") - + godotCallVoidRect2(o, "set_region", region) log.Println(" Function successfully completed.") } @@ -8130,16 +5195,9 @@ func (o *AudioEffectAmplify) baseClass() string { func (o *AudioEffectAmplify) GetVolumeDb() float64 { log.Println("Calling AudioEffectAmplify.GetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_volume_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_volume_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8150,14 +5208,7 @@ func (o *AudioEffectAmplify) GetVolumeDb() float64 { func (o *AudioEffectAmplify) SetVolumeDb(volume float64) { log.Println("Calling AudioEffectAmplify.SetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(volume) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_volume_db", goArguments, "") - + godotCallVoidFloat(o, "set_volume_db", volume) log.Println(" Function successfully completed.") } @@ -8222,16 +5273,9 @@ func (o *AudioEffectChorus) baseClass() string { func (o *AudioEffectChorus) GetDry() float64 { log.Println("Calling AudioEffectChorus.GetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dry", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dry") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8242,16 +5286,9 @@ func (o *AudioEffectChorus) GetDry() float64 { func (o *AudioEffectChorus) GetVoiceCount() int64 { log.Println("Calling AudioEffectChorus.GetVoiceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_voice_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8262,17 +5299,9 @@ func (o *AudioEffectChorus) GetVoiceCount() int64 { func (o *AudioEffectChorus) GetVoiceCutoffHz(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoiceCutoffHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_cutoff_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_cutoff_hz", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8283,17 +5312,9 @@ func (o *AudioEffectChorus) GetVoiceCutoffHz(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetVoiceDelayMs(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoiceDelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_delay_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_delay_ms", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8304,17 +5325,9 @@ func (o *AudioEffectChorus) GetVoiceDelayMs(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetVoiceDepthMs(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoiceDepthMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_depth_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_depth_ms", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8325,17 +5338,9 @@ func (o *AudioEffectChorus) GetVoiceDepthMs(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetVoiceLevelDb(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoiceLevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_level_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_level_db", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8346,17 +5351,9 @@ func (o *AudioEffectChorus) GetVoiceLevelDb(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetVoicePan(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoicePan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_pan", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_pan", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8367,17 +5364,9 @@ func (o *AudioEffectChorus) GetVoicePan(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetVoiceRateHz(voiceIdx int64) float64 { log.Println("Calling AudioEffectChorus.GetVoiceRateHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voiceIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_voice_rate_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_voice_rate_hz", voiceIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8388,16 +5377,9 @@ func (o *AudioEffectChorus) GetVoiceRateHz(voiceIdx int64) float64 { func (o *AudioEffectChorus) GetWet() float64 { log.Println("Calling AudioEffectChorus.GetWet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_wet", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_wet") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8408,14 +5390,7 @@ func (o *AudioEffectChorus) GetWet() float64 { func (o *AudioEffectChorus) SetDry(amount float64) { log.Println("Calling AudioEffectChorus.SetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dry", goArguments, "") - + godotCallVoidFloat(o, "set_dry", amount) log.Println(" Function successfully completed.") } @@ -8426,14 +5401,7 @@ func (o *AudioEffectChorus) SetDry(amount float64) { func (o *AudioEffectChorus) SetVoiceCount(voices int64) { log.Println("Calling AudioEffectChorus.SetVoiceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(voices) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_count", goArguments, "") - + godotCallVoidInt(o, "set_voice_count", voices) log.Println(" Function successfully completed.") } @@ -8444,15 +5412,7 @@ func (o *AudioEffectChorus) SetVoiceCount(voices int64) { func (o *AudioEffectChorus) SetVoiceCutoffHz(voiceIdx int64, cutoffHz float64) { log.Println("Calling AudioEffectChorus.SetVoiceCutoffHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(cutoffHz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_cutoff_hz", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_cutoff_hz", voiceIdx, cutoffHz) log.Println(" Function successfully completed.") } @@ -8463,15 +5423,7 @@ func (o *AudioEffectChorus) SetVoiceCutoffHz(voiceIdx int64, cutoffHz float64) { func (o *AudioEffectChorus) SetVoiceDelayMs(voiceIdx int64, delayMs float64) { log.Println("Calling AudioEffectChorus.SetVoiceDelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(delayMs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_delay_ms", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_delay_ms", voiceIdx, delayMs) log.Println(" Function successfully completed.") } @@ -8482,15 +5434,7 @@ func (o *AudioEffectChorus) SetVoiceDelayMs(voiceIdx int64, delayMs float64) { func (o *AudioEffectChorus) SetVoiceDepthMs(voiceIdx int64, depthMs float64) { log.Println("Calling AudioEffectChorus.SetVoiceDepthMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(depthMs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_depth_ms", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_depth_ms", voiceIdx, depthMs) log.Println(" Function successfully completed.") } @@ -8501,15 +5445,7 @@ func (o *AudioEffectChorus) SetVoiceDepthMs(voiceIdx int64, depthMs float64) { func (o *AudioEffectChorus) SetVoiceLevelDb(voiceIdx int64, levelDb float64) { log.Println("Calling AudioEffectChorus.SetVoiceLevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(levelDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_level_db", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_level_db", voiceIdx, levelDb) log.Println(" Function successfully completed.") } @@ -8520,15 +5456,7 @@ func (o *AudioEffectChorus) SetVoiceLevelDb(voiceIdx int64, levelDb float64) { func (o *AudioEffectChorus) SetVoicePan(voiceIdx int64, pan float64) { log.Println("Calling AudioEffectChorus.SetVoicePan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(pan) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_pan", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_pan", voiceIdx, pan) log.Println(" Function successfully completed.") } @@ -8539,15 +5467,7 @@ func (o *AudioEffectChorus) SetVoicePan(voiceIdx int64, pan float64) { func (o *AudioEffectChorus) SetVoiceRateHz(voiceIdx int64, rateHz float64) { log.Println("Calling AudioEffectChorus.SetVoiceRateHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(voiceIdx) - goArguments[1] = reflect.ValueOf(rateHz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_voice_rate_hz", goArguments, "") - + godotCallVoidIntFloat(o, "set_voice_rate_hz", voiceIdx, rateHz) log.Println(" Function successfully completed.") } @@ -8558,14 +5478,7 @@ func (o *AudioEffectChorus) SetVoiceRateHz(voiceIdx int64, rateHz float64) { func (o *AudioEffectChorus) SetWet(amount float64) { log.Println("Calling AudioEffectChorus.SetWet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_wet", goArguments, "") - + godotCallVoidFloat(o, "set_wet", amount) log.Println(" Function successfully completed.") } @@ -8594,16 +5507,9 @@ func (o *AudioEffectCompressor) baseClass() string { func (o *AudioEffectCompressor) GetAttackUs() float64 { log.Println("Calling AudioEffectCompressor.GetAttackUs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attack_us", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_attack_us") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8614,16 +5520,9 @@ func (o *AudioEffectCompressor) GetAttackUs() float64 { func (o *AudioEffectCompressor) GetGain() float64 { log.Println("Calling AudioEffectCompressor.GetGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gain", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gain") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8634,16 +5533,9 @@ func (o *AudioEffectCompressor) GetGain() float64 { func (o *AudioEffectCompressor) GetMix() float64 { log.Println("Calling AudioEffectCompressor.GetMix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mix", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_mix") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8654,16 +5546,9 @@ func (o *AudioEffectCompressor) GetMix() float64 { func (o *AudioEffectCompressor) GetRatio() float64 { log.Println("Calling AudioEffectCompressor.GetRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8674,16 +5559,9 @@ func (o *AudioEffectCompressor) GetRatio() float64 { func (o *AudioEffectCompressor) GetReleaseMs() float64 { log.Println("Calling AudioEffectCompressor.GetReleaseMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_release_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_release_ms") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8694,16 +5572,9 @@ func (o *AudioEffectCompressor) GetReleaseMs() float64 { func (o *AudioEffectCompressor) GetSidechain() string { log.Println("Calling AudioEffectCompressor.GetSidechain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sidechain", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_sidechain") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8714,16 +5585,9 @@ func (o *AudioEffectCompressor) GetSidechain() string { func (o *AudioEffectCompressor) GetThreshold() float64 { log.Println("Calling AudioEffectCompressor.GetThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_threshold", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_threshold") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8734,14 +5598,7 @@ func (o *AudioEffectCompressor) GetThreshold() float64 { func (o *AudioEffectCompressor) SetAttackUs(attackUs float64) { log.Println("Calling AudioEffectCompressor.SetAttackUs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(attackUs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attack_us", goArguments, "") - + godotCallVoidFloat(o, "set_attack_us", attackUs) log.Println(" Function successfully completed.") } @@ -8752,14 +5609,7 @@ func (o *AudioEffectCompressor) SetAttackUs(attackUs float64) { func (o *AudioEffectCompressor) SetGain(gain float64) { log.Println("Calling AudioEffectCompressor.SetGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gain) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gain", goArguments, "") - + godotCallVoidFloat(o, "set_gain", gain) log.Println(" Function successfully completed.") } @@ -8770,14 +5620,7 @@ func (o *AudioEffectCompressor) SetGain(gain float64) { func (o *AudioEffectCompressor) SetMix(mix float64) { log.Println("Calling AudioEffectCompressor.SetMix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mix) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mix", goArguments, "") - + godotCallVoidFloat(o, "set_mix", mix) log.Println(" Function successfully completed.") } @@ -8788,14 +5631,7 @@ func (o *AudioEffectCompressor) SetMix(mix float64) { func (o *AudioEffectCompressor) SetRatio(ratio float64) { log.Println("Calling AudioEffectCompressor.SetRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_ratio", ratio) log.Println(" Function successfully completed.") } @@ -8806,14 +5642,7 @@ func (o *AudioEffectCompressor) SetRatio(ratio float64) { func (o *AudioEffectCompressor) SetReleaseMs(releaseMs float64) { log.Println("Calling AudioEffectCompressor.SetReleaseMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(releaseMs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_release_ms", goArguments, "") - + godotCallVoidFloat(o, "set_release_ms", releaseMs) log.Println(" Function successfully completed.") } @@ -8824,14 +5653,7 @@ func (o *AudioEffectCompressor) SetReleaseMs(releaseMs float64) { func (o *AudioEffectCompressor) SetSidechain(sidechain string) { log.Println("Calling AudioEffectCompressor.SetSidechain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sidechain) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sidechain", goArguments, "") - + godotCallVoidString(o, "set_sidechain", sidechain) log.Println(" Function successfully completed.") } @@ -8842,14 +5664,7 @@ func (o *AudioEffectCompressor) SetSidechain(sidechain string) { func (o *AudioEffectCompressor) SetThreshold(threshold float64) { log.Println("Calling AudioEffectCompressor.SetThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(threshold) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_threshold", goArguments, "") - + godotCallVoidFloat(o, "set_threshold", threshold) log.Println(" Function successfully completed.") } @@ -8878,16 +5693,9 @@ func (o *AudioEffectDelay) baseClass() string { func (o *AudioEffectDelay) GetDry() float64 { log.Println("Calling AudioEffectDelay.GetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dry", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dry") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8898,16 +5706,9 @@ func (o *AudioEffectDelay) GetDry() float64 { func (o *AudioEffectDelay) GetFeedbackDelayMs() float64 { log.Println("Calling AudioEffectDelay.GetFeedbackDelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_feedback_delay_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_feedback_delay_ms") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8918,16 +5719,9 @@ func (o *AudioEffectDelay) GetFeedbackDelayMs() float64 { func (o *AudioEffectDelay) GetFeedbackLevelDb() float64 { log.Println("Calling AudioEffectDelay.GetFeedbackLevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_feedback_level_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_feedback_level_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8938,16 +5732,9 @@ func (o *AudioEffectDelay) GetFeedbackLevelDb() float64 { func (o *AudioEffectDelay) GetFeedbackLowpass() float64 { log.Println("Calling AudioEffectDelay.GetFeedbackLowpass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_feedback_lowpass", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_feedback_lowpass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8958,16 +5745,9 @@ func (o *AudioEffectDelay) GetFeedbackLowpass() float64 { func (o *AudioEffectDelay) GetTap1DelayMs() float64 { log.Println("Calling AudioEffectDelay.GetTap1DelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap1_delay_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap1_delay_ms") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8978,16 +5758,9 @@ func (o *AudioEffectDelay) GetTap1DelayMs() float64 { func (o *AudioEffectDelay) GetTap1LevelDb() float64 { log.Println("Calling AudioEffectDelay.GetTap1LevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap1_level_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap1_level_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -8998,16 +5771,9 @@ func (o *AudioEffectDelay) GetTap1LevelDb() float64 { func (o *AudioEffectDelay) GetTap1Pan() float64 { log.Println("Calling AudioEffectDelay.GetTap1Pan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap1_pan", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap1_pan") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9018,16 +5784,9 @@ func (o *AudioEffectDelay) GetTap1Pan() float64 { func (o *AudioEffectDelay) GetTap2DelayMs() float64 { log.Println("Calling AudioEffectDelay.GetTap2DelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap2_delay_ms", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap2_delay_ms") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9038,16 +5797,9 @@ func (o *AudioEffectDelay) GetTap2DelayMs() float64 { func (o *AudioEffectDelay) GetTap2LevelDb() float64 { log.Println("Calling AudioEffectDelay.GetTap2LevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap2_level_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap2_level_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9058,16 +5810,9 @@ func (o *AudioEffectDelay) GetTap2LevelDb() float64 { func (o *AudioEffectDelay) GetTap2Pan() float64 { log.Println("Calling AudioEffectDelay.GetTap2Pan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tap2_pan", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tap2_pan") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9078,16 +5823,9 @@ func (o *AudioEffectDelay) GetTap2Pan() float64 { func (o *AudioEffectDelay) IsFeedbackActive() bool { log.Println("Calling AudioEffectDelay.IsFeedbackActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_feedback_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_feedback_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9098,16 +5836,9 @@ func (o *AudioEffectDelay) IsFeedbackActive() bool { func (o *AudioEffectDelay) IsTap1Active() bool { log.Println("Calling AudioEffectDelay.IsTap1Active()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_tap1_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_tap1_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9118,16 +5849,9 @@ func (o *AudioEffectDelay) IsTap1Active() bool { func (o *AudioEffectDelay) IsTap2Active() bool { log.Println("Calling AudioEffectDelay.IsTap2Active()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_tap2_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_tap2_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9138,14 +5862,7 @@ func (o *AudioEffectDelay) IsTap2Active() bool { func (o *AudioEffectDelay) SetDry(amount float64) { log.Println("Calling AudioEffectDelay.SetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dry", goArguments, "") - + godotCallVoidFloat(o, "set_dry", amount) log.Println(" Function successfully completed.") } @@ -9156,14 +5873,7 @@ func (o *AudioEffectDelay) SetDry(amount float64) { func (o *AudioEffectDelay) SetFeedbackActive(amount bool) { log.Println("Calling AudioEffectDelay.SetFeedbackActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feedback_active", goArguments, "") - + godotCallVoidBool(o, "set_feedback_active", amount) log.Println(" Function successfully completed.") } @@ -9174,14 +5884,7 @@ func (o *AudioEffectDelay) SetFeedbackActive(amount bool) { func (o *AudioEffectDelay) SetFeedbackDelayMs(amount float64) { log.Println("Calling AudioEffectDelay.SetFeedbackDelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feedback_delay_ms", goArguments, "") - + godotCallVoidFloat(o, "set_feedback_delay_ms", amount) log.Println(" Function successfully completed.") } @@ -9192,14 +5895,7 @@ func (o *AudioEffectDelay) SetFeedbackDelayMs(amount float64) { func (o *AudioEffectDelay) SetFeedbackLevelDb(amount float64) { log.Println("Calling AudioEffectDelay.SetFeedbackLevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feedback_level_db", goArguments, "") - + godotCallVoidFloat(o, "set_feedback_level_db", amount) log.Println(" Function successfully completed.") } @@ -9210,14 +5906,7 @@ func (o *AudioEffectDelay) SetFeedbackLevelDb(amount float64) { func (o *AudioEffectDelay) SetFeedbackLowpass(amount float64) { log.Println("Calling AudioEffectDelay.SetFeedbackLowpass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feedback_lowpass", goArguments, "") - + godotCallVoidFloat(o, "set_feedback_lowpass", amount) log.Println(" Function successfully completed.") } @@ -9228,14 +5917,7 @@ func (o *AudioEffectDelay) SetFeedbackLowpass(amount float64) { func (o *AudioEffectDelay) SetTap1Active(amount bool) { log.Println("Calling AudioEffectDelay.SetTap1Active()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap1_active", goArguments, "") - + godotCallVoidBool(o, "set_tap1_active", amount) log.Println(" Function successfully completed.") } @@ -9246,14 +5928,7 @@ func (o *AudioEffectDelay) SetTap1Active(amount bool) { func (o *AudioEffectDelay) SetTap1DelayMs(amount float64) { log.Println("Calling AudioEffectDelay.SetTap1DelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap1_delay_ms", goArguments, "") - + godotCallVoidFloat(o, "set_tap1_delay_ms", amount) log.Println(" Function successfully completed.") } @@ -9264,14 +5939,7 @@ func (o *AudioEffectDelay) SetTap1DelayMs(amount float64) { func (o *AudioEffectDelay) SetTap1LevelDb(amount float64) { log.Println("Calling AudioEffectDelay.SetTap1LevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap1_level_db", goArguments, "") - + godotCallVoidFloat(o, "set_tap1_level_db", amount) log.Println(" Function successfully completed.") } @@ -9282,14 +5950,7 @@ func (o *AudioEffectDelay) SetTap1LevelDb(amount float64) { func (o *AudioEffectDelay) SetTap1Pan(amount float64) { log.Println("Calling AudioEffectDelay.SetTap1Pan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap1_pan", goArguments, "") - + godotCallVoidFloat(o, "set_tap1_pan", amount) log.Println(" Function successfully completed.") } @@ -9300,14 +5961,7 @@ func (o *AudioEffectDelay) SetTap1Pan(amount float64) { func (o *AudioEffectDelay) SetTap2Active(amount bool) { log.Println("Calling AudioEffectDelay.SetTap2Active()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap2_active", goArguments, "") - + godotCallVoidBool(o, "set_tap2_active", amount) log.Println(" Function successfully completed.") } @@ -9318,14 +5972,7 @@ func (o *AudioEffectDelay) SetTap2Active(amount bool) { func (o *AudioEffectDelay) SetTap2DelayMs(amount float64) { log.Println("Calling AudioEffectDelay.SetTap2DelayMs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap2_delay_ms", goArguments, "") - + godotCallVoidFloat(o, "set_tap2_delay_ms", amount) log.Println(" Function successfully completed.") } @@ -9336,14 +5983,7 @@ func (o *AudioEffectDelay) SetTap2DelayMs(amount float64) { func (o *AudioEffectDelay) SetTap2LevelDb(amount float64) { log.Println("Calling AudioEffectDelay.SetTap2LevelDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap2_level_db", goArguments, "") - + godotCallVoidFloat(o, "set_tap2_level_db", amount) log.Println(" Function successfully completed.") } @@ -9354,14 +5994,7 @@ func (o *AudioEffectDelay) SetTap2LevelDb(amount float64) { func (o *AudioEffectDelay) SetTap2Pan(amount float64) { log.Println("Calling AudioEffectDelay.SetTap2Pan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tap2_pan", goArguments, "") - + godotCallVoidFloat(o, "set_tap2_pan", amount) log.Println(" Function successfully completed.") } @@ -9390,16 +6023,9 @@ func (o *AudioEffectDistortion) baseClass() string { func (o *AudioEffectDistortion) GetDrive() float64 { log.Println("Calling AudioEffectDistortion.GetDrive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drive", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_drive") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9410,16 +6036,9 @@ func (o *AudioEffectDistortion) GetDrive() float64 { func (o *AudioEffectDistortion) GetKeepHfHz() float64 { log.Println("Calling AudioEffectDistortion.GetKeepHfHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_keep_hf_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_keep_hf_hz") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9430,16 +6049,9 @@ func (o *AudioEffectDistortion) GetKeepHfHz() float64 { func (o *AudioEffectDistortion) GetMode() int64 { log.Println("Calling AudioEffectDistortion.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9450,16 +6062,9 @@ func (o *AudioEffectDistortion) GetMode() int64 { func (o *AudioEffectDistortion) GetPostGain() float64 { log.Println("Calling AudioEffectDistortion.GetPostGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_post_gain", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_post_gain") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9470,16 +6075,9 @@ func (o *AudioEffectDistortion) GetPostGain() float64 { func (o *AudioEffectDistortion) GetPreGain() float64 { log.Println("Calling AudioEffectDistortion.GetPreGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pre_gain", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pre_gain") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9490,14 +6088,7 @@ func (o *AudioEffectDistortion) GetPreGain() float64 { func (o *AudioEffectDistortion) SetDrive(drive float64) { log.Println("Calling AudioEffectDistortion.SetDrive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(drive) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_drive", goArguments, "") - + godotCallVoidFloat(o, "set_drive", drive) log.Println(" Function successfully completed.") } @@ -9508,14 +6099,7 @@ func (o *AudioEffectDistortion) SetDrive(drive float64) { func (o *AudioEffectDistortion) SetKeepHfHz(keepHfHz float64) { log.Println("Calling AudioEffectDistortion.SetKeepHfHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(keepHfHz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_keep_hf_hz", goArguments, "") - + godotCallVoidFloat(o, "set_keep_hf_hz", keepHfHz) log.Println(" Function successfully completed.") } @@ -9526,14 +6110,7 @@ func (o *AudioEffectDistortion) SetKeepHfHz(keepHfHz float64) { func (o *AudioEffectDistortion) SetMode(mode int64) { log.Println("Calling AudioEffectDistortion.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -9544,14 +6121,7 @@ func (o *AudioEffectDistortion) SetMode(mode int64) { func (o *AudioEffectDistortion) SetPostGain(postGain float64) { log.Println("Calling AudioEffectDistortion.SetPostGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(postGain) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_post_gain", goArguments, "") - + godotCallVoidFloat(o, "set_post_gain", postGain) log.Println(" Function successfully completed.") } @@ -9562,14 +6132,7 @@ func (o *AudioEffectDistortion) SetPostGain(postGain float64) { func (o *AudioEffectDistortion) SetPreGain(preGain float64) { log.Println("Calling AudioEffectDistortion.SetPreGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(preGain) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pre_gain", goArguments, "") - + godotCallVoidFloat(o, "set_pre_gain", preGain) log.Println(" Function successfully completed.") } @@ -9598,16 +6161,9 @@ func (o *AudioEffectEQ) baseClass() string { func (o *AudioEffectEQ) GetBandCount() int64 { log.Println("Calling AudioEffectEQ.GetBandCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_band_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_band_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9618,17 +6174,9 @@ func (o *AudioEffectEQ) GetBandCount() int64 { func (o *AudioEffectEQ) GetBandGainDb(bandIdx int64) float64 { log.Println("Calling AudioEffectEQ.GetBandGainDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bandIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_band_gain_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_band_gain_db", bandIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9639,15 +6187,7 @@ func (o *AudioEffectEQ) GetBandGainDb(bandIdx int64) float64 { func (o *AudioEffectEQ) SetBandGainDb(bandIdx int64, volumeDb float64) { log.Println("Calling AudioEffectEQ.SetBandGainDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bandIdx) - goArguments[1] = reflect.ValueOf(volumeDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_band_gain_db", goArguments, "") - + godotCallVoidIntFloat(o, "set_band_gain_db", bandIdx, volumeDb) log.Println(" Function successfully completed.") } @@ -9730,16 +6270,9 @@ func (o *AudioEffectFilter) baseClass() string { func (o *AudioEffectFilter) GetCutoff() float64 { log.Println("Calling AudioEffectFilter.GetCutoff()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cutoff", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_cutoff") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9750,16 +6283,9 @@ func (o *AudioEffectFilter) GetCutoff() float64 { func (o *AudioEffectFilter) GetDb() int64 { log.Println("Calling AudioEffectFilter.GetDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_db", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9770,16 +6296,9 @@ func (o *AudioEffectFilter) GetDb() int64 { func (o *AudioEffectFilter) GetGain() float64 { log.Println("Calling AudioEffectFilter.GetGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gain", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gain") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9790,16 +6309,9 @@ func (o *AudioEffectFilter) GetGain() float64 { func (o *AudioEffectFilter) GetResonance() float64 { log.Println("Calling AudioEffectFilter.GetResonance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resonance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_resonance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9810,14 +6322,7 @@ func (o *AudioEffectFilter) GetResonance() float64 { func (o *AudioEffectFilter) SetCutoff(freq float64) { log.Println("Calling AudioEffectFilter.SetCutoff()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(freq) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cutoff", goArguments, "") - + godotCallVoidFloat(o, "set_cutoff", freq) log.Println(" Function successfully completed.") } @@ -9828,14 +6333,7 @@ func (o *AudioEffectFilter) SetCutoff(freq float64) { func (o *AudioEffectFilter) SetDb(amount int64) { log.Println("Calling AudioEffectFilter.SetDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_db", goArguments, "") - + godotCallVoidInt(o, "set_db", amount) log.Println(" Function successfully completed.") } @@ -9846,14 +6344,7 @@ func (o *AudioEffectFilter) SetDb(amount int64) { func (o *AudioEffectFilter) SetGain(amount float64) { log.Println("Calling AudioEffectFilter.SetGain()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gain", goArguments, "") - + godotCallVoidFloat(o, "set_gain", amount) log.Println(" Function successfully completed.") } @@ -9864,14 +6355,7 @@ func (o *AudioEffectFilter) SetGain(amount float64) { func (o *AudioEffectFilter) SetResonance(amount float64) { log.Println("Calling AudioEffectFilter.SetResonance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_resonance", goArguments, "") - + godotCallVoidFloat(o, "set_resonance", amount) log.Println(" Function successfully completed.") } @@ -9936,16 +6420,9 @@ func (o *AudioEffectLimiter) baseClass() string { func (o *AudioEffectLimiter) GetCeilingDb() float64 { log.Println("Calling AudioEffectLimiter.GetCeilingDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ceiling_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ceiling_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9956,16 +6433,9 @@ func (o *AudioEffectLimiter) GetCeilingDb() float64 { func (o *AudioEffectLimiter) GetSoftClipDb() float64 { log.Println("Calling AudioEffectLimiter.GetSoftClipDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_soft_clip_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_soft_clip_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9976,16 +6446,9 @@ func (o *AudioEffectLimiter) GetSoftClipDb() float64 { func (o *AudioEffectLimiter) GetSoftClipRatio() float64 { log.Println("Calling AudioEffectLimiter.GetSoftClipRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_soft_clip_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_soft_clip_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -9996,16 +6459,9 @@ func (o *AudioEffectLimiter) GetSoftClipRatio() float64 { func (o *AudioEffectLimiter) GetThresholdDb() float64 { log.Println("Calling AudioEffectLimiter.GetThresholdDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_threshold_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_threshold_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10016,14 +6472,7 @@ func (o *AudioEffectLimiter) GetThresholdDb() float64 { func (o *AudioEffectLimiter) SetCeilingDb(ceiling float64) { log.Println("Calling AudioEffectLimiter.SetCeilingDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ceiling) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ceiling_db", goArguments, "") - + godotCallVoidFloat(o, "set_ceiling_db", ceiling) log.Println(" Function successfully completed.") } @@ -10034,14 +6483,7 @@ func (o *AudioEffectLimiter) SetCeilingDb(ceiling float64) { func (o *AudioEffectLimiter) SetSoftClipDb(softClip float64) { log.Println("Calling AudioEffectLimiter.SetSoftClipDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(softClip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_soft_clip_db", goArguments, "") - + godotCallVoidFloat(o, "set_soft_clip_db", softClip) log.Println(" Function successfully completed.") } @@ -10052,14 +6494,7 @@ func (o *AudioEffectLimiter) SetSoftClipDb(softClip float64) { func (o *AudioEffectLimiter) SetSoftClipRatio(softClip float64) { log.Println("Calling AudioEffectLimiter.SetSoftClipRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(softClip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_soft_clip_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_soft_clip_ratio", softClip) log.Println(" Function successfully completed.") } @@ -10070,14 +6505,7 @@ func (o *AudioEffectLimiter) SetSoftClipRatio(softClip float64) { func (o *AudioEffectLimiter) SetThresholdDb(threshold float64) { log.Println("Calling AudioEffectLimiter.SetThresholdDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(threshold) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_threshold_db", goArguments, "") - + godotCallVoidFloat(o, "set_threshold_db", threshold) log.Println(" Function successfully completed.") } @@ -10160,16 +6588,9 @@ func (o *AudioEffectPanner) baseClass() string { func (o *AudioEffectPanner) GetPan() float64 { log.Println("Calling AudioEffectPanner.GetPan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pan", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pan") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10180,14 +6601,7 @@ func (o *AudioEffectPanner) GetPan() float64 { func (o *AudioEffectPanner) SetPan(cpanume float64) { log.Println("Calling AudioEffectPanner.SetPan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cpanume) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pan", goArguments, "") - + godotCallVoidFloat(o, "set_pan", cpanume) log.Println(" Function successfully completed.") } @@ -10216,16 +6630,9 @@ func (o *AudioEffectPhaser) baseClass() string { func (o *AudioEffectPhaser) GetDepth() float64 { log.Println("Calling AudioEffectPhaser.GetDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_depth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10236,16 +6643,9 @@ func (o *AudioEffectPhaser) GetDepth() float64 { func (o *AudioEffectPhaser) GetFeedback() float64 { log.Println("Calling AudioEffectPhaser.GetFeedback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_feedback", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_feedback") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10256,16 +6656,9 @@ func (o *AudioEffectPhaser) GetFeedback() float64 { func (o *AudioEffectPhaser) GetRangeMaxHz() float64 { log.Println("Calling AudioEffectPhaser.GetRangeMaxHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_range_max_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_range_max_hz") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10276,16 +6669,9 @@ func (o *AudioEffectPhaser) GetRangeMaxHz() float64 { func (o *AudioEffectPhaser) GetRangeMinHz() float64 { log.Println("Calling AudioEffectPhaser.GetRangeMinHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_range_min_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_range_min_hz") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10296,16 +6682,9 @@ func (o *AudioEffectPhaser) GetRangeMinHz() float64 { func (o *AudioEffectPhaser) GetRateHz() float64 { log.Println("Calling AudioEffectPhaser.GetRateHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rate_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rate_hz") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10316,14 +6695,7 @@ func (o *AudioEffectPhaser) GetRateHz() float64 { func (o *AudioEffectPhaser) SetDepth(depth float64) { log.Println("Calling AudioEffectPhaser.SetDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(depth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth", goArguments, "") - + godotCallVoidFloat(o, "set_depth", depth) log.Println(" Function successfully completed.") } @@ -10334,14 +6706,7 @@ func (o *AudioEffectPhaser) SetDepth(depth float64) { func (o *AudioEffectPhaser) SetFeedback(fbk float64) { log.Println("Calling AudioEffectPhaser.SetFeedback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fbk) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feedback", goArguments, "") - + godotCallVoidFloat(o, "set_feedback", fbk) log.Println(" Function successfully completed.") } @@ -10352,14 +6717,7 @@ func (o *AudioEffectPhaser) SetFeedback(fbk float64) { func (o *AudioEffectPhaser) SetRangeMaxHz(hz float64) { log.Println("Calling AudioEffectPhaser.SetRangeMaxHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_range_max_hz", goArguments, "") - + godotCallVoidFloat(o, "set_range_max_hz", hz) log.Println(" Function successfully completed.") } @@ -10370,14 +6728,7 @@ func (o *AudioEffectPhaser) SetRangeMaxHz(hz float64) { func (o *AudioEffectPhaser) SetRangeMinHz(hz float64) { log.Println("Calling AudioEffectPhaser.SetRangeMinHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_range_min_hz", goArguments, "") - + godotCallVoidFloat(o, "set_range_min_hz", hz) log.Println(" Function successfully completed.") } @@ -10388,14 +6739,7 @@ func (o *AudioEffectPhaser) SetRangeMinHz(hz float64) { func (o *AudioEffectPhaser) SetRateHz(hz float64) { log.Println("Calling AudioEffectPhaser.SetRateHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hz) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rate_hz", goArguments, "") - + godotCallVoidFloat(o, "set_rate_hz", hz) log.Println(" Function successfully completed.") } @@ -10424,16 +6768,9 @@ func (o *AudioEffectPitchShift) baseClass() string { func (o *AudioEffectPitchShift) GetPitchScale() float64 { log.Println("Calling AudioEffectPitchShift.GetPitchScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pitch_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pitch_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10444,14 +6781,7 @@ func (o *AudioEffectPitchShift) GetPitchScale() float64 { func (o *AudioEffectPitchShift) SetPitchScale(rate float64) { log.Println("Calling AudioEffectPitchShift.SetPitchScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pitch_scale", goArguments, "") - + godotCallVoidFloat(o, "set_pitch_scale", rate) log.Println(" Function successfully completed.") } @@ -10480,16 +6810,9 @@ func (o *AudioEffectReverb) baseClass() string { func (o *AudioEffectReverb) GetDamping() float64 { log.Println("Calling AudioEffectReverb.GetDamping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_damping", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_damping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10500,16 +6823,9 @@ func (o *AudioEffectReverb) GetDamping() float64 { func (o *AudioEffectReverb) GetDry() float64 { log.Println("Calling AudioEffectReverb.GetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dry", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dry") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10520,16 +6836,9 @@ func (o *AudioEffectReverb) GetDry() float64 { func (o *AudioEffectReverb) GetHpf() float64 { log.Println("Calling AudioEffectReverb.GetHpf()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hpf", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_hpf") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10540,16 +6849,9 @@ func (o *AudioEffectReverb) GetHpf() float64 { func (o *AudioEffectReverb) GetPredelayFeedback() float64 { log.Println("Calling AudioEffectReverb.GetPredelayFeedback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_predelay_feedback", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_predelay_feedback") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10560,16 +6862,9 @@ func (o *AudioEffectReverb) GetPredelayFeedback() float64 { func (o *AudioEffectReverb) GetPredelayMsec() float64 { log.Println("Calling AudioEffectReverb.GetPredelayMsec()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_predelay_msec", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_predelay_msec") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10580,16 +6875,9 @@ func (o *AudioEffectReverb) GetPredelayMsec() float64 { func (o *AudioEffectReverb) GetRoomSize() float64 { log.Println("Calling AudioEffectReverb.GetRoomSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_room_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_room_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10600,16 +6888,9 @@ func (o *AudioEffectReverb) GetRoomSize() float64 { func (o *AudioEffectReverb) GetSpread() float64 { log.Println("Calling AudioEffectReverb.GetSpread()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_spread", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_spread") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10620,16 +6901,9 @@ func (o *AudioEffectReverb) GetSpread() float64 { func (o *AudioEffectReverb) GetWet() float64 { log.Println("Calling AudioEffectReverb.GetWet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_wet", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_wet") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10640,14 +6914,7 @@ func (o *AudioEffectReverb) GetWet() float64 { func (o *AudioEffectReverb) SetDamping(amount float64) { log.Println("Calling AudioEffectReverb.SetDamping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_damping", goArguments, "") - + godotCallVoidFloat(o, "set_damping", amount) log.Println(" Function successfully completed.") } @@ -10658,14 +6925,7 @@ func (o *AudioEffectReverb) SetDamping(amount float64) { func (o *AudioEffectReverb) SetDry(amount float64) { log.Println("Calling AudioEffectReverb.SetDry()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dry", goArguments, "") - + godotCallVoidFloat(o, "set_dry", amount) log.Println(" Function successfully completed.") } @@ -10676,14 +6936,7 @@ func (o *AudioEffectReverb) SetDry(amount float64) { func (o *AudioEffectReverb) SetHpf(amount float64) { log.Println("Calling AudioEffectReverb.SetHpf()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hpf", goArguments, "") - + godotCallVoidFloat(o, "set_hpf", amount) log.Println(" Function successfully completed.") } @@ -10694,14 +6947,7 @@ func (o *AudioEffectReverb) SetHpf(amount float64) { func (o *AudioEffectReverb) SetPredelayFeedback(feedback float64) { log.Println("Calling AudioEffectReverb.SetPredelayFeedback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(feedback) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_predelay_feedback", goArguments, "") - + godotCallVoidFloat(o, "set_predelay_feedback", feedback) log.Println(" Function successfully completed.") } @@ -10712,14 +6958,7 @@ func (o *AudioEffectReverb) SetPredelayFeedback(feedback float64) { func (o *AudioEffectReverb) SetPredelayMsec(msec float64) { log.Println("Calling AudioEffectReverb.SetPredelayMsec()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(msec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_predelay_msec", goArguments, "") - + godotCallVoidFloat(o, "set_predelay_msec", msec) log.Println(" Function successfully completed.") } @@ -10730,14 +6969,7 @@ func (o *AudioEffectReverb) SetPredelayMsec(msec float64) { func (o *AudioEffectReverb) SetRoomSize(size float64) { log.Println("Calling AudioEffectReverb.SetRoomSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_room_size", goArguments, "") - + godotCallVoidFloat(o, "set_room_size", size) log.Println(" Function successfully completed.") } @@ -10748,14 +6980,7 @@ func (o *AudioEffectReverb) SetRoomSize(size float64) { func (o *AudioEffectReverb) SetSpread(amount float64) { log.Println("Calling AudioEffectReverb.SetSpread()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_spread", goArguments, "") - + godotCallVoidFloat(o, "set_spread", amount) log.Println(" Function successfully completed.") } @@ -10766,14 +6991,7 @@ func (o *AudioEffectReverb) SetSpread(amount float64) { func (o *AudioEffectReverb) SetWet(amount float64) { log.Println("Calling AudioEffectReverb.SetWet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_wet", goArguments, "") - + godotCallVoidFloat(o, "set_wet", amount) log.Println(" Function successfully completed.") } @@ -10802,16 +7020,9 @@ func (o *AudioEffectStereoEnhance) baseClass() string { func (o *AudioEffectStereoEnhance) GetPanPullout() float64 { log.Println("Calling AudioEffectStereoEnhance.GetPanPullout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pan_pullout", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pan_pullout") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10822,16 +7033,9 @@ func (o *AudioEffectStereoEnhance) GetPanPullout() float64 { func (o *AudioEffectStereoEnhance) GetSurround() float64 { log.Println("Calling AudioEffectStereoEnhance.GetSurround()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_surround", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_surround") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10842,16 +7046,9 @@ func (o *AudioEffectStereoEnhance) GetSurround() float64 { func (o *AudioEffectStereoEnhance) GetTimePullout() float64 { log.Println("Calling AudioEffectStereoEnhance.GetTimePullout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_time_pullout", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_time_pullout") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -10862,14 +7059,7 @@ func (o *AudioEffectStereoEnhance) GetTimePullout() float64 { func (o *AudioEffectStereoEnhance) SetPanPullout(amount float64) { log.Println("Calling AudioEffectStereoEnhance.SetPanPullout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pan_pullout", goArguments, "") - + godotCallVoidFloat(o, "set_pan_pullout", amount) log.Println(" Function successfully completed.") } @@ -10880,14 +7070,7 @@ func (o *AudioEffectStereoEnhance) SetPanPullout(amount float64) { func (o *AudioEffectStereoEnhance) SetSurround(amount float64) { log.Println("Calling AudioEffectStereoEnhance.SetSurround()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_surround", goArguments, "") - + godotCallVoidFloat(o, "set_surround", amount) log.Println(" Function successfully completed.") } @@ -10898,14 +7081,7 @@ func (o *AudioEffectStereoEnhance) SetSurround(amount float64) { func (o *AudioEffectStereoEnhance) SetTimePullout(amount float64) { log.Println("Calling AudioEffectStereoEnhance.SetTimePullout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_time_pullout", goArguments, "") - + godotCallVoidFloat(o, "set_time_pullout", amount) log.Println(" Function successfully completed.") } @@ -10919,7 +7095,9 @@ type AudioEffectStereoEnhanceImplementer interface { func newSingletonAudioServer() *audioServer { obj := &audioServer{} - ptr := C.godot_global_get_singleton(C.CString("AudioServer")) + name := C.CString("AudioServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -10946,14 +7124,7 @@ func (o *audioServer) baseClass() string { func (o *audioServer) AddBus(atPosition int64) { log.Println("Calling AudioServer.AddBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(atPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_bus", goArguments, "") - + godotCallVoidInt(o, "add_bus", atPosition) log.Println(" Function successfully completed.") } @@ -10964,16 +7135,7 @@ func (o *audioServer) AddBus(atPosition int64) { func (o *audioServer) AddBusEffect(busIdx int64, effect *AudioEffect, atPosition int64) { log.Println("Calling AudioServer.AddBusEffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effect) - goArguments[2] = reflect.ValueOf(atPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_bus_effect", goArguments, "") - + godotCallVoidIntObjectInt(o, "add_bus_effect", busIdx, &effect.Object, atPosition) log.Println(" Function successfully completed.") } @@ -10984,17 +7146,12 @@ func (o *audioServer) AddBusEffect(busIdx int64, effect *AudioEffect, atPosition func (o *audioServer) GenerateBusLayout() *AudioBusLayout { log.Println("Calling AudioServer.GenerateBusLayout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generate_bus_layout", goArguments, "*AudioBusLayout") - - returnValue := goRet.Interface().(*AudioBusLayout) - + returnValue := godotCallObject(o, "generate_bus_layout") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioBusLayout + ret.owner = returnValue.owner + return &ret } @@ -11004,16 +7161,9 @@ func (o *audioServer) GenerateBusLayout() *AudioBusLayout { func (o *audioServer) GetBusCount() int64 { log.Println("Calling AudioServer.GetBusCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bus_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11024,19 +7174,12 @@ func (o *audioServer) GetBusCount() int64 { func (o *audioServer) GetBusEffect(busIdx int64, effectIdx int64) *AudioEffect { log.Println("Calling AudioServer.GetBusEffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effectIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_effect", goArguments, "*AudioEffect") - - returnValue := goRet.Interface().(*AudioEffect) - + returnValue := godotCallObjectIntInt(o, "get_bus_effect", busIdx, effectIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioEffect + ret.owner = returnValue.owner + return &ret } @@ -11046,17 +7189,9 @@ func (o *audioServer) GetBusEffect(busIdx int64, effectIdx int64) *AudioEffect { func (o *audioServer) GetBusEffectCount(busIdx int64) int64 { log.Println("Calling AudioServer.GetBusEffectCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_effect_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_bus_effect_count", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11067,17 +7202,9 @@ func (o *audioServer) GetBusEffectCount(busIdx int64) int64 { func (o *audioServer) GetBusIndex(busName string) int64 { log.Println("Calling AudioServer.GetBusIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busName) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_bus_index", busName) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11088,17 +7215,9 @@ func (o *audioServer) GetBusIndex(busName string) int64 { func (o *audioServer) GetBusName(busIdx int64) string { log.Println("Calling AudioServer.GetBusName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_bus_name", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11109,18 +7228,9 @@ func (o *audioServer) GetBusName(busIdx int64) string { func (o *audioServer) GetBusPeakVolumeLeftDb(busIdx int64, channel int64) float64 { log.Println("Calling AudioServer.GetBusPeakVolumeLeftDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(channel) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_peak_volume_left_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "get_bus_peak_volume_left_db", busIdx, channel) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11131,18 +7241,9 @@ func (o *audioServer) GetBusPeakVolumeLeftDb(busIdx int64, channel int64) float6 func (o *audioServer) GetBusPeakVolumeRightDb(busIdx int64, channel int64) float64 { log.Println("Calling AudioServer.GetBusPeakVolumeRightDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(channel) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_peak_volume_right_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "get_bus_peak_volume_right_db", busIdx, channel) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11153,17 +7254,9 @@ func (o *audioServer) GetBusPeakVolumeRightDb(busIdx int64, channel int64) float func (o *audioServer) GetBusSend(busIdx int64) string { log.Println("Calling AudioServer.GetBusSend()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_send", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_bus_send", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11174,17 +7267,9 @@ func (o *audioServer) GetBusSend(busIdx int64) string { func (o *audioServer) GetBusVolumeDb(busIdx int64) float64 { log.Println("Calling AudioServer.GetBusVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus_volume_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_bus_volume_db", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11195,16 +7280,9 @@ func (o *audioServer) GetBusVolumeDb(busIdx int64) float64 { func (o *audioServer) GetMixRate() float64 { log.Println("Calling AudioServer.GetMixRate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mix_rate", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_mix_rate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11215,16 +7293,9 @@ func (o *audioServer) GetMixRate() float64 { func (o *audioServer) GetSpeakerMode() int64 { log.Println("Calling AudioServer.GetSpeakerMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speaker_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_speaker_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11235,17 +7306,9 @@ func (o *audioServer) GetSpeakerMode() int64 { func (o *audioServer) IsBusBypassingEffects(busIdx int64) bool { log.Println("Calling AudioServer.IsBusBypassingEffects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_bus_bypassing_effects", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_bus_bypassing_effects", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11256,18 +7319,9 @@ func (o *audioServer) IsBusBypassingEffects(busIdx int64) bool { func (o *audioServer) IsBusEffectEnabled(busIdx int64, effectIdx int64) bool { log.Println("Calling AudioServer.IsBusEffectEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effectIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_bus_effect_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_bus_effect_enabled", busIdx, effectIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11278,17 +7332,9 @@ func (o *audioServer) IsBusEffectEnabled(busIdx int64, effectIdx int64) bool { func (o *audioServer) IsBusMute(busIdx int64) bool { log.Println("Calling AudioServer.IsBusMute()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_bus_mute", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_bus_mute", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11299,17 +7345,9 @@ func (o *audioServer) IsBusMute(busIdx int64) bool { func (o *audioServer) IsBusSolo(busIdx int64) bool { log.Println("Calling AudioServer.IsBusSolo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_bus_solo", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_bus_solo", busIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11320,13 +7358,7 @@ func (o *audioServer) IsBusSolo(busIdx int64) bool { func (o *audioServer) Lock() { log.Println("Calling AudioServer.Lock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "lock", goArguments, "") - + godotCallVoid(o, "lock") log.Println(" Function successfully completed.") } @@ -11337,15 +7369,7 @@ func (o *audioServer) Lock() { func (o *audioServer) MoveBus(index int64, toIndex int64) { log.Println("Calling AudioServer.MoveBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(toIndex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_bus", goArguments, "") - + godotCallVoidIntInt(o, "move_bus", index, toIndex) log.Println(" Function successfully completed.") } @@ -11356,14 +7380,7 @@ func (o *audioServer) MoveBus(index int64, toIndex int64) { func (o *audioServer) RemoveBus(index int64) { log.Println("Calling AudioServer.RemoveBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_bus", goArguments, "") - + godotCallVoidInt(o, "remove_bus", index) log.Println(" Function successfully completed.") } @@ -11374,15 +7391,7 @@ func (o *audioServer) RemoveBus(index int64) { func (o *audioServer) RemoveBusEffect(busIdx int64, effectIdx int64) { log.Println("Calling AudioServer.RemoveBusEffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effectIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_bus_effect", goArguments, "") - + godotCallVoidIntInt(o, "remove_bus_effect", busIdx, effectIdx) log.Println(" Function successfully completed.") } @@ -11393,15 +7402,7 @@ func (o *audioServer) RemoveBusEffect(busIdx int64, effectIdx int64) { func (o *audioServer) SetBusBypassEffects(busIdx int64, enable bool) { log.Println("Calling AudioServer.SetBusBypassEffects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_bypass_effects", goArguments, "") - + godotCallVoidIntBool(o, "set_bus_bypass_effects", busIdx, enable) log.Println(" Function successfully completed.") } @@ -11412,14 +7413,7 @@ func (o *audioServer) SetBusBypassEffects(busIdx int64, enable bool) { func (o *audioServer) SetBusCount(amount int64) { log.Println("Calling AudioServer.SetBusCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_count", goArguments, "") - + godotCallVoidInt(o, "set_bus_count", amount) log.Println(" Function successfully completed.") } @@ -11430,16 +7424,7 @@ func (o *audioServer) SetBusCount(amount int64) { func (o *audioServer) SetBusEffectEnabled(busIdx int64, effectIdx int64, enabled bool) { log.Println("Calling AudioServer.SetBusEffectEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effectIdx) - goArguments[2] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_effect_enabled", goArguments, "") - + godotCallVoidIntIntBool(o, "set_bus_effect_enabled", busIdx, effectIdx, enabled) log.Println(" Function successfully completed.") } @@ -11450,14 +7435,7 @@ func (o *audioServer) SetBusEffectEnabled(busIdx int64, effectIdx int64, enabled func (o *audioServer) SetBusLayout(busLayout *AudioBusLayout) { log.Println("Calling AudioServer.SetBusLayout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(busLayout) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_layout", goArguments, "") - + godotCallVoidObject(o, "set_bus_layout", &busLayout.Object) log.Println(" Function successfully completed.") } @@ -11468,15 +7446,7 @@ func (o *audioServer) SetBusLayout(busLayout *AudioBusLayout) { func (o *audioServer) SetBusMute(busIdx int64, enable bool) { log.Println("Calling AudioServer.SetBusMute()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_mute", goArguments, "") - + godotCallVoidIntBool(o, "set_bus_mute", busIdx, enable) log.Println(" Function successfully completed.") } @@ -11487,15 +7457,7 @@ func (o *audioServer) SetBusMute(busIdx int64, enable bool) { func (o *audioServer) SetBusName(busIdx int64, name string) { log.Println("Calling AudioServer.SetBusName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_name", goArguments, "") - + godotCallVoidIntString(o, "set_bus_name", busIdx, name) log.Println(" Function successfully completed.") } @@ -11506,15 +7468,7 @@ func (o *audioServer) SetBusName(busIdx int64, name string) { func (o *audioServer) SetBusSend(busIdx int64, send string) { log.Println("Calling AudioServer.SetBusSend()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(send) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_send", goArguments, "") - + godotCallVoidIntString(o, "set_bus_send", busIdx, send) log.Println(" Function successfully completed.") } @@ -11525,15 +7479,7 @@ func (o *audioServer) SetBusSend(busIdx int64, send string) { func (o *audioServer) SetBusSolo(busIdx int64, enable bool) { log.Println("Calling AudioServer.SetBusSolo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_solo", goArguments, "") - + godotCallVoidIntBool(o, "set_bus_solo", busIdx, enable) log.Println(" Function successfully completed.") } @@ -11544,15 +7490,7 @@ func (o *audioServer) SetBusSolo(busIdx int64, enable bool) { func (o *audioServer) SetBusVolumeDb(busIdx int64, volumeDb float64) { log.Println("Calling AudioServer.SetBusVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(volumeDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus_volume_db", goArguments, "") - + godotCallVoidIntFloat(o, "set_bus_volume_db", busIdx, volumeDb) log.Println(" Function successfully completed.") } @@ -11563,16 +7501,7 @@ func (o *audioServer) SetBusVolumeDb(busIdx int64, volumeDb float64) { func (o *audioServer) SwapBusEffects(busIdx int64, effectIdx int64, byEffectIdx int64) { log.Println("Calling AudioServer.SwapBusEffects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(busIdx) - goArguments[1] = reflect.ValueOf(effectIdx) - goArguments[2] = reflect.ValueOf(byEffectIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "swap_bus_effects", goArguments, "") - + godotCallVoidIntIntInt(o, "swap_bus_effects", busIdx, effectIdx, byEffectIdx) log.Println(" Function successfully completed.") } @@ -11583,13 +7512,7 @@ func (o *audioServer) SwapBusEffects(busIdx int64, effectIdx int64, byEffectIdx func (o *audioServer) Unlock() { log.Println("Calling AudioServer.Unlock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unlock", goArguments, "") - + godotCallVoid(o, "unlock") log.Println(" Function successfully completed.") } @@ -11629,16 +7552,9 @@ func (o *AudioStreamOGGVorbis) baseClass() string { func (o *AudioStreamOGGVorbis) X_GetData() *PoolByteArray { log.Println("Calling AudioStreamOGGVorbis.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11649,14 +7565,7 @@ func (o *AudioStreamOGGVorbis) X_GetData() *PoolByteArray { func (o *AudioStreamOGGVorbis) X_SetData(data *PoolByteArray) { log.Println("Calling AudioStreamOGGVorbis.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidPoolByteArray(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -11667,16 +7576,9 @@ func (o *AudioStreamOGGVorbis) X_SetData(data *PoolByteArray) { func (o *AudioStreamOGGVorbis) GetLoopOffset() float64 { log.Println("Calling AudioStreamOGGVorbis.GetLoopOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_loop_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_loop_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11687,16 +7589,9 @@ func (o *AudioStreamOGGVorbis) GetLoopOffset() float64 { func (o *AudioStreamOGGVorbis) HasLoop() bool { log.Println("Calling AudioStreamOGGVorbis.HasLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_loop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_loop") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11707,14 +7602,7 @@ func (o *AudioStreamOGGVorbis) HasLoop() bool { func (o *AudioStreamOGGVorbis) SetLoop(enable bool) { log.Println("Calling AudioStreamOGGVorbis.SetLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop", goArguments, "") - + godotCallVoidBool(o, "set_loop", enable) log.Println(" Function successfully completed.") } @@ -11725,14 +7613,7 @@ func (o *AudioStreamOGGVorbis) SetLoop(enable bool) { func (o *AudioStreamOGGVorbis) SetLoopOffset(seconds float64) { log.Println("Calling AudioStreamOGGVorbis.SetLoopOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(seconds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop_offset", goArguments, "") - + godotCallVoidFloat(o, "set_loop_offset", seconds) log.Println(" Function successfully completed.") } @@ -11779,13 +7660,7 @@ func (o *AudioStreamPlayer) baseClass() string { func (o *AudioStreamPlayer) X_BusLayoutChanged() { log.Println("Calling AudioStreamPlayer.X_BusLayoutChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_bus_layout_changed", goArguments, "") - + godotCallVoid(o, "_bus_layout_changed") log.Println(" Function successfully completed.") } @@ -11796,16 +7671,9 @@ func (o *AudioStreamPlayer) X_BusLayoutChanged() { func (o *AudioStreamPlayer) X_IsActive() bool { log.Println("Calling AudioStreamPlayer.X_IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11816,14 +7684,7 @@ func (o *AudioStreamPlayer) X_IsActive() bool { func (o *AudioStreamPlayer) X_SetPlaying(enable bool) { log.Println("Calling AudioStreamPlayer.X_SetPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_playing", goArguments, "") - + godotCallVoidBool(o, "_set_playing", enable) log.Println(" Function successfully completed.") } @@ -11834,16 +7695,9 @@ func (o *AudioStreamPlayer) X_SetPlaying(enable bool) { func (o *AudioStreamPlayer) GetBus() string { log.Println("Calling AudioStreamPlayer.GetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11854,16 +7708,9 @@ func (o *AudioStreamPlayer) GetBus() string { func (o *AudioStreamPlayer) GetMixTarget() int64 { log.Println("Calling AudioStreamPlayer.GetMixTarget()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mix_target", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mix_target") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11874,16 +7721,9 @@ func (o *AudioStreamPlayer) GetMixTarget() int64 { func (o *AudioStreamPlayer) GetPlaybackPosition() float64 { log.Println("Calling AudioStreamPlayer.GetPlaybackPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_playback_position", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_playback_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11894,17 +7734,12 @@ func (o *AudioStreamPlayer) GetPlaybackPosition() float64 { func (o *AudioStreamPlayer) GetStream() *AudioStream { log.Println("Calling AudioStreamPlayer.GetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream", goArguments, "*AudioStream") - - returnValue := goRet.Interface().(*AudioStream) - + returnValue := godotCallObject(o, "get_stream") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioStream + ret.owner = returnValue.owner + return &ret } @@ -11914,16 +7749,9 @@ func (o *AudioStreamPlayer) GetStream() *AudioStream { func (o *AudioStreamPlayer) GetVolumeDb() float64 { log.Println("Calling AudioStreamPlayer.GetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_volume_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_volume_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11934,16 +7762,9 @@ func (o *AudioStreamPlayer) GetVolumeDb() float64 { func (o *AudioStreamPlayer) IsAutoplayEnabled() bool { log.Println("Calling AudioStreamPlayer.IsAutoplayEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_autoplay_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_autoplay_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11954,16 +7775,9 @@ func (o *AudioStreamPlayer) IsAutoplayEnabled() bool { func (o *AudioStreamPlayer) IsPlaying() bool { log.Println("Calling AudioStreamPlayer.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -11974,14 +7788,7 @@ func (o *AudioStreamPlayer) IsPlaying() bool { func (o *AudioStreamPlayer) Play(fromPosition float64) { log.Println("Calling AudioStreamPlayer.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fromPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidFloat(o, "play", fromPosition) log.Println(" Function successfully completed.") } @@ -11992,14 +7799,7 @@ func (o *AudioStreamPlayer) Play(fromPosition float64) { func (o *AudioStreamPlayer) Seek(toPosition float64) { log.Println("Calling AudioStreamPlayer.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "seek", goArguments, "") - + godotCallVoidFloat(o, "seek", toPosition) log.Println(" Function successfully completed.") } @@ -12010,14 +7810,7 @@ func (o *AudioStreamPlayer) Seek(toPosition float64) { func (o *AudioStreamPlayer) SetAutoplay(enable bool) { log.Println("Calling AudioStreamPlayer.SetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autoplay", goArguments, "") - + godotCallVoidBool(o, "set_autoplay", enable) log.Println(" Function successfully completed.") } @@ -12028,14 +7821,7 @@ func (o *AudioStreamPlayer) SetAutoplay(enable bool) { func (o *AudioStreamPlayer) SetBus(bus string) { log.Println("Calling AudioStreamPlayer.SetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bus) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus", goArguments, "") - + godotCallVoidString(o, "set_bus", bus) log.Println(" Function successfully completed.") } @@ -12046,14 +7832,7 @@ func (o *AudioStreamPlayer) SetBus(bus string) { func (o *AudioStreamPlayer) SetMixTarget(mixTarget int64) { log.Println("Calling AudioStreamPlayer.SetMixTarget()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mixTarget) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mix_target", goArguments, "") - + godotCallVoidInt(o, "set_mix_target", mixTarget) log.Println(" Function successfully completed.") } @@ -12064,14 +7843,7 @@ func (o *AudioStreamPlayer) SetMixTarget(mixTarget int64) { func (o *AudioStreamPlayer) SetStream(stream *AudioStream) { log.Println("Calling AudioStreamPlayer.SetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream", goArguments, "") - + godotCallVoidObject(o, "set_stream", &stream.Object) log.Println(" Function successfully completed.") } @@ -12082,14 +7854,7 @@ func (o *AudioStreamPlayer) SetStream(stream *AudioStream) { func (o *AudioStreamPlayer) SetVolumeDb(volumeDb float64) { log.Println("Calling AudioStreamPlayer.SetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(volumeDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_volume_db", goArguments, "") - + godotCallVoidFloat(o, "set_volume_db", volumeDb) log.Println(" Function successfully completed.") } @@ -12100,13 +7865,7 @@ func (o *AudioStreamPlayer) SetVolumeDb(volumeDb float64) { func (o *AudioStreamPlayer) Stop() { log.Println("Calling AudioStreamPlayer.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -12135,13 +7894,7 @@ func (o *AudioStreamPlayer2D) baseClass() string { func (o *AudioStreamPlayer2D) X_BusLayoutChanged() { log.Println("Calling AudioStreamPlayer2D.X_BusLayoutChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_bus_layout_changed", goArguments, "") - + godotCallVoid(o, "_bus_layout_changed") log.Println(" Function successfully completed.") } @@ -12152,16 +7905,9 @@ func (o *AudioStreamPlayer2D) X_BusLayoutChanged() { func (o *AudioStreamPlayer2D) X_IsActive() bool { log.Println("Calling AudioStreamPlayer2D.X_IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12172,14 +7918,7 @@ func (o *AudioStreamPlayer2D) X_IsActive() bool { func (o *AudioStreamPlayer2D) X_SetPlaying(enable bool) { log.Println("Calling AudioStreamPlayer2D.X_SetPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_playing", goArguments, "") - + godotCallVoidBool(o, "_set_playing", enable) log.Println(" Function successfully completed.") } @@ -12190,16 +7929,9 @@ func (o *AudioStreamPlayer2D) X_SetPlaying(enable bool) { func (o *AudioStreamPlayer2D) GetAreaMask() int64 { log.Println("Calling AudioStreamPlayer2D.GetAreaMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_area_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_area_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12210,16 +7942,9 @@ func (o *AudioStreamPlayer2D) GetAreaMask() int64 { func (o *AudioStreamPlayer2D) GetAttenuation() float64 { log.Println("Calling AudioStreamPlayer2D.GetAttenuation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attenuation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_attenuation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12230,16 +7955,9 @@ func (o *AudioStreamPlayer2D) GetAttenuation() float64 { func (o *AudioStreamPlayer2D) GetBus() string { log.Println("Calling AudioStreamPlayer2D.GetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12250,16 +7968,9 @@ func (o *AudioStreamPlayer2D) GetBus() string { func (o *AudioStreamPlayer2D) GetMaxDistance() float64 { log.Println("Calling AudioStreamPlayer2D.GetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12270,16 +7981,9 @@ func (o *AudioStreamPlayer2D) GetMaxDistance() float64 { func (o *AudioStreamPlayer2D) GetPlaybackPosition() float64 { log.Println("Calling AudioStreamPlayer2D.GetPlaybackPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_playback_position", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_playback_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12290,17 +7994,12 @@ func (o *AudioStreamPlayer2D) GetPlaybackPosition() float64 { func (o *AudioStreamPlayer2D) GetStream() *AudioStream { log.Println("Calling AudioStreamPlayer2D.GetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream", goArguments, "*AudioStream") - - returnValue := goRet.Interface().(*AudioStream) - + returnValue := godotCallObject(o, "get_stream") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioStream + ret.owner = returnValue.owner + return &ret } @@ -12310,16 +8009,9 @@ func (o *AudioStreamPlayer2D) GetStream() *AudioStream { func (o *AudioStreamPlayer2D) GetVolumeDb() float64 { log.Println("Calling AudioStreamPlayer2D.GetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_volume_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_volume_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12330,16 +8022,9 @@ func (o *AudioStreamPlayer2D) GetVolumeDb() float64 { func (o *AudioStreamPlayer2D) IsAutoplayEnabled() bool { log.Println("Calling AudioStreamPlayer2D.IsAutoplayEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_autoplay_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_autoplay_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12350,16 +8035,9 @@ func (o *AudioStreamPlayer2D) IsAutoplayEnabled() bool { func (o *AudioStreamPlayer2D) IsPlaying() bool { log.Println("Calling AudioStreamPlayer2D.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12370,14 +8048,7 @@ func (o *AudioStreamPlayer2D) IsPlaying() bool { func (o *AudioStreamPlayer2D) Play(fromPosition float64) { log.Println("Calling AudioStreamPlayer2D.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fromPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidFloat(o, "play", fromPosition) log.Println(" Function successfully completed.") } @@ -12388,14 +8059,7 @@ func (o *AudioStreamPlayer2D) Play(fromPosition float64) { func (o *AudioStreamPlayer2D) Seek(toPosition float64) { log.Println("Calling AudioStreamPlayer2D.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "seek", goArguments, "") - + godotCallVoidFloat(o, "seek", toPosition) log.Println(" Function successfully completed.") } @@ -12406,14 +8070,7 @@ func (o *AudioStreamPlayer2D) Seek(toPosition float64) { func (o *AudioStreamPlayer2D) SetAreaMask(mask int64) { log.Println("Calling AudioStreamPlayer2D.SetAreaMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_area_mask", goArguments, "") - + godotCallVoidInt(o, "set_area_mask", mask) log.Println(" Function successfully completed.") } @@ -12424,14 +8081,7 @@ func (o *AudioStreamPlayer2D) SetAreaMask(mask int64) { func (o *AudioStreamPlayer2D) SetAttenuation(curve float64) { log.Println("Calling AudioStreamPlayer2D.SetAttenuation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attenuation", goArguments, "") - + godotCallVoidFloat(o, "set_attenuation", curve) log.Println(" Function successfully completed.") } @@ -12442,14 +8092,7 @@ func (o *AudioStreamPlayer2D) SetAttenuation(curve float64) { func (o *AudioStreamPlayer2D) SetAutoplay(enable bool) { log.Println("Calling AudioStreamPlayer2D.SetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autoplay", goArguments, "") - + godotCallVoidBool(o, "set_autoplay", enable) log.Println(" Function successfully completed.") } @@ -12460,14 +8103,7 @@ func (o *AudioStreamPlayer2D) SetAutoplay(enable bool) { func (o *AudioStreamPlayer2D) SetBus(bus string) { log.Println("Calling AudioStreamPlayer2D.SetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bus) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus", goArguments, "") - + godotCallVoidString(o, "set_bus", bus) log.Println(" Function successfully completed.") } @@ -12478,14 +8114,7 @@ func (o *AudioStreamPlayer2D) SetBus(bus string) { func (o *AudioStreamPlayer2D) SetMaxDistance(pixels float64) { log.Println("Calling AudioStreamPlayer2D.SetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pixels) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_distance", goArguments, "") - + godotCallVoidFloat(o, "set_max_distance", pixels) log.Println(" Function successfully completed.") } @@ -12496,14 +8125,7 @@ func (o *AudioStreamPlayer2D) SetMaxDistance(pixels float64) { func (o *AudioStreamPlayer2D) SetStream(stream *AudioStream) { log.Println("Calling AudioStreamPlayer2D.SetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream", goArguments, "") - + godotCallVoidObject(o, "set_stream", &stream.Object) log.Println(" Function successfully completed.") } @@ -12514,14 +8136,7 @@ func (o *AudioStreamPlayer2D) SetStream(stream *AudioStream) { func (o *AudioStreamPlayer2D) SetVolumeDb(volumeDb float64) { log.Println("Calling AudioStreamPlayer2D.SetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(volumeDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_volume_db", goArguments, "") - + godotCallVoidFloat(o, "set_volume_db", volumeDb) log.Println(" Function successfully completed.") } @@ -12532,13 +8147,7 @@ func (o *AudioStreamPlayer2D) SetVolumeDb(volumeDb float64) { func (o *AudioStreamPlayer2D) Stop() { log.Println("Calling AudioStreamPlayer2D.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -12567,13 +8176,7 @@ func (o *AudioStreamPlayer3D) baseClass() string { func (o *AudioStreamPlayer3D) X_BusLayoutChanged() { log.Println("Calling AudioStreamPlayer3D.X_BusLayoutChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_bus_layout_changed", goArguments, "") - + godotCallVoid(o, "_bus_layout_changed") log.Println(" Function successfully completed.") } @@ -12584,16 +8187,9 @@ func (o *AudioStreamPlayer3D) X_BusLayoutChanged() { func (o *AudioStreamPlayer3D) X_IsActive() bool { log.Println("Calling AudioStreamPlayer3D.X_IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12604,14 +8200,7 @@ func (o *AudioStreamPlayer3D) X_IsActive() bool { func (o *AudioStreamPlayer3D) X_SetPlaying(enable bool) { log.Println("Calling AudioStreamPlayer3D.X_SetPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_playing", goArguments, "") - + godotCallVoidBool(o, "_set_playing", enable) log.Println(" Function successfully completed.") } @@ -12622,16 +8211,9 @@ func (o *AudioStreamPlayer3D) X_SetPlaying(enable bool) { func (o *AudioStreamPlayer3D) GetAreaMask() int64 { log.Println("Calling AudioStreamPlayer3D.GetAreaMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_area_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_area_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12642,16 +8224,9 @@ func (o *AudioStreamPlayer3D) GetAreaMask() int64 { func (o *AudioStreamPlayer3D) GetAttenuationFilterCutoffHz() float64 { log.Println("Calling AudioStreamPlayer3D.GetAttenuationFilterCutoffHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attenuation_filter_cutoff_hz", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_attenuation_filter_cutoff_hz") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12662,16 +8237,9 @@ func (o *AudioStreamPlayer3D) GetAttenuationFilterCutoffHz() float64 { func (o *AudioStreamPlayer3D) GetAttenuationFilterDb() float64 { log.Println("Calling AudioStreamPlayer3D.GetAttenuationFilterDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attenuation_filter_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_attenuation_filter_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12682,16 +8250,9 @@ func (o *AudioStreamPlayer3D) GetAttenuationFilterDb() float64 { func (o *AudioStreamPlayer3D) GetAttenuationModel() int64 { log.Println("Calling AudioStreamPlayer3D.GetAttenuationModel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attenuation_model", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_attenuation_model") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12702,16 +8263,9 @@ func (o *AudioStreamPlayer3D) GetAttenuationModel() int64 { func (o *AudioStreamPlayer3D) GetBus() string { log.Println("Calling AudioStreamPlayer3D.GetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12722,16 +8276,9 @@ func (o *AudioStreamPlayer3D) GetBus() string { func (o *AudioStreamPlayer3D) GetDopplerTracking() int64 { log.Println("Calling AudioStreamPlayer3D.GetDopplerTracking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_doppler_tracking", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_doppler_tracking") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12742,16 +8289,9 @@ func (o *AudioStreamPlayer3D) GetDopplerTracking() int64 { func (o *AudioStreamPlayer3D) GetEmissionAngle() float64 { log.Println("Calling AudioStreamPlayer3D.GetEmissionAngle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_angle", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_emission_angle") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12762,16 +8302,9 @@ func (o *AudioStreamPlayer3D) GetEmissionAngle() float64 { func (o *AudioStreamPlayer3D) GetEmissionAngleFilterAttenuationDb() float64 { log.Println("Calling AudioStreamPlayer3D.GetEmissionAngleFilterAttenuationDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_angle_filter_attenuation_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_emission_angle_filter_attenuation_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12782,16 +8315,9 @@ func (o *AudioStreamPlayer3D) GetEmissionAngleFilterAttenuationDb() float64 { func (o *AudioStreamPlayer3D) GetMaxDb() float64 { log.Println("Calling AudioStreamPlayer3D.GetMaxDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12802,16 +8328,9 @@ func (o *AudioStreamPlayer3D) GetMaxDb() float64 { func (o *AudioStreamPlayer3D) GetMaxDistance() float64 { log.Println("Calling AudioStreamPlayer3D.GetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12822,16 +8341,9 @@ func (o *AudioStreamPlayer3D) GetMaxDistance() float64 { func (o *AudioStreamPlayer3D) GetOutOfRangeMode() int64 { log.Println("Calling AudioStreamPlayer3D.GetOutOfRangeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_out_of_range_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_out_of_range_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12842,16 +8354,9 @@ func (o *AudioStreamPlayer3D) GetOutOfRangeMode() int64 { func (o *AudioStreamPlayer3D) GetPlaybackPosition() float64 { log.Println("Calling AudioStreamPlayer3D.GetPlaybackPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_playback_position", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_playback_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12862,17 +8367,12 @@ func (o *AudioStreamPlayer3D) GetPlaybackPosition() float64 { func (o *AudioStreamPlayer3D) GetStream() *AudioStream { log.Println("Calling AudioStreamPlayer3D.GetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream", goArguments, "*AudioStream") - - returnValue := goRet.Interface().(*AudioStream) - + returnValue := godotCallObject(o, "get_stream") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioStream + ret.owner = returnValue.owner + return &ret } @@ -12882,16 +8382,9 @@ func (o *AudioStreamPlayer3D) GetStream() *AudioStream { func (o *AudioStreamPlayer3D) GetUnitDb() float64 { log.Println("Calling AudioStreamPlayer3D.GetUnitDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unit_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_unit_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12902,16 +8395,9 @@ func (o *AudioStreamPlayer3D) GetUnitDb() float64 { func (o *AudioStreamPlayer3D) GetUnitSize() float64 { log.Println("Calling AudioStreamPlayer3D.GetUnitSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unit_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_unit_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12922,16 +8408,9 @@ func (o *AudioStreamPlayer3D) GetUnitSize() float64 { func (o *AudioStreamPlayer3D) IsAutoplayEnabled() bool { log.Println("Calling AudioStreamPlayer3D.IsAutoplayEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_autoplay_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_autoplay_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12942,16 +8421,9 @@ func (o *AudioStreamPlayer3D) IsAutoplayEnabled() bool { func (o *AudioStreamPlayer3D) IsEmissionAngleEnabled() bool { log.Println("Calling AudioStreamPlayer3D.IsEmissionAngleEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_emission_angle_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_emission_angle_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12962,16 +8434,9 @@ func (o *AudioStreamPlayer3D) IsEmissionAngleEnabled() bool { func (o *AudioStreamPlayer3D) IsPlaying() bool { log.Println("Calling AudioStreamPlayer3D.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -12982,14 +8447,7 @@ func (o *AudioStreamPlayer3D) IsPlaying() bool { func (o *AudioStreamPlayer3D) Play(fromPosition float64) { log.Println("Calling AudioStreamPlayer3D.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fromPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoidFloat(o, "play", fromPosition) log.Println(" Function successfully completed.") } @@ -13000,14 +8458,7 @@ func (o *AudioStreamPlayer3D) Play(fromPosition float64) { func (o *AudioStreamPlayer3D) Seek(toPosition float64) { log.Println("Calling AudioStreamPlayer3D.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "seek", goArguments, "") - + godotCallVoidFloat(o, "seek", toPosition) log.Println(" Function successfully completed.") } @@ -13018,14 +8469,7 @@ func (o *AudioStreamPlayer3D) Seek(toPosition float64) { func (o *AudioStreamPlayer3D) SetAreaMask(mask int64) { log.Println("Calling AudioStreamPlayer3D.SetAreaMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_area_mask", goArguments, "") - + godotCallVoidInt(o, "set_area_mask", mask) log.Println(" Function successfully completed.") } @@ -13036,14 +8480,7 @@ func (o *AudioStreamPlayer3D) SetAreaMask(mask int64) { func (o *AudioStreamPlayer3D) SetAttenuationFilterCutoffHz(degrees float64) { log.Println("Calling AudioStreamPlayer3D.SetAttenuationFilterCutoffHz()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attenuation_filter_cutoff_hz", goArguments, "") - + godotCallVoidFloat(o, "set_attenuation_filter_cutoff_hz", degrees) log.Println(" Function successfully completed.") } @@ -13054,14 +8491,7 @@ func (o *AudioStreamPlayer3D) SetAttenuationFilterCutoffHz(degrees float64) { func (o *AudioStreamPlayer3D) SetAttenuationFilterDb(db float64) { log.Println("Calling AudioStreamPlayer3D.SetAttenuationFilterDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(db) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attenuation_filter_db", goArguments, "") - + godotCallVoidFloat(o, "set_attenuation_filter_db", db) log.Println(" Function successfully completed.") } @@ -13072,14 +8502,7 @@ func (o *AudioStreamPlayer3D) SetAttenuationFilterDb(db float64) { func (o *AudioStreamPlayer3D) SetAttenuationModel(model int64) { log.Println("Calling AudioStreamPlayer3D.SetAttenuationModel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(model) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attenuation_model", goArguments, "") - + godotCallVoidInt(o, "set_attenuation_model", model) log.Println(" Function successfully completed.") } @@ -13090,14 +8513,7 @@ func (o *AudioStreamPlayer3D) SetAttenuationModel(model int64) { func (o *AudioStreamPlayer3D) SetAutoplay(enable bool) { log.Println("Calling AudioStreamPlayer3D.SetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autoplay", goArguments, "") - + godotCallVoidBool(o, "set_autoplay", enable) log.Println(" Function successfully completed.") } @@ -13108,14 +8524,7 @@ func (o *AudioStreamPlayer3D) SetAutoplay(enable bool) { func (o *AudioStreamPlayer3D) SetBus(bus string) { log.Println("Calling AudioStreamPlayer3D.SetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bus) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus", goArguments, "") - + godotCallVoidString(o, "set_bus", bus) log.Println(" Function successfully completed.") } @@ -13126,14 +8535,7 @@ func (o *AudioStreamPlayer3D) SetBus(bus string) { func (o *AudioStreamPlayer3D) SetDopplerTracking(mode int64) { log.Println("Calling AudioStreamPlayer3D.SetDopplerTracking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_doppler_tracking", goArguments, "") - + godotCallVoidInt(o, "set_doppler_tracking", mode) log.Println(" Function successfully completed.") } @@ -13144,14 +8546,7 @@ func (o *AudioStreamPlayer3D) SetDopplerTracking(mode int64) { func (o *AudioStreamPlayer3D) SetEmissionAngle(degrees float64) { log.Println("Calling AudioStreamPlayer3D.SetEmissionAngle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_angle", goArguments, "") - + godotCallVoidFloat(o, "set_emission_angle", degrees) log.Println(" Function successfully completed.") } @@ -13162,14 +8557,7 @@ func (o *AudioStreamPlayer3D) SetEmissionAngle(degrees float64) { func (o *AudioStreamPlayer3D) SetEmissionAngleEnabled(enabled bool) { log.Println("Calling AudioStreamPlayer3D.SetEmissionAngleEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_angle_enabled", goArguments, "") - + godotCallVoidBool(o, "set_emission_angle_enabled", enabled) log.Println(" Function successfully completed.") } @@ -13180,14 +8568,7 @@ func (o *AudioStreamPlayer3D) SetEmissionAngleEnabled(enabled bool) { func (o *AudioStreamPlayer3D) SetEmissionAngleFilterAttenuationDb(db float64) { log.Println("Calling AudioStreamPlayer3D.SetEmissionAngleFilterAttenuationDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(db) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_angle_filter_attenuation_db", goArguments, "") - + godotCallVoidFloat(o, "set_emission_angle_filter_attenuation_db", db) log.Println(" Function successfully completed.") } @@ -13198,14 +8579,7 @@ func (o *AudioStreamPlayer3D) SetEmissionAngleFilterAttenuationDb(db float64) { func (o *AudioStreamPlayer3D) SetMaxDb(maxDb float64) { log.Println("Calling AudioStreamPlayer3D.SetMaxDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maxDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_db", goArguments, "") - + godotCallVoidFloat(o, "set_max_db", maxDb) log.Println(" Function successfully completed.") } @@ -13216,14 +8590,7 @@ func (o *AudioStreamPlayer3D) SetMaxDb(maxDb float64) { func (o *AudioStreamPlayer3D) SetMaxDistance(metres float64) { log.Println("Calling AudioStreamPlayer3D.SetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(metres) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_distance", goArguments, "") - + godotCallVoidFloat(o, "set_max_distance", metres) log.Println(" Function successfully completed.") } @@ -13234,14 +8601,7 @@ func (o *AudioStreamPlayer3D) SetMaxDistance(metres float64) { func (o *AudioStreamPlayer3D) SetOutOfRangeMode(mode int64) { log.Println("Calling AudioStreamPlayer3D.SetOutOfRangeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_out_of_range_mode", goArguments, "") - + godotCallVoidInt(o, "set_out_of_range_mode", mode) log.Println(" Function successfully completed.") } @@ -13252,14 +8612,7 @@ func (o *AudioStreamPlayer3D) SetOutOfRangeMode(mode int64) { func (o *AudioStreamPlayer3D) SetStream(stream *AudioStream) { log.Println("Calling AudioStreamPlayer3D.SetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream", goArguments, "") - + godotCallVoidObject(o, "set_stream", &stream.Object) log.Println(" Function successfully completed.") } @@ -13270,14 +8623,7 @@ func (o *AudioStreamPlayer3D) SetStream(stream *AudioStream) { func (o *AudioStreamPlayer3D) SetUnitDb(unitDb float64) { log.Println("Calling AudioStreamPlayer3D.SetUnitDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(unitDb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_unit_db", goArguments, "") - + godotCallVoidFloat(o, "set_unit_db", unitDb) log.Println(" Function successfully completed.") } @@ -13288,14 +8634,7 @@ func (o *AudioStreamPlayer3D) SetUnitDb(unitDb float64) { func (o *AudioStreamPlayer3D) SetUnitSize(unitSize float64) { log.Println("Calling AudioStreamPlayer3D.SetUnitSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(unitSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_unit_size", goArguments, "") - + godotCallVoidFloat(o, "set_unit_size", unitSize) log.Println(" Function successfully completed.") } @@ -13306,13 +8645,7 @@ func (o *AudioStreamPlayer3D) SetUnitSize(unitSize float64) { func (o *AudioStreamPlayer3D) Stop() { log.Println("Calling AudioStreamPlayer3D.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -13341,17 +8674,12 @@ func (o *AudioStreamRandomPitch) baseClass() string { func (o *AudioStreamRandomPitch) GetAudioStream() *AudioStream { log.Println("Calling AudioStreamRandomPitch.GetAudioStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_audio_stream", goArguments, "*AudioStream") - - returnValue := goRet.Interface().(*AudioStream) - + returnValue := godotCallObject(o, "get_audio_stream") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret AudioStream + ret.owner = returnValue.owner + return &ret } @@ -13361,16 +8689,9 @@ func (o *AudioStreamRandomPitch) GetAudioStream() *AudioStream { func (o *AudioStreamRandomPitch) GetRandomPitch() float64 { log.Println("Calling AudioStreamRandomPitch.GetRandomPitch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_random_pitch", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_random_pitch") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13381,14 +8702,7 @@ func (o *AudioStreamRandomPitch) GetRandomPitch() float64 { func (o *AudioStreamRandomPitch) SetAudioStream(stream *AudioStream) { log.Println("Calling AudioStreamRandomPitch.SetAudioStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_stream", goArguments, "") - + godotCallVoidObject(o, "set_audio_stream", &stream.Object) log.Println(" Function successfully completed.") } @@ -13399,14 +8713,7 @@ func (o *AudioStreamRandomPitch) SetAudioStream(stream *AudioStream) { func (o *AudioStreamRandomPitch) SetRandomPitch(scale float64) { log.Println("Calling AudioStreamRandomPitch.SetRandomPitch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_random_pitch", goArguments, "") - + godotCallVoidFloat(o, "set_random_pitch", scale) log.Println(" Function successfully completed.") } @@ -13435,16 +8742,9 @@ func (o *AudioStreamSample) baseClass() string { func (o *AudioStreamSample) X_GetData() *PoolByteArray { log.Println("Calling AudioStreamSample.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13455,14 +8755,7 @@ func (o *AudioStreamSample) X_GetData() *PoolByteArray { func (o *AudioStreamSample) X_SetData(data *PoolByteArray) { log.Println("Calling AudioStreamSample.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidPoolByteArray(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -13473,16 +8766,9 @@ func (o *AudioStreamSample) X_SetData(data *PoolByteArray) { func (o *AudioStreamSample) GetFormat() int64 { log.Println("Calling AudioStreamSample.GetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13493,16 +8779,9 @@ func (o *AudioStreamSample) GetFormat() int64 { func (o *AudioStreamSample) GetLoopBegin() int64 { log.Println("Calling AudioStreamSample.GetLoopBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_loop_begin", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_loop_begin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13513,16 +8792,9 @@ func (o *AudioStreamSample) GetLoopBegin() int64 { func (o *AudioStreamSample) GetLoopEnd() int64 { log.Println("Calling AudioStreamSample.GetLoopEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_loop_end", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_loop_end") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13533,16 +8805,9 @@ func (o *AudioStreamSample) GetLoopEnd() int64 { func (o *AudioStreamSample) GetLoopMode() int64 { log.Println("Calling AudioStreamSample.GetLoopMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_loop_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_loop_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13553,16 +8818,9 @@ func (o *AudioStreamSample) GetLoopMode() int64 { func (o *AudioStreamSample) GetMixRate() int64 { log.Println("Calling AudioStreamSample.GetMixRate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mix_rate", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mix_rate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13573,16 +8831,9 @@ func (o *AudioStreamSample) GetMixRate() int64 { func (o *AudioStreamSample) IsStereo() bool { log.Println("Calling AudioStreamSample.IsStereo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_stereo", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_stereo") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13593,14 +8844,7 @@ func (o *AudioStreamSample) IsStereo() bool { func (o *AudioStreamSample) SetFormat(format int64) { log.Println("Calling AudioStreamSample.SetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(format) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_format", goArguments, "") - + godotCallVoidInt(o, "set_format", format) log.Println(" Function successfully completed.") } @@ -13611,14 +8855,7 @@ func (o *AudioStreamSample) SetFormat(format int64) { func (o *AudioStreamSample) SetLoopBegin(loopBegin int64) { log.Println("Calling AudioStreamSample.SetLoopBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loopBegin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop_begin", goArguments, "") - + godotCallVoidInt(o, "set_loop_begin", loopBegin) log.Println(" Function successfully completed.") } @@ -13629,14 +8866,7 @@ func (o *AudioStreamSample) SetLoopBegin(loopBegin int64) { func (o *AudioStreamSample) SetLoopEnd(loopEnd int64) { log.Println("Calling AudioStreamSample.SetLoopEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loopEnd) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop_end", goArguments, "") - + godotCallVoidInt(o, "set_loop_end", loopEnd) log.Println(" Function successfully completed.") } @@ -13647,14 +8877,7 @@ func (o *AudioStreamSample) SetLoopEnd(loopEnd int64) { func (o *AudioStreamSample) SetLoopMode(loopMode int64) { log.Println("Calling AudioStreamSample.SetLoopMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loopMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop_mode", goArguments, "") - + godotCallVoidInt(o, "set_loop_mode", loopMode) log.Println(" Function successfully completed.") } @@ -13665,14 +8888,7 @@ func (o *AudioStreamSample) SetLoopMode(loopMode int64) { func (o *AudioStreamSample) SetMixRate(mixRate int64) { log.Println("Calling AudioStreamSample.SetMixRate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mixRate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mix_rate", goArguments, "") - + godotCallVoidInt(o, "set_mix_rate", mixRate) log.Println(" Function successfully completed.") } @@ -13683,14 +8899,7 @@ func (o *AudioStreamSample) SetMixRate(mixRate int64) { func (o *AudioStreamSample) SetStereo(stereo bool) { log.Println("Calling AudioStreamSample.SetStereo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stereo) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stereo", goArguments, "") - + godotCallVoidBool(o, "set_stereo", stereo) log.Println(" Function successfully completed.") } @@ -13719,16 +8928,9 @@ func (o *BackBufferCopy) baseClass() string { func (o *BackBufferCopy) GetCopyMode() int64 { log.Println("Calling BackBufferCopy.GetCopyMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_copy_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_copy_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13739,16 +8941,9 @@ func (o *BackBufferCopy) GetCopyMode() int64 { func (o *BackBufferCopy) GetRect() *Rect2 { log.Println("Calling BackBufferCopy.GetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13759,14 +8954,7 @@ func (o *BackBufferCopy) GetRect() *Rect2 { func (o *BackBufferCopy) SetCopyMode(copyMode int64) { log.Println("Calling BackBufferCopy.SetCopyMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(copyMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_copy_mode", goArguments, "") - + godotCallVoidInt(o, "set_copy_mode", copyMode) log.Println(" Function successfully completed.") } @@ -13777,14 +8965,7 @@ func (o *BackBufferCopy) SetCopyMode(copyMode int64) { func (o *BackBufferCopy) SetRect(rect *Rect2) { log.Println("Calling BackBufferCopy.SetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rect", goArguments, "") - + godotCallVoidRect2(o, "set_rect", rect) log.Println(" Function successfully completed.") } @@ -13813,18 +8994,9 @@ func (o *BakedLightmap) baseClass() string { func (o *BakedLightmap) Bake(fromNode *Object, createVisualDebug bool) int64 { log.Println("Calling BakedLightmap.Bake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromNode) - goArguments[1] = reflect.ValueOf(createVisualDebug) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "bake", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObjectBool(o, "bake", fromNode, createVisualDebug) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13835,13 +9007,7 @@ func (o *BakedLightmap) Bake(fromNode *Object, createVisualDebug bool) int64 { func (o *BakedLightmap) DebugBake() { log.Println("Calling BakedLightmap.DebugBake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "debug_bake", goArguments, "") - + godotCallVoid(o, "debug_bake") log.Println(" Function successfully completed.") } @@ -13852,16 +9018,9 @@ func (o *BakedLightmap) DebugBake() { func (o *BakedLightmap) GetBakeCellSize() float64 { log.Println("Calling BakedLightmap.GetBakeCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_cell_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bake_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13872,16 +9031,9 @@ func (o *BakedLightmap) GetBakeCellSize() float64 { func (o *BakedLightmap) GetBakeMode() int64 { log.Println("Calling BakedLightmap.GetBakeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bake_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13892,16 +9044,9 @@ func (o *BakedLightmap) GetBakeMode() int64 { func (o *BakedLightmap) GetBakeQuality() int64 { log.Println("Calling BakedLightmap.GetBakeQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_quality", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bake_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13912,16 +9057,9 @@ func (o *BakedLightmap) GetBakeQuality() int64 { func (o *BakedLightmap) GetCaptureCellSize() float64 { log.Println("Calling BakedLightmap.GetCaptureCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_capture_cell_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_capture_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13932,16 +9070,9 @@ func (o *BakedLightmap) GetCaptureCellSize() float64 { func (o *BakedLightmap) GetEnergy() float64 { log.Println("Calling BakedLightmap.GetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13952,16 +9083,9 @@ func (o *BakedLightmap) GetEnergy() float64 { func (o *BakedLightmap) GetExtents() *Vector3 { log.Println("Calling BakedLightmap.GetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extents", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13972,16 +9096,9 @@ func (o *BakedLightmap) GetExtents() *Vector3 { func (o *BakedLightmap) GetImagePath() string { log.Println("Calling BakedLightmap.GetImagePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_image_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_image_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -13992,17 +9109,12 @@ func (o *BakedLightmap) GetImagePath() string { func (o *BakedLightmap) GetLightData() *BakedLightmapData { log.Println("Calling BakedLightmap.GetLightData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_light_data", goArguments, "*BakedLightmapData") - - returnValue := goRet.Interface().(*BakedLightmapData) - + returnValue := godotCallObject(o, "get_light_data") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret BakedLightmapData + ret.owner = returnValue.owner + return &ret } @@ -14012,16 +9124,9 @@ func (o *BakedLightmap) GetLightData() *BakedLightmapData { func (o *BakedLightmap) GetPropagation() float64 { log.Println("Calling BakedLightmap.GetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_propagation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_propagation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14032,16 +9137,9 @@ func (o *BakedLightmap) GetPropagation() float64 { func (o *BakedLightmap) IsHdr() bool { log.Println("Calling BakedLightmap.IsHdr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hdr", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_hdr") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14052,14 +9150,7 @@ func (o *BakedLightmap) IsHdr() bool { func (o *BakedLightmap) SetBakeCellSize(bakeCellSize float64) { log.Println("Calling BakedLightmap.SetBakeCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bakeCellSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_cell_size", goArguments, "") - + godotCallVoidFloat(o, "set_bake_cell_size", bakeCellSize) log.Println(" Function successfully completed.") } @@ -14070,14 +9161,7 @@ func (o *BakedLightmap) SetBakeCellSize(bakeCellSize float64) { func (o *BakedLightmap) SetBakeMode(bakeMode int64) { log.Println("Calling BakedLightmap.SetBakeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bakeMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_mode", goArguments, "") - + godotCallVoidInt(o, "set_bake_mode", bakeMode) log.Println(" Function successfully completed.") } @@ -14088,14 +9172,7 @@ func (o *BakedLightmap) SetBakeMode(bakeMode int64) { func (o *BakedLightmap) SetBakeQuality(bakeQuality int64) { log.Println("Calling BakedLightmap.SetBakeQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bakeQuality) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_quality", goArguments, "") - + godotCallVoidInt(o, "set_bake_quality", bakeQuality) log.Println(" Function successfully completed.") } @@ -14106,14 +9183,7 @@ func (o *BakedLightmap) SetBakeQuality(bakeQuality int64) { func (o *BakedLightmap) SetCaptureCellSize(captureCellSize float64) { log.Println("Calling BakedLightmap.SetCaptureCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(captureCellSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_capture_cell_size", goArguments, "") - + godotCallVoidFloat(o, "set_capture_cell_size", captureCellSize) log.Println(" Function successfully completed.") } @@ -14124,14 +9194,7 @@ func (o *BakedLightmap) SetCaptureCellSize(captureCellSize float64) { func (o *BakedLightmap) SetEnergy(energy float64) { log.Println("Calling BakedLightmap.SetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_energy", goArguments, "") - + godotCallVoidFloat(o, "set_energy", energy) log.Println(" Function successfully completed.") } @@ -14142,14 +9205,7 @@ func (o *BakedLightmap) SetEnergy(energy float64) { func (o *BakedLightmap) SetExtents(extents *Vector3) { log.Println("Calling BakedLightmap.SetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extents", goArguments, "") - + godotCallVoidVector3(o, "set_extents", extents) log.Println(" Function successfully completed.") } @@ -14160,14 +9216,7 @@ func (o *BakedLightmap) SetExtents(extents *Vector3) { func (o *BakedLightmap) SetHdr(hdr bool) { log.Println("Calling BakedLightmap.SetHdr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hdr) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hdr", goArguments, "") - + godotCallVoidBool(o, "set_hdr", hdr) log.Println(" Function successfully completed.") } @@ -14178,14 +9227,7 @@ func (o *BakedLightmap) SetHdr(hdr bool) { func (o *BakedLightmap) SetImagePath(imagePath string) { log.Println("Calling BakedLightmap.SetImagePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(imagePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_image_path", goArguments, "") - + godotCallVoidString(o, "set_image_path", imagePath) log.Println(" Function successfully completed.") } @@ -14196,14 +9238,7 @@ func (o *BakedLightmap) SetImagePath(imagePath string) { func (o *BakedLightmap) SetLightData(data *BakedLightmapData) { log.Println("Calling BakedLightmap.SetLightData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_light_data", goArguments, "") - + godotCallVoidObject(o, "set_light_data", &data.Object) log.Println(" Function successfully completed.") } @@ -14214,14 +9249,7 @@ func (o *BakedLightmap) SetLightData(data *BakedLightmapData) { func (o *BakedLightmap) SetPropagation(propagation float64) { log.Println("Calling BakedLightmap.SetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(propagation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_propagation", goArguments, "") - + godotCallVoidFloat(o, "set_propagation", propagation) log.Println(" Function successfully completed.") } @@ -14250,16 +9278,9 @@ func (o *BakedLightmapData) baseClass() string { func (o *BakedLightmapData) X_GetUserData() *Array { log.Println("Calling BakedLightmapData.X_GetUserData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_user_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_user_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14270,14 +9291,7 @@ func (o *BakedLightmapData) X_GetUserData() *Array { func (o *BakedLightmapData) X_SetUserData(data *Array) { log.Println("Calling BakedLightmapData.X_SetUserData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_user_data", goArguments, "") - + godotCallVoidArray(o, "_set_user_data", data) log.Println(" Function successfully completed.") } @@ -14288,16 +9302,7 @@ func (o *BakedLightmapData) X_SetUserData(data *Array) { func (o *BakedLightmapData) AddUser(path *NodePath, lightmap *Texture, instance int64) { log.Println("Calling BakedLightmapData.AddUser()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(lightmap) - goArguments[2] = reflect.ValueOf(instance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_user", goArguments, "") - + godotCallVoidNodePathObjectInt(o, "add_user", path, &lightmap.Object, instance) log.Println(" Function successfully completed.") } @@ -14308,13 +9313,7 @@ func (o *BakedLightmapData) AddUser(path *NodePath, lightmap *Texture, instance func (o *BakedLightmapData) ClearUsers() { log.Println("Calling BakedLightmapData.ClearUsers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_users", goArguments, "") - + godotCallVoid(o, "clear_users") log.Println(" Function successfully completed.") } @@ -14325,16 +9324,9 @@ func (o *BakedLightmapData) ClearUsers() { func (o *BakedLightmapData) GetBounds() *AABB { log.Println("Calling BakedLightmapData.GetBounds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounds", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_bounds") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14345,16 +9337,9 @@ func (o *BakedLightmapData) GetBounds() *AABB { func (o *BakedLightmapData) GetCellSpaceTransform() *Transform { log.Println("Calling BakedLightmapData.GetCellSpaceTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_space_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_cell_space_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14365,16 +9350,9 @@ func (o *BakedLightmapData) GetCellSpaceTransform() *Transform { func (o *BakedLightmapData) GetCellSubdiv() int64 { log.Println("Calling BakedLightmapData.GetCellSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_subdiv", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cell_subdiv") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14385,16 +9363,9 @@ func (o *BakedLightmapData) GetCellSubdiv() int64 { func (o *BakedLightmapData) GetEnergy() float64 { log.Println("Calling BakedLightmapData.GetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14405,16 +9376,9 @@ func (o *BakedLightmapData) GetEnergy() float64 { func (o *BakedLightmapData) GetOctree() *PoolByteArray { log.Println("Calling BakedLightmapData.GetOctree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_octree", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "get_octree") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14425,16 +9389,9 @@ func (o *BakedLightmapData) GetOctree() *PoolByteArray { func (o *BakedLightmapData) GetUserCount() int64 { log.Println("Calling BakedLightmapData.GetUserCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_user_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_user_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14445,18 +9402,12 @@ func (o *BakedLightmapData) GetUserCount() int64 { func (o *BakedLightmapData) GetUserLightmap(userIdx int64) *Texture { log.Println("Calling BakedLightmapData.GetUserLightmap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(userIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_user_lightmap", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_user_lightmap", userIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -14466,17 +9417,9 @@ func (o *BakedLightmapData) GetUserLightmap(userIdx int64) *Texture { func (o *BakedLightmapData) GetUserPath(userIdx int64) *NodePath { log.Println("Calling BakedLightmapData.GetUserPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(userIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_user_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "get_user_path", userIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14487,14 +9430,7 @@ func (o *BakedLightmapData) GetUserPath(userIdx int64) *NodePath { func (o *BakedLightmapData) SetBounds(bounds *AABB) { log.Println("Calling BakedLightmapData.SetBounds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounds", goArguments, "") - + godotCallVoidAabb(o, "set_bounds", bounds) log.Println(" Function successfully completed.") } @@ -14505,14 +9441,7 @@ func (o *BakedLightmapData) SetBounds(bounds *AABB) { func (o *BakedLightmapData) SetCellSpaceTransform(xform *Transform) { log.Println("Calling BakedLightmapData.SetCellSpaceTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_space_transform", goArguments, "") - + godotCallVoidTransform(o, "set_cell_space_transform", xform) log.Println(" Function successfully completed.") } @@ -14523,14 +9452,7 @@ func (o *BakedLightmapData) SetCellSpaceTransform(xform *Transform) { func (o *BakedLightmapData) SetCellSubdiv(cellSubdiv int64) { log.Println("Calling BakedLightmapData.SetCellSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cellSubdiv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_subdiv", goArguments, "") - + godotCallVoidInt(o, "set_cell_subdiv", cellSubdiv) log.Println(" Function successfully completed.") } @@ -14541,14 +9463,7 @@ func (o *BakedLightmapData) SetCellSubdiv(cellSubdiv int64) { func (o *BakedLightmapData) SetEnergy(energy float64) { log.Println("Calling BakedLightmapData.SetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_energy", goArguments, "") - + godotCallVoidFloat(o, "set_energy", energy) log.Println(" Function successfully completed.") } @@ -14559,14 +9474,7 @@ func (o *BakedLightmapData) SetEnergy(energy float64) { func (o *BakedLightmapData) SetOctree(octree *PoolByteArray) { log.Println("Calling BakedLightmapData.SetOctree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(octree) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_octree", goArguments, "") - + godotCallVoidPoolByteArray(o, "set_octree", octree) log.Println(" Function successfully completed.") } @@ -14595,14 +9503,7 @@ func (o *BaseButton) baseClass() string { func (o *BaseButton) X_GuiInput(arg0 *InputEvent) { log.Println("Calling BaseButton.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -14613,13 +9514,7 @@ func (o *BaseButton) X_GuiInput(arg0 *InputEvent) { func (o *BaseButton) X_Pressed() { log.Println("Calling BaseButton.X_Pressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_pressed", goArguments, "") - + godotCallVoid(o, "_pressed") log.Println(" Function successfully completed.") } @@ -14630,14 +9525,7 @@ func (o *BaseButton) X_Pressed() { func (o *BaseButton) X_Toggled(buttonPressed bool) { log.Println("Calling BaseButton.X_Toggled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonPressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_toggled", goArguments, "") - + godotCallVoidBool(o, "_toggled", buttonPressed) log.Println(" Function successfully completed.") } @@ -14648,14 +9536,7 @@ func (o *BaseButton) X_Toggled(buttonPressed bool) { func (o *BaseButton) X_UnhandledInput(arg0 *InputEvent) { log.Println("Calling BaseButton.X_UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -14666,16 +9547,9 @@ func (o *BaseButton) X_UnhandledInput(arg0 *InputEvent) { func (o *BaseButton) GetActionMode() int64 { log.Println("Calling BaseButton.GetActionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_action_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14686,17 +9560,12 @@ func (o *BaseButton) GetActionMode() int64 { func (o *BaseButton) GetButtonGroup() *ButtonGroup { log.Println("Calling BaseButton.GetButtonGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_group", goArguments, "*ButtonGroup") - - returnValue := goRet.Interface().(*ButtonGroup) - + returnValue := godotCallObject(o, "get_button_group") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ButtonGroup + ret.owner = returnValue.owner + return &ret } @@ -14706,16 +9575,9 @@ func (o *BaseButton) GetButtonGroup() *ButtonGroup { func (o *BaseButton) GetDrawMode() int64 { log.Println("Calling BaseButton.GetDrawMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_draw_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14726,16 +9588,9 @@ func (o *BaseButton) GetDrawMode() int64 { func (o *BaseButton) GetEnabledFocusMode() int64 { log.Println("Calling BaseButton.GetEnabledFocusMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_enabled_focus_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_enabled_focus_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14746,17 +9601,12 @@ func (o *BaseButton) GetEnabledFocusMode() int64 { func (o *BaseButton) GetShortcut() *ShortCut { log.Println("Calling BaseButton.GetShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shortcut", goArguments, "*ShortCut") - - returnValue := goRet.Interface().(*ShortCut) - + returnValue := godotCallObject(o, "get_shortcut") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ShortCut + ret.owner = returnValue.owner + return &ret } @@ -14766,16 +9616,9 @@ func (o *BaseButton) GetShortcut() *ShortCut { func (o *BaseButton) IsDisabled() bool { log.Println("Calling BaseButton.IsDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14786,16 +9629,9 @@ func (o *BaseButton) IsDisabled() bool { func (o *BaseButton) IsHovered() bool { log.Println("Calling BaseButton.IsHovered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hovered", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_hovered") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14806,16 +9642,9 @@ func (o *BaseButton) IsHovered() bool { func (o *BaseButton) IsPressed() bool { log.Println("Calling BaseButton.IsPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_pressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14826,16 +9655,9 @@ func (o *BaseButton) IsPressed() bool { func (o *BaseButton) IsToggleMode() bool { log.Println("Calling BaseButton.IsToggleMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_toggle_mode", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_toggle_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -14846,14 +9668,7 @@ func (o *BaseButton) IsToggleMode() bool { func (o *BaseButton) SetActionMode(mode int64) { log.Println("Calling BaseButton.SetActionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_action_mode", goArguments, "") - + godotCallVoidInt(o, "set_action_mode", mode) log.Println(" Function successfully completed.") } @@ -14864,14 +9679,7 @@ func (o *BaseButton) SetActionMode(mode int64) { func (o *BaseButton) SetButtonGroup(buttonGroup *ButtonGroup) { log.Println("Calling BaseButton.SetButtonGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonGroup) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button_group", goArguments, "") - + godotCallVoidObject(o, "set_button_group", &buttonGroup.Object) log.Println(" Function successfully completed.") } @@ -14882,14 +9690,7 @@ func (o *BaseButton) SetButtonGroup(buttonGroup *ButtonGroup) { func (o *BaseButton) SetDisabled(disabled bool) { log.Println("Calling BaseButton.SetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled", goArguments, "") - + godotCallVoidBool(o, "set_disabled", disabled) log.Println(" Function successfully completed.") } @@ -14900,14 +9701,7 @@ func (o *BaseButton) SetDisabled(disabled bool) { func (o *BaseButton) SetEnabledFocusMode(mode int64) { log.Println("Calling BaseButton.SetEnabledFocusMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled_focus_mode", goArguments, "") - + godotCallVoidInt(o, "set_enabled_focus_mode", mode) log.Println(" Function successfully completed.") } @@ -14918,14 +9712,7 @@ func (o *BaseButton) SetEnabledFocusMode(mode int64) { func (o *BaseButton) SetPressed(pressed bool) { log.Println("Calling BaseButton.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -14936,14 +9723,7 @@ func (o *BaseButton) SetPressed(pressed bool) { func (o *BaseButton) SetShortcut(shortcut *ShortCut) { log.Println("Calling BaseButton.SetShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shortcut) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shortcut", goArguments, "") - + godotCallVoidObject(o, "set_shortcut", &shortcut.Object) log.Println(" Function successfully completed.") } @@ -14954,14 +9734,7 @@ func (o *BaseButton) SetShortcut(shortcut *ShortCut) { func (o *BaseButton) SetToggleMode(enabled bool) { log.Println("Calling BaseButton.SetToggleMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_toggle_mode", goArguments, "") - + godotCallVoidBool(o, "set_toggle_mode", enabled) log.Println(" Function successfully completed.") } @@ -14990,16 +9763,9 @@ func (o *BitMap) baseClass() string { func (o *BitMap) X_GetData() *Dictionary { log.Println("Calling BitMap.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15010,14 +9776,7 @@ func (o *BitMap) X_GetData() *Dictionary { func (o *BitMap) X_SetData(arg0 *Dictionary) { log.Println("Calling BitMap.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", arg0) log.Println(" Function successfully completed.") } @@ -15028,14 +9787,7 @@ func (o *BitMap) X_SetData(arg0 *Dictionary) { func (o *BitMap) Create(size *Vector2) { log.Println("Calling BitMap.Create()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create", goArguments, "") - + godotCallVoidVector2(o, "create", size) log.Println(" Function successfully completed.") } @@ -15046,14 +9798,7 @@ func (o *BitMap) Create(size *Vector2) { func (o *BitMap) CreateFromImageAlpha(image *Image) { log.Println("Calling BitMap.CreateFromImageAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(image) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_from_image_alpha", goArguments, "") - + godotCallVoidObject(o, "create_from_image_alpha", &image.Object) log.Println(" Function successfully completed.") } @@ -15064,17 +9809,9 @@ func (o *BitMap) CreateFromImageAlpha(image *Image) { func (o *BitMap) GetBit(position *Vector2) bool { log.Println("Calling BitMap.GetBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2(o, "get_bit", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15085,16 +9822,9 @@ func (o *BitMap) GetBit(position *Vector2) bool { func (o *BitMap) GetSize() *Vector2 { log.Println("Calling BitMap.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15105,16 +9835,9 @@ func (o *BitMap) GetSize() *Vector2 { func (o *BitMap) GetTrueBitCount() int64 { log.Println("Calling BitMap.GetTrueBitCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_true_bit_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_true_bit_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15125,15 +9848,7 @@ func (o *BitMap) GetTrueBitCount() int64 { func (o *BitMap) SetBit(position *Vector2, bit bool) { log.Println("Calling BitMap.SetBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(bit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bit", goArguments, "") - + godotCallVoidVector2Bool(o, "set_bit", position, bit) log.Println(" Function successfully completed.") } @@ -15144,15 +9859,7 @@ func (o *BitMap) SetBit(position *Vector2, bit bool) { func (o *BitMap) SetBitRect(pRect *Rect2, bit bool) { log.Println("Calling BitMap.SetBitRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(pRect) - goArguments[1] = reflect.ValueOf(bit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bit_rect", goArguments, "") - + godotCallVoidRect2Bool(o, "set_bit_rect", pRect, bit) log.Println(" Function successfully completed.") } @@ -15181,16 +9888,9 @@ func (o *BitmapFont) baseClass() string { func (o *BitmapFont) X_GetChars() *PoolIntArray { log.Println("Calling BitmapFont.X_GetChars()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_chars", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "_get_chars") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15201,16 +9901,9 @@ func (o *BitmapFont) X_GetChars() *PoolIntArray { func (o *BitmapFont) X_GetKernings() *PoolIntArray { log.Println("Calling BitmapFont.X_GetKernings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_kernings", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "_get_kernings") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15221,16 +9914,9 @@ func (o *BitmapFont) X_GetKernings() *PoolIntArray { func (o *BitmapFont) X_GetTextures() *Array { log.Println("Calling BitmapFont.X_GetTextures()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_textures", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_textures") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15241,14 +9927,7 @@ func (o *BitmapFont) X_GetTextures() *Array { func (o *BitmapFont) X_SetChars(arg0 *PoolIntArray) { log.Println("Calling BitmapFont.X_SetChars()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_chars", goArguments, "") - + godotCallVoidPoolIntArray(o, "_set_chars", arg0) log.Println(" Function successfully completed.") } @@ -15259,14 +9938,7 @@ func (o *BitmapFont) X_SetChars(arg0 *PoolIntArray) { func (o *BitmapFont) X_SetKernings(arg0 *PoolIntArray) { log.Println("Calling BitmapFont.X_SetKernings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_kernings", goArguments, "") - + godotCallVoidPoolIntArray(o, "_set_kernings", arg0) log.Println(" Function successfully completed.") } @@ -15277,14 +9949,7 @@ func (o *BitmapFont) X_SetKernings(arg0 *PoolIntArray) { func (o *BitmapFont) X_SetTextures(arg0 *Array) { log.Println("Calling BitmapFont.X_SetTextures()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_textures", goArguments, "") - + godotCallVoidArray(o, "_set_textures", arg0) log.Println(" Function successfully completed.") } @@ -15295,18 +9960,7 @@ func (o *BitmapFont) X_SetTextures(arg0 *Array) { func (o *BitmapFont) AddChar(character int64, texture int64, rect *Rect2, align *Vector2, advance float64) { log.Println("Calling BitmapFont.AddChar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(character) - goArguments[1] = reflect.ValueOf(texture) - goArguments[2] = reflect.ValueOf(rect) - goArguments[3] = reflect.ValueOf(align) - goArguments[4] = reflect.ValueOf(advance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_char", goArguments, "") - + godotCallVoidIntIntRect2Vector2Float(o, "add_char", character, texture, rect, align, advance) log.Println(" Function successfully completed.") } @@ -15317,16 +9971,7 @@ func (o *BitmapFont) AddChar(character int64, texture int64, rect *Rect2, align func (o *BitmapFont) AddKerningPair(charA int64, charB int64, kerning int64) { log.Println("Calling BitmapFont.AddKerningPair()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(charA) - goArguments[1] = reflect.ValueOf(charB) - goArguments[2] = reflect.ValueOf(kerning) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_kerning_pair", goArguments, "") - + godotCallVoidIntIntInt(o, "add_kerning_pair", charA, charB, kerning) log.Println(" Function successfully completed.") } @@ -15337,14 +9982,7 @@ func (o *BitmapFont) AddKerningPair(charA int64, charB int64, kerning int64) { func (o *BitmapFont) AddTexture(texture *Texture) { log.Println("Calling BitmapFont.AddTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_texture", goArguments, "") - + godotCallVoidObject(o, "add_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -15355,13 +9993,7 @@ func (o *BitmapFont) AddTexture(texture *Texture) { func (o *BitmapFont) Clear() { log.Println("Calling BitmapFont.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -15372,17 +10004,9 @@ func (o *BitmapFont) Clear() { func (o *BitmapFont) CreateFromFnt(path string) int64 { log.Println("Calling BitmapFont.CreateFromFnt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_from_fnt", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "create_from_fnt", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15393,18 +10017,9 @@ func (o *BitmapFont) CreateFromFnt(path string) int64 { func (o *BitmapFont) GetCharSize(char int64, next int64) *Vector2 { log.Println("Calling BitmapFont.GetCharSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(char) - goArguments[1] = reflect.ValueOf(next) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_char_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2IntInt(o, "get_char_size", char, next) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15415,17 +10030,12 @@ func (o *BitmapFont) GetCharSize(char int64, next int64) *Vector2 { func (o *BitmapFont) GetFallback() *BitmapFont { log.Println("Calling BitmapFont.GetFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fallback", goArguments, "*BitmapFont") - - returnValue := goRet.Interface().(*BitmapFont) - + returnValue := godotCallObject(o, "get_fallback") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret BitmapFont + ret.owner = returnValue.owner + return &ret } @@ -15435,18 +10045,9 @@ func (o *BitmapFont) GetFallback() *BitmapFont { func (o *BitmapFont) GetKerningPair(charA int64, charB int64) int64 { log.Println("Calling BitmapFont.GetKerningPair()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(charA) - goArguments[1] = reflect.ValueOf(charB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_kerning_pair", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "get_kerning_pair", charA, charB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15457,18 +10058,12 @@ func (o *BitmapFont) GetKerningPair(charA int64, charB int64) int64 { func (o *BitmapFont) GetTexture(idx int64) *Texture { log.Println("Calling BitmapFont.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_texture", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -15478,16 +10073,9 @@ func (o *BitmapFont) GetTexture(idx int64) *Texture { func (o *BitmapFont) GetTextureCount() int64 { log.Println("Calling BitmapFont.GetTextureCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_texture_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15498,14 +10086,7 @@ func (o *BitmapFont) GetTextureCount() int64 { func (o *BitmapFont) SetAscent(px float64) { log.Println("Calling BitmapFont.SetAscent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(px) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ascent", goArguments, "") - + godotCallVoidFloat(o, "set_ascent", px) log.Println(" Function successfully completed.") } @@ -15516,14 +10097,7 @@ func (o *BitmapFont) SetAscent(px float64) { func (o *BitmapFont) SetDistanceFieldHint(enable bool) { log.Println("Calling BitmapFont.SetDistanceFieldHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_distance_field_hint", goArguments, "") - + godotCallVoidBool(o, "set_distance_field_hint", enable) log.Println(" Function successfully completed.") } @@ -15534,14 +10108,7 @@ func (o *BitmapFont) SetDistanceFieldHint(enable bool) { func (o *BitmapFont) SetFallback(fallback *BitmapFont) { log.Println("Calling BitmapFont.SetFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fallback) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fallback", goArguments, "") - + godotCallVoidObject(o, "set_fallback", &fallback.Object) log.Println(" Function successfully completed.") } @@ -15552,14 +10119,7 @@ func (o *BitmapFont) SetFallback(fallback *BitmapFont) { func (o *BitmapFont) SetHeight(px float64) { log.Println("Calling BitmapFont.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(px) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", px) log.Println(" Function successfully completed.") } @@ -15588,16 +10148,9 @@ func (o *BoneAttachment) baseClass() string { func (o *BoneAttachment) GetBoneName() string { log.Println("Calling BoneAttachment.GetBoneName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bone_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15608,14 +10161,7 @@ func (o *BoneAttachment) GetBoneName() string { func (o *BoneAttachment) SetBoneName(boneName string) { log.Println("Calling BoneAttachment.SetBoneName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_name", goArguments, "") - + godotCallVoidString(o, "set_bone_name", boneName) log.Println(" Function successfully completed.") } @@ -15644,14 +10190,7 @@ func (o *BoxContainer) baseClass() string { func (o *BoxContainer) AddSpacer(begin bool) { log.Println("Calling BoxContainer.AddSpacer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(begin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_spacer", goArguments, "") - + godotCallVoidBool(o, "add_spacer", begin) log.Println(" Function successfully completed.") } @@ -15662,16 +10201,9 @@ func (o *BoxContainer) AddSpacer(begin bool) { func (o *BoxContainer) GetAlignment() int64 { log.Println("Calling BoxContainer.GetAlignment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_alignment", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_alignment") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15682,14 +10214,7 @@ func (o *BoxContainer) GetAlignment() int64 { func (o *BoxContainer) SetAlignment(alignment int64) { log.Println("Calling BoxContainer.SetAlignment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(alignment) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_alignment", goArguments, "") - + godotCallVoidInt(o, "set_alignment", alignment) log.Println(" Function successfully completed.") } @@ -15718,16 +10243,9 @@ func (o *BoxShape) baseClass() string { func (o *BoxShape) GetExtents() *Vector3 { log.Println("Calling BoxShape.GetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extents", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15738,14 +10256,7 @@ func (o *BoxShape) GetExtents() *Vector3 { func (o *BoxShape) SetExtents(extents *Vector3) { log.Println("Calling BoxShape.SetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extents", goArguments, "") - + godotCallVoidVector3(o, "set_extents", extents) log.Println(" Function successfully completed.") } @@ -15810,17 +10321,12 @@ func (o *Button) baseClass() string { func (o *Button) GetButtonIcon() *Texture { log.Println("Calling Button.GetButtonIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_button_icon") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -15830,16 +10336,9 @@ func (o *Button) GetButtonIcon() *Texture { func (o *Button) GetClipText() bool { log.Println("Calling Button.GetClipText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_clip_text", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_clip_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15850,16 +10349,9 @@ func (o *Button) GetClipText() bool { func (o *Button) GetText() string { log.Println("Calling Button.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15870,16 +10362,9 @@ func (o *Button) GetText() string { func (o *Button) GetTextAlign() int64 { log.Println("Calling Button.GetTextAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_text_align") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15890,16 +10375,9 @@ func (o *Button) GetTextAlign() int64 { func (o *Button) IsFlat() bool { log.Println("Calling Button.IsFlat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flat", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flat") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -15910,14 +10388,7 @@ func (o *Button) IsFlat() bool { func (o *Button) SetButtonIcon(texture *Texture) { log.Println("Calling Button.SetButtonIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button_icon", goArguments, "") - + godotCallVoidObject(o, "set_button_icon", &texture.Object) log.Println(" Function successfully completed.") } @@ -15928,14 +10399,7 @@ func (o *Button) SetButtonIcon(texture *Texture) { func (o *Button) SetClipText(enabled bool) { log.Println("Calling Button.SetClipText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clip_text", goArguments, "") - + godotCallVoidBool(o, "set_clip_text", enabled) log.Println(" Function successfully completed.") } @@ -15946,14 +10410,7 @@ func (o *Button) SetClipText(enabled bool) { func (o *Button) SetFlat(enabled bool) { log.Println("Calling Button.SetFlat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flat", goArguments, "") - + godotCallVoidBool(o, "set_flat", enabled) log.Println(" Function successfully completed.") } @@ -15964,14 +10421,7 @@ func (o *Button) SetFlat(enabled bool) { func (o *Button) SetText(text string) { log.Println("Calling Button.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -15982,14 +10432,7 @@ func (o *Button) SetText(text string) { func (o *Button) SetTextAlign(align int64) { log.Println("Calling Button.SetTextAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text_align", goArguments, "") - + godotCallVoidInt(o, "set_text_align", align) log.Println(" Function successfully completed.") } @@ -16002,7 +10445,7 @@ type ButtonImplementer interface { } /* - Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed. + Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed. [member BaseButton.toggle_mode] should be [code]true[/code]. */ type ButtonGroup struct { Resource @@ -16018,17 +10461,12 @@ func (o *ButtonGroup) baseClass() string { func (o *ButtonGroup) GetPressedButton() *BaseButton { log.Println("Calling ButtonGroup.GetPressedButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pressed_button", goArguments, "*BaseButton") - - returnValue := goRet.Interface().(*BaseButton) - + returnValue := godotCallObject(o, "get_pressed_button") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret BaseButton + ret.owner = returnValue.owner + return &ret } @@ -16056,13 +10494,7 @@ func (o *Camera) baseClass() string { func (o *Camera) ClearCurrent() { log.Println("Calling Camera.ClearCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_current", goArguments, "") - + godotCallVoid(o, "clear_current") log.Println(" Function successfully completed.") } @@ -16073,16 +10505,9 @@ func (o *Camera) ClearCurrent() { func (o *Camera) GetCameraTransform() *Transform { log.Println("Calling Camera.GetCameraTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_camera_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_camera_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16093,16 +10518,9 @@ func (o *Camera) GetCameraTransform() *Transform { func (o *Camera) GetCullMask() int64 { log.Println("Calling Camera.GetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cull_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cull_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16113,16 +10531,9 @@ func (o *Camera) GetCullMask() int64 { func (o *Camera) GetDopplerTracking() int64 { log.Println("Calling Camera.GetDopplerTracking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_doppler_tracking", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_doppler_tracking") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16133,17 +10544,12 @@ func (o *Camera) GetDopplerTracking() int64 { func (o *Camera) GetEnvironment() *Environment { log.Println("Calling Camera.GetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_environment", goArguments, "*Environment") - - returnValue := goRet.Interface().(*Environment) - + returnValue := godotCallObject(o, "get_environment") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Environment + ret.owner = returnValue.owner + return &ret } @@ -16153,16 +10559,9 @@ func (o *Camera) GetEnvironment() *Environment { func (o *Camera) GetFov() float64 { log.Println("Calling Camera.GetFov()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fov", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fov") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16173,16 +10572,9 @@ func (o *Camera) GetFov() float64 { func (o *Camera) GetHOffset() float64 { log.Println("Calling Camera.GetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_h_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16193,16 +10585,9 @@ func (o *Camera) GetHOffset() float64 { func (o *Camera) GetKeepAspectMode() int64 { log.Println("Calling Camera.GetKeepAspectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_keep_aspect_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_keep_aspect_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16213,16 +10598,9 @@ func (o *Camera) GetKeepAspectMode() int64 { func (o *Camera) GetProjection() int64 { log.Println("Calling Camera.GetProjection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_projection", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_projection") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16233,16 +10611,9 @@ func (o *Camera) GetProjection() int64 { func (o *Camera) GetSize() float64 { log.Println("Calling Camera.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16253,16 +10624,9 @@ func (o *Camera) GetSize() float64 { func (o *Camera) GetVOffset() float64 { log.Println("Calling Camera.GetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_v_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16273,16 +10637,9 @@ func (o *Camera) GetVOffset() float64 { func (o *Camera) GetZfar() float64 { log.Println("Calling Camera.GetZfar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_zfar", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_zfar") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16293,16 +10650,9 @@ func (o *Camera) GetZfar() float64 { func (o *Camera) GetZnear() float64 { log.Println("Calling Camera.GetZnear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_znear", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_znear") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16313,16 +10663,9 @@ func (o *Camera) GetZnear() float64 { func (o *Camera) IsCurrent() bool { log.Println("Calling Camera.IsCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_current", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_current") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16333,17 +10676,9 @@ func (o *Camera) IsCurrent() bool { func (o *Camera) IsPositionBehind(worldPoint *Vector3) bool { log.Println("Calling Camera.IsPositionBehind()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(worldPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_position_behind", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector3(o, "is_position_behind", worldPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16354,13 +10689,7 @@ func (o *Camera) IsPositionBehind(worldPoint *Vector3) bool { func (o *Camera) MakeCurrent() { log.Println("Calling Camera.MakeCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_current", goArguments, "") - + godotCallVoid(o, "make_current") log.Println(" Function successfully completed.") } @@ -16371,17 +10700,9 @@ func (o *Camera) MakeCurrent() { func (o *Camera) ProjectLocalRayNormal(screenPoint *Vector2) *Vector3 { log.Println("Calling Camera.ProjectLocalRayNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "project_local_ray_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector2(o, "project_local_ray_normal", screenPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16392,17 +10713,9 @@ func (o *Camera) ProjectLocalRayNormal(screenPoint *Vector2) *Vector3 { func (o *Camera) ProjectPosition(screenPoint *Vector2) *Vector3 { log.Println("Calling Camera.ProjectPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "project_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector2(o, "project_position", screenPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16413,17 +10726,9 @@ func (o *Camera) ProjectPosition(screenPoint *Vector2) *Vector3 { func (o *Camera) ProjectRayNormal(screenPoint *Vector2) *Vector3 { log.Println("Calling Camera.ProjectRayNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "project_ray_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector2(o, "project_ray_normal", screenPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16434,17 +10739,9 @@ func (o *Camera) ProjectRayNormal(screenPoint *Vector2) *Vector3 { func (o *Camera) ProjectRayOrigin(screenPoint *Vector2) *Vector3 { log.Println("Calling Camera.ProjectRayOrigin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "project_ray_origin", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector2(o, "project_ray_origin", screenPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16455,14 +10752,7 @@ func (o *Camera) ProjectRayOrigin(screenPoint *Vector2) *Vector3 { func (o *Camera) SetCullMask(mask int64) { log.Println("Calling Camera.SetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cull_mask", goArguments, "") - + godotCallVoidInt(o, "set_cull_mask", mask) log.Println(" Function successfully completed.") } @@ -16473,14 +10763,7 @@ func (o *Camera) SetCullMask(mask int64) { func (o *Camera) SetCurrent(arg0 bool) { log.Println("Calling Camera.SetCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current", goArguments, "") - + godotCallVoidBool(o, "set_current", arg0) log.Println(" Function successfully completed.") } @@ -16491,14 +10774,7 @@ func (o *Camera) SetCurrent(arg0 bool) { func (o *Camera) SetDopplerTracking(mode int64) { log.Println("Calling Camera.SetDopplerTracking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_doppler_tracking", goArguments, "") - + godotCallVoidInt(o, "set_doppler_tracking", mode) log.Println(" Function successfully completed.") } @@ -16509,14 +10785,7 @@ func (o *Camera) SetDopplerTracking(mode int64) { func (o *Camera) SetEnvironment(env *Environment) { log.Println("Calling Camera.SetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(env) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_environment", goArguments, "") - + godotCallVoidObject(o, "set_environment", &env.Object) log.Println(" Function successfully completed.") } @@ -16527,14 +10796,7 @@ func (o *Camera) SetEnvironment(env *Environment) { func (o *Camera) SetFov(arg0 float64) { log.Println("Calling Camera.SetFov()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fov", goArguments, "") - + godotCallVoidFloat(o, "set_fov", arg0) log.Println(" Function successfully completed.") } @@ -16545,14 +10807,7 @@ func (o *Camera) SetFov(arg0 float64) { func (o *Camera) SetHOffset(ofs float64) { log.Println("Calling Camera.SetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_offset", goArguments, "") - + godotCallVoidFloat(o, "set_h_offset", ofs) log.Println(" Function successfully completed.") } @@ -16563,14 +10818,7 @@ func (o *Camera) SetHOffset(ofs float64) { func (o *Camera) SetKeepAspectMode(mode int64) { log.Println("Calling Camera.SetKeepAspectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_keep_aspect_mode", goArguments, "") - + godotCallVoidInt(o, "set_keep_aspect_mode", mode) log.Println(" Function successfully completed.") } @@ -16581,16 +10829,7 @@ func (o *Camera) SetKeepAspectMode(mode int64) { func (o *Camera) SetOrthogonal(size float64, zNear float64, zFar float64) { log.Println("Calling Camera.SetOrthogonal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(size) - goArguments[1] = reflect.ValueOf(zNear) - goArguments[2] = reflect.ValueOf(zFar) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_orthogonal", goArguments, "") - + godotCallVoidFloatFloatFloat(o, "set_orthogonal", size, zNear, zFar) log.Println(" Function successfully completed.") } @@ -16601,16 +10840,7 @@ func (o *Camera) SetOrthogonal(size float64, zNear float64, zFar float64) { func (o *Camera) SetPerspective(fov float64, zNear float64, zFar float64) { log.Println("Calling Camera.SetPerspective()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(fov) - goArguments[1] = reflect.ValueOf(zNear) - goArguments[2] = reflect.ValueOf(zFar) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_perspective", goArguments, "") - + godotCallVoidFloatFloatFloat(o, "set_perspective", fov, zNear, zFar) log.Println(" Function successfully completed.") } @@ -16621,14 +10851,7 @@ func (o *Camera) SetPerspective(fov float64, zNear float64, zFar float64) { func (o *Camera) SetProjection(arg0 int64) { log.Println("Calling Camera.SetProjection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_projection", goArguments, "") - + godotCallVoidInt(o, "set_projection", arg0) log.Println(" Function successfully completed.") } @@ -16639,14 +10862,7 @@ func (o *Camera) SetProjection(arg0 int64) { func (o *Camera) SetSize(arg0 float64) { log.Println("Calling Camera.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidFloat(o, "set_size", arg0) log.Println(" Function successfully completed.") } @@ -16657,14 +10873,7 @@ func (o *Camera) SetSize(arg0 float64) { func (o *Camera) SetVOffset(ofs float64) { log.Println("Calling Camera.SetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_offset", goArguments, "") - + godotCallVoidFloat(o, "set_v_offset", ofs) log.Println(" Function successfully completed.") } @@ -16675,14 +10884,7 @@ func (o *Camera) SetVOffset(ofs float64) { func (o *Camera) SetZfar(arg0 float64) { log.Println("Calling Camera.SetZfar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_zfar", goArguments, "") - + godotCallVoidFloat(o, "set_zfar", arg0) log.Println(" Function successfully completed.") } @@ -16693,14 +10895,7 @@ func (o *Camera) SetZfar(arg0 float64) { func (o *Camera) SetZnear(arg0 float64) { log.Println("Calling Camera.SetZnear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_znear", goArguments, "") - + godotCallVoidFloat(o, "set_znear", arg0) log.Println(" Function successfully completed.") } @@ -16711,17 +10906,9 @@ func (o *Camera) SetZnear(arg0 float64) { func (o *Camera) UnprojectPosition(worldPoint *Vector3) *Vector2 { log.Println("Calling Camera.UnprojectPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(worldPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "unproject_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector3(o, "unproject_position", worldPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16750,14 +10937,7 @@ func (o *Camera2D) baseClass() string { func (o *Camera2D) X_MakeCurrent(arg0 *Object) { log.Println("Calling Camera2D.X_MakeCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_make_current", goArguments, "") - + godotCallVoidObject(o, "_make_current", arg0) log.Println(" Function successfully completed.") } @@ -16768,14 +10948,7 @@ func (o *Camera2D) X_MakeCurrent(arg0 *Object) { func (o *Camera2D) X_SetCurrent(current bool) { log.Println("Calling Camera2D.X_SetCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(current) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_current", goArguments, "") - + godotCallVoidBool(o, "_set_current", current) log.Println(" Function successfully completed.") } @@ -16786,14 +10959,7 @@ func (o *Camera2D) X_SetCurrent(current bool) { func (o *Camera2D) X_SetOldSmoothing(followSmoothing float64) { log.Println("Calling Camera2D.X_SetOldSmoothing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(followSmoothing) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_old_smoothing", goArguments, "") - + godotCallVoidFloat(o, "_set_old_smoothing", followSmoothing) log.Println(" Function successfully completed.") } @@ -16804,13 +10970,7 @@ func (o *Camera2D) X_SetOldSmoothing(followSmoothing float64) { func (o *Camera2D) X_UpdateScroll() { log.Println("Calling Camera2D.X_UpdateScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_scroll", goArguments, "") - + godotCallVoid(o, "_update_scroll") log.Println(" Function successfully completed.") } @@ -16821,13 +10981,7 @@ func (o *Camera2D) X_UpdateScroll() { func (o *Camera2D) Align() { log.Println("Calling Camera2D.Align()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "align", goArguments, "") - + godotCallVoid(o, "align") log.Println(" Function successfully completed.") } @@ -16838,13 +10992,7 @@ func (o *Camera2D) Align() { func (o *Camera2D) ClearCurrent() { log.Println("Calling Camera2D.ClearCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_current", goArguments, "") - + godotCallVoid(o, "clear_current") log.Println(" Function successfully completed.") } @@ -16855,13 +11003,7 @@ func (o *Camera2D) ClearCurrent() { func (o *Camera2D) ForceUpdateScroll() { log.Println("Calling Camera2D.ForceUpdateScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_update_scroll", goArguments, "") - + godotCallVoid(o, "force_update_scroll") log.Println(" Function successfully completed.") } @@ -16872,16 +11014,9 @@ func (o *Camera2D) ForceUpdateScroll() { func (o *Camera2D) GetAnchorMode() int64 { log.Println("Calling Camera2D.GetAnchorMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anchor_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_anchor_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16892,16 +11027,9 @@ func (o *Camera2D) GetAnchorMode() int64 { func (o *Camera2D) GetCameraPosition() *Vector2 { log.Println("Calling Camera2D.GetCameraPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_camera_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_camera_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16912,16 +11040,9 @@ func (o *Camera2D) GetCameraPosition() *Vector2 { func (o *Camera2D) GetCameraScreenCenter() *Vector2 { log.Println("Calling Camera2D.GetCameraScreenCenter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_camera_screen_center", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_camera_screen_center") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16932,17 +11053,12 @@ func (o *Camera2D) GetCameraScreenCenter() *Vector2 { func (o *Camera2D) GetCustomViewport() *Node { log.Println("Calling Camera2D.GetCustomViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_viewport", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_custom_viewport") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -16952,17 +11068,9 @@ func (o *Camera2D) GetCustomViewport() *Node { func (o *Camera2D) GetDragMargin(margin int64) float64 { log.Println("Calling Camera2D.GetDragMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drag_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_drag_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16973,16 +11081,9 @@ func (o *Camera2D) GetDragMargin(margin int64) float64 { func (o *Camera2D) GetFollowSmoothing() float64 { log.Println("Calling Camera2D.GetFollowSmoothing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_follow_smoothing", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_follow_smoothing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -16993,16 +11094,9 @@ func (o *Camera2D) GetFollowSmoothing() float64 { func (o *Camera2D) GetHOffset() float64 { log.Println("Calling Camera2D.GetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_h_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17013,17 +11107,9 @@ func (o *Camera2D) GetHOffset() float64 { func (o *Camera2D) GetLimit(margin int64) int64 { log.Println("Calling Camera2D.GetLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_limit", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_limit", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17034,16 +11120,9 @@ func (o *Camera2D) GetLimit(margin int64) int64 { func (o *Camera2D) GetOffset() *Vector2 { log.Println("Calling Camera2D.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17054,16 +11133,9 @@ func (o *Camera2D) GetOffset() *Vector2 { func (o *Camera2D) GetVOffset() float64 { log.Println("Calling Camera2D.GetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_v_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17074,16 +11146,9 @@ func (o *Camera2D) GetVOffset() float64 { func (o *Camera2D) GetZoom() *Vector2 { log.Println("Calling Camera2D.GetZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_zoom", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_zoom") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17094,16 +11159,9 @@ func (o *Camera2D) GetZoom() *Vector2 { func (o *Camera2D) IsCurrent() bool { log.Println("Calling Camera2D.IsCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_current", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_current") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17114,16 +11172,9 @@ func (o *Camera2D) IsCurrent() bool { func (o *Camera2D) IsFollowSmoothingEnabled() bool { log.Println("Calling Camera2D.IsFollowSmoothingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_follow_smoothing_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_follow_smoothing_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17134,16 +11185,9 @@ func (o *Camera2D) IsFollowSmoothingEnabled() bool { func (o *Camera2D) IsHDragEnabled() bool { log.Println("Calling Camera2D.IsHDragEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_h_drag_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_h_drag_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17154,16 +11198,9 @@ func (o *Camera2D) IsHDragEnabled() bool { func (o *Camera2D) IsLimitDrawingEnabled() bool { log.Println("Calling Camera2D.IsLimitDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_limit_drawing_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_limit_drawing_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17174,16 +11211,9 @@ func (o *Camera2D) IsLimitDrawingEnabled() bool { func (o *Camera2D) IsLimitSmoothingEnabled() bool { log.Println("Calling Camera2D.IsLimitSmoothingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_limit_smoothing_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_limit_smoothing_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17194,16 +11224,9 @@ func (o *Camera2D) IsLimitSmoothingEnabled() bool { func (o *Camera2D) IsMarginDrawingEnabled() bool { log.Println("Calling Camera2D.IsMarginDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_margin_drawing_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_margin_drawing_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17214,16 +11237,9 @@ func (o *Camera2D) IsMarginDrawingEnabled() bool { func (o *Camera2D) IsRotating() bool { log.Println("Calling Camera2D.IsRotating()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_rotating", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_rotating") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17234,16 +11250,9 @@ func (o *Camera2D) IsRotating() bool { func (o *Camera2D) IsScreenDrawingEnabled() bool { log.Println("Calling Camera2D.IsScreenDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_screen_drawing_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_screen_drawing_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17254,16 +11263,9 @@ func (o *Camera2D) IsScreenDrawingEnabled() bool { func (o *Camera2D) IsVDragEnabled() bool { log.Println("Calling Camera2D.IsVDragEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_v_drag_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_v_drag_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17274,13 +11276,7 @@ func (o *Camera2D) IsVDragEnabled() bool { func (o *Camera2D) MakeCurrent() { log.Println("Calling Camera2D.MakeCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_current", goArguments, "") - + godotCallVoid(o, "make_current") log.Println(" Function successfully completed.") } @@ -17291,13 +11287,7 @@ func (o *Camera2D) MakeCurrent() { func (o *Camera2D) ResetSmoothing() { log.Println("Calling Camera2D.ResetSmoothing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "reset_smoothing", goArguments, "") - + godotCallVoid(o, "reset_smoothing") log.Println(" Function successfully completed.") } @@ -17308,14 +11298,7 @@ func (o *Camera2D) ResetSmoothing() { func (o *Camera2D) SetAnchorMode(anchorMode int64) { log.Println("Calling Camera2D.SetAnchorMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anchorMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchor_mode", goArguments, "") - + godotCallVoidInt(o, "set_anchor_mode", anchorMode) log.Println(" Function successfully completed.") } @@ -17326,14 +11309,7 @@ func (o *Camera2D) SetAnchorMode(anchorMode int64) { func (o *Camera2D) SetCustomViewport(viewport *Object) { log.Println("Calling Camera2D.SetCustomViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(viewport) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_viewport", goArguments, "") - + godotCallVoidObject(o, "set_custom_viewport", viewport) log.Println(" Function successfully completed.") } @@ -17344,15 +11320,7 @@ func (o *Camera2D) SetCustomViewport(viewport *Object) { func (o *Camera2D) SetDragMargin(margin int64, dragMargin float64) { log.Println("Calling Camera2D.SetDragMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(dragMargin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_drag_margin", goArguments, "") - + godotCallVoidIntFloat(o, "set_drag_margin", margin, dragMargin) log.Println(" Function successfully completed.") } @@ -17363,14 +11331,7 @@ func (o *Camera2D) SetDragMargin(margin int64, dragMargin float64) { func (o *Camera2D) SetEnableFollowSmoothing(followSmoothing bool) { log.Println("Calling Camera2D.SetEnableFollowSmoothing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(followSmoothing) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_follow_smoothing", goArguments, "") - + godotCallVoidBool(o, "set_enable_follow_smoothing", followSmoothing) log.Println(" Function successfully completed.") } @@ -17381,14 +11342,7 @@ func (o *Camera2D) SetEnableFollowSmoothing(followSmoothing bool) { func (o *Camera2D) SetFollowSmoothing(followSmoothing float64) { log.Println("Calling Camera2D.SetFollowSmoothing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(followSmoothing) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_follow_smoothing", goArguments, "") - + godotCallVoidFloat(o, "set_follow_smoothing", followSmoothing) log.Println(" Function successfully completed.") } @@ -17399,14 +11353,7 @@ func (o *Camera2D) SetFollowSmoothing(followSmoothing float64) { func (o *Camera2D) SetHDragEnabled(enabled bool) { log.Println("Calling Camera2D.SetHDragEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_drag_enabled", goArguments, "") - + godotCallVoidBool(o, "set_h_drag_enabled", enabled) log.Println(" Function successfully completed.") } @@ -17417,14 +11364,7 @@ func (o *Camera2D) SetHDragEnabled(enabled bool) { func (o *Camera2D) SetHOffset(ofs float64) { log.Println("Calling Camera2D.SetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_offset", goArguments, "") - + godotCallVoidFloat(o, "set_h_offset", ofs) log.Println(" Function successfully completed.") } @@ -17435,15 +11375,7 @@ func (o *Camera2D) SetHOffset(ofs float64) { func (o *Camera2D) SetLimit(margin int64, limit int64) { log.Println("Calling Camera2D.SetLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(limit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_limit", goArguments, "") - + godotCallVoidIntInt(o, "set_limit", margin, limit) log.Println(" Function successfully completed.") } @@ -17454,14 +11386,7 @@ func (o *Camera2D) SetLimit(margin int64, limit int64) { func (o *Camera2D) SetLimitDrawingEnabled(limitDrawingEnabled bool) { log.Println("Calling Camera2D.SetLimitDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(limitDrawingEnabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_limit_drawing_enabled", goArguments, "") - + godotCallVoidBool(o, "set_limit_drawing_enabled", limitDrawingEnabled) log.Println(" Function successfully completed.") } @@ -17472,14 +11397,7 @@ func (o *Camera2D) SetLimitDrawingEnabled(limitDrawingEnabled bool) { func (o *Camera2D) SetLimitSmoothingEnabled(limitSmoothingEnabled bool) { log.Println("Calling Camera2D.SetLimitSmoothingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(limitSmoothingEnabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_limit_smoothing_enabled", goArguments, "") - + godotCallVoidBool(o, "set_limit_smoothing_enabled", limitSmoothingEnabled) log.Println(" Function successfully completed.") } @@ -17490,14 +11408,7 @@ func (o *Camera2D) SetLimitSmoothingEnabled(limitSmoothingEnabled bool) { func (o *Camera2D) SetMarginDrawingEnabled(marginDrawingEnabled bool) { log.Println("Calling Camera2D.SetMarginDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(marginDrawingEnabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin_drawing_enabled", goArguments, "") - + godotCallVoidBool(o, "set_margin_drawing_enabled", marginDrawingEnabled) log.Println(" Function successfully completed.") } @@ -17508,14 +11419,7 @@ func (o *Camera2D) SetMarginDrawingEnabled(marginDrawingEnabled bool) { func (o *Camera2D) SetOffset(offset *Vector2) { log.Println("Calling Camera2D.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -17526,14 +11430,7 @@ func (o *Camera2D) SetOffset(offset *Vector2) { func (o *Camera2D) SetRotating(rotating bool) { log.Println("Calling Camera2D.SetRotating()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rotating) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotating", goArguments, "") - + godotCallVoidBool(o, "set_rotating", rotating) log.Println(" Function successfully completed.") } @@ -17544,14 +11441,7 @@ func (o *Camera2D) SetRotating(rotating bool) { func (o *Camera2D) SetScreenDrawingEnabled(screenDrawingEnabled bool) { log.Println("Calling Camera2D.SetScreenDrawingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenDrawingEnabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_screen_drawing_enabled", goArguments, "") - + godotCallVoidBool(o, "set_screen_drawing_enabled", screenDrawingEnabled) log.Println(" Function successfully completed.") } @@ -17562,14 +11452,7 @@ func (o *Camera2D) SetScreenDrawingEnabled(screenDrawingEnabled bool) { func (o *Camera2D) SetVDragEnabled(enabled bool) { log.Println("Calling Camera2D.SetVDragEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_drag_enabled", goArguments, "") - + godotCallVoidBool(o, "set_v_drag_enabled", enabled) log.Println(" Function successfully completed.") } @@ -17580,14 +11463,7 @@ func (o *Camera2D) SetVDragEnabled(enabled bool) { func (o *Camera2D) SetVOffset(ofs float64) { log.Println("Calling Camera2D.SetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_offset", goArguments, "") - + godotCallVoidFloat(o, "set_v_offset", ofs) log.Println(" Function successfully completed.") } @@ -17598,14 +11474,7 @@ func (o *Camera2D) SetVOffset(ofs float64) { func (o *Camera2D) SetZoom(zoom *Vector2) { log.Println("Calling Camera2D.SetZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(zoom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_zoom", goArguments, "") - + godotCallVoidVector2(o, "set_zoom", zoom) log.Println(" Function successfully completed.") } @@ -17634,13 +11503,7 @@ func (o *CanvasItem) baseClass() string { func (o *CanvasItem) X_Draw() { log.Println("Calling CanvasItem.X_Draw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_draw", goArguments, "") - + godotCallVoid(o, "_draw") log.Println(" Function successfully completed.") } @@ -17651,16 +11514,9 @@ func (o *CanvasItem) X_Draw() { func (o *CanvasItem) X_EditGetItemAndChildrenRect() *Rect2 { log.Println("Calling CanvasItem.X_EditGetItemAndChildrenRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_item_and_children_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "_edit_get_item_and_children_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17671,16 +11527,9 @@ func (o *CanvasItem) X_EditGetItemAndChildrenRect() *Rect2 { func (o *CanvasItem) X_EditGetPivot() *Vector2 { log.Println("Calling CanvasItem.X_EditGetPivot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_pivot", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "_edit_get_pivot") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17691,16 +11540,9 @@ func (o *CanvasItem) X_EditGetPivot() *Vector2 { func (o *CanvasItem) X_EditGetPosition() *Vector2 { log.Println("Calling CanvasItem.X_EditGetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "_edit_get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17711,16 +11553,9 @@ func (o *CanvasItem) X_EditGetPosition() *Vector2 { func (o *CanvasItem) X_EditGetRect() *Rect2 { log.Println("Calling CanvasItem.X_EditGetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "_edit_get_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17731,16 +11566,9 @@ func (o *CanvasItem) X_EditGetRect() *Rect2 { func (o *CanvasItem) X_EditGetRotation() float64 { log.Println("Calling CanvasItem.X_EditGetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_edit_get_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17751,16 +11579,9 @@ func (o *CanvasItem) X_EditGetRotation() float64 { func (o *CanvasItem) X_EditGetState() *Dictionary { log.Println("Calling CanvasItem.X_EditGetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_get_state", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_edit_get_state") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17771,14 +11592,7 @@ func (o *CanvasItem) X_EditGetState() *Dictionary { func (o *CanvasItem) X_EditSetPivot(pivot *Vector2) { log.Println("Calling CanvasItem.X_EditSetPivot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pivot) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_edit_set_pivot", goArguments, "") - + godotCallVoidVector2(o, "_edit_set_pivot", pivot) log.Println(" Function successfully completed.") } @@ -17789,14 +11603,7 @@ func (o *CanvasItem) X_EditSetPivot(pivot *Vector2) { func (o *CanvasItem) X_EditSetPosition(position *Vector2) { log.Println("Calling CanvasItem.X_EditSetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_edit_set_position", goArguments, "") - + godotCallVoidVector2(o, "_edit_set_position", position) log.Println(" Function successfully completed.") } @@ -17807,14 +11614,7 @@ func (o *CanvasItem) X_EditSetPosition(position *Vector2) { func (o *CanvasItem) X_EditSetRect(rect *Rect2) { log.Println("Calling CanvasItem.X_EditSetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_edit_set_rect", goArguments, "") - + godotCallVoidRect2(o, "_edit_set_rect", rect) log.Println(" Function successfully completed.") } @@ -17825,14 +11625,7 @@ func (o *CanvasItem) X_EditSetRect(rect *Rect2) { func (o *CanvasItem) X_EditSetRotation(degrees float64) { log.Println("Calling CanvasItem.X_EditSetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_edit_set_rotation", goArguments, "") - + godotCallVoidFloat(o, "_edit_set_rotation", degrees) log.Println(" Function successfully completed.") } @@ -17843,14 +11636,7 @@ func (o *CanvasItem) X_EditSetRotation(degrees float64) { func (o *CanvasItem) X_EditSetState(state *Dictionary) { log.Println("Calling CanvasItem.X_EditSetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(state) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_edit_set_state", goArguments, "") - + godotCallVoidDictionary(o, "_edit_set_state", state) log.Println(" Function successfully completed.") } @@ -17861,16 +11647,9 @@ func (o *CanvasItem) X_EditSetState(state *Dictionary) { func (o *CanvasItem) X_EditUsePivot() bool { log.Println("Calling CanvasItem.X_EditUsePivot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_use_pivot", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_edit_use_pivot") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17881,16 +11660,9 @@ func (o *CanvasItem) X_EditUsePivot() bool { func (o *CanvasItem) X_EditUsePosition() bool { log.Println("Calling CanvasItem.X_EditUsePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_use_position", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_edit_use_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17901,16 +11673,9 @@ func (o *CanvasItem) X_EditUsePosition() bool { func (o *CanvasItem) X_EditUseRect() bool { log.Println("Calling CanvasItem.X_EditUseRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_use_rect", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_edit_use_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17921,16 +11686,9 @@ func (o *CanvasItem) X_EditUseRect() bool { func (o *CanvasItem) X_EditUseRotation() bool { log.Println("Calling CanvasItem.X_EditUseRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_edit_use_rotation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_edit_use_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17941,16 +11699,9 @@ func (o *CanvasItem) X_EditUseRotation() bool { func (o *CanvasItem) X_IsOnTop() bool { log.Println("Calling CanvasItem.X_IsOnTop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_on_top", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_on_top") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -17961,14 +11712,7 @@ func (o *CanvasItem) X_IsOnTop() bool { func (o *CanvasItem) X_SetOnTop(onTop bool) { log.Println("Calling CanvasItem.X_SetOnTop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(onTop) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_on_top", goArguments, "") - + godotCallVoidBool(o, "_set_on_top", onTop) log.Println(" Function successfully completed.") } @@ -17979,13 +11723,7 @@ func (o *CanvasItem) X_SetOnTop(onTop bool) { func (o *CanvasItem) X_ToplevelRaiseSelf() { log.Println("Calling CanvasItem.X_ToplevelRaiseSelf()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_toplevel_raise_self", goArguments, "") - + godotCallVoid(o, "_toplevel_raise_self") log.Println(" Function successfully completed.") } @@ -17996,13 +11734,7 @@ func (o *CanvasItem) X_ToplevelRaiseSelf() { func (o *CanvasItem) X_UpdateCallback() { log.Println("Calling CanvasItem.X_UpdateCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_callback", goArguments, "") - + godotCallVoid(o, "_update_callback") log.Println(" Function successfully completed.") } @@ -18013,21 +11745,9 @@ func (o *CanvasItem) X_UpdateCallback() { func (o *CanvasItem) DrawChar(font *Font, position *Vector2, char string, next string, modulate *Color) float64 { log.Println("Calling CanvasItem.DrawChar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(font) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(char) - goArguments[3] = reflect.ValueOf(next) - goArguments[4] = reflect.ValueOf(modulate) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "draw_char", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatObjectVector2StringStringColor(o, "draw_char", &font.Object, position, char, next, modulate) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18038,16 +11758,7 @@ func (o *CanvasItem) DrawChar(font *Font, position *Vector2, char string, next s func (o *CanvasItem) DrawCircle(position *Vector2, radius float64, color *Color) { log.Println("Calling CanvasItem.DrawCircle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(radius) - goArguments[2] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_circle", goArguments, "") - + godotCallVoidVector2FloatColor(o, "draw_circle", position, radius, color) log.Println(" Function successfully completed.") } @@ -18058,19 +11769,7 @@ func (o *CanvasItem) DrawCircle(position *Vector2, radius float64, color *Color) func (o *CanvasItem) DrawColoredPolygon(points *PoolVector2Array, color *Color, uvs *PoolVector2Array, texture *Texture, normalMap *Texture, antialiased bool) { log.Println("Calling CanvasItem.DrawColoredPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(uvs) - goArguments[3] = reflect.ValueOf(texture) - goArguments[4] = reflect.ValueOf(normalMap) - goArguments[5] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_colored_polygon", goArguments, "") - + godotCallVoidPoolVector2ArrayColorPoolVector2ArrayObjectObjectBool(o, "draw_colored_polygon", points, color, uvs, &texture.Object, &normalMap.Object, antialiased) log.Println(" Function successfully completed.") } @@ -18081,18 +11780,7 @@ func (o *CanvasItem) DrawColoredPolygon(points *PoolVector2Array, color *Color, func (o *CanvasItem) DrawLine(from *Vector2, to *Vector2, color *Color, width float64, antialiased bool) { log.Println("Calling CanvasItem.DrawLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - goArguments[2] = reflect.ValueOf(color) - goArguments[3] = reflect.ValueOf(width) - goArguments[4] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_line", goArguments, "") - + godotCallVoidVector2Vector2ColorFloatBool(o, "draw_line", from, to, color, width, antialiased) log.Println(" Function successfully completed.") } @@ -18103,17 +11791,7 @@ func (o *CanvasItem) DrawLine(from *Vector2, to *Vector2, color *Color, width fl func (o *CanvasItem) DrawMultiline(points *PoolVector2Array, color *Color, width float64, antialiased bool) { log.Println("Calling CanvasItem.DrawMultiline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(width) - goArguments[3] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_multiline", goArguments, "") - + godotCallVoidPoolVector2ArrayColorFloatBool(o, "draw_multiline", points, color, width, antialiased) log.Println(" Function successfully completed.") } @@ -18124,17 +11802,7 @@ func (o *CanvasItem) DrawMultiline(points *PoolVector2Array, color *Color, width func (o *CanvasItem) DrawMultilineColors(points *PoolVector2Array, colors *PoolColorArray, width float64, antialiased bool) { log.Println("Calling CanvasItem.DrawMultilineColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(colors) - goArguments[2] = reflect.ValueOf(width) - goArguments[3] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_multiline_colors", goArguments, "") - + godotCallVoidPoolVector2ArrayPoolColorArrayFloatBool(o, "draw_multiline_colors", points, colors, width, antialiased) log.Println(" Function successfully completed.") } @@ -18145,19 +11813,7 @@ func (o *CanvasItem) DrawMultilineColors(points *PoolVector2Array, colors *PoolC func (o *CanvasItem) DrawPolygon(points *PoolVector2Array, colors *PoolColorArray, uvs *PoolVector2Array, texture *Texture, normalMap *Texture, antialiased bool) { log.Println("Calling CanvasItem.DrawPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(colors) - goArguments[2] = reflect.ValueOf(uvs) - goArguments[3] = reflect.ValueOf(texture) - goArguments[4] = reflect.ValueOf(normalMap) - goArguments[5] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_polygon", goArguments, "") - + godotCallVoidPoolVector2ArrayPoolColorArrayPoolVector2ArrayObjectObjectBool(o, "draw_polygon", points, colors, uvs, &texture.Object, &normalMap.Object, antialiased) log.Println(" Function successfully completed.") } @@ -18168,17 +11824,7 @@ func (o *CanvasItem) DrawPolygon(points *PoolVector2Array, colors *PoolColorArra func (o *CanvasItem) DrawPolyline(points *PoolVector2Array, color *Color, width float64, antialiased bool) { log.Println("Calling CanvasItem.DrawPolyline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(width) - goArguments[3] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_polyline", goArguments, "") - + godotCallVoidPoolVector2ArrayColorFloatBool(o, "draw_polyline", points, color, width, antialiased) log.Println(" Function successfully completed.") } @@ -18189,17 +11835,7 @@ func (o *CanvasItem) DrawPolyline(points *PoolVector2Array, color *Color, width func (o *CanvasItem) DrawPolylineColors(points *PoolVector2Array, colors *PoolColorArray, width float64, antialiased bool) { log.Println("Calling CanvasItem.DrawPolylineColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(colors) - goArguments[2] = reflect.ValueOf(width) - goArguments[3] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_polyline_colors", goArguments, "") - + godotCallVoidPoolVector2ArrayPoolColorArrayFloatBool(o, "draw_polyline_colors", points, colors, width, antialiased) log.Println(" Function successfully completed.") } @@ -18210,19 +11846,7 @@ func (o *CanvasItem) DrawPolylineColors(points *PoolVector2Array, colors *PoolCo func (o *CanvasItem) DrawPrimitive(points *PoolVector2Array, colors *PoolColorArray, uvs *PoolVector2Array, texture *Texture, width float64, normalMap *Texture) { log.Println("Calling CanvasItem.DrawPrimitive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(colors) - goArguments[2] = reflect.ValueOf(uvs) - goArguments[3] = reflect.ValueOf(texture) - goArguments[4] = reflect.ValueOf(width) - goArguments[5] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_primitive", goArguments, "") - + godotCallVoidPoolVector2ArrayPoolColorArrayPoolVector2ArrayObjectFloatObject(o, "draw_primitive", points, colors, uvs, &texture.Object, width, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -18233,16 +11857,7 @@ func (o *CanvasItem) DrawPrimitive(points *PoolVector2Array, colors *PoolColorAr func (o *CanvasItem) DrawRect(rect *Rect2, color *Color, filled bool) { log.Println("Calling CanvasItem.DrawRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(rect) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(filled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_rect", goArguments, "") - + godotCallVoidRect2ColorBool(o, "draw_rect", rect, color, filled) log.Println(" Function successfully completed.") } @@ -18253,16 +11868,7 @@ func (o *CanvasItem) DrawRect(rect *Rect2, color *Color, filled bool) { func (o *CanvasItem) DrawSetTransform(position *Vector2, rotation float64, scale *Vector2) { log.Println("Calling CanvasItem.DrawSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(rotation) - goArguments[2] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_set_transform", goArguments, "") - + godotCallVoidVector2FloatVector2(o, "draw_set_transform", position, rotation, scale) log.Println(" Function successfully completed.") } @@ -18273,14 +11879,7 @@ func (o *CanvasItem) DrawSetTransform(position *Vector2, rotation float64, scale func (o *CanvasItem) DrawSetTransformMatrix(xform *Transform2D) { log.Println("Calling CanvasItem.DrawSetTransformMatrix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_set_transform_matrix", goArguments, "") - + godotCallVoidTransform2D(o, "draw_set_transform_matrix", xform) log.Println(" Function successfully completed.") } @@ -18291,18 +11890,7 @@ func (o *CanvasItem) DrawSetTransformMatrix(xform *Transform2D) { func (o *CanvasItem) DrawString(font *Font, position *Vector2, text string, modulate *Color, clipW int64) { log.Println("Calling CanvasItem.DrawString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(font) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(text) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(clipW) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_string", goArguments, "") - + godotCallVoidObjectVector2StringColorInt(o, "draw_string", &font.Object, position, text, modulate, clipW) log.Println(" Function successfully completed.") } @@ -18313,15 +11901,7 @@ func (o *CanvasItem) DrawString(font *Font, position *Vector2, text string, modu func (o *CanvasItem) DrawStyleBox(styleBox *StyleBox, rect *Rect2) { log.Println("Calling CanvasItem.DrawStyleBox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(styleBox) - goArguments[1] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_style_box", goArguments, "") - + godotCallVoidObjectRect2(o, "draw_style_box", &styleBox.Object, rect) log.Println(" Function successfully completed.") } @@ -18332,17 +11912,7 @@ func (o *CanvasItem) DrawStyleBox(styleBox *StyleBox, rect *Rect2) { func (o *CanvasItem) DrawTexture(texture *Texture, position *Vector2, modulate *Color, normalMap *Texture) { log.Println("Calling CanvasItem.DrawTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(modulate) - goArguments[3] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_texture", goArguments, "") - + godotCallVoidObjectVector2ColorObject(o, "draw_texture", &texture.Object, position, modulate, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -18353,19 +11923,7 @@ func (o *CanvasItem) DrawTexture(texture *Texture, position *Vector2, modulate * func (o *CanvasItem) DrawTextureRect(texture *Texture, rect *Rect2, tile bool, modulate *Color, transpose bool, normalMap *Texture) { log.Println("Calling CanvasItem.DrawTextureRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(tile) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(transpose) - goArguments[5] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_texture_rect", goArguments, "") - + godotCallVoidObjectRect2BoolColorBoolObject(o, "draw_texture_rect", &texture.Object, rect, tile, modulate, transpose, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -18376,20 +11934,7 @@ func (o *CanvasItem) DrawTextureRect(texture *Texture, rect *Rect2, tile bool, m func (o *CanvasItem) DrawTextureRectRegion(texture *Texture, rect *Rect2, srcRect *Rect2, modulate *Color, transpose bool, normalMap *Texture, clipUv bool) { log.Println("Calling CanvasItem.DrawTextureRectRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(srcRect) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(transpose) - goArguments[5] = reflect.ValueOf(normalMap) - goArguments[6] = reflect.ValueOf(clipUv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_texture_rect_region", goArguments, "") - + godotCallVoidObjectRect2Rect2ColorBoolObjectBool(o, "draw_texture_rect_region", &texture.Object, rect, srcRect, modulate, transpose, &normalMap.Object, clipUv) log.Println(" Function successfully completed.") } @@ -18400,16 +11945,9 @@ func (o *CanvasItem) DrawTextureRectRegion(texture *Texture, rect *Rect2, srcRec func (o *CanvasItem) GetCanvas() *RID { log.Println("Calling CanvasItem.GetCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_canvas") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18420,16 +11958,9 @@ func (o *CanvasItem) GetCanvas() *RID { func (o *CanvasItem) GetCanvasItem() *RID { log.Println("Calling CanvasItem.GetCanvasItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas_item", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_canvas_item") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18440,16 +11971,9 @@ func (o *CanvasItem) GetCanvasItem() *RID { func (o *CanvasItem) GetCanvasTransform() *Transform2D { log.Println("Calling CanvasItem.GetCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_canvas_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18460,16 +11984,9 @@ func (o *CanvasItem) GetCanvasTransform() *Transform2D { func (o *CanvasItem) GetGlobalMousePosition() *Vector2 { log.Println("Calling CanvasItem.GetGlobalMousePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_mouse_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_global_mouse_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18480,16 +11997,9 @@ func (o *CanvasItem) GetGlobalMousePosition() *Vector2 { func (o *CanvasItem) GetGlobalTransform() *Transform2D { log.Println("Calling CanvasItem.GetGlobalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_global_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18500,16 +12010,9 @@ func (o *CanvasItem) GetGlobalTransform() *Transform2D { func (o *CanvasItem) GetGlobalTransformWithCanvas() *Transform2D { log.Println("Calling CanvasItem.GetGlobalTransformWithCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_transform_with_canvas", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_global_transform_with_canvas") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18520,16 +12023,9 @@ func (o *CanvasItem) GetGlobalTransformWithCanvas() *Transform2D { func (o *CanvasItem) GetLightMask() int64 { log.Println("Calling CanvasItem.GetLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_light_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_light_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18540,16 +12036,9 @@ func (o *CanvasItem) GetLightMask() int64 { func (o *CanvasItem) GetLocalMousePosition() *Vector2 { log.Println("Calling CanvasItem.GetLocalMousePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_local_mouse_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_local_mouse_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18560,17 +12049,12 @@ func (o *CanvasItem) GetLocalMousePosition() *Vector2 { func (o *CanvasItem) GetMaterial() *Material { log.Println("Calling CanvasItem.GetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_material") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -18580,16 +12064,9 @@ func (o *CanvasItem) GetMaterial() *Material { func (o *CanvasItem) GetModulate() *Color { log.Println("Calling CanvasItem.GetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_modulate", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_modulate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18600,16 +12077,9 @@ func (o *CanvasItem) GetModulate() *Color { func (o *CanvasItem) GetSelfModulate() *Color { log.Println("Calling CanvasItem.GetSelfModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_self_modulate", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_self_modulate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18620,16 +12090,9 @@ func (o *CanvasItem) GetSelfModulate() *Color { func (o *CanvasItem) GetTransform() *Transform2D { log.Println("Calling CanvasItem.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18640,16 +12103,9 @@ func (o *CanvasItem) GetTransform() *Transform2D { func (o *CanvasItem) GetUseParentMaterial() bool { log.Println("Calling CanvasItem.GetUseParentMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_parent_material", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_parent_material") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18660,16 +12116,9 @@ func (o *CanvasItem) GetUseParentMaterial() bool { func (o *CanvasItem) GetViewportRect() *Rect2 { log.Println("Calling CanvasItem.GetViewportRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_viewport_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_viewport_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18680,16 +12129,9 @@ func (o *CanvasItem) GetViewportRect() *Rect2 { func (o *CanvasItem) GetViewportTransform() *Transform2D { log.Println("Calling CanvasItem.GetViewportTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_viewport_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_viewport_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18700,17 +12142,12 @@ func (o *CanvasItem) GetViewportTransform() *Transform2D { func (o *CanvasItem) GetWorld2D() *World2D { log.Println("Calling CanvasItem.GetWorld2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world_2d", goArguments, "*World2D") - - returnValue := goRet.Interface().(*World2D) - + returnValue := godotCallObject(o, "get_world_2d") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World2D + ret.owner = returnValue.owner + return &ret } @@ -18720,13 +12157,7 @@ func (o *CanvasItem) GetWorld2D() *World2D { func (o *CanvasItem) Hide() { log.Println("Calling CanvasItem.Hide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "hide", goArguments, "") - + godotCallVoid(o, "hide") log.Println(" Function successfully completed.") } @@ -18737,16 +12168,9 @@ func (o *CanvasItem) Hide() { func (o *CanvasItem) IsDrawBehindParentEnabled() bool { log.Println("Calling CanvasItem.IsDrawBehindParentEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_draw_behind_parent_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_draw_behind_parent_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18757,16 +12181,9 @@ func (o *CanvasItem) IsDrawBehindParentEnabled() bool { func (o *CanvasItem) IsLocalTransformNotificationEnabled() bool { log.Println("Calling CanvasItem.IsLocalTransformNotificationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_local_transform_notification_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_local_transform_notification_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18777,16 +12194,9 @@ func (o *CanvasItem) IsLocalTransformNotificationEnabled() bool { func (o *CanvasItem) IsSetAsToplevel() bool { log.Println("Calling CanvasItem.IsSetAsToplevel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_set_as_toplevel", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_set_as_toplevel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18797,16 +12207,9 @@ func (o *CanvasItem) IsSetAsToplevel() bool { func (o *CanvasItem) IsTransformNotificationEnabled() bool { log.Println("Calling CanvasItem.IsTransformNotificationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_transform_notification_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_transform_notification_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18817,16 +12220,9 @@ func (o *CanvasItem) IsTransformNotificationEnabled() bool { func (o *CanvasItem) IsVisible() bool { log.Println("Calling CanvasItem.IsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18837,16 +12233,9 @@ func (o *CanvasItem) IsVisible() bool { func (o *CanvasItem) IsVisibleInTree() bool { log.Println("Calling CanvasItem.IsVisibleInTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_visible_in_tree", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_visible_in_tree") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18857,17 +12246,9 @@ func (o *CanvasItem) IsVisibleInTree() bool { func (o *CanvasItem) MakeCanvasPositionLocal(screenPoint *Vector2) *Vector2 { log.Println("Calling CanvasItem.MakeCanvasPositionLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(screenPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "make_canvas_position_local", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "make_canvas_position_local", screenPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -18878,18 +12259,12 @@ func (o *CanvasItem) MakeCanvasPositionLocal(screenPoint *Vector2) *Vector2 { func (o *CanvasItem) MakeInputLocal(event *InputEvent) *InputEvent { log.Println("Calling CanvasItem.MakeInputLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "make_input_local", goArguments, "*InputEvent") - - returnValue := goRet.Interface().(*InputEvent) - + returnValue := godotCallObjectObject(o, "make_input_local", &event.Object) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret InputEvent + ret.owner = returnValue.owner + return &ret } @@ -18899,14 +12274,7 @@ func (o *CanvasItem) MakeInputLocal(event *InputEvent) *InputEvent { func (o *CanvasItem) SetAsToplevel(enable bool) { log.Println("Calling CanvasItem.SetAsToplevel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_toplevel", goArguments, "") - + godotCallVoidBool(o, "set_as_toplevel", enable) log.Println(" Function successfully completed.") } @@ -18917,14 +12285,7 @@ func (o *CanvasItem) SetAsToplevel(enable bool) { func (o *CanvasItem) SetDrawBehindParent(enable bool) { log.Println("Calling CanvasItem.SetDrawBehindParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_behind_parent", goArguments, "") - + godotCallVoidBool(o, "set_draw_behind_parent", enable) log.Println(" Function successfully completed.") } @@ -18935,14 +12296,7 @@ func (o *CanvasItem) SetDrawBehindParent(enable bool) { func (o *CanvasItem) SetLightMask(lightMask int64) { log.Println("Calling CanvasItem.SetLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lightMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_light_mask", goArguments, "") - + godotCallVoidInt(o, "set_light_mask", lightMask) log.Println(" Function successfully completed.") } @@ -18953,14 +12307,7 @@ func (o *CanvasItem) SetLightMask(lightMask int64) { func (o *CanvasItem) SetMaterial(material *Material) { log.Println("Calling CanvasItem.SetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_material", goArguments, "") - + godotCallVoidObject(o, "set_material", &material.Object) log.Println(" Function successfully completed.") } @@ -18971,14 +12318,7 @@ func (o *CanvasItem) SetMaterial(material *Material) { func (o *CanvasItem) SetModulate(modulate *Color) { log.Println("Calling CanvasItem.SetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(modulate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_modulate", goArguments, "") - + godotCallVoidColor(o, "set_modulate", modulate) log.Println(" Function successfully completed.") } @@ -18989,14 +12329,7 @@ func (o *CanvasItem) SetModulate(modulate *Color) { func (o *CanvasItem) SetNotifyLocalTransform(enable bool) { log.Println("Calling CanvasItem.SetNotifyLocalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_notify_local_transform", goArguments, "") - + godotCallVoidBool(o, "set_notify_local_transform", enable) log.Println(" Function successfully completed.") } @@ -19007,14 +12340,7 @@ func (o *CanvasItem) SetNotifyLocalTransform(enable bool) { func (o *CanvasItem) SetNotifyTransform(enable bool) { log.Println("Calling CanvasItem.SetNotifyTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_notify_transform", goArguments, "") - + godotCallVoidBool(o, "set_notify_transform", enable) log.Println(" Function successfully completed.") } @@ -19025,14 +12351,7 @@ func (o *CanvasItem) SetNotifyTransform(enable bool) { func (o *CanvasItem) SetSelfModulate(selfModulate *Color) { log.Println("Calling CanvasItem.SetSelfModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(selfModulate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_self_modulate", goArguments, "") - + godotCallVoidColor(o, "set_self_modulate", selfModulate) log.Println(" Function successfully completed.") } @@ -19043,14 +12362,7 @@ func (o *CanvasItem) SetSelfModulate(selfModulate *Color) { func (o *CanvasItem) SetUseParentMaterial(enable bool) { log.Println("Calling CanvasItem.SetUseParentMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_parent_material", goArguments, "") - + godotCallVoidBool(o, "set_use_parent_material", enable) log.Println(" Function successfully completed.") } @@ -19061,14 +12373,7 @@ func (o *CanvasItem) SetUseParentMaterial(enable bool) { func (o *CanvasItem) SetVisible(visible bool) { log.Println("Calling CanvasItem.SetVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visible", goArguments, "") - + godotCallVoidBool(o, "set_visible", visible) log.Println(" Function successfully completed.") } @@ -19079,13 +12384,7 @@ func (o *CanvasItem) SetVisible(visible bool) { func (o *CanvasItem) Show() { log.Println("Calling CanvasItem.Show()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "show", goArguments, "") - + godotCallVoid(o, "show") log.Println(" Function successfully completed.") } @@ -19096,13 +12395,7 @@ func (o *CanvasItem) Show() { func (o *CanvasItem) Update() { log.Println("Calling CanvasItem.Update()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update", goArguments, "") - + godotCallVoid(o, "update") log.Println(" Function successfully completed.") } @@ -19131,16 +12424,9 @@ func (o *CanvasItemMaterial) baseClass() string { func (o *CanvasItemMaterial) GetBlendMode() int64 { log.Println("Calling CanvasItemMaterial.GetBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_blend_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19151,16 +12437,9 @@ func (o *CanvasItemMaterial) GetBlendMode() int64 { func (o *CanvasItemMaterial) GetLightMode() int64 { log.Println("Calling CanvasItemMaterial.GetLightMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_light_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_light_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19171,14 +12450,7 @@ func (o *CanvasItemMaterial) GetLightMode() int64 { func (o *CanvasItemMaterial) SetBlendMode(blendMode int64) { log.Println("Calling CanvasItemMaterial.SetBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(blendMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blend_mode", goArguments, "") - + godotCallVoidInt(o, "set_blend_mode", blendMode) log.Println(" Function successfully completed.") } @@ -19189,14 +12461,7 @@ func (o *CanvasItemMaterial) SetBlendMode(blendMode int64) { func (o *CanvasItemMaterial) SetLightMode(lightMode int64) { log.Println("Calling CanvasItemMaterial.SetLightMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lightMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_light_mode", goArguments, "") - + godotCallVoidInt(o, "set_light_mode", lightMode) log.Println(" Function successfully completed.") } @@ -19225,17 +12490,12 @@ func (o *CanvasLayer) baseClass() string { func (o *CanvasLayer) GetCustomViewport() *Node { log.Println("Calling CanvasLayer.GetCustomViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_viewport", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_custom_viewport") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -19245,16 +12505,9 @@ func (o *CanvasLayer) GetCustomViewport() *Node { func (o *CanvasLayer) GetLayer() int64 { log.Println("Calling CanvasLayer.GetLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19265,16 +12518,9 @@ func (o *CanvasLayer) GetLayer() int64 { func (o *CanvasLayer) GetOffset() *Vector2 { log.Println("Calling CanvasLayer.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19285,16 +12531,9 @@ func (o *CanvasLayer) GetOffset() *Vector2 { func (o *CanvasLayer) GetRotation() float64 { log.Println("Calling CanvasLayer.GetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19305,16 +12544,9 @@ func (o *CanvasLayer) GetRotation() float64 { func (o *CanvasLayer) GetRotationDegrees() float64 { log.Println("Calling CanvasLayer.GetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19325,16 +12557,9 @@ func (o *CanvasLayer) GetRotationDegrees() float64 { func (o *CanvasLayer) GetScale() *Vector2 { log.Println("Calling CanvasLayer.GetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19345,16 +12570,9 @@ func (o *CanvasLayer) GetScale() *Vector2 { func (o *CanvasLayer) GetTransform() *Transform2D { log.Println("Calling CanvasLayer.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19365,17 +12583,12 @@ func (o *CanvasLayer) GetTransform() *Transform2D { func (o *CanvasLayer) GetWorld2D() *World2D { log.Println("Calling CanvasLayer.GetWorld2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world_2d", goArguments, "*World2D") - - returnValue := goRet.Interface().(*World2D) - + returnValue := godotCallObject(o, "get_world_2d") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World2D + ret.owner = returnValue.owner + return &ret } @@ -19385,14 +12598,7 @@ func (o *CanvasLayer) GetWorld2D() *World2D { func (o *CanvasLayer) SetCustomViewport(viewport *Object) { log.Println("Calling CanvasLayer.SetCustomViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(viewport) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_viewport", goArguments, "") - + godotCallVoidObject(o, "set_custom_viewport", viewport) log.Println(" Function successfully completed.") } @@ -19403,14 +12609,7 @@ func (o *CanvasLayer) SetCustomViewport(viewport *Object) { func (o *CanvasLayer) SetLayer(layer int64) { log.Println("Calling CanvasLayer.SetLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_layer", goArguments, "") - + godotCallVoidInt(o, "set_layer", layer) log.Println(" Function successfully completed.") } @@ -19421,14 +12620,7 @@ func (o *CanvasLayer) SetLayer(layer int64) { func (o *CanvasLayer) SetOffset(offset *Vector2) { log.Println("Calling CanvasLayer.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -19439,14 +12631,7 @@ func (o *CanvasLayer) SetOffset(offset *Vector2) { func (o *CanvasLayer) SetRotation(radians float64) { log.Println("Calling CanvasLayer.SetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radians) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation", goArguments, "") - + godotCallVoidFloat(o, "set_rotation", radians) log.Println(" Function successfully completed.") } @@ -19457,14 +12642,7 @@ func (o *CanvasLayer) SetRotation(radians float64) { func (o *CanvasLayer) SetRotationDegrees(degrees float64) { log.Println("Calling CanvasLayer.SetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_rotation_degrees", degrees) log.Println(" Function successfully completed.") } @@ -19475,14 +12653,7 @@ func (o *CanvasLayer) SetRotationDegrees(degrees float64) { func (o *CanvasLayer) SetScale(scale *Vector2) { log.Println("Calling CanvasLayer.SetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scale", goArguments, "") - + godotCallVoidVector2(o, "set_scale", scale) log.Println(" Function successfully completed.") } @@ -19493,14 +12664,7 @@ func (o *CanvasLayer) SetScale(scale *Vector2) { func (o *CanvasLayer) SetTransform(transform *Transform2D) { log.Println("Calling CanvasLayer.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_transform", transform) log.Println(" Function successfully completed.") } @@ -19529,16 +12693,9 @@ func (o *CanvasModulate) baseClass() string { func (o *CanvasModulate) GetColor() *Color { log.Println("Calling CanvasModulate.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19549,14 +12706,7 @@ func (o *CanvasModulate) GetColor() *Color { func (o *CanvasModulate) SetColor(color *Color) { log.Println("Calling CanvasModulate.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -19585,16 +12735,9 @@ func (o *CapsuleMesh) baseClass() string { func (o *CapsuleMesh) GetMidHeight() float64 { log.Println("Calling CapsuleMesh.GetMidHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mid_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_mid_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19605,16 +12748,9 @@ func (o *CapsuleMesh) GetMidHeight() float64 { func (o *CapsuleMesh) GetRadialSegments() int64 { log.Println("Calling CapsuleMesh.GetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radial_segments", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_radial_segments") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19625,16 +12761,9 @@ func (o *CapsuleMesh) GetRadialSegments() int64 { func (o *CapsuleMesh) GetRadius() float64 { log.Println("Calling CapsuleMesh.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19645,16 +12774,9 @@ func (o *CapsuleMesh) GetRadius() float64 { func (o *CapsuleMesh) GetRings() int64 { log.Println("Calling CapsuleMesh.GetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rings", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rings") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19665,14 +12787,7 @@ func (o *CapsuleMesh) GetRings() int64 { func (o *CapsuleMesh) SetMidHeight(midHeight float64) { log.Println("Calling CapsuleMesh.SetMidHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(midHeight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mid_height", goArguments, "") - + godotCallVoidFloat(o, "set_mid_height", midHeight) log.Println(" Function successfully completed.") } @@ -19683,14 +12798,7 @@ func (o *CapsuleMesh) SetMidHeight(midHeight float64) { func (o *CapsuleMesh) SetRadialSegments(segments int64) { log.Println("Calling CapsuleMesh.SetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radial_segments", goArguments, "") - + godotCallVoidInt(o, "set_radial_segments", segments) log.Println(" Function successfully completed.") } @@ -19701,14 +12809,7 @@ func (o *CapsuleMesh) SetRadialSegments(segments int64) { func (o *CapsuleMesh) SetRadius(radius float64) { log.Println("Calling CapsuleMesh.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -19719,14 +12820,7 @@ func (o *CapsuleMesh) SetRadius(radius float64) { func (o *CapsuleMesh) SetRings(rings int64) { log.Println("Calling CapsuleMesh.SetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rings) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rings", goArguments, "") - + godotCallVoidInt(o, "set_rings", rings) log.Println(" Function successfully completed.") } @@ -19755,16 +12849,9 @@ func (o *CapsuleShape) baseClass() string { func (o *CapsuleShape) GetHeight() float64 { log.Println("Calling CapsuleShape.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19775,16 +12862,9 @@ func (o *CapsuleShape) GetHeight() float64 { func (o *CapsuleShape) GetRadius() float64 { log.Println("Calling CapsuleShape.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19795,14 +12875,7 @@ func (o *CapsuleShape) GetRadius() float64 { func (o *CapsuleShape) SetHeight(height float64) { log.Println("Calling CapsuleShape.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", height) log.Println(" Function successfully completed.") } @@ -19813,14 +12886,7 @@ func (o *CapsuleShape) SetHeight(height float64) { func (o *CapsuleShape) SetRadius(radius float64) { log.Println("Calling CapsuleShape.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -19849,16 +12915,9 @@ func (o *CapsuleShape2D) baseClass() string { func (o *CapsuleShape2D) GetHeight() float64 { log.Println("Calling CapsuleShape2D.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19869,16 +12928,9 @@ func (o *CapsuleShape2D) GetHeight() float64 { func (o *CapsuleShape2D) GetRadius() float64 { log.Println("Calling CapsuleShape2D.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19889,14 +12941,7 @@ func (o *CapsuleShape2D) GetRadius() float64 { func (o *CapsuleShape2D) SetHeight(height float64) { log.Println("Calling CapsuleShape2D.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", height) log.Println(" Function successfully completed.") } @@ -19907,14 +12952,7 @@ func (o *CapsuleShape2D) SetHeight(height float64) { func (o *CapsuleShape2D) SetRadius(radius float64) { log.Println("Calling CapsuleShape2D.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -19943,16 +12981,9 @@ func (o *CenterContainer) baseClass() string { func (o *CenterContainer) IsUsingTopLeft() bool { log.Println("Calling CenterContainer.IsUsingTopLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_top_left", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_top_left") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -19963,14 +12994,7 @@ func (o *CenterContainer) IsUsingTopLeft() bool { func (o *CenterContainer) SetUseTopLeft(enable bool) { log.Println("Calling CenterContainer.SetUseTopLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_top_left", goArguments, "") - + godotCallVoidBool(o, "set_use_top_left", enable) log.Println(" Function successfully completed.") } @@ -20035,16 +13059,9 @@ func (o *CircleShape2D) baseClass() string { func (o *CircleShape2D) GetRadius() float64 { log.Println("Calling CircleShape2D.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20055,14 +13072,7 @@ func (o *CircleShape2D) GetRadius() float64 { func (o *CircleShape2D) SetRadius(radius float64) { log.Println("Calling CircleShape2D.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -20091,18 +13101,7 @@ func (o *CollisionObject) baseClass() string { func (o *CollisionObject) X_InputEvent(camera *Object, event *InputEvent, clickPosition *Vector3, clickNormal *Vector3, shapeIdx int64) { log.Println("Calling CollisionObject.X_InputEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(camera) - goArguments[1] = reflect.ValueOf(event) - goArguments[2] = reflect.ValueOf(clickPosition) - goArguments[3] = reflect.ValueOf(clickNormal) - goArguments[4] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input_event", goArguments, "") - + godotCallVoidObjectObjectVector3Vector3Int(o, "_input_event", camera, &event.Object, clickPosition, clickNormal, shapeIdx) log.Println(" Function successfully completed.") } @@ -20113,17 +13112,9 @@ func (o *CollisionObject) X_InputEvent(camera *Object, event *InputEvent, clickP func (o *CollisionObject) CreateShapeOwner(owner *Object) int64 { log.Println("Calling CollisionObject.CreateShapeOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(owner) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_shape_owner", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "create_shape_owner", owner) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20134,16 +13125,9 @@ func (o *CollisionObject) CreateShapeOwner(owner *Object) int64 { func (o *CollisionObject) GetCaptureInputOnDrag() bool { log.Println("Calling CollisionObject.GetCaptureInputOnDrag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_capture_input_on_drag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_capture_input_on_drag") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20154,16 +13138,9 @@ func (o *CollisionObject) GetCaptureInputOnDrag() bool { func (o *CollisionObject) GetRid() *RID { log.Println("Calling CollisionObject.GetRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20174,16 +13151,9 @@ func (o *CollisionObject) GetRid() *RID { func (o *CollisionObject) GetShapeOwners() *Array { log.Println("Calling CollisionObject.GetShapeOwners()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape_owners", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_shape_owners") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20194,16 +13164,9 @@ func (o *CollisionObject) GetShapeOwners() *Array { func (o *CollisionObject) IsRayPickable() bool { log.Println("Calling CollisionObject.IsRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ray_pickable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ray_pickable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20214,17 +13177,9 @@ func (o *CollisionObject) IsRayPickable() bool { func (o *CollisionObject) IsShapeOwnerDisabled(ownerId int64) bool { log.Println("Calling CollisionObject.IsShapeOwnerDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shape_owner_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_shape_owner_disabled", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20235,14 +13190,7 @@ func (o *CollisionObject) IsShapeOwnerDisabled(ownerId int64) bool { func (o *CollisionObject) RemoveShapeOwner(ownerId int64) { log.Println("Calling CollisionObject.RemoveShapeOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_shape_owner", goArguments, "") - + godotCallVoidInt(o, "remove_shape_owner", ownerId) log.Println(" Function successfully completed.") } @@ -20253,14 +13201,7 @@ func (o *CollisionObject) RemoveShapeOwner(ownerId int64) { func (o *CollisionObject) SetCaptureInputOnDrag(enable bool) { log.Println("Calling CollisionObject.SetCaptureInputOnDrag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_capture_input_on_drag", goArguments, "") - + godotCallVoidBool(o, "set_capture_input_on_drag", enable) log.Println(" Function successfully completed.") } @@ -20271,14 +13212,7 @@ func (o *CollisionObject) SetCaptureInputOnDrag(enable bool) { func (o *CollisionObject) SetRayPickable(rayPickable bool) { log.Println("Calling CollisionObject.SetRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rayPickable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ray_pickable", goArguments, "") - + godotCallVoidBool(o, "set_ray_pickable", rayPickable) log.Println(" Function successfully completed.") } @@ -20289,17 +13223,9 @@ func (o *CollisionObject) SetRayPickable(rayPickable bool) { func (o *CollisionObject) ShapeFindOwner(shapeIndex int64) int64 { log.Println("Calling CollisionObject.ShapeFindOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shapeIndex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_find_owner", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "shape_find_owner", shapeIndex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20310,15 +13236,7 @@ func (o *CollisionObject) ShapeFindOwner(shapeIndex int64) int64 { func (o *CollisionObject) ShapeOwnerAddShape(ownerId int64, shape *Shape) { log.Println("Calling CollisionObject.ShapeOwnerAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_add_shape", goArguments, "") - + godotCallVoidIntObject(o, "shape_owner_add_shape", ownerId, &shape.Object) log.Println(" Function successfully completed.") } @@ -20329,14 +13247,7 @@ func (o *CollisionObject) ShapeOwnerAddShape(ownerId int64, shape *Shape) { func (o *CollisionObject) ShapeOwnerClearShapes(ownerId int64) { log.Println("Calling CollisionObject.ShapeOwnerClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_clear_shapes", goArguments, "") - + godotCallVoidInt(o, "shape_owner_clear_shapes", ownerId) log.Println(" Function successfully completed.") } @@ -20347,18 +13258,12 @@ func (o *CollisionObject) ShapeOwnerClearShapes(ownerId int64) { func (o *CollisionObject) ShapeOwnerGetOwner(ownerId int64) *Object { log.Println("Calling CollisionObject.ShapeOwnerGetOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_owner", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "shape_owner_get_owner", ownerId) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -20368,19 +13273,12 @@ func (o *CollisionObject) ShapeOwnerGetOwner(ownerId int64) *Object { func (o *CollisionObject) ShapeOwnerGetShape(ownerId int64, shapeId int64) *Shape { log.Println("Calling CollisionObject.ShapeOwnerGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape", goArguments, "*Shape") - - returnValue := goRet.Interface().(*Shape) - + returnValue := godotCallObjectIntInt(o, "shape_owner_get_shape", ownerId, shapeId) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape + ret.owner = returnValue.owner + return &ret } @@ -20390,17 +13288,9 @@ func (o *CollisionObject) ShapeOwnerGetShape(ownerId int64, shapeId int64) *Shap func (o *CollisionObject) ShapeOwnerGetShapeCount(ownerId int64) int64 { log.Println("Calling CollisionObject.ShapeOwnerGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "shape_owner_get_shape_count", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20411,18 +13301,9 @@ func (o *CollisionObject) ShapeOwnerGetShapeCount(ownerId int64) int64 { func (o *CollisionObject) ShapeOwnerGetShapeIndex(ownerId int64, shapeId int64) int64 { log.Println("Calling CollisionObject.ShapeOwnerGetShapeIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "shape_owner_get_shape_index", ownerId, shapeId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20433,17 +13314,9 @@ func (o *CollisionObject) ShapeOwnerGetShapeIndex(ownerId int64, shapeId int64) func (o *CollisionObject) ShapeOwnerGetTransform(ownerId int64) *Transform { log.Println("Calling CollisionObject.ShapeOwnerGetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "shape_owner_get_transform", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20454,15 +13327,7 @@ func (o *CollisionObject) ShapeOwnerGetTransform(ownerId int64) *Transform { func (o *CollisionObject) ShapeOwnerRemoveShape(ownerId int64, shapeId int64) { log.Println("Calling CollisionObject.ShapeOwnerRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_remove_shape", goArguments, "") - + godotCallVoidIntInt(o, "shape_owner_remove_shape", ownerId, shapeId) log.Println(" Function successfully completed.") } @@ -20473,15 +13338,7 @@ func (o *CollisionObject) ShapeOwnerRemoveShape(ownerId int64, shapeId int64) { func (o *CollisionObject) ShapeOwnerSetDisabled(ownerId int64, disabled bool) { log.Println("Calling CollisionObject.ShapeOwnerSetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_set_disabled", goArguments, "") - + godotCallVoidIntBool(o, "shape_owner_set_disabled", ownerId, disabled) log.Println(" Function successfully completed.") } @@ -20492,15 +13349,7 @@ func (o *CollisionObject) ShapeOwnerSetDisabled(ownerId int64, disabled bool) { func (o *CollisionObject) ShapeOwnerSetTransform(ownerId int64, transform *Transform) { log.Println("Calling CollisionObject.ShapeOwnerSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_set_transform", goArguments, "") - + godotCallVoidIntTransform(o, "shape_owner_set_transform", ownerId, transform) log.Println(" Function successfully completed.") } @@ -20529,16 +13378,7 @@ func (o *CollisionObject2D) baseClass() string { func (o *CollisionObject2D) X_InputEvent(viewport *Object, event *InputEvent, shapeIdx int64) { log.Println("Calling CollisionObject2D.X_InputEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(event) - goArguments[2] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input_event", goArguments, "") - + godotCallVoidObjectObjectInt(o, "_input_event", viewport, &event.Object, shapeIdx) log.Println(" Function successfully completed.") } @@ -20549,17 +13389,9 @@ func (o *CollisionObject2D) X_InputEvent(viewport *Object, event *InputEvent, sh func (o *CollisionObject2D) CreateShapeOwner(owner *Object) int64 { log.Println("Calling CollisionObject2D.CreateShapeOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(owner) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_shape_owner", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "create_shape_owner", owner) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20570,16 +13402,9 @@ func (o *CollisionObject2D) CreateShapeOwner(owner *Object) int64 { func (o *CollisionObject2D) GetRid() *RID { log.Println("Calling CollisionObject2D.GetRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20590,16 +13415,9 @@ func (o *CollisionObject2D) GetRid() *RID { func (o *CollisionObject2D) GetShapeOwners() *Array { log.Println("Calling CollisionObject2D.GetShapeOwners()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape_owners", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_shape_owners") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20610,16 +13428,9 @@ func (o *CollisionObject2D) GetShapeOwners() *Array { func (o *CollisionObject2D) IsPickable() bool { log.Println("Calling CollisionObject2D.IsPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_pickable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_pickable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20630,17 +13441,9 @@ func (o *CollisionObject2D) IsPickable() bool { func (o *CollisionObject2D) IsShapeOwnerDisabled(ownerId int64) bool { log.Println("Calling CollisionObject2D.IsShapeOwnerDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shape_owner_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_shape_owner_disabled", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20651,17 +13454,9 @@ func (o *CollisionObject2D) IsShapeOwnerDisabled(ownerId int64) bool { func (o *CollisionObject2D) IsShapeOwnerOneWayCollisionEnabled(ownerId int64) bool { log.Println("Calling CollisionObject2D.IsShapeOwnerOneWayCollisionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shape_owner_one_way_collision_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_shape_owner_one_way_collision_enabled", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20672,14 +13467,7 @@ func (o *CollisionObject2D) IsShapeOwnerOneWayCollisionEnabled(ownerId int64) bo func (o *CollisionObject2D) RemoveShapeOwner(ownerId int64) { log.Println("Calling CollisionObject2D.RemoveShapeOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_shape_owner", goArguments, "") - + godotCallVoidInt(o, "remove_shape_owner", ownerId) log.Println(" Function successfully completed.") } @@ -20690,14 +13478,7 @@ func (o *CollisionObject2D) RemoveShapeOwner(ownerId int64) { func (o *CollisionObject2D) SetPickable(enabled bool) { log.Println("Calling CollisionObject2D.SetPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pickable", goArguments, "") - + godotCallVoidBool(o, "set_pickable", enabled) log.Println(" Function successfully completed.") } @@ -20708,17 +13489,9 @@ func (o *CollisionObject2D) SetPickable(enabled bool) { func (o *CollisionObject2D) ShapeFindOwner(shapeIndex int64) int64 { log.Println("Calling CollisionObject2D.ShapeFindOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shapeIndex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_find_owner", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "shape_find_owner", shapeIndex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20729,15 +13502,7 @@ func (o *CollisionObject2D) ShapeFindOwner(shapeIndex int64) int64 { func (o *CollisionObject2D) ShapeOwnerAddShape(ownerId int64, shape *Shape2D) { log.Println("Calling CollisionObject2D.ShapeOwnerAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_add_shape", goArguments, "") - + godotCallVoidIntObject(o, "shape_owner_add_shape", ownerId, &shape.Object) log.Println(" Function successfully completed.") } @@ -20748,14 +13513,7 @@ func (o *CollisionObject2D) ShapeOwnerAddShape(ownerId int64, shape *Shape2D) { func (o *CollisionObject2D) ShapeOwnerClearShapes(ownerId int64) { log.Println("Calling CollisionObject2D.ShapeOwnerClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_clear_shapes", goArguments, "") - + godotCallVoidInt(o, "shape_owner_clear_shapes", ownerId) log.Println(" Function successfully completed.") } @@ -20766,18 +13524,12 @@ func (o *CollisionObject2D) ShapeOwnerClearShapes(ownerId int64) { func (o *CollisionObject2D) ShapeOwnerGetOwner(ownerId int64) *Object { log.Println("Calling CollisionObject2D.ShapeOwnerGetOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_owner", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "shape_owner_get_owner", ownerId) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -20787,19 +13539,12 @@ func (o *CollisionObject2D) ShapeOwnerGetOwner(ownerId int64) *Object { func (o *CollisionObject2D) ShapeOwnerGetShape(ownerId int64, shapeId int64) *Shape2D { log.Println("Calling CollisionObject2D.ShapeOwnerGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape", goArguments, "*Shape2D") - - returnValue := goRet.Interface().(*Shape2D) - + returnValue := godotCallObjectIntInt(o, "shape_owner_get_shape", ownerId, shapeId) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape2D + ret.owner = returnValue.owner + return &ret } @@ -20809,17 +13554,9 @@ func (o *CollisionObject2D) ShapeOwnerGetShape(ownerId int64, shapeId int64) *Sh func (o *CollisionObject2D) ShapeOwnerGetShapeCount(ownerId int64) int64 { log.Println("Calling CollisionObject2D.ShapeOwnerGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "shape_owner_get_shape_count", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20830,18 +13567,9 @@ func (o *CollisionObject2D) ShapeOwnerGetShapeCount(ownerId int64) int64 { func (o *CollisionObject2D) ShapeOwnerGetShapeIndex(ownerId int64, shapeId int64) int64 { log.Println("Calling CollisionObject2D.ShapeOwnerGetShapeIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_shape_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "shape_owner_get_shape_index", ownerId, shapeId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20852,17 +13580,9 @@ func (o *CollisionObject2D) ShapeOwnerGetShapeIndex(ownerId int64, shapeId int64 func (o *CollisionObject2D) ShapeOwnerGetTransform(ownerId int64) *Transform2D { log.Println("Calling CollisionObject2D.ShapeOwnerGetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ownerId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_owner_get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DInt(o, "shape_owner_get_transform", ownerId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20873,15 +13593,7 @@ func (o *CollisionObject2D) ShapeOwnerGetTransform(ownerId int64) *Transform2D { func (o *CollisionObject2D) ShapeOwnerRemoveShape(ownerId int64, shapeId int64) { log.Println("Calling CollisionObject2D.ShapeOwnerRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_remove_shape", goArguments, "") - + godotCallVoidIntInt(o, "shape_owner_remove_shape", ownerId, shapeId) log.Println(" Function successfully completed.") } @@ -20892,15 +13604,7 @@ func (o *CollisionObject2D) ShapeOwnerRemoveShape(ownerId int64, shapeId int64) func (o *CollisionObject2D) ShapeOwnerSetDisabled(ownerId int64, disabled bool) { log.Println("Calling CollisionObject2D.ShapeOwnerSetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_set_disabled", goArguments, "") - + godotCallVoidIntBool(o, "shape_owner_set_disabled", ownerId, disabled) log.Println(" Function successfully completed.") } @@ -20911,15 +13615,7 @@ func (o *CollisionObject2D) ShapeOwnerSetDisabled(ownerId int64, disabled bool) func (o *CollisionObject2D) ShapeOwnerSetOneWayCollision(ownerId int64, enable bool) { log.Println("Calling CollisionObject2D.ShapeOwnerSetOneWayCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_set_one_way_collision", goArguments, "") - + godotCallVoidIntBool(o, "shape_owner_set_one_way_collision", ownerId, enable) log.Println(" Function successfully completed.") } @@ -20930,15 +13626,7 @@ func (o *CollisionObject2D) ShapeOwnerSetOneWayCollision(ownerId int64, enable b func (o *CollisionObject2D) ShapeOwnerSetTransform(ownerId int64, transform *Transform2D) { log.Println("Calling CollisionObject2D.ShapeOwnerSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ownerId) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_owner_set_transform", goArguments, "") - + godotCallVoidIntTransform2D(o, "shape_owner_set_transform", ownerId, transform) log.Println(" Function successfully completed.") } @@ -20967,16 +13655,9 @@ func (o *CollisionPolygon) baseClass() string { func (o *CollisionPolygon) GetDepth() float64 { log.Println("Calling CollisionPolygon.GetDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_depth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -20987,16 +13668,9 @@ func (o *CollisionPolygon) GetDepth() float64 { func (o *CollisionPolygon) GetPolygon() *PoolVector2Array { log.Println("Calling CollisionPolygon.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_polygon") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21007,16 +13681,9 @@ func (o *CollisionPolygon) GetPolygon() *PoolVector2Array { func (o *CollisionPolygon) IsDisabled() bool { log.Println("Calling CollisionPolygon.IsDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21027,14 +13694,7 @@ func (o *CollisionPolygon) IsDisabled() bool { func (o *CollisionPolygon) SetDepth(depth float64) { log.Println("Calling CollisionPolygon.SetDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(depth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth", goArguments, "") - + godotCallVoidFloat(o, "set_depth", depth) log.Println(" Function successfully completed.") } @@ -21045,14 +13705,7 @@ func (o *CollisionPolygon) SetDepth(depth float64) { func (o *CollisionPolygon) SetDisabled(disabled bool) { log.Println("Calling CollisionPolygon.SetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled", goArguments, "") - + godotCallVoidBool(o, "set_disabled", disabled) log.Println(" Function successfully completed.") } @@ -21063,14 +13716,7 @@ func (o *CollisionPolygon) SetDisabled(disabled bool) { func (o *CollisionPolygon) SetPolygon(polygon *PoolVector2Array) { log.Println("Calling CollisionPolygon.SetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_polygon", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_polygon", polygon) log.Println(" Function successfully completed.") } @@ -21099,16 +13745,9 @@ func (o *CollisionPolygon2D) baseClass() string { func (o *CollisionPolygon2D) GetBuildMode() int64 { log.Println("Calling CollisionPolygon2D.GetBuildMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_build_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_build_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21119,16 +13758,9 @@ func (o *CollisionPolygon2D) GetBuildMode() int64 { func (o *CollisionPolygon2D) GetPolygon() *PoolVector2Array { log.Println("Calling CollisionPolygon2D.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_polygon") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21139,16 +13771,9 @@ func (o *CollisionPolygon2D) GetPolygon() *PoolVector2Array { func (o *CollisionPolygon2D) IsDisabled() bool { log.Println("Calling CollisionPolygon2D.IsDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21159,16 +13784,9 @@ func (o *CollisionPolygon2D) IsDisabled() bool { func (o *CollisionPolygon2D) IsOneWayCollisionEnabled() bool { log.Println("Calling CollisionPolygon2D.IsOneWayCollisionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_one_way_collision_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_one_way_collision_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21179,14 +13797,7 @@ func (o *CollisionPolygon2D) IsOneWayCollisionEnabled() bool { func (o *CollisionPolygon2D) SetBuildMode(buildMode int64) { log.Println("Calling CollisionPolygon2D.SetBuildMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buildMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_build_mode", goArguments, "") - + godotCallVoidInt(o, "set_build_mode", buildMode) log.Println(" Function successfully completed.") } @@ -21197,14 +13808,7 @@ func (o *CollisionPolygon2D) SetBuildMode(buildMode int64) { func (o *CollisionPolygon2D) SetDisabled(disabled bool) { log.Println("Calling CollisionPolygon2D.SetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled", goArguments, "") - + godotCallVoidBool(o, "set_disabled", disabled) log.Println(" Function successfully completed.") } @@ -21215,14 +13819,7 @@ func (o *CollisionPolygon2D) SetDisabled(disabled bool) { func (o *CollisionPolygon2D) SetOneWayCollision(enabled bool) { log.Println("Calling CollisionPolygon2D.SetOneWayCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_one_way_collision", goArguments, "") - + godotCallVoidBool(o, "set_one_way_collision", enabled) log.Println(" Function successfully completed.") } @@ -21233,14 +13830,7 @@ func (o *CollisionPolygon2D) SetOneWayCollision(enabled bool) { func (o *CollisionPolygon2D) SetPolygon(polygon *PoolVector2Array) { log.Println("Calling CollisionPolygon2D.SetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_polygon", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_polygon", polygon) log.Println(" Function successfully completed.") } @@ -21269,17 +13859,12 @@ func (o *CollisionShape) baseClass() string { func (o *CollisionShape) GetShape() *Shape { log.Println("Calling CollisionShape.GetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape", goArguments, "*Shape") - - returnValue := goRet.Interface().(*Shape) - + returnValue := godotCallObject(o, "get_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape + ret.owner = returnValue.owner + return &ret } @@ -21289,16 +13874,9 @@ func (o *CollisionShape) GetShape() *Shape { func (o *CollisionShape) IsDisabled() bool { log.Println("Calling CollisionShape.IsDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21309,13 +13887,7 @@ func (o *CollisionShape) IsDisabled() bool { func (o *CollisionShape) MakeConvexFromBrothers() { log.Println("Calling CollisionShape.MakeConvexFromBrothers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_convex_from_brothers", goArguments, "") - + godotCallVoid(o, "make_convex_from_brothers") log.Println(" Function successfully completed.") } @@ -21326,14 +13898,7 @@ func (o *CollisionShape) MakeConvexFromBrothers() { func (o *CollisionShape) ResourceChanged(resource *Resource) { log.Println("Calling CollisionShape.ResourceChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resource) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "resource_changed", goArguments, "") - + godotCallVoidObject(o, "resource_changed", &resource.Object) log.Println(" Function successfully completed.") } @@ -21344,14 +13909,7 @@ func (o *CollisionShape) ResourceChanged(resource *Resource) { func (o *CollisionShape) SetDisabled(enable bool) { log.Println("Calling CollisionShape.SetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled", goArguments, "") - + godotCallVoidBool(o, "set_disabled", enable) log.Println(" Function successfully completed.") } @@ -21362,14 +13920,7 @@ func (o *CollisionShape) SetDisabled(enable bool) { func (o *CollisionShape) SetShape(shape *Shape) { log.Println("Calling CollisionShape.SetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape", goArguments, "") - + godotCallVoidObject(o, "set_shape", &shape.Object) log.Println(" Function successfully completed.") } @@ -21398,13 +13949,7 @@ func (o *CollisionShape2D) baseClass() string { func (o *CollisionShape2D) X_ShapeChanged() { log.Println("Calling CollisionShape2D.X_ShapeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_shape_changed", goArguments, "") - + godotCallVoid(o, "_shape_changed") log.Println(" Function successfully completed.") } @@ -21415,17 +13960,12 @@ func (o *CollisionShape2D) X_ShapeChanged() { func (o *CollisionShape2D) GetShape() *Shape2D { log.Println("Calling CollisionShape2D.GetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape", goArguments, "*Shape2D") - - returnValue := goRet.Interface().(*Shape2D) - + returnValue := godotCallObject(o, "get_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape2D + ret.owner = returnValue.owner + return &ret } @@ -21435,16 +13975,9 @@ func (o *CollisionShape2D) GetShape() *Shape2D { func (o *CollisionShape2D) IsDisabled() bool { log.Println("Calling CollisionShape2D.IsDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21455,16 +13988,9 @@ func (o *CollisionShape2D) IsDisabled() bool { func (o *CollisionShape2D) IsOneWayCollisionEnabled() bool { log.Println("Calling CollisionShape2D.IsOneWayCollisionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_one_way_collision_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_one_way_collision_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21475,14 +14001,7 @@ func (o *CollisionShape2D) IsOneWayCollisionEnabled() bool { func (o *CollisionShape2D) SetDisabled(disabled bool) { log.Println("Calling CollisionShape2D.SetDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled", goArguments, "") - + godotCallVoidBool(o, "set_disabled", disabled) log.Println(" Function successfully completed.") } @@ -21493,14 +14012,7 @@ func (o *CollisionShape2D) SetDisabled(disabled bool) { func (o *CollisionShape2D) SetOneWayCollision(enabled bool) { log.Println("Calling CollisionShape2D.SetOneWayCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_one_way_collision", goArguments, "") - + godotCallVoidBool(o, "set_one_way_collision", enabled) log.Println(" Function successfully completed.") } @@ -21511,14 +14023,7 @@ func (o *CollisionShape2D) SetOneWayCollision(enabled bool) { func (o *CollisionShape2D) SetShape(shape *Shape2D) { log.Println("Calling CollisionShape2D.SetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape", goArguments, "") - + godotCallVoidObject(o, "set_shape", &shape.Object) log.Println(" Function successfully completed.") } @@ -21547,13 +14052,7 @@ func (o *ColorPicker) baseClass() string { func (o *ColorPicker) X_AddPresetPressed() { log.Println("Calling ColorPicker.X_AddPresetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_add_preset_pressed", goArguments, "") - + godotCallVoid(o, "_add_preset_pressed") log.Println(" Function successfully completed.") } @@ -21564,15 +14063,7 @@ func (o *ColorPicker) X_AddPresetPressed() { func (o *ColorPicker) X_HsvDraw(arg0 int64, arg1 *Object) { log.Println("Calling ColorPicker.X_HsvDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_hsv_draw", goArguments, "") - + godotCallVoidIntObject(o, "_hsv_draw", arg0, arg1) log.Println(" Function successfully completed.") } @@ -21583,14 +14074,7 @@ func (o *ColorPicker) X_HsvDraw(arg0 int64, arg1 *Object) { func (o *ColorPicker) X_HtmlEntered(arg0 string) { log.Println("Calling ColorPicker.X_HtmlEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_html_entered", goArguments, "") - + godotCallVoidString(o, "_html_entered", arg0) log.Println(" Function successfully completed.") } @@ -21601,14 +14085,7 @@ func (o *ColorPicker) X_HtmlEntered(arg0 string) { func (o *ColorPicker) X_PresetInput(arg0 *InputEvent) { log.Println("Calling ColorPicker.X_PresetInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_preset_input", goArguments, "") - + godotCallVoidObject(o, "_preset_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -21619,13 +14096,7 @@ func (o *ColorPicker) X_PresetInput(arg0 *InputEvent) { func (o *ColorPicker) X_SampleDraw() { log.Println("Calling ColorPicker.X_SampleDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_sample_draw", goArguments, "") - + godotCallVoid(o, "_sample_draw") log.Println(" Function successfully completed.") } @@ -21636,14 +14107,7 @@ func (o *ColorPicker) X_SampleDraw() { func (o *ColorPicker) X_ScreenInput(arg0 *InputEvent) { log.Println("Calling ColorPicker.X_ScreenInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_screen_input", goArguments, "") - + godotCallVoidObject(o, "_screen_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -21654,13 +14118,7 @@ func (o *ColorPicker) X_ScreenInput(arg0 *InputEvent) { func (o *ColorPicker) X_ScreenPickPressed() { log.Println("Calling ColorPicker.X_ScreenPickPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_screen_pick_pressed", goArguments, "") - + godotCallVoid(o, "_screen_pick_pressed") log.Println(" Function successfully completed.") } @@ -21671,13 +14129,7 @@ func (o *ColorPicker) X_ScreenPickPressed() { func (o *ColorPicker) X_TextTypeToggled() { log.Println("Calling ColorPicker.X_TextTypeToggled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_text_type_toggled", goArguments, "") - + godotCallVoid(o, "_text_type_toggled") log.Println(" Function successfully completed.") } @@ -21688,13 +14140,7 @@ func (o *ColorPicker) X_TextTypeToggled() { func (o *ColorPicker) X_UpdatePresets() { log.Println("Calling ColorPicker.X_UpdatePresets()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_presets", goArguments, "") - + godotCallVoid(o, "_update_presets") log.Println(" Function successfully completed.") } @@ -21705,14 +14151,7 @@ func (o *ColorPicker) X_UpdatePresets() { func (o *ColorPicker) X_UvInput(arg0 *InputEvent) { log.Println("Calling ColorPicker.X_UvInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_uv_input", goArguments, "") - + godotCallVoidObject(o, "_uv_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -21723,14 +14162,7 @@ func (o *ColorPicker) X_UvInput(arg0 *InputEvent) { func (o *ColorPicker) X_ValueChanged(arg0 float64) { log.Println("Calling ColorPicker.X_ValueChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_value_changed", goArguments, "") - + godotCallVoidFloat(o, "_value_changed", arg0) log.Println(" Function successfully completed.") } @@ -21741,14 +14173,7 @@ func (o *ColorPicker) X_ValueChanged(arg0 float64) { func (o *ColorPicker) X_WInput(arg0 *InputEvent) { log.Println("Calling ColorPicker.X_WInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_w_input", goArguments, "") - + godotCallVoidObject(o, "_w_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -21759,14 +14184,7 @@ func (o *ColorPicker) X_WInput(arg0 *InputEvent) { func (o *ColorPicker) AddPreset(color *Color) { log.Println("Calling ColorPicker.AddPreset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_preset", goArguments, "") - + godotCallVoidColor(o, "add_preset", color) log.Println(" Function successfully completed.") } @@ -21777,16 +14195,9 @@ func (o *ColorPicker) AddPreset(color *Color) { func (o *ColorPicker) GetPickColor() *Color { log.Println("Calling ColorPicker.GetPickColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pick_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_pick_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21797,16 +14208,9 @@ func (o *ColorPicker) GetPickColor() *Color { func (o *ColorPicker) IsEditingAlpha() bool { log.Println("Calling ColorPicker.IsEditingAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editing_alpha", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editing_alpha") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21817,16 +14221,9 @@ func (o *ColorPicker) IsEditingAlpha() bool { func (o *ColorPicker) IsRawMode() bool { log.Println("Calling ColorPicker.IsRawMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_raw_mode", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_raw_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21837,14 +14234,7 @@ func (o *ColorPicker) IsRawMode() bool { func (o *ColorPicker) SetEditAlpha(show bool) { log.Println("Calling ColorPicker.SetEditAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(show) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edit_alpha", goArguments, "") - + godotCallVoidBool(o, "set_edit_alpha", show) log.Println(" Function successfully completed.") } @@ -21855,14 +14245,7 @@ func (o *ColorPicker) SetEditAlpha(show bool) { func (o *ColorPicker) SetPickColor(color *Color) { log.Println("Calling ColorPicker.SetPickColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pick_color", goArguments, "") - + godotCallVoidColor(o, "set_pick_color", color) log.Println(" Function successfully completed.") } @@ -21873,14 +14256,7 @@ func (o *ColorPicker) SetPickColor(color *Color) { func (o *ColorPicker) SetRawMode(mode bool) { log.Println("Calling ColorPicker.SetRawMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_raw_mode", goArguments, "") - + godotCallVoidBool(o, "set_raw_mode", mode) log.Println(" Function successfully completed.") } @@ -21909,14 +14285,7 @@ func (o *ColorPickerButton) baseClass() string { func (o *ColorPickerButton) X_ColorChanged(arg0 *Color) { log.Println("Calling ColorPickerButton.X_ColorChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_color_changed", goArguments, "") - + godotCallVoidColor(o, "_color_changed", arg0) log.Println(" Function successfully completed.") } @@ -21927,16 +14296,9 @@ func (o *ColorPickerButton) X_ColorChanged(arg0 *Color) { func (o *ColorPickerButton) GetPickColor() *Color { log.Println("Calling ColorPickerButton.GetPickColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pick_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_pick_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -21947,17 +14309,12 @@ func (o *ColorPickerButton) GetPickColor() *Color { func (o *ColorPickerButton) GetPicker() *ColorPicker { log.Println("Calling ColorPickerButton.GetPicker()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_picker", goArguments, "*ColorPicker") - - returnValue := goRet.Interface().(*ColorPicker) - + returnValue := godotCallObject(o, "get_picker") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ColorPicker + ret.owner = returnValue.owner + return &ret } @@ -21967,17 +14324,12 @@ func (o *ColorPickerButton) GetPicker() *ColorPicker { func (o *ColorPickerButton) GetPopup() *PopupPanel { log.Println("Calling ColorPickerButton.GetPopup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_popup", goArguments, "*PopupPanel") - - returnValue := goRet.Interface().(*PopupPanel) - + returnValue := godotCallObject(o, "get_popup") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PopupPanel + ret.owner = returnValue.owner + return &ret } @@ -21987,16 +14339,9 @@ func (o *ColorPickerButton) GetPopup() *PopupPanel { func (o *ColorPickerButton) IsEditingAlpha() bool { log.Println("Calling ColorPickerButton.IsEditingAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editing_alpha", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editing_alpha") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22007,14 +14352,7 @@ func (o *ColorPickerButton) IsEditingAlpha() bool { func (o *ColorPickerButton) SetEditAlpha(show bool) { log.Println("Calling ColorPickerButton.SetEditAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(show) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edit_alpha", goArguments, "") - + godotCallVoidBool(o, "set_edit_alpha", show) log.Println(" Function successfully completed.") } @@ -22025,14 +14363,7 @@ func (o *ColorPickerButton) SetEditAlpha(show bool) { func (o *ColorPickerButton) SetPickColor(color *Color) { log.Println("Calling ColorPickerButton.SetPickColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pick_color", goArguments, "") - + godotCallVoidColor(o, "set_pick_color", color) log.Println(" Function successfully completed.") } @@ -22061,16 +14392,9 @@ func (o *ColorRect) baseClass() string { func (o *ColorRect) GetFrameColor() *Color { log.Println("Calling ColorRect.GetFrameColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_frame_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22081,14 +14405,7 @@ func (o *ColorRect) GetFrameColor() *Color { func (o *ColorRect) SetFrameColor(color *Color) { log.Println("Calling ColorRect.SetFrameColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame_color", goArguments, "") - + godotCallVoidColor(o, "set_frame_color", color) log.Println(" Function successfully completed.") } @@ -22117,16 +14434,9 @@ func (o *ConcavePolygonShape) baseClass() string { func (o *ConcavePolygonShape) GetFaces() *PoolVector3Array { log.Println("Calling ConcavePolygonShape.GetFaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_faces", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "get_faces") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22137,14 +14447,7 @@ func (o *ConcavePolygonShape) GetFaces() *PoolVector3Array { func (o *ConcavePolygonShape) SetFaces(faces *PoolVector3Array) { log.Println("Calling ConcavePolygonShape.SetFaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(faces) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_faces", goArguments, "") - + godotCallVoidPoolVector3Array(o, "set_faces", faces) log.Println(" Function successfully completed.") } @@ -22173,16 +14476,9 @@ func (o *ConcavePolygonShape2D) baseClass() string { func (o *ConcavePolygonShape2D) GetSegments() *PoolVector2Array { log.Println("Calling ConcavePolygonShape2D.GetSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_segments", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_segments") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22193,14 +14489,7 @@ func (o *ConcavePolygonShape2D) GetSegments() *PoolVector2Array { func (o *ConcavePolygonShape2D) SetSegments(segments *PoolVector2Array) { log.Println("Calling ConcavePolygonShape2D.SetSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_segments", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_segments", segments) log.Println(" Function successfully completed.") } @@ -22229,16 +14518,9 @@ func (o *ConeTwistJoint) baseClass() string { func (o *ConeTwistJoint) X_GetSwingSpan() float64 { log.Println("Calling ConeTwistJoint.X_GetSwingSpan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_swing_span", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_swing_span") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22249,16 +14531,9 @@ func (o *ConeTwistJoint) X_GetSwingSpan() float64 { func (o *ConeTwistJoint) X_GetTwistSpan() float64 { log.Println("Calling ConeTwistJoint.X_GetTwistSpan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_twist_span", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_twist_span") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22269,14 +14544,7 @@ func (o *ConeTwistJoint) X_GetTwistSpan() float64 { func (o *ConeTwistJoint) X_SetSwingSpan(swingSpan float64) { log.Println("Calling ConeTwistJoint.X_SetSwingSpan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(swingSpan) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_swing_span", goArguments, "") - + godotCallVoidFloat(o, "_set_swing_span", swingSpan) log.Println(" Function successfully completed.") } @@ -22287,14 +14555,7 @@ func (o *ConeTwistJoint) X_SetSwingSpan(swingSpan float64) { func (o *ConeTwistJoint) X_SetTwistSpan(twistSpan float64) { log.Println("Calling ConeTwistJoint.X_SetTwistSpan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(twistSpan) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_twist_span", goArguments, "") - + godotCallVoidFloat(o, "_set_twist_span", twistSpan) log.Println(" Function successfully completed.") } @@ -22305,17 +14566,9 @@ func (o *ConeTwistJoint) X_SetTwistSpan(twistSpan float64) { func (o *ConeTwistJoint) GetParam(param int64) float64 { log.Println("Calling ConeTwistJoint.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22326,15 +14579,7 @@ func (o *ConeTwistJoint) GetParam(param int64) float64 { func (o *ConeTwistJoint) SetParam(param int64, value float64) { log.Println("Calling ConeTwistJoint.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -22347,7 +14592,7 @@ type ConeTwistJointImplementer interface { } /* - This helper class can be used to store [Variant] values on the filesystem using INI-style formatting. The stored values are indentified by a section and a key: [codeblock] [section] some_key=42 string_example="Hello World!" a_vector=Vector3( 1, 0, 2 ) [/codeblock] The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly without accessing the filesystem. The following example shows how to parse an INI-style file from the system, read its contents and store new values in it: [codeblock] var config = ConfigFile.new() var err = config.load("user://settings.cfg") if err == OK: # if not, something went wrong with the file loading # Look for the display/width pair, and default to 1024 if missing var screen_width = get_value("display", "width", 1024) # Store a variable if and only if it hasn't been defined yet if not config.has_section_key("audio", "mute"): config.set_value("audio", "mute", false) # Save the changes by overwriting the previous file config.save("user://settings.cfg") [/codeblock] + This helper class can be used to store [Variant] values on the filesystem using INI-style formatting. The stored values are identified by a section and a key: [codeblock] [section] some_key=42 string_example="Hello World!" a_vector=Vector3( 1, 0, 2 ) [/codeblock] The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly without accessing the filesystem. The following example shows how to parse an INI-style file from the system, read its contents and store new values in it: [codeblock] var config = ConfigFile.new() var err = config.load("user://settings.cfg") if err == OK: # if not, something went wrong with the file loading # Look for the display/width pair, and default to 1024 if missing var screen_width = get_value("display", "width", 1024) # Store a variable if and only if it hasn't been defined yet if not config.has_section_key("audio", "mute"): config.set_value("audio", "mute", false) # Save the changes by overwriting the previous file config.save("user://settings.cfg") [/codeblock] */ type ConfigFile struct { Reference @@ -22363,14 +14608,7 @@ func (o *ConfigFile) baseClass() string { func (o *ConfigFile) EraseSection(section string) { log.Println("Calling ConfigFile.EraseSection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(section) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase_section", goArguments, "") - + godotCallVoidString(o, "erase_section", section) log.Println(" Function successfully completed.") } @@ -22381,17 +14619,9 @@ func (o *ConfigFile) EraseSection(section string) { func (o *ConfigFile) GetSectionKeys(section string) *PoolStringArray { log.Println("Calling ConfigFile.GetSectionKeys()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(section) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_section_keys", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_section_keys", section) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22402,16 +14632,9 @@ func (o *ConfigFile) GetSectionKeys(section string) *PoolStringArray { func (o *ConfigFile) GetSections() *PoolStringArray { log.Println("Calling ConfigFile.GetSections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sections", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_sections") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22422,19 +14645,9 @@ func (o *ConfigFile) GetSections() *PoolStringArray { func (o *ConfigFile) GetValue(section string, key string, aDefault *Variant) *Variant { log.Println("Calling ConfigFile.GetValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(section) - goArguments[1] = reflect.ValueOf(key) - goArguments[2] = reflect.ValueOf(aDefault) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantStringStringVariant(o, "get_value", section, key, aDefault) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22445,17 +14658,9 @@ func (o *ConfigFile) GetValue(section string, key string, aDefault *Variant) *Va func (o *ConfigFile) HasSection(section string) bool { log.Println("Calling ConfigFile.HasSection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(section) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_section", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_section", section) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22466,18 +14671,9 @@ func (o *ConfigFile) HasSection(section string) bool { func (o *ConfigFile) HasSectionKey(section string, key string) bool { log.Println("Calling ConfigFile.HasSectionKey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(section) - goArguments[1] = reflect.ValueOf(key) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_section_key", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_section_key", section, key) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22488,17 +14684,9 @@ func (o *ConfigFile) HasSectionKey(section string, key string) bool { func (o *ConfigFile) Load(path string) int64 { log.Println("Calling ConfigFile.Load()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "load", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22509,17 +14697,9 @@ func (o *ConfigFile) Load(path string) int64 { func (o *ConfigFile) Save(path string) int64 { log.Println("Calling ConfigFile.Save()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "save", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "save", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22530,16 +14710,7 @@ func (o *ConfigFile) Save(path string) int64 { func (o *ConfigFile) SetValue(section string, key string, value *Variant) { log.Println("Calling ConfigFile.SetValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(section) - goArguments[1] = reflect.ValueOf(key) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_value", goArguments, "") - + godotCallVoidStringStringVariant(o, "set_value", section, key, value) log.Println(" Function successfully completed.") } @@ -22568,17 +14739,12 @@ func (o *ConfirmationDialog) baseClass() string { func (o *ConfirmationDialog) GetCancel() *Button { log.Println("Calling ConfirmationDialog.GetCancel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cancel", goArguments, "*Button") - - returnValue := goRet.Interface().(*Button) - + returnValue := godotCallObject(o, "get_cancel") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Button + ret.owner = returnValue.owner + return &ret } @@ -22606,13 +14772,7 @@ func (o *Container) baseClass() string { func (o *Container) X_ChildMinsizeChanged() { log.Println("Calling Container.X_ChildMinsizeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_child_minsize_changed", goArguments, "") - + godotCallVoid(o, "_child_minsize_changed") log.Println(" Function successfully completed.") } @@ -22623,13 +14783,7 @@ func (o *Container) X_ChildMinsizeChanged() { func (o *Container) X_SortChildren() { log.Println("Calling Container.X_SortChildren()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_sort_children", goArguments, "") - + godotCallVoid(o, "_sort_children") log.Println(" Function successfully completed.") } @@ -22640,15 +14794,7 @@ func (o *Container) X_SortChildren() { func (o *Container) FitChildInRect(child *Object, rect *Rect2) { log.Println("Calling Container.FitChildInRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(child) - goArguments[1] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "fit_child_in_rect", goArguments, "") - + godotCallVoidObjectRect2(o, "fit_child_in_rect", child, rect) log.Println(" Function successfully completed.") } @@ -22659,13 +14805,7 @@ func (o *Container) FitChildInRect(child *Object, rect *Rect2) { func (o *Container) QueueSort() { log.Println("Calling Container.QueueSort()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_sort", goArguments, "") - + godotCallVoid(o, "queue_sort") log.Println(" Function successfully completed.") } @@ -22694,13 +14834,7 @@ func (o *Control) baseClass() string { func (o *Control) X_FontChanged() { log.Println("Calling Control.X_FontChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_font_changed", goArguments, "") - + godotCallVoid(o, "_font_changed") log.Println(" Function successfully completed.") } @@ -22711,16 +14845,9 @@ func (o *Control) X_FontChanged() { func (o *Control) X_GetMinimumSize() *Vector2 { log.Println("Calling Control.X_GetMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_minimum_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "_get_minimum_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22731,16 +14858,9 @@ func (o *Control) X_GetMinimumSize() *Vector2 { func (o *Control) X_GetTooltip() string { log.Println("Calling Control.X_GetTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "_get_tooltip") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22751,14 +14871,7 @@ func (o *Control) X_GetTooltip() string { func (o *Control) X_GuiInput(event *InputEvent) { log.Println("Calling Control.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &event.Object) log.Println(" Function successfully completed.") } @@ -22769,15 +14882,7 @@ func (o *Control) X_GuiInput(event *InputEvent) { func (o *Control) X_SetAnchor(margin int64, anchor float64) { log.Println("Calling Control.X_SetAnchor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(anchor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_anchor", goArguments, "") - + godotCallVoidIntFloat(o, "_set_anchor", margin, anchor) log.Println(" Function successfully completed.") } @@ -22788,13 +14893,7 @@ func (o *Control) X_SetAnchor(margin int64, anchor float64) { func (o *Control) X_SizeChanged() { log.Println("Calling Control.X_SizeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_size_changed", goArguments, "") - + godotCallVoid(o, "_size_changed") log.Println(" Function successfully completed.") } @@ -22805,13 +14904,7 @@ func (o *Control) X_SizeChanged() { func (o *Control) X_ThemeChanged() { log.Println("Calling Control.X_ThemeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_theme_changed", goArguments, "") - + godotCallVoid(o, "_theme_changed") log.Println(" Function successfully completed.") } @@ -22822,13 +14915,7 @@ func (o *Control) X_ThemeChanged() { func (o *Control) X_UpdateMinimumSize() { log.Println("Calling Control.X_UpdateMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_minimum_size", goArguments, "") - + godotCallVoid(o, "_update_minimum_size") log.Println(" Function successfully completed.") } @@ -22839,13 +14926,7 @@ func (o *Control) X_UpdateMinimumSize() { func (o *Control) AcceptEvent() { log.Println("Calling Control.AcceptEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "accept_event", goArguments, "") - + godotCallVoid(o, "accept_event") log.Println(" Function successfully completed.") } @@ -22856,15 +14937,7 @@ func (o *Control) AcceptEvent() { func (o *Control) AddColorOverride(name string, color *Color) { log.Println("Calling Control.AddColorOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_color_override", goArguments, "") - + godotCallVoidStringColor(o, "add_color_override", name, color) log.Println(" Function successfully completed.") } @@ -22875,15 +14948,7 @@ func (o *Control) AddColorOverride(name string, color *Color) { func (o *Control) AddConstantOverride(name string, constant int64) { log.Println("Calling Control.AddConstantOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(constant) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_constant_override", goArguments, "") - + godotCallVoidStringInt(o, "add_constant_override", name, constant) log.Println(" Function successfully completed.") } @@ -22894,15 +14959,7 @@ func (o *Control) AddConstantOverride(name string, constant int64) { func (o *Control) AddFontOverride(name string, font *Font) { log.Println("Calling Control.AddFontOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(font) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_font_override", goArguments, "") - + godotCallVoidStringObject(o, "add_font_override", name, &font.Object) log.Println(" Function successfully completed.") } @@ -22913,15 +14970,7 @@ func (o *Control) AddFontOverride(name string, font *Font) { func (o *Control) AddIconOverride(name string, texture *Texture) { log.Println("Calling Control.AddIconOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_override", goArguments, "") - + godotCallVoidStringObject(o, "add_icon_override", name, &texture.Object) log.Println(" Function successfully completed.") } @@ -22932,15 +14981,7 @@ func (o *Control) AddIconOverride(name string, texture *Texture) { func (o *Control) AddShaderOverride(name string, shader *Shader) { log.Println("Calling Control.AddShaderOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(shader) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_shader_override", goArguments, "") - + godotCallVoidStringObject(o, "add_shader_override", name, &shader.Object) log.Println(" Function successfully completed.") } @@ -22951,15 +14992,7 @@ func (o *Control) AddShaderOverride(name string, shader *Shader) { func (o *Control) AddStyleboxOverride(name string, stylebox *StyleBox) { log.Println("Calling Control.AddStyleboxOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(stylebox) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_stylebox_override", goArguments, "") - + godotCallVoidStringObject(o, "add_stylebox_override", name, &stylebox.Object) log.Println(" Function successfully completed.") } @@ -22970,18 +15003,9 @@ func (o *Control) AddStyleboxOverride(name string, stylebox *StyleBox) { func (o *Control) CanDropData(position *Vector2, data *Variant) bool { log.Println("Calling Control.CanDropData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(data) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_drop_data", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2Variant(o, "can_drop_data", position, data) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -22992,15 +15016,7 @@ func (o *Control) CanDropData(position *Vector2, data *Variant) bool { func (o *Control) DropData(position *Vector2, data *Variant) { log.Println("Calling Control.DropData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "drop_data", goArguments, "") - + godotCallVoidVector2Variant(o, "drop_data", position, data) log.Println(" Function successfully completed.") } @@ -23011,15 +15027,7 @@ func (o *Control) DropData(position *Vector2, data *Variant) { func (o *Control) ForceDrag(data *Variant, preview *Object) { log.Println("Calling Control.ForceDrag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(data) - goArguments[1] = reflect.ValueOf(preview) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_drag", goArguments, "") - + godotCallVoidVariantObject(o, "force_drag", data, preview) log.Println(" Function successfully completed.") } @@ -23030,17 +15038,9 @@ func (o *Control) ForceDrag(data *Variant, preview *Object) { func (o *Control) GetAnchor(margin int64) float64 { log.Println("Calling Control.GetAnchor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anchor", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_anchor", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23051,16 +15051,9 @@ func (o *Control) GetAnchor(margin int64) float64 { func (o *Control) GetBegin() *Vector2 { log.Println("Calling Control.GetBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_begin", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_begin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23071,18 +15064,9 @@ func (o *Control) GetBegin() *Vector2 { func (o *Control) GetColor(name string, aType string) *Color { log.Println("Calling Control.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorStringString(o, "get_color", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23093,16 +15077,9 @@ func (o *Control) GetColor(name string, aType string) *Color { func (o *Control) GetCombinedMinimumSize() *Vector2 { log.Println("Calling Control.GetCombinedMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_combined_minimum_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_combined_minimum_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23113,18 +15090,9 @@ func (o *Control) GetCombinedMinimumSize() *Vector2 { func (o *Control) GetConstant(name string, aType string) int64 { log.Println("Calling Control.GetConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringString(o, "get_constant", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23135,17 +15103,9 @@ func (o *Control) GetConstant(name string, aType string) int64 { func (o *Control) GetCursorShape(position *Vector2) int64 { log.Println("Calling Control.GetCursorShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cursor_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2(o, "get_cursor_shape", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23156,16 +15116,9 @@ func (o *Control) GetCursorShape(position *Vector2) int64 { func (o *Control) GetCustomMinimumSize() *Vector2 { log.Println("Calling Control.GetCustomMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_minimum_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_custom_minimum_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23176,16 +15129,9 @@ func (o *Control) GetCustomMinimumSize() *Vector2 { func (o *Control) GetDefaultCursorShape() int64 { log.Println("Calling Control.GetDefaultCursorShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_cursor_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_default_cursor_shape") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23196,18 +15142,12 @@ func (o *Control) GetDefaultCursorShape() int64 { func (o *Control) GetDragData(position *Vector2) *Object { log.Println("Calling Control.GetDragData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drag_data", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectVector2(o, "get_drag_data", position) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -23217,16 +15157,9 @@ func (o *Control) GetDragData(position *Vector2) *Object { func (o *Control) GetEnd() *Vector2 { log.Println("Calling Control.GetEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_end", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_end") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23237,16 +15170,9 @@ func (o *Control) GetEnd() *Vector2 { func (o *Control) GetFocusMode() int64 { log.Println("Calling Control.GetFocusMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focus_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_focus_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23257,17 +15183,9 @@ func (o *Control) GetFocusMode() int64 { func (o *Control) GetFocusNeighbour(margin int64) *NodePath { log.Println("Calling Control.GetFocusNeighbour()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focus_neighbour", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "get_focus_neighbour", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23278,16 +15196,9 @@ func (o *Control) GetFocusNeighbour(margin int64) *NodePath { func (o *Control) GetFocusNext() *NodePath { log.Println("Calling Control.GetFocusNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focus_next", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_focus_next") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23298,17 +15209,12 @@ func (o *Control) GetFocusNext() *NodePath { func (o *Control) GetFocusOwner() *Control { log.Println("Calling Control.GetFocusOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focus_owner", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObject(o, "get_focus_owner") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -23318,16 +15224,9 @@ func (o *Control) GetFocusOwner() *Control { func (o *Control) GetFocusPrevious() *NodePath { log.Println("Calling Control.GetFocusPrevious()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focus_previous", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_focus_previous") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23338,19 +15237,12 @@ func (o *Control) GetFocusPrevious() *NodePath { func (o *Control) GetFont(name string, aType string) *Font { log.Println("Calling Control.GetFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_font", goArguments, "*Font") - - returnValue := goRet.Interface().(*Font) - + returnValue := godotCallObjectStringString(o, "get_font", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Font + ret.owner = returnValue.owner + return &ret } @@ -23360,16 +15252,9 @@ func (o *Control) GetFont(name string, aType string) *Font { func (o *Control) GetGlobalPosition() *Vector2 { log.Println("Calling Control.GetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_global_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23380,16 +15265,9 @@ func (o *Control) GetGlobalPosition() *Vector2 { func (o *Control) GetGlobalRect() *Rect2 { log.Println("Calling Control.GetGlobalRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_global_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23400,16 +15278,9 @@ func (o *Control) GetGlobalRect() *Rect2 { func (o *Control) GetHGrowDirection() int64 { log.Println("Calling Control.GetHGrowDirection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_grow_direction", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_grow_direction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23420,16 +15291,9 @@ func (o *Control) GetHGrowDirection() int64 { func (o *Control) GetHSizeFlags() int64 { log.Println("Calling Control.GetHSizeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_size_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_size_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23440,19 +15304,12 @@ func (o *Control) GetHSizeFlags() int64 { func (o *Control) GetIcon(name string, aType string) *Texture { log.Println("Calling Control.GetIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectStringString(o, "get_icon", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -23462,17 +15319,9 @@ func (o *Control) GetIcon(name string, aType string) *Texture { func (o *Control) GetMargin(margin int64) float64 { log.Println("Calling Control.GetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23483,16 +15332,9 @@ func (o *Control) GetMargin(margin int64) float64 { func (o *Control) GetMinimumSize() *Vector2 { log.Println("Calling Control.GetMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_minimum_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_minimum_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23503,16 +15345,9 @@ func (o *Control) GetMinimumSize() *Vector2 { func (o *Control) GetMouseFilter() int64 { log.Println("Calling Control.GetMouseFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mouse_filter", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mouse_filter") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23523,16 +15358,9 @@ func (o *Control) GetMouseFilter() int64 { func (o *Control) GetParentAreaSize() *Vector2 { log.Println("Calling Control.GetParentAreaSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent_area_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_parent_area_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23543,17 +15371,12 @@ func (o *Control) GetParentAreaSize() *Vector2 { func (o *Control) GetParentControl() *Control { log.Println("Calling Control.GetParentControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent_control", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObject(o, "get_parent_control") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -23563,16 +15386,9 @@ func (o *Control) GetParentControl() *Control { func (o *Control) GetPivotOffset() *Vector2 { log.Println("Calling Control.GetPivotOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pivot_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_pivot_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23583,16 +15399,9 @@ func (o *Control) GetPivotOffset() *Vector2 { func (o *Control) GetPosition() *Vector2 { log.Println("Calling Control.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23603,16 +15412,9 @@ func (o *Control) GetPosition() *Vector2 { func (o *Control) GetRect() *Rect2 { log.Println("Calling Control.GetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23623,16 +15425,9 @@ func (o *Control) GetRect() *Rect2 { func (o *Control) GetRotation() float64 { log.Println("Calling Control.GetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23643,16 +15438,9 @@ func (o *Control) GetRotation() float64 { func (o *Control) GetRotationDegrees() float64 { log.Println("Calling Control.GetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23663,16 +15451,9 @@ func (o *Control) GetRotationDegrees() float64 { func (o *Control) GetScale() *Vector2 { log.Println("Calling Control.GetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23683,16 +15464,9 @@ func (o *Control) GetScale() *Vector2 { func (o *Control) GetSize() *Vector2 { log.Println("Calling Control.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23703,16 +15477,9 @@ func (o *Control) GetSize() *Vector2 { func (o *Control) GetStretchRatio() float64 { log.Println("Calling Control.GetStretchRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stretch_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_stretch_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23723,19 +15490,12 @@ func (o *Control) GetStretchRatio() float64 { func (o *Control) GetStylebox(name string, aType string) *StyleBox { log.Println("Calling Control.GetStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stylebox", goArguments, "*StyleBox") - - returnValue := goRet.Interface().(*StyleBox) - + returnValue := godotCallObjectStringString(o, "get_stylebox", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StyleBox + ret.owner = returnValue.owner + return &ret } @@ -23745,17 +15505,12 @@ func (o *Control) GetStylebox(name string, aType string) *StyleBox { func (o *Control) GetTheme() *Theme { log.Println("Calling Control.GetTheme()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_theme", goArguments, "*Theme") - - returnValue := goRet.Interface().(*Theme) - + returnValue := godotCallObject(o, "get_theme") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Theme + ret.owner = returnValue.owner + return &ret } @@ -23765,17 +15520,9 @@ func (o *Control) GetTheme() *Theme { func (o *Control) GetTooltip(atPosition *Vector2) string { log.Println("Calling Control.GetTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(atPosition) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringVector2(o, "get_tooltip", atPosition) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23786,16 +15533,9 @@ func (o *Control) GetTooltip(atPosition *Vector2) string { func (o *Control) GetVGrowDirection() int64 { log.Println("Calling Control.GetVGrowDirection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_grow_direction", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_grow_direction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23806,16 +15546,9 @@ func (o *Control) GetVGrowDirection() int64 { func (o *Control) GetVSizeFlags() int64 { log.Println("Calling Control.GetVSizeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_size_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_size_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23826,13 +15559,7 @@ func (o *Control) GetVSizeFlags() int64 { func (o *Control) GrabClickFocus() { log.Println("Calling Control.GrabClickFocus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "grab_click_focus", goArguments, "") - + godotCallVoid(o, "grab_click_focus") log.Println(" Function successfully completed.") } @@ -23843,13 +15570,7 @@ func (o *Control) GrabClickFocus() { func (o *Control) GrabFocus() { log.Println("Calling Control.GrabFocus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "grab_focus", goArguments, "") - + godotCallVoid(o, "grab_focus") log.Println(" Function successfully completed.") } @@ -23860,18 +15581,9 @@ func (o *Control) GrabFocus() { func (o *Control) HasColor(name string, aType string) bool { log.Println("Calling Control.HasColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_color", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_color", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23882,17 +15594,9 @@ func (o *Control) HasColor(name string, aType string) bool { func (o *Control) HasColorOverride(name string) bool { log.Println("Calling Control.HasColorOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_color_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_color_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23903,18 +15607,9 @@ func (o *Control) HasColorOverride(name string) bool { func (o *Control) HasConstant(name string, aType string) bool { log.Println("Calling Control.HasConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_constant", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_constant", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23925,17 +15620,9 @@ func (o *Control) HasConstant(name string, aType string) bool { func (o *Control) HasConstantOverride(name string) bool { log.Println("Calling Control.HasConstantOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_constant_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_constant_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23946,16 +15633,9 @@ func (o *Control) HasConstantOverride(name string) bool { func (o *Control) HasFocus() bool { log.Println("Calling Control.HasFocus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_focus", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_focus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23966,18 +15646,9 @@ func (o *Control) HasFocus() bool { func (o *Control) HasFont(name string, aType string) bool { log.Println("Calling Control.HasFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_font", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_font", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -23988,17 +15659,9 @@ func (o *Control) HasFont(name string, aType string) bool { func (o *Control) HasFontOverride(name string) bool { log.Println("Calling Control.HasFontOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_font_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_font_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24009,18 +15672,9 @@ func (o *Control) HasFontOverride(name string) bool { func (o *Control) HasIcon(name string, aType string) bool { log.Println("Calling Control.HasIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_icon", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_icon", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24031,17 +15685,9 @@ func (o *Control) HasIcon(name string, aType string) bool { func (o *Control) HasIconOverride(name string) bool { log.Println("Calling Control.HasIconOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_icon_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_icon_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24052,17 +15698,9 @@ func (o *Control) HasIconOverride(name string) bool { func (o *Control) HasPoint(point *Vector2) bool { log.Println("Calling Control.HasPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_point", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2(o, "has_point", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24073,17 +15711,9 @@ func (o *Control) HasPoint(point *Vector2) bool { func (o *Control) HasShaderOverride(name string) bool { log.Println("Calling Control.HasShaderOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_shader_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_shader_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24094,18 +15724,9 @@ func (o *Control) HasShaderOverride(name string) bool { func (o *Control) HasStylebox(name string, aType string) bool { log.Println("Calling Control.HasStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_stylebox", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_stylebox", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24116,17 +15737,9 @@ func (o *Control) HasStylebox(name string, aType string) bool { func (o *Control) HasStyleboxOverride(name string) bool { log.Println("Calling Control.HasStyleboxOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_stylebox_override", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_stylebox_override", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24137,16 +15750,9 @@ func (o *Control) HasStyleboxOverride(name string) bool { func (o *Control) IsClippingContents() bool { log.Println("Calling Control.IsClippingContents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_clipping_contents", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_clipping_contents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24157,13 +15763,7 @@ func (o *Control) IsClippingContents() bool { func (o *Control) MinimumSizeChanged() { log.Println("Calling Control.MinimumSizeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "minimum_size_changed", goArguments, "") - + godotCallVoid(o, "minimum_size_changed") log.Println(" Function successfully completed.") } @@ -24174,13 +15774,7 @@ func (o *Control) MinimumSizeChanged() { func (o *Control) ReleaseFocus() { log.Println("Calling Control.ReleaseFocus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "release_focus", goArguments, "") - + godotCallVoid(o, "release_focus") log.Println(" Function successfully completed.") } @@ -24191,17 +15785,7 @@ func (o *Control) ReleaseFocus() { func (o *Control) SetAnchor(margin int64, anchor float64, keepMargin bool, pushOppositeAnchor bool) { log.Println("Calling Control.SetAnchor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(anchor) - goArguments[2] = reflect.ValueOf(keepMargin) - goArguments[3] = reflect.ValueOf(pushOppositeAnchor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchor", goArguments, "") - + godotCallVoidIntFloatBoolBool(o, "set_anchor", margin, anchor, keepMargin, pushOppositeAnchor) log.Println(" Function successfully completed.") } @@ -24212,17 +15796,7 @@ func (o *Control) SetAnchor(margin int64, anchor float64, keepMargin bool, pushO func (o *Control) SetAnchorAndMargin(margin int64, anchor float64, offset float64, pushOppositeAnchor bool) { log.Println("Calling Control.SetAnchorAndMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(anchor) - goArguments[2] = reflect.ValueOf(offset) - goArguments[3] = reflect.ValueOf(pushOppositeAnchor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchor_and_margin", goArguments, "") - + godotCallVoidIntFloatFloatBool(o, "set_anchor_and_margin", margin, anchor, offset, pushOppositeAnchor) log.Println(" Function successfully completed.") } @@ -24233,16 +15807,7 @@ func (o *Control) SetAnchorAndMargin(margin int64, anchor float64, offset float6 func (o *Control) SetAnchorsAndMarginsPreset(preset int64, resizeMode int64, margin int64) { log.Println("Calling Control.SetAnchorsAndMarginsPreset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(preset) - goArguments[1] = reflect.ValueOf(resizeMode) - goArguments[2] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchors_and_margins_preset", goArguments, "") - + godotCallVoidIntIntInt(o, "set_anchors_and_margins_preset", preset, resizeMode, margin) log.Println(" Function successfully completed.") } @@ -24253,15 +15818,7 @@ func (o *Control) SetAnchorsAndMarginsPreset(preset int64, resizeMode int64, mar func (o *Control) SetAnchorsPreset(preset int64, keepMargin bool) { log.Println("Calling Control.SetAnchorsPreset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(preset) - goArguments[1] = reflect.ValueOf(keepMargin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anchors_preset", goArguments, "") - + godotCallVoidIntBool(o, "set_anchors_preset", preset, keepMargin) log.Println(" Function successfully completed.") } @@ -24272,14 +15829,7 @@ func (o *Control) SetAnchorsPreset(preset int64, keepMargin bool) { func (o *Control) SetBegin(position *Vector2) { log.Println("Calling Control.SetBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_begin", goArguments, "") - + godotCallVoidVector2(o, "set_begin", position) log.Println(" Function successfully completed.") } @@ -24290,14 +15840,7 @@ func (o *Control) SetBegin(position *Vector2) { func (o *Control) SetClipContents(enable bool) { log.Println("Calling Control.SetClipContents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clip_contents", goArguments, "") - + godotCallVoidBool(o, "set_clip_contents", enable) log.Println(" Function successfully completed.") } @@ -24308,14 +15851,7 @@ func (o *Control) SetClipContents(enable bool) { func (o *Control) SetCustomMinimumSize(size *Vector2) { log.Println("Calling Control.SetCustomMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_minimum_size", goArguments, "") - + godotCallVoidVector2(o, "set_custom_minimum_size", size) log.Println(" Function successfully completed.") } @@ -24326,14 +15862,7 @@ func (o *Control) SetCustomMinimumSize(size *Vector2) { func (o *Control) SetDefaultCursorShape(shape int64) { log.Println("Calling Control.SetDefaultCursorShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_cursor_shape", goArguments, "") - + godotCallVoidInt(o, "set_default_cursor_shape", shape) log.Println(" Function successfully completed.") } @@ -24344,14 +15873,7 @@ func (o *Control) SetDefaultCursorShape(shape int64) { func (o *Control) SetDragForwarding(target *Object) { log.Println("Calling Control.SetDragForwarding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(target) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_drag_forwarding", goArguments, "") - + godotCallVoidObject(o, "set_drag_forwarding", target) log.Println(" Function successfully completed.") } @@ -24362,14 +15884,7 @@ func (o *Control) SetDragForwarding(target *Object) { func (o *Control) SetDragPreview(control *Object) { log.Println("Calling Control.SetDragPreview()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(control) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_drag_preview", goArguments, "") - + godotCallVoidObject(o, "set_drag_preview", control) log.Println(" Function successfully completed.") } @@ -24380,14 +15895,7 @@ func (o *Control) SetDragPreview(control *Object) { func (o *Control) SetEnd(position *Vector2) { log.Println("Calling Control.SetEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_end", goArguments, "") - + godotCallVoidVector2(o, "set_end", position) log.Println(" Function successfully completed.") } @@ -24398,14 +15906,7 @@ func (o *Control) SetEnd(position *Vector2) { func (o *Control) SetFocusMode(mode int64) { log.Println("Calling Control.SetFocusMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_focus_mode", goArguments, "") - + godotCallVoidInt(o, "set_focus_mode", mode) log.Println(" Function successfully completed.") } @@ -24416,15 +15917,7 @@ func (o *Control) SetFocusMode(mode int64) { func (o *Control) SetFocusNeighbour(margin int64, neighbour *NodePath) { log.Println("Calling Control.SetFocusNeighbour()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(neighbour) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_focus_neighbour", goArguments, "") - + godotCallVoidIntNodePath(o, "set_focus_neighbour", margin, neighbour) log.Println(" Function successfully completed.") } @@ -24435,14 +15928,7 @@ func (o *Control) SetFocusNeighbour(margin int64, neighbour *NodePath) { func (o *Control) SetFocusNext(next *NodePath) { log.Println("Calling Control.SetFocusNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(next) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_focus_next", goArguments, "") - + godotCallVoidNodePath(o, "set_focus_next", next) log.Println(" Function successfully completed.") } @@ -24453,14 +15939,7 @@ func (o *Control) SetFocusNext(next *NodePath) { func (o *Control) SetFocusPrevious(previous *NodePath) { log.Println("Calling Control.SetFocusPrevious()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(previous) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_focus_previous", goArguments, "") - + godotCallVoidNodePath(o, "set_focus_previous", previous) log.Println(" Function successfully completed.") } @@ -24471,14 +15950,7 @@ func (o *Control) SetFocusPrevious(previous *NodePath) { func (o *Control) SetGlobalPosition(position *Vector2) { log.Println("Calling Control.SetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_position", goArguments, "") - + godotCallVoidVector2(o, "set_global_position", position) log.Println(" Function successfully completed.") } @@ -24489,14 +15961,7 @@ func (o *Control) SetGlobalPosition(position *Vector2) { func (o *Control) SetHGrowDirection(direction int64) { log.Println("Calling Control.SetHGrowDirection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(direction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_grow_direction", goArguments, "") - + godotCallVoidInt(o, "set_h_grow_direction", direction) log.Println(" Function successfully completed.") } @@ -24507,14 +15972,7 @@ func (o *Control) SetHGrowDirection(direction int64) { func (o *Control) SetHSizeFlags(flags int64) { log.Println("Calling Control.SetHSizeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_size_flags", goArguments, "") - + godotCallVoidInt(o, "set_h_size_flags", flags) log.Println(" Function successfully completed.") } @@ -24525,15 +15983,7 @@ func (o *Control) SetHSizeFlags(flags int64) { func (o *Control) SetMargin(margin int64, offset float64) { log.Println("Calling Control.SetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin", goArguments, "") - + godotCallVoidIntFloat(o, "set_margin", margin, offset) log.Println(" Function successfully completed.") } @@ -24544,16 +15994,7 @@ func (o *Control) SetMargin(margin int64, offset float64) { func (o *Control) SetMarginsPreset(preset int64, resizeMode int64, margin int64) { log.Println("Calling Control.SetMarginsPreset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(preset) - goArguments[1] = reflect.ValueOf(resizeMode) - goArguments[2] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margins_preset", goArguments, "") - + godotCallVoidIntIntInt(o, "set_margins_preset", preset, resizeMode, margin) log.Println(" Function successfully completed.") } @@ -24564,14 +16005,7 @@ func (o *Control) SetMarginsPreset(preset int64, resizeMode int64, margin int64) func (o *Control) SetMouseFilter(filter int64) { log.Println("Calling Control.SetMouseFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mouse_filter", goArguments, "") - + godotCallVoidInt(o, "set_mouse_filter", filter) log.Println(" Function successfully completed.") } @@ -24582,14 +16016,7 @@ func (o *Control) SetMouseFilter(filter int64) { func (o *Control) SetPivotOffset(pivotOffset *Vector2) { log.Println("Calling Control.SetPivotOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pivotOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pivot_offset", goArguments, "") - + godotCallVoidVector2(o, "set_pivot_offset", pivotOffset) log.Println(" Function successfully completed.") } @@ -24600,14 +16027,7 @@ func (o *Control) SetPivotOffset(pivotOffset *Vector2) { func (o *Control) SetPosition(position *Vector2) { log.Println("Calling Control.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -24618,14 +16038,7 @@ func (o *Control) SetPosition(position *Vector2) { func (o *Control) SetRotation(radians float64) { log.Println("Calling Control.SetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radians) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation", goArguments, "") - + godotCallVoidFloat(o, "set_rotation", radians) log.Println(" Function successfully completed.") } @@ -24636,14 +16049,7 @@ func (o *Control) SetRotation(radians float64) { func (o *Control) SetRotationDegrees(degrees float64) { log.Println("Calling Control.SetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_rotation_degrees", degrees) log.Println(" Function successfully completed.") } @@ -24654,14 +16060,7 @@ func (o *Control) SetRotationDegrees(degrees float64) { func (o *Control) SetScale(scale *Vector2) { log.Println("Calling Control.SetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scale", goArguments, "") - + godotCallVoidVector2(o, "set_scale", scale) log.Println(" Function successfully completed.") } @@ -24672,14 +16071,7 @@ func (o *Control) SetScale(scale *Vector2) { func (o *Control) SetSize(size *Vector2) { log.Println("Calling Control.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -24690,14 +16082,7 @@ func (o *Control) SetSize(size *Vector2) { func (o *Control) SetStretchRatio(ratio float64) { log.Println("Calling Control.SetStretchRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_stretch_ratio", ratio) log.Println(" Function successfully completed.") } @@ -24708,14 +16093,7 @@ func (o *Control) SetStretchRatio(ratio float64) { func (o *Control) SetTheme(theme *Theme) { log.Println("Calling Control.SetTheme()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(theme) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_theme", goArguments, "") - + godotCallVoidObject(o, "set_theme", &theme.Object) log.Println(" Function successfully completed.") } @@ -24726,14 +16104,7 @@ func (o *Control) SetTheme(theme *Theme) { func (o *Control) SetTooltip(tooltip string) { log.Println("Calling Control.SetTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tooltip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tooltip", goArguments, "") - + godotCallVoidString(o, "set_tooltip", tooltip) log.Println(" Function successfully completed.") } @@ -24744,14 +16115,7 @@ func (o *Control) SetTooltip(tooltip string) { func (o *Control) SetVGrowDirection(direction int64) { log.Println("Calling Control.SetVGrowDirection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(direction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_grow_direction", goArguments, "") - + godotCallVoidInt(o, "set_v_grow_direction", direction) log.Println(" Function successfully completed.") } @@ -24762,14 +16126,7 @@ func (o *Control) SetVGrowDirection(direction int64) { func (o *Control) SetVSizeFlags(flags int64) { log.Println("Calling Control.SetVSizeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_size_flags", goArguments, "") - + godotCallVoidInt(o, "set_v_size_flags", flags) log.Println(" Function successfully completed.") } @@ -24780,14 +16137,7 @@ func (o *Control) SetVSizeFlags(flags int64) { func (o *Control) ShowModal(exclusive bool) { log.Println("Calling Control.ShowModal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exclusive) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "show_modal", goArguments, "") - + godotCallVoidBool(o, "show_modal", exclusive) log.Println(" Function successfully completed.") } @@ -24798,14 +16148,7 @@ func (o *Control) ShowModal(exclusive bool) { func (o *Control) WarpMouse(toPosition *Vector2) { log.Println("Calling Control.WarpMouse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "warp_mouse", goArguments, "") - + godotCallVoidVector2(o, "warp_mouse", toPosition) log.Println(" Function successfully completed.") } @@ -24834,16 +16177,9 @@ func (o *ConvexPolygonShape) baseClass() string { func (o *ConvexPolygonShape) GetPoints() *PoolVector3Array { log.Println("Calling ConvexPolygonShape.GetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_points", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "get_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24854,14 +16190,7 @@ func (o *ConvexPolygonShape) GetPoints() *PoolVector3Array { func (o *ConvexPolygonShape) SetPoints(points *PoolVector3Array) { log.Println("Calling ConvexPolygonShape.SetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(points) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_points", goArguments, "") - + godotCallVoidPoolVector3Array(o, "set_points", points) log.Println(" Function successfully completed.") } @@ -24890,16 +16219,9 @@ func (o *ConvexPolygonShape2D) baseClass() string { func (o *ConvexPolygonShape2D) GetPoints() *PoolVector2Array { log.Println("Calling ConvexPolygonShape2D.GetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_points", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24910,14 +16232,7 @@ func (o *ConvexPolygonShape2D) GetPoints() *PoolVector2Array { func (o *ConvexPolygonShape2D) SetPointCloud(pointCloud *PoolVector2Array) { log.Println("Calling ConvexPolygonShape2D.SetPointCloud()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pointCloud) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_cloud", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_point_cloud", pointCloud) log.Println(" Function successfully completed.") } @@ -24928,14 +16243,7 @@ func (o *ConvexPolygonShape2D) SetPointCloud(pointCloud *PoolVector2Array) { func (o *ConvexPolygonShape2D) SetPoints(points *PoolVector2Array) { log.Println("Calling ConvexPolygonShape2D.SetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(points) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_points", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_points", points) log.Println(" Function successfully completed.") } @@ -24964,16 +16272,9 @@ func (o *CubeMap) baseClass() string { func (o *CubeMap) GetFlags() int64 { log.Println("Calling CubeMap.GetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -24984,16 +16285,9 @@ func (o *CubeMap) GetFlags() int64 { func (o *CubeMap) GetHeight() int64 { log.Println("Calling CubeMap.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25004,16 +16298,9 @@ func (o *CubeMap) GetHeight() int64 { func (o *CubeMap) GetLossyStorageQuality() float64 { log.Println("Calling CubeMap.GetLossyStorageQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lossy_storage_quality", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lossy_storage_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25024,18 +16311,12 @@ func (o *CubeMap) GetLossyStorageQuality() float64 { func (o *CubeMap) GetSide(side int64) *Image { log.Println("Calling CubeMap.GetSide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(side) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_side", goArguments, "*Image") - - returnValue := goRet.Interface().(*Image) - + returnValue := godotCallObjectInt(o, "get_side", side) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Image + ret.owner = returnValue.owner + return &ret } @@ -25045,16 +16326,9 @@ func (o *CubeMap) GetSide(side int64) *Image { func (o *CubeMap) GetStorage() int64 { log.Println("Calling CubeMap.GetStorage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_storage", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_storage") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25065,16 +16339,9 @@ func (o *CubeMap) GetStorage() int64 { func (o *CubeMap) GetWidth() int64 { log.Println("Calling CubeMap.GetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25085,14 +16352,7 @@ func (o *CubeMap) GetWidth() int64 { func (o *CubeMap) SetFlags(flags int64) { log.Println("Calling CubeMap.SetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flags", goArguments, "") - + godotCallVoidInt(o, "set_flags", flags) log.Println(" Function successfully completed.") } @@ -25103,14 +16363,7 @@ func (o *CubeMap) SetFlags(flags int64) { func (o *CubeMap) SetLossyStorageQuality(quality float64) { log.Println("Calling CubeMap.SetLossyStorageQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(quality) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lossy_storage_quality", goArguments, "") - + godotCallVoidFloat(o, "set_lossy_storage_quality", quality) log.Println(" Function successfully completed.") } @@ -25121,15 +16374,7 @@ func (o *CubeMap) SetLossyStorageQuality(quality float64) { func (o *CubeMap) SetSide(side int64, image *Image) { log.Println("Calling CubeMap.SetSide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(side) - goArguments[1] = reflect.ValueOf(image) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_side", goArguments, "") - + godotCallVoidIntObject(o, "set_side", side, &image.Object) log.Println(" Function successfully completed.") } @@ -25140,14 +16385,7 @@ func (o *CubeMap) SetSide(side int64, image *Image) { func (o *CubeMap) SetStorage(mode int64) { log.Println("Calling CubeMap.SetStorage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_storage", goArguments, "") - + godotCallVoidInt(o, "set_storage", mode) log.Println(" Function successfully completed.") } @@ -25176,16 +16414,9 @@ func (o *CubeMesh) baseClass() string { func (o *CubeMesh) GetSize() *Vector3 { log.Println("Calling CubeMesh.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25196,16 +16427,9 @@ func (o *CubeMesh) GetSize() *Vector3 { func (o *CubeMesh) GetSubdivideDepth() int64 { log.Println("Calling CubeMesh.GetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_depth", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_depth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25216,16 +16440,9 @@ func (o *CubeMesh) GetSubdivideDepth() int64 { func (o *CubeMesh) GetSubdivideHeight() int64 { log.Println("Calling CubeMesh.GetSubdivideHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25236,16 +16453,9 @@ func (o *CubeMesh) GetSubdivideHeight() int64 { func (o *CubeMesh) GetSubdivideWidth() int64 { log.Println("Calling CubeMesh.GetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25256,14 +16466,7 @@ func (o *CubeMesh) GetSubdivideWidth() int64 { func (o *CubeMesh) SetSize(size *Vector3) { log.Println("Calling CubeMesh.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector3(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -25274,14 +16477,7 @@ func (o *CubeMesh) SetSize(size *Vector3) { func (o *CubeMesh) SetSubdivideDepth(divisions int64) { log.Println("Calling CubeMesh.SetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(divisions) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_depth", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_depth", divisions) log.Println(" Function successfully completed.") } @@ -25292,14 +16488,7 @@ func (o *CubeMesh) SetSubdivideDepth(divisions int64) { func (o *CubeMesh) SetSubdivideHeight(divisions int64) { log.Println("Calling CubeMesh.SetSubdivideHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(divisions) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_height", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_height", divisions) log.Println(" Function successfully completed.") } @@ -25310,14 +16499,7 @@ func (o *CubeMesh) SetSubdivideHeight(divisions int64) { func (o *CubeMesh) SetSubdivideWidth(subdivide int64) { log.Println("Calling CubeMesh.SetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(subdivide) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_width", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_width", subdivide) log.Println(" Function successfully completed.") } @@ -25346,16 +16528,9 @@ func (o *Curve) baseClass() string { func (o *Curve) X_GetData() *Array { log.Println("Calling Curve.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25366,14 +16541,7 @@ func (o *Curve) X_GetData() *Array { func (o *Curve) X_SetData(data *Array) { log.Println("Calling Curve.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidArray(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -25384,21 +16552,9 @@ func (o *Curve) X_SetData(data *Array) { func (o *Curve) AddPoint(position *Vector2, leftTangent float64, rightTangent float64, leftMode int64, rightMode int64) int64 { log.Println("Calling Curve.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(leftTangent) - goArguments[2] = reflect.ValueOf(rightTangent) - goArguments[3] = reflect.ValueOf(leftMode) - goArguments[4] = reflect.ValueOf(rightMode) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_point", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2FloatFloatIntInt(o, "add_point", position, leftTangent, rightTangent, leftMode, rightMode) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25409,13 +16565,7 @@ func (o *Curve) AddPoint(position *Vector2, leftTangent float64, rightTangent fl func (o *Curve) Bake() { log.Println("Calling Curve.Bake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "bake", goArguments, "") - + godotCallVoid(o, "bake") log.Println(" Function successfully completed.") } @@ -25426,13 +16576,7 @@ func (o *Curve) Bake() { func (o *Curve) CleanDupes() { log.Println("Calling Curve.CleanDupes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clean_dupes", goArguments, "") - + godotCallVoid(o, "clean_dupes") log.Println(" Function successfully completed.") } @@ -25443,13 +16587,7 @@ func (o *Curve) CleanDupes() { func (o *Curve) ClearPoints() { log.Println("Calling Curve.ClearPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_points", goArguments, "") - + godotCallVoid(o, "clear_points") log.Println(" Function successfully completed.") } @@ -25460,16 +16598,9 @@ func (o *Curve) ClearPoints() { func (o *Curve) GetBakeResolution() int64 { log.Println("Calling Curve.GetBakeResolution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_resolution", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bake_resolution") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25480,16 +16611,9 @@ func (o *Curve) GetBakeResolution() int64 { func (o *Curve) GetMaxValue() float64 { log.Println("Calling Curve.GetMaxValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_value", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max_value") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25500,16 +16624,9 @@ func (o *Curve) GetMaxValue() float64 { func (o *Curve) GetMinValue() float64 { log.Println("Calling Curve.GetMinValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_min_value", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_min_value") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25520,17 +16637,9 @@ func (o *Curve) GetMinValue() float64 { func (o *Curve) GetPointLeftMode(index int64) int64 { log.Println("Calling Curve.GetPointLeftMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_left_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_point_left_mode", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25541,17 +16650,9 @@ func (o *Curve) GetPointLeftMode(index int64) int64 { func (o *Curve) GetPointLeftTangent(index int64) float64 { log.Println("Calling Curve.GetPointLeftTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_left_tangent", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_point_left_tangent", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25562,17 +16663,9 @@ func (o *Curve) GetPointLeftTangent(index int64) float64 { func (o *Curve) GetPointPosition(index int64) *Vector2 { log.Println("Calling Curve.GetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_point_position", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25583,17 +16676,9 @@ func (o *Curve) GetPointPosition(index int64) *Vector2 { func (o *Curve) GetPointRightMode(index int64) int64 { log.Println("Calling Curve.GetPointRightMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_right_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_point_right_mode", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25604,17 +16689,9 @@ func (o *Curve) GetPointRightMode(index int64) int64 { func (o *Curve) GetPointRightTangent(index int64) float64 { log.Println("Calling Curve.GetPointRightTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_right_tangent", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_point_right_tangent", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25625,17 +16702,9 @@ func (o *Curve) GetPointRightTangent(index int64) float64 { func (o *Curve) Interpolate(offset float64) float64 { log.Println("Calling Curve.Interpolate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatFloat(o, "interpolate", offset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25646,17 +16715,9 @@ func (o *Curve) Interpolate(offset float64) float64 { func (o *Curve) InterpolateBaked(offset float64) float64 { log.Println("Calling Curve.InterpolateBaked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_baked", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatFloat(o, "interpolate_baked", offset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25667,14 +16728,7 @@ func (o *Curve) InterpolateBaked(offset float64) float64 { func (o *Curve) RemovePoint(index int64) { log.Println("Calling Curve.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", index) log.Println(" Function successfully completed.") } @@ -25685,14 +16739,7 @@ func (o *Curve) RemovePoint(index int64) { func (o *Curve) SetBakeResolution(resolution int64) { log.Println("Calling Curve.SetBakeResolution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resolution) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_resolution", goArguments, "") - + godotCallVoidInt(o, "set_bake_resolution", resolution) log.Println(" Function successfully completed.") } @@ -25703,14 +16750,7 @@ func (o *Curve) SetBakeResolution(resolution int64) { func (o *Curve) SetMaxValue(max float64) { log.Println("Calling Curve.SetMaxValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_value", goArguments, "") - + godotCallVoidFloat(o, "set_max_value", max) log.Println(" Function successfully completed.") } @@ -25721,14 +16761,7 @@ func (o *Curve) SetMaxValue(max float64) { func (o *Curve) SetMinValue(min float64) { log.Println("Calling Curve.SetMinValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(min) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_min_value", goArguments, "") - + godotCallVoidFloat(o, "set_min_value", min) log.Println(" Function successfully completed.") } @@ -25739,15 +16772,7 @@ func (o *Curve) SetMinValue(min float64) { func (o *Curve) SetPointLeftMode(index int64, mode int64) { log.Println("Calling Curve.SetPointLeftMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_left_mode", goArguments, "") - + godotCallVoidIntInt(o, "set_point_left_mode", index, mode) log.Println(" Function successfully completed.") } @@ -25758,15 +16783,7 @@ func (o *Curve) SetPointLeftMode(index int64, mode int64) { func (o *Curve) SetPointLeftTangent(index int64, tangent float64) { log.Println("Calling Curve.SetPointLeftTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(tangent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_left_tangent", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_left_tangent", index, tangent) log.Println(" Function successfully completed.") } @@ -25777,18 +16794,9 @@ func (o *Curve) SetPointLeftTangent(index int64, tangent float64) { func (o *Curve) SetPointOffset(index int64, offset float64) int64 { log.Println("Calling Curve.SetPointOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(offset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "set_point_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntFloat(o, "set_point_offset", index, offset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25799,15 +16807,7 @@ func (o *Curve) SetPointOffset(index int64, offset float64) int64 { func (o *Curve) SetPointRightMode(index int64, mode int64) { log.Println("Calling Curve.SetPointRightMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_right_mode", goArguments, "") - + godotCallVoidIntInt(o, "set_point_right_mode", index, mode) log.Println(" Function successfully completed.") } @@ -25818,15 +16818,7 @@ func (o *Curve) SetPointRightMode(index int64, mode int64) { func (o *Curve) SetPointRightTangent(index int64, tangent float64) { log.Println("Calling Curve.SetPointRightTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(tangent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_right_tangent", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_right_tangent", index, tangent) log.Println(" Function successfully completed.") } @@ -25837,15 +16829,7 @@ func (o *Curve) SetPointRightTangent(index int64, tangent float64) { func (o *Curve) SetPointValue(index int64, y float64) { log.Println("Calling Curve.SetPointValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_value", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_value", index, y) log.Println(" Function successfully completed.") } @@ -25874,16 +16858,9 @@ func (o *Curve2D) baseClass() string { func (o *Curve2D) X_GetData() *Dictionary { log.Println("Calling Curve2D.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25894,14 +16871,7 @@ func (o *Curve2D) X_GetData() *Dictionary { func (o *Curve2D) X_SetData(arg0 *Dictionary) { log.Println("Calling Curve2D.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", arg0) log.Println(" Function successfully completed.") } @@ -25912,17 +16882,7 @@ func (o *Curve2D) X_SetData(arg0 *Dictionary) { func (o *Curve2D) AddPoint(position *Vector2, in *Vector2, out *Vector2, atPosition int64) { log.Println("Calling Curve2D.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(in) - goArguments[2] = reflect.ValueOf(out) - goArguments[3] = reflect.ValueOf(atPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_point", goArguments, "") - + godotCallVoidVector2Vector2Vector2Int(o, "add_point", position, in, out, atPosition) log.Println(" Function successfully completed.") } @@ -25933,13 +16893,7 @@ func (o *Curve2D) AddPoint(position *Vector2, in *Vector2, out *Vector2, atPosit func (o *Curve2D) ClearPoints() { log.Println("Calling Curve2D.ClearPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_points", goArguments, "") - + godotCallVoid(o, "clear_points") log.Println(" Function successfully completed.") } @@ -25950,16 +16904,9 @@ func (o *Curve2D) ClearPoints() { func (o *Curve2D) GetBakeInterval() float64 { log.Println("Calling Curve2D.GetBakeInterval()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_interval", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bake_interval") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25970,16 +16917,9 @@ func (o *Curve2D) GetBakeInterval() float64 { func (o *Curve2D) GetBakedLength() float64 { log.Println("Calling Curve2D.GetBakedLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_baked_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_baked_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -25990,16 +16930,9 @@ func (o *Curve2D) GetBakedLength() float64 { func (o *Curve2D) GetBakedPoints() *PoolVector2Array { log.Println("Calling Curve2D.GetBakedPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_baked_points", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_baked_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26010,16 +16943,9 @@ func (o *Curve2D) GetBakedPoints() *PoolVector2Array { func (o *Curve2D) GetPointCount() int64 { log.Println("Calling Curve2D.GetPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_point_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26030,17 +16956,9 @@ func (o *Curve2D) GetPointCount() int64 { func (o *Curve2D) GetPointIn(idx int64) *Vector2 { log.Println("Calling Curve2D.GetPointIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_in", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_point_in", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26051,17 +16969,9 @@ func (o *Curve2D) GetPointIn(idx int64) *Vector2 { func (o *Curve2D) GetPointOut(idx int64) *Vector2 { log.Println("Calling Curve2D.GetPointOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_out", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_point_out", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26072,17 +16982,9 @@ func (o *Curve2D) GetPointOut(idx int64) *Vector2 { func (o *Curve2D) GetPointPosition(idx int64) *Vector2 { log.Println("Calling Curve2D.GetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_point_position", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26093,18 +16995,9 @@ func (o *Curve2D) GetPointPosition(idx int64) *Vector2 { func (o *Curve2D) Interpolate(idx int64, t float64) *Vector2 { log.Println("Calling Curve2D.Interpolate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(t) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2IntFloat(o, "interpolate", idx, t) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26115,18 +17008,9 @@ func (o *Curve2D) Interpolate(idx int64, t float64) *Vector2 { func (o *Curve2D) InterpolateBaked(offset float64, cubic bool) *Vector2 { log.Println("Calling Curve2D.InterpolateBaked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(offset) - goArguments[1] = reflect.ValueOf(cubic) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_baked", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2FloatBool(o, "interpolate_baked", offset, cubic) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26137,17 +17021,9 @@ func (o *Curve2D) InterpolateBaked(offset float64, cubic bool) *Vector2 { func (o *Curve2D) Interpolatef(fofs float64) *Vector2 { log.Println("Calling Curve2D.Interpolatef()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fofs) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolatef", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Float(o, "interpolatef", fofs) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26158,14 +17034,7 @@ func (o *Curve2D) Interpolatef(fofs float64) *Vector2 { func (o *Curve2D) RemovePoint(idx int64) { log.Println("Calling Curve2D.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", idx) log.Println(" Function successfully completed.") } @@ -26176,14 +17045,7 @@ func (o *Curve2D) RemovePoint(idx int64) { func (o *Curve2D) SetBakeInterval(distance float64) { log.Println("Calling Curve2D.SetBakeInterval()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_interval", goArguments, "") - + godotCallVoidFloat(o, "set_bake_interval", distance) log.Println(" Function successfully completed.") } @@ -26194,15 +17056,7 @@ func (o *Curve2D) SetBakeInterval(distance float64) { func (o *Curve2D) SetPointIn(idx int64, position *Vector2) { log.Println("Calling Curve2D.SetPointIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_in", goArguments, "") - + godotCallVoidIntVector2(o, "set_point_in", idx, position) log.Println(" Function successfully completed.") } @@ -26213,15 +17067,7 @@ func (o *Curve2D) SetPointIn(idx int64, position *Vector2) { func (o *Curve2D) SetPointOut(idx int64, position *Vector2) { log.Println("Calling Curve2D.SetPointOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_out", goArguments, "") - + godotCallVoidIntVector2(o, "set_point_out", idx, position) log.Println(" Function successfully completed.") } @@ -26232,15 +17078,7 @@ func (o *Curve2D) SetPointOut(idx int64, position *Vector2) { func (o *Curve2D) SetPointPosition(idx int64, position *Vector2) { log.Println("Calling Curve2D.SetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_position", goArguments, "") - + godotCallVoidIntVector2(o, "set_point_position", idx, position) log.Println(" Function successfully completed.") } @@ -26251,18 +17089,9 @@ func (o *Curve2D) SetPointPosition(idx int64, position *Vector2) { func (o *Curve2D) Tessellate(maxStages int64, toleranceDegrees float64) *PoolVector2Array { log.Println("Calling Curve2D.Tessellate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(maxStages) - goArguments[1] = reflect.ValueOf(toleranceDegrees) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tessellate", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2ArrayIntFloat(o, "tessellate", maxStages, toleranceDegrees) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26291,16 +17120,9 @@ func (o *Curve3D) baseClass() string { func (o *Curve3D) X_GetData() *Dictionary { log.Println("Calling Curve3D.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26311,14 +17133,7 @@ func (o *Curve3D) X_GetData() *Dictionary { func (o *Curve3D) X_SetData(arg0 *Dictionary) { log.Println("Calling Curve3D.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", arg0) log.Println(" Function successfully completed.") } @@ -26329,17 +17144,7 @@ func (o *Curve3D) X_SetData(arg0 *Dictionary) { func (o *Curve3D) AddPoint(position *Vector3, in *Vector3, out *Vector3, atPosition int64) { log.Println("Calling Curve3D.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(in) - goArguments[2] = reflect.ValueOf(out) - goArguments[3] = reflect.ValueOf(atPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_point", goArguments, "") - + godotCallVoidVector3Vector3Vector3Int(o, "add_point", position, in, out, atPosition) log.Println(" Function successfully completed.") } @@ -26350,13 +17155,7 @@ func (o *Curve3D) AddPoint(position *Vector3, in *Vector3, out *Vector3, atPosit func (o *Curve3D) ClearPoints() { log.Println("Calling Curve3D.ClearPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_points", goArguments, "") - + godotCallVoid(o, "clear_points") log.Println(" Function successfully completed.") } @@ -26367,16 +17166,9 @@ func (o *Curve3D) ClearPoints() { func (o *Curve3D) GetBakeInterval() float64 { log.Println("Calling Curve3D.GetBakeInterval()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_interval", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bake_interval") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26387,16 +17179,9 @@ func (o *Curve3D) GetBakeInterval() float64 { func (o *Curve3D) GetBakedLength() float64 { log.Println("Calling Curve3D.GetBakedLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_baked_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_baked_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26407,16 +17192,9 @@ func (o *Curve3D) GetBakedLength() float64 { func (o *Curve3D) GetBakedPoints() *PoolVector3Array { log.Println("Calling Curve3D.GetBakedPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_baked_points", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "get_baked_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26427,16 +17205,9 @@ func (o *Curve3D) GetBakedPoints() *PoolVector3Array { func (o *Curve3D) GetBakedTilts() *PoolRealArray { log.Println("Calling Curve3D.GetBakedTilts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_baked_tilts", goArguments, "*PoolRealArray") - - returnValue := goRet.Interface().(*PoolRealArray) - + returnValue := godotCallPoolRealArray(o, "get_baked_tilts") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26447,16 +17218,9 @@ func (o *Curve3D) GetBakedTilts() *PoolRealArray { func (o *Curve3D) GetPointCount() int64 { log.Println("Calling Curve3D.GetPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_point_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26467,17 +17231,9 @@ func (o *Curve3D) GetPointCount() int64 { func (o *Curve3D) GetPointIn(idx int64) *Vector3 { log.Println("Calling Curve3D.GetPointIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_in", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_point_in", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26488,17 +17244,9 @@ func (o *Curve3D) GetPointIn(idx int64) *Vector3 { func (o *Curve3D) GetPointOut(idx int64) *Vector3 { log.Println("Calling Curve3D.GetPointOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_out", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_point_out", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26509,17 +17257,9 @@ func (o *Curve3D) GetPointOut(idx int64) *Vector3 { func (o *Curve3D) GetPointPosition(idx int64) *Vector3 { log.Println("Calling Curve3D.GetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_point_position", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26530,17 +17270,9 @@ func (o *Curve3D) GetPointPosition(idx int64) *Vector3 { func (o *Curve3D) GetPointTilt(idx int64) float64 { log.Println("Calling Curve3D.GetPointTilt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_tilt", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_point_tilt", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26551,18 +17283,9 @@ func (o *Curve3D) GetPointTilt(idx int64) float64 { func (o *Curve3D) Interpolate(idx int64, t float64) *Vector3 { log.Println("Calling Curve3D.Interpolate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(t) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3IntFloat(o, "interpolate", idx, t) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26573,18 +17296,9 @@ func (o *Curve3D) Interpolate(idx int64, t float64) *Vector3 { func (o *Curve3D) InterpolateBaked(offset float64, cubic bool) *Vector3 { log.Println("Calling Curve3D.InterpolateBaked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(offset) - goArguments[1] = reflect.ValueOf(cubic) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_baked", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3FloatBool(o, "interpolate_baked", offset, cubic) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26595,17 +17309,9 @@ func (o *Curve3D) InterpolateBaked(offset float64, cubic bool) *Vector3 { func (o *Curve3D) Interpolatef(fofs float64) *Vector3 { log.Println("Calling Curve3D.Interpolatef()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fofs) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolatef", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Float(o, "interpolatef", fofs) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26616,14 +17322,7 @@ func (o *Curve3D) Interpolatef(fofs float64) *Vector3 { func (o *Curve3D) RemovePoint(idx int64) { log.Println("Calling Curve3D.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", idx) log.Println(" Function successfully completed.") } @@ -26634,14 +17333,7 @@ func (o *Curve3D) RemovePoint(idx int64) { func (o *Curve3D) SetBakeInterval(distance float64) { log.Println("Calling Curve3D.SetBakeInterval()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_interval", goArguments, "") - + godotCallVoidFloat(o, "set_bake_interval", distance) log.Println(" Function successfully completed.") } @@ -26652,15 +17344,7 @@ func (o *Curve3D) SetBakeInterval(distance float64) { func (o *Curve3D) SetPointIn(idx int64, position *Vector3) { log.Println("Calling Curve3D.SetPointIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_in", goArguments, "") - + godotCallVoidIntVector3(o, "set_point_in", idx, position) log.Println(" Function successfully completed.") } @@ -26671,15 +17355,7 @@ func (o *Curve3D) SetPointIn(idx int64, position *Vector3) { func (o *Curve3D) SetPointOut(idx int64, position *Vector3) { log.Println("Calling Curve3D.SetPointOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_out", goArguments, "") - + godotCallVoidIntVector3(o, "set_point_out", idx, position) log.Println(" Function successfully completed.") } @@ -26690,15 +17366,7 @@ func (o *Curve3D) SetPointOut(idx int64, position *Vector3) { func (o *Curve3D) SetPointPosition(idx int64, position *Vector3) { log.Println("Calling Curve3D.SetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_position", goArguments, "") - + godotCallVoidIntVector3(o, "set_point_position", idx, position) log.Println(" Function successfully completed.") } @@ -26709,15 +17377,7 @@ func (o *Curve3D) SetPointPosition(idx int64, position *Vector3) { func (o *Curve3D) SetPointTilt(idx int64, tilt float64) { log.Println("Calling Curve3D.SetPointTilt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(tilt) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_tilt", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_tilt", idx, tilt) log.Println(" Function successfully completed.") } @@ -26728,18 +17388,9 @@ func (o *Curve3D) SetPointTilt(idx int64, tilt float64) { func (o *Curve3D) Tessellate(maxStages int64, toleranceDegrees float64) *PoolVector3Array { log.Println("Calling Curve3D.Tessellate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(maxStages) - goArguments[1] = reflect.ValueOf(toleranceDegrees) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tessellate", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3ArrayIntFloat(o, "tessellate", maxStages, toleranceDegrees) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26768,13 +17419,7 @@ func (o *CurveTexture) baseClass() string { func (o *CurveTexture) X_Update() { log.Println("Calling CurveTexture.X_Update()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update", goArguments, "") - + godotCallVoid(o, "_update") log.Println(" Function successfully completed.") } @@ -26785,17 +17430,12 @@ func (o *CurveTexture) X_Update() { func (o *CurveTexture) GetCurve() *Curve { log.Println("Calling CurveTexture.GetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_curve", goArguments, "*Curve") - - returnValue := goRet.Interface().(*Curve) - + returnValue := godotCallObject(o, "get_curve") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Curve + ret.owner = returnValue.owner + return &ret } @@ -26805,14 +17445,7 @@ func (o *CurveTexture) GetCurve() *Curve { func (o *CurveTexture) SetCurve(curve *Curve) { log.Println("Calling CurveTexture.SetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_curve", goArguments, "") - + godotCallVoidObject(o, "set_curve", &curve.Object) log.Println(" Function successfully completed.") } @@ -26823,14 +17456,7 @@ func (o *CurveTexture) SetCurve(curve *Curve) { func (o *CurveTexture) SetWidth(width int64) { log.Println("Calling CurveTexture.SetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_width", goArguments, "") - + godotCallVoidInt(o, "set_width", width) log.Println(" Function successfully completed.") } @@ -26859,16 +17485,9 @@ func (o *CylinderMesh) baseClass() string { func (o *CylinderMesh) GetBottomRadius() float64 { log.Println("Calling CylinderMesh.GetBottomRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bottom_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bottom_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26879,16 +17498,9 @@ func (o *CylinderMesh) GetBottomRadius() float64 { func (o *CylinderMesh) GetHeight() float64 { log.Println("Calling CylinderMesh.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26899,16 +17511,9 @@ func (o *CylinderMesh) GetHeight() float64 { func (o *CylinderMesh) GetRadialSegments() int64 { log.Println("Calling CylinderMesh.GetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radial_segments", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_radial_segments") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26919,16 +17524,9 @@ func (o *CylinderMesh) GetRadialSegments() int64 { func (o *CylinderMesh) GetRings() int64 { log.Println("Calling CylinderMesh.GetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rings", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rings") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26939,16 +17537,9 @@ func (o *CylinderMesh) GetRings() int64 { func (o *CylinderMesh) GetTopRadius() float64 { log.Println("Calling CylinderMesh.GetTopRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_top_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_top_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -26959,14 +17550,7 @@ func (o *CylinderMesh) GetTopRadius() float64 { func (o *CylinderMesh) SetBottomRadius(radius float64) { log.Println("Calling CylinderMesh.SetBottomRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bottom_radius", goArguments, "") - + godotCallVoidFloat(o, "set_bottom_radius", radius) log.Println(" Function successfully completed.") } @@ -26977,14 +17561,7 @@ func (o *CylinderMesh) SetBottomRadius(radius float64) { func (o *CylinderMesh) SetHeight(height float64) { log.Println("Calling CylinderMesh.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", height) log.Println(" Function successfully completed.") } @@ -26995,14 +17572,7 @@ func (o *CylinderMesh) SetHeight(height float64) { func (o *CylinderMesh) SetRadialSegments(segments int64) { log.Println("Calling CylinderMesh.SetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radial_segments", goArguments, "") - + godotCallVoidInt(o, "set_radial_segments", segments) log.Println(" Function successfully completed.") } @@ -27013,14 +17583,7 @@ func (o *CylinderMesh) SetRadialSegments(segments int64) { func (o *CylinderMesh) SetRings(rings int64) { log.Println("Calling CylinderMesh.SetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rings) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rings", goArguments, "") - + godotCallVoidInt(o, "set_rings", rings) log.Println(" Function successfully completed.") } @@ -27031,14 +17594,7 @@ func (o *CylinderMesh) SetRings(rings int64) { func (o *CylinderMesh) SetTopRadius(radius float64) { log.Println("Calling CylinderMesh.SetTopRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_top_radius", goArguments, "") - + godotCallVoidFloat(o, "set_top_radius", radius) log.Println(" Function successfully completed.") } @@ -27067,16 +17623,9 @@ func (o *DampedSpringJoint2D) baseClass() string { func (o *DampedSpringJoint2D) GetDamping() float64 { log.Println("Calling DampedSpringJoint2D.GetDamping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_damping", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_damping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27087,16 +17636,9 @@ func (o *DampedSpringJoint2D) GetDamping() float64 { func (o *DampedSpringJoint2D) GetLength() float64 { log.Println("Calling DampedSpringJoint2D.GetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27107,16 +17649,9 @@ func (o *DampedSpringJoint2D) GetLength() float64 { func (o *DampedSpringJoint2D) GetRestLength() float64 { log.Println("Calling DampedSpringJoint2D.GetRestLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rest_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rest_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27127,16 +17662,9 @@ func (o *DampedSpringJoint2D) GetRestLength() float64 { func (o *DampedSpringJoint2D) GetStiffness() float64 { log.Println("Calling DampedSpringJoint2D.GetStiffness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stiffness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_stiffness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27147,14 +17675,7 @@ func (o *DampedSpringJoint2D) GetStiffness() float64 { func (o *DampedSpringJoint2D) SetDamping(damping float64) { log.Println("Calling DampedSpringJoint2D.SetDamping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(damping) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_damping", goArguments, "") - + godotCallVoidFloat(o, "set_damping", damping) log.Println(" Function successfully completed.") } @@ -27165,14 +17686,7 @@ func (o *DampedSpringJoint2D) SetDamping(damping float64) { func (o *DampedSpringJoint2D) SetLength(length float64) { log.Println("Calling DampedSpringJoint2D.SetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_length", goArguments, "") - + godotCallVoidFloat(o, "set_length", length) log.Println(" Function successfully completed.") } @@ -27183,14 +17697,7 @@ func (o *DampedSpringJoint2D) SetLength(length float64) { func (o *DampedSpringJoint2D) SetRestLength(restLength float64) { log.Println("Calling DampedSpringJoint2D.SetRestLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(restLength) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rest_length", goArguments, "") - + godotCallVoidFloat(o, "set_rest_length", restLength) log.Println(" Function successfully completed.") } @@ -27201,14 +17708,7 @@ func (o *DampedSpringJoint2D) SetRestLength(restLength float64) { func (o *DampedSpringJoint2D) SetStiffness(stiffness float64) { log.Println("Calling DampedSpringJoint2D.SetStiffness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stiffness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stiffness", goArguments, "") - + godotCallVoidFloat(o, "set_stiffness", stiffness) log.Println(" Function successfully completed.") } @@ -27237,16 +17737,9 @@ func (o *DirectionalLight) baseClass() string { func (o *DirectionalLight) GetShadowDepthRange() int64 { log.Println("Calling DirectionalLight.GetShadowDepthRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_depth_range", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_depth_range") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27257,16 +17750,9 @@ func (o *DirectionalLight) GetShadowDepthRange() int64 { func (o *DirectionalLight) GetShadowMode() int64 { log.Println("Calling DirectionalLight.GetShadowMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27277,16 +17763,9 @@ func (o *DirectionalLight) GetShadowMode() int64 { func (o *DirectionalLight) IsBlendSplitsEnabled() bool { log.Println("Calling DirectionalLight.IsBlendSplitsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_blend_splits_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_blend_splits_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27297,14 +17776,7 @@ func (o *DirectionalLight) IsBlendSplitsEnabled() bool { func (o *DirectionalLight) SetBlendSplits(enabled bool) { log.Println("Calling DirectionalLight.SetBlendSplits()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blend_splits", goArguments, "") - + godotCallVoidBool(o, "set_blend_splits", enabled) log.Println(" Function successfully completed.") } @@ -27315,14 +17787,7 @@ func (o *DirectionalLight) SetBlendSplits(enabled bool) { func (o *DirectionalLight) SetShadowDepthRange(mode int64) { log.Println("Calling DirectionalLight.SetShadowDepthRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_depth_range", goArguments, "") - + godotCallVoidInt(o, "set_shadow_depth_range", mode) log.Println(" Function successfully completed.") } @@ -27333,14 +17798,7 @@ func (o *DirectionalLight) SetShadowDepthRange(mode int64) { func (o *DirectionalLight) SetShadowMode(mode int64) { log.Println("Calling DirectionalLight.SetShadowMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_mode", goArguments, "") - + godotCallVoidInt(o, "set_shadow_mode", mode) log.Println(" Function successfully completed.") } @@ -27369,14 +17827,7 @@ func (o *DynamicFont) baseClass() string { func (o *DynamicFont) AddFallback(data *DynamicFontData) { log.Println("Calling DynamicFont.AddFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_fallback", goArguments, "") - + godotCallVoidObject(o, "add_fallback", &data.Object) log.Println(" Function successfully completed.") } @@ -27387,18 +17838,12 @@ func (o *DynamicFont) AddFallback(data *DynamicFontData) { func (o *DynamicFont) GetFallback(idx int64) *DynamicFontData { log.Println("Calling DynamicFont.GetFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fallback", goArguments, "*DynamicFontData") - - returnValue := goRet.Interface().(*DynamicFontData) - + returnValue := godotCallObjectInt(o, "get_fallback", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret DynamicFontData + ret.owner = returnValue.owner + return &ret } @@ -27408,16 +17853,9 @@ func (o *DynamicFont) GetFallback(idx int64) *DynamicFontData { func (o *DynamicFont) GetFallbackCount() int64 { log.Println("Calling DynamicFont.GetFallbackCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fallback_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_fallback_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27428,17 +17866,12 @@ func (o *DynamicFont) GetFallbackCount() int64 { func (o *DynamicFont) GetFontData() *DynamicFontData { log.Println("Calling DynamicFont.GetFontData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_font_data", goArguments, "*DynamicFontData") - - returnValue := goRet.Interface().(*DynamicFontData) - + returnValue := godotCallObject(o, "get_font_data") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret DynamicFontData + ret.owner = returnValue.owner + return &ret } @@ -27448,16 +17881,9 @@ func (o *DynamicFont) GetFontData() *DynamicFontData { func (o *DynamicFont) GetSize() int64 { log.Println("Calling DynamicFont.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27468,17 +17894,9 @@ func (o *DynamicFont) GetSize() int64 { func (o *DynamicFont) GetSpacing(aType int64) int64 { log.Println("Calling DynamicFont.GetSpacing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_spacing", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_spacing", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27489,16 +17907,9 @@ func (o *DynamicFont) GetSpacing(aType int64) int64 { func (o *DynamicFont) GetUseFilter() bool { log.Println("Calling DynamicFont.GetUseFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_filter", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_filter") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27509,16 +17920,9 @@ func (o *DynamicFont) GetUseFilter() bool { func (o *DynamicFont) GetUseMipmaps() bool { log.Println("Calling DynamicFont.GetUseMipmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_mipmaps", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_mipmaps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27529,14 +17933,7 @@ func (o *DynamicFont) GetUseMipmaps() bool { func (o *DynamicFont) RemoveFallback(idx int64) { log.Println("Calling DynamicFont.RemoveFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_fallback", goArguments, "") - + godotCallVoidInt(o, "remove_fallback", idx) log.Println(" Function successfully completed.") } @@ -27547,15 +17944,7 @@ func (o *DynamicFont) RemoveFallback(idx int64) { func (o *DynamicFont) SetFallback(idx int64, data *DynamicFontData) { log.Println("Calling DynamicFont.SetFallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fallback", goArguments, "") - + godotCallVoidIntObject(o, "set_fallback", idx, &data.Object) log.Println(" Function successfully completed.") } @@ -27566,14 +17955,7 @@ func (o *DynamicFont) SetFallback(idx int64, data *DynamicFontData) { func (o *DynamicFont) SetFontData(data *DynamicFontData) { log.Println("Calling DynamicFont.SetFontData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_font_data", goArguments, "") - + godotCallVoidObject(o, "set_font_data", &data.Object) log.Println(" Function successfully completed.") } @@ -27584,14 +17966,7 @@ func (o *DynamicFont) SetFontData(data *DynamicFontData) { func (o *DynamicFont) SetSize(data int64) { log.Println("Calling DynamicFont.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidInt(o, "set_size", data) log.Println(" Function successfully completed.") } @@ -27602,15 +17977,7 @@ func (o *DynamicFont) SetSize(data int64) { func (o *DynamicFont) SetSpacing(aType int64, value int64) { log.Println("Calling DynamicFont.SetSpacing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(aType) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_spacing", goArguments, "") - + godotCallVoidIntInt(o, "set_spacing", aType, value) log.Println(" Function successfully completed.") } @@ -27621,14 +17988,7 @@ func (o *DynamicFont) SetSpacing(aType int64, value int64) { func (o *DynamicFont) SetUseFilter(enable bool) { log.Println("Calling DynamicFont.SetUseFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_filter", goArguments, "") - + godotCallVoidBool(o, "set_use_filter", enable) log.Println(" Function successfully completed.") } @@ -27639,14 +17999,7 @@ func (o *DynamicFont) SetUseFilter(enable bool) { func (o *DynamicFont) SetUseMipmaps(enable bool) { log.Println("Calling DynamicFont.SetUseMipmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_mipmaps", goArguments, "") - + godotCallVoidBool(o, "set_use_mipmaps", enable) log.Println(" Function successfully completed.") } @@ -27675,16 +18028,9 @@ func (o *DynamicFontData) baseClass() string { func (o *DynamicFontData) GetFontPath() string { log.Println("Calling DynamicFontData.GetFontPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_font_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_font_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -27695,14 +18041,7 @@ func (o *DynamicFontData) GetFontPath() string { func (o *DynamicFontData) SetFontPath(path string) { log.Println("Calling DynamicFontData.SetFontPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_font_path", goArguments, "") - + godotCallVoidString(o, "set_font_path", path) log.Println(" Function successfully completed.") } @@ -27731,17 +18070,7 @@ func (o *EditorExportPlugin) baseClass() string { func (o *EditorExportPlugin) X_ExportBegin(features *PoolStringArray, isDebug bool, path string, flags int64) { log.Println("Calling EditorExportPlugin.X_ExportBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(features) - goArguments[1] = reflect.ValueOf(isDebug) - goArguments[2] = reflect.ValueOf(path) - goArguments[3] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_export_begin", goArguments, "") - + godotCallVoidPoolStringArrayBoolStringInt(o, "_export_begin", features, isDebug, path, flags) log.Println(" Function successfully completed.") } @@ -27752,16 +18081,7 @@ func (o *EditorExportPlugin) X_ExportBegin(features *PoolStringArray, isDebug bo func (o *EditorExportPlugin) X_ExportFile(path string, aType string, features *PoolStringArray) { log.Println("Calling EditorExportPlugin.X_ExportFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(features) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_export_file", goArguments, "") - + godotCallVoidStringStringPoolStringArray(o, "_export_file", path, aType, features) log.Println(" Function successfully completed.") } @@ -27772,16 +18092,7 @@ func (o *EditorExportPlugin) X_ExportFile(path string, aType string, features *P func (o *EditorExportPlugin) AddFile(path string, file *PoolByteArray, remap bool) { log.Println("Calling EditorExportPlugin.AddFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(file) - goArguments[2] = reflect.ValueOf(remap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_file", goArguments, "") - + godotCallVoidStringPoolByteArrayBool(o, "add_file", path, file, remap) log.Println(" Function successfully completed.") } @@ -27792,14 +18103,7 @@ func (o *EditorExportPlugin) AddFile(path string, file *PoolByteArray, remap boo func (o *EditorExportPlugin) AddIosBundleFile(path string) { log.Println("Calling EditorExportPlugin.AddIosBundleFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_ios_bundle_file", goArguments, "") - + godotCallVoidString(o, "add_ios_bundle_file", path) log.Println(" Function successfully completed.") } @@ -27810,14 +18114,7 @@ func (o *EditorExportPlugin) AddIosBundleFile(path string) { func (o *EditorExportPlugin) AddIosCppCode(code string) { log.Println("Calling EditorExportPlugin.AddIosCppCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(code) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_ios_cpp_code", goArguments, "") - + godotCallVoidString(o, "add_ios_cpp_code", code) log.Println(" Function successfully completed.") } @@ -27828,14 +18125,7 @@ func (o *EditorExportPlugin) AddIosCppCode(code string) { func (o *EditorExportPlugin) AddIosFramework(path string) { log.Println("Calling EditorExportPlugin.AddIosFramework()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_ios_framework", goArguments, "") - + godotCallVoidString(o, "add_ios_framework", path) log.Println(" Function successfully completed.") } @@ -27846,14 +18136,7 @@ func (o *EditorExportPlugin) AddIosFramework(path string) { func (o *EditorExportPlugin) AddIosLinkerFlags(flags string) { log.Println("Calling EditorExportPlugin.AddIosLinkerFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_ios_linker_flags", goArguments, "") - + godotCallVoidString(o, "add_ios_linker_flags", flags) log.Println(" Function successfully completed.") } @@ -27864,14 +18147,7 @@ func (o *EditorExportPlugin) AddIosLinkerFlags(flags string) { func (o *EditorExportPlugin) AddIosPlistContent(plistContent string) { log.Println("Calling EditorExportPlugin.AddIosPlistContent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(plistContent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_ios_plist_content", goArguments, "") - + godotCallVoidString(o, "add_ios_plist_content", plistContent) log.Println(" Function successfully completed.") } @@ -27882,15 +18158,7 @@ func (o *EditorExportPlugin) AddIosPlistContent(plistContent string) { func (o *EditorExportPlugin) AddSharedObject(path string, tags *PoolStringArray) { log.Println("Calling EditorExportPlugin.AddSharedObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(tags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_shared_object", goArguments, "") - + godotCallVoidStringPoolStringArray(o, "add_shared_object", path, tags) log.Println(" Function successfully completed.") } @@ -27901,13 +18169,7 @@ func (o *EditorExportPlugin) AddSharedObject(path string, tags *PoolStringArray) func (o *EditorExportPlugin) Skip() { log.Println("Calling EditorExportPlugin.Skip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "skip", goArguments, "") - + godotCallVoid(o, "skip") log.Println(" Function successfully completed.") } @@ -27936,13 +18198,7 @@ func (o *EditorFileDialog) baseClass() string { func (o *EditorFileDialog) X_ActionPressed() { log.Println("Calling EditorFileDialog.X_ActionPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_action_pressed", goArguments, "") - + godotCallVoid(o, "_action_pressed") log.Println(" Function successfully completed.") } @@ -27953,13 +18209,7 @@ func (o *EditorFileDialog) X_ActionPressed() { func (o *EditorFileDialog) X_CancelPressed() { log.Println("Calling EditorFileDialog.X_CancelPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_cancel_pressed", goArguments, "") - + godotCallVoid(o, "_cancel_pressed") log.Println(" Function successfully completed.") } @@ -27970,14 +18220,7 @@ func (o *EditorFileDialog) X_CancelPressed() { func (o *EditorFileDialog) X_DirEntered(arg0 string) { log.Println("Calling EditorFileDialog.X_DirEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_dir_entered", goArguments, "") - + godotCallVoidString(o, "_dir_entered", arg0) log.Println(" Function successfully completed.") } @@ -27988,13 +18231,7 @@ func (o *EditorFileDialog) X_DirEntered(arg0 string) { func (o *EditorFileDialog) X_FavoriteMoveDown() { log.Println("Calling EditorFileDialog.X_FavoriteMoveDown()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_favorite_move_down", goArguments, "") - + godotCallVoid(o, "_favorite_move_down") log.Println(" Function successfully completed.") } @@ -28005,13 +18242,7 @@ func (o *EditorFileDialog) X_FavoriteMoveDown() { func (o *EditorFileDialog) X_FavoriteMoveUp() { log.Println("Calling EditorFileDialog.X_FavoriteMoveUp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_favorite_move_up", goArguments, "") - + godotCallVoid(o, "_favorite_move_up") log.Println(" Function successfully completed.") } @@ -28022,14 +18253,7 @@ func (o *EditorFileDialog) X_FavoriteMoveUp() { func (o *EditorFileDialog) X_FavoriteSelected(arg0 int64) { log.Println("Calling EditorFileDialog.X_FavoriteSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_favorite_selected", goArguments, "") - + godotCallVoidInt(o, "_favorite_selected", arg0) log.Println(" Function successfully completed.") } @@ -28040,14 +18264,7 @@ func (o *EditorFileDialog) X_FavoriteSelected(arg0 int64) { func (o *EditorFileDialog) X_FavoriteToggled(arg0 bool) { log.Println("Calling EditorFileDialog.X_FavoriteToggled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_favorite_toggled", goArguments, "") - + godotCallVoidBool(o, "_favorite_toggled", arg0) log.Println(" Function successfully completed.") } @@ -28058,14 +18275,7 @@ func (o *EditorFileDialog) X_FavoriteToggled(arg0 bool) { func (o *EditorFileDialog) X_FileEntered(arg0 string) { log.Println("Calling EditorFileDialog.X_FileEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_file_entered", goArguments, "") - + godotCallVoidString(o, "_file_entered", arg0) log.Println(" Function successfully completed.") } @@ -28076,14 +18286,7 @@ func (o *EditorFileDialog) X_FileEntered(arg0 string) { func (o *EditorFileDialog) X_FilterSelected(arg0 int64) { log.Println("Calling EditorFileDialog.X_FilterSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_filter_selected", goArguments, "") - + godotCallVoidInt(o, "_filter_selected", arg0) log.Println(" Function successfully completed.") } @@ -28094,13 +18297,7 @@ func (o *EditorFileDialog) X_FilterSelected(arg0 int64) { func (o *EditorFileDialog) X_GoBack() { log.Println("Calling EditorFileDialog.X_GoBack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_go_back", goArguments, "") - + godotCallVoid(o, "_go_back") log.Println(" Function successfully completed.") } @@ -28111,13 +18308,7 @@ func (o *EditorFileDialog) X_GoBack() { func (o *EditorFileDialog) X_GoForward() { log.Println("Calling EditorFileDialog.X_GoForward()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_go_forward", goArguments, "") - + godotCallVoid(o, "_go_forward") log.Println(" Function successfully completed.") } @@ -28128,13 +18319,7 @@ func (o *EditorFileDialog) X_GoForward() { func (o *EditorFileDialog) X_GoUp() { log.Println("Calling EditorFileDialog.X_GoUp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_go_up", goArguments, "") - + godotCallVoid(o, "_go_up") log.Println(" Function successfully completed.") } @@ -28145,14 +18330,7 @@ func (o *EditorFileDialog) X_GoUp() { func (o *EditorFileDialog) X_ItemDbSelected(arg0 int64) { log.Println("Calling EditorFileDialog.X_ItemDbSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_item_db_selected", goArguments, "") - + godotCallVoidInt(o, "_item_db_selected", arg0) log.Println(" Function successfully completed.") } @@ -28163,15 +18341,7 @@ func (o *EditorFileDialog) X_ItemDbSelected(arg0 int64) { func (o *EditorFileDialog) X_ItemListItemRmbSelected(arg0 int64, arg1 *Vector2) { log.Println("Calling EditorFileDialog.X_ItemListItemRmbSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_item_list_item_rmb_selected", goArguments, "") - + godotCallVoidIntVector2(o, "_item_list_item_rmb_selected", arg0, arg1) log.Println(" Function successfully completed.") } @@ -28182,14 +18352,7 @@ func (o *EditorFileDialog) X_ItemListItemRmbSelected(arg0 int64, arg1 *Vector2) func (o *EditorFileDialog) X_ItemListRmbClicked(arg0 *Vector2) { log.Println("Calling EditorFileDialog.X_ItemListRmbClicked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_item_list_rmb_clicked", goArguments, "") - + godotCallVoidVector2(o, "_item_list_rmb_clicked", arg0) log.Println(" Function successfully completed.") } @@ -28200,14 +18363,7 @@ func (o *EditorFileDialog) X_ItemListRmbClicked(arg0 *Vector2) { func (o *EditorFileDialog) X_ItemMenuIdPressed(arg0 int64) { log.Println("Calling EditorFileDialog.X_ItemMenuIdPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_item_menu_id_pressed", goArguments, "") - + godotCallVoidInt(o, "_item_menu_id_pressed", arg0) log.Println(" Function successfully completed.") } @@ -28218,14 +18374,7 @@ func (o *EditorFileDialog) X_ItemMenuIdPressed(arg0 int64) { func (o *EditorFileDialog) X_ItemSelected(arg0 int64) { log.Println("Calling EditorFileDialog.X_ItemSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_item_selected", goArguments, "") - + godotCallVoidInt(o, "_item_selected", arg0) log.Println(" Function successfully completed.") } @@ -28236,13 +18385,7 @@ func (o *EditorFileDialog) X_ItemSelected(arg0 int64) { func (o *EditorFileDialog) X_ItemsClearSelection() { log.Println("Calling EditorFileDialog.X_ItemsClearSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_items_clear_selection", goArguments, "") - + godotCallVoid(o, "_items_clear_selection") log.Println(" Function successfully completed.") } @@ -28253,13 +18396,7 @@ func (o *EditorFileDialog) X_ItemsClearSelection() { func (o *EditorFileDialog) X_MakeDir() { log.Println("Calling EditorFileDialog.X_MakeDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_make_dir", goArguments, "") - + godotCallVoid(o, "_make_dir") log.Println(" Function successfully completed.") } @@ -28270,13 +18407,7 @@ func (o *EditorFileDialog) X_MakeDir() { func (o *EditorFileDialog) X_MakeDirConfirm() { log.Println("Calling EditorFileDialog.X_MakeDirConfirm()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_make_dir_confirm", goArguments, "") - + godotCallVoid(o, "_make_dir_confirm") log.Println(" Function successfully completed.") } @@ -28287,14 +18418,7 @@ func (o *EditorFileDialog) X_MakeDirConfirm() { func (o *EditorFileDialog) X_RecentSelected(arg0 int64) { log.Println("Calling EditorFileDialog.X_RecentSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_recent_selected", goArguments, "") - + godotCallVoidInt(o, "_recent_selected", arg0) log.Println(" Function successfully completed.") } @@ -28305,13 +18429,7 @@ func (o *EditorFileDialog) X_RecentSelected(arg0 int64) { func (o *EditorFileDialog) X_SaveConfirmPressed() { log.Println("Calling EditorFileDialog.X_SaveConfirmPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_save_confirm_pressed", goArguments, "") - + godotCallVoid(o, "_save_confirm_pressed") log.Println(" Function successfully completed.") } @@ -28322,14 +18440,7 @@ func (o *EditorFileDialog) X_SaveConfirmPressed() { func (o *EditorFileDialog) X_SelectDrive(arg0 int64) { log.Println("Calling EditorFileDialog.X_SelectDrive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_select_drive", goArguments, "") - + godotCallVoidInt(o, "_select_drive", arg0) log.Println(" Function successfully completed.") } @@ -28340,16 +18451,7 @@ func (o *EditorFileDialog) X_SelectDrive(arg0 int64) { func (o *EditorFileDialog) X_ThumbnailDone(arg0 string, arg1 *Texture, arg2 *Variant) { log.Println("Calling EditorFileDialog.X_ThumbnailDone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_thumbnail_done", goArguments, "") - + godotCallVoidStringObjectVariant(o, "_thumbnail_done", arg0, &arg1.Object, arg2) log.Println(" Function successfully completed.") } @@ -28360,16 +18462,7 @@ func (o *EditorFileDialog) X_ThumbnailDone(arg0 string, arg1 *Texture, arg2 *Var func (o *EditorFileDialog) X_ThumbnailResult(arg0 string, arg1 *Texture, arg2 *Variant) { log.Println("Calling EditorFileDialog.X_ThumbnailResult()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_thumbnail_result", goArguments, "") - + godotCallVoidStringObjectVariant(o, "_thumbnail_result", arg0, &arg1.Object, arg2) log.Println(" Function successfully completed.") } @@ -28380,14 +18473,7 @@ func (o *EditorFileDialog) X_ThumbnailResult(arg0 string, arg1 *Texture, arg2 *V func (o *EditorFileDialog) X_UnhandledInput(arg0 *InputEvent) { log.Println("Calling EditorFileDialog.X_UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -28398,13 +18484,7 @@ func (o *EditorFileDialog) X_UnhandledInput(arg0 *InputEvent) { func (o *EditorFileDialog) X_UpdateDir() { log.Println("Calling EditorFileDialog.X_UpdateDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_dir", goArguments, "") - + godotCallVoid(o, "_update_dir") log.Println(" Function successfully completed.") } @@ -28415,13 +18495,7 @@ func (o *EditorFileDialog) X_UpdateDir() { func (o *EditorFileDialog) X_UpdateFileList() { log.Println("Calling EditorFileDialog.X_UpdateFileList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_file_list", goArguments, "") - + godotCallVoid(o, "_update_file_list") log.Println(" Function successfully completed.") } @@ -28432,14 +18506,7 @@ func (o *EditorFileDialog) X_UpdateFileList() { func (o *EditorFileDialog) AddFilter(filter string) { log.Println("Calling EditorFileDialog.AddFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_filter", goArguments, "") - + godotCallVoidString(o, "add_filter", filter) log.Println(" Function successfully completed.") } @@ -28450,13 +18517,7 @@ func (o *EditorFileDialog) AddFilter(filter string) { func (o *EditorFileDialog) ClearFilters() { log.Println("Calling EditorFileDialog.ClearFilters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_filters", goArguments, "") - + godotCallVoid(o, "clear_filters") log.Println(" Function successfully completed.") } @@ -28467,16 +18528,9 @@ func (o *EditorFileDialog) ClearFilters() { func (o *EditorFileDialog) GetAccess() int64 { log.Println("Calling EditorFileDialog.GetAccess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_access", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_access") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28487,16 +18541,9 @@ func (o *EditorFileDialog) GetAccess() int64 { func (o *EditorFileDialog) GetCurrentDir() string { log.Println("Calling EditorFileDialog.GetCurrentDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_dir", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_dir") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28507,16 +18554,9 @@ func (o *EditorFileDialog) GetCurrentDir() string { func (o *EditorFileDialog) GetCurrentFile() string { log.Println("Calling EditorFileDialog.GetCurrentFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_file") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28527,16 +18567,9 @@ func (o *EditorFileDialog) GetCurrentFile() string { func (o *EditorFileDialog) GetCurrentPath() string { log.Println("Calling EditorFileDialog.GetCurrentPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28547,16 +18580,9 @@ func (o *EditorFileDialog) GetCurrentPath() string { func (o *EditorFileDialog) GetDisplayMode() int64 { log.Println("Calling EditorFileDialog.GetDisplayMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_display_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_display_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28567,16 +18593,9 @@ func (o *EditorFileDialog) GetDisplayMode() int64 { func (o *EditorFileDialog) GetMode() int64 { log.Println("Calling EditorFileDialog.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28587,17 +18606,12 @@ func (o *EditorFileDialog) GetMode() int64 { func (o *EditorFileDialog) GetVbox() *VBoxContainer { log.Println("Calling EditorFileDialog.GetVbox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vbox", goArguments, "*VBoxContainer") - - returnValue := goRet.Interface().(*VBoxContainer) - + returnValue := godotCallObject(o, "get_vbox") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VBoxContainer + ret.owner = returnValue.owner + return &ret } @@ -28607,13 +18621,7 @@ func (o *EditorFileDialog) GetVbox() *VBoxContainer { func (o *EditorFileDialog) Invalidate() { log.Println("Calling EditorFileDialog.Invalidate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "invalidate", goArguments, "") - + godotCallVoid(o, "invalidate") log.Println(" Function successfully completed.") } @@ -28624,16 +18632,9 @@ func (o *EditorFileDialog) Invalidate() { func (o *EditorFileDialog) IsOverwriteWarningDisabled() bool { log.Println("Calling EditorFileDialog.IsOverwriteWarningDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_overwrite_warning_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_overwrite_warning_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28644,16 +18645,9 @@ func (o *EditorFileDialog) IsOverwriteWarningDisabled() bool { func (o *EditorFileDialog) IsShowingHiddenFiles() bool { log.Println("Calling EditorFileDialog.IsShowingHiddenFiles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_showing_hidden_files", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_showing_hidden_files") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28664,14 +18658,7 @@ func (o *EditorFileDialog) IsShowingHiddenFiles() bool { func (o *EditorFileDialog) SetAccess(access int64) { log.Println("Calling EditorFileDialog.SetAccess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(access) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_access", goArguments, "") - + godotCallVoidInt(o, "set_access", access) log.Println(" Function successfully completed.") } @@ -28682,14 +18669,7 @@ func (o *EditorFileDialog) SetAccess(access int64) { func (o *EditorFileDialog) SetCurrentDir(dir string) { log.Println("Calling EditorFileDialog.SetCurrentDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dir) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_dir", goArguments, "") - + godotCallVoidString(o, "set_current_dir", dir) log.Println(" Function successfully completed.") } @@ -28700,14 +18680,7 @@ func (o *EditorFileDialog) SetCurrentDir(dir string) { func (o *EditorFileDialog) SetCurrentFile(file string) { log.Println("Calling EditorFileDialog.SetCurrentFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_file", goArguments, "") - + godotCallVoidString(o, "set_current_file", file) log.Println(" Function successfully completed.") } @@ -28718,14 +18691,7 @@ func (o *EditorFileDialog) SetCurrentFile(file string) { func (o *EditorFileDialog) SetCurrentPath(path string) { log.Println("Calling EditorFileDialog.SetCurrentPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_path", goArguments, "") - + godotCallVoidString(o, "set_current_path", path) log.Println(" Function successfully completed.") } @@ -28736,14 +18702,7 @@ func (o *EditorFileDialog) SetCurrentPath(path string) { func (o *EditorFileDialog) SetDisableOverwriteWarning(disable bool) { log.Println("Calling EditorFileDialog.SetDisableOverwriteWarning()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disable_overwrite_warning", goArguments, "") - + godotCallVoidBool(o, "set_disable_overwrite_warning", disable) log.Println(" Function successfully completed.") } @@ -28754,14 +18713,7 @@ func (o *EditorFileDialog) SetDisableOverwriteWarning(disable bool) { func (o *EditorFileDialog) SetDisplayMode(mode int64) { log.Println("Calling EditorFileDialog.SetDisplayMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_display_mode", goArguments, "") - + godotCallVoidInt(o, "set_display_mode", mode) log.Println(" Function successfully completed.") } @@ -28772,14 +18724,7 @@ func (o *EditorFileDialog) SetDisplayMode(mode int64) { func (o *EditorFileDialog) SetMode(mode int64) { log.Println("Calling EditorFileDialog.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -28790,14 +18735,7 @@ func (o *EditorFileDialog) SetMode(mode int64) { func (o *EditorFileDialog) SetShowHiddenFiles(show bool) { log.Println("Calling EditorFileDialog.SetShowHiddenFiles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(show) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_show_hidden_files", goArguments, "") - + godotCallVoidBool(o, "set_show_hidden_files", show) log.Println(" Function successfully completed.") } @@ -28826,17 +18764,9 @@ func (o *EditorFileSystem) baseClass() string { func (o *EditorFileSystem) GetFileType(path string) string { log.Println("Calling EditorFileSystem.GetFileType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "get_file_type", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28847,17 +18777,12 @@ func (o *EditorFileSystem) GetFileType(path string) string { func (o *EditorFileSystem) GetFilesystem() *EditorFileSystemDirectory { log.Println("Calling EditorFileSystem.GetFilesystem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filesystem", goArguments, "*EditorFileSystemDirectory") - - returnValue := goRet.Interface().(*EditorFileSystemDirectory) - + returnValue := godotCallObject(o, "get_filesystem") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorFileSystemDirectory + ret.owner = returnValue.owner + return &ret } @@ -28867,18 +18792,12 @@ func (o *EditorFileSystem) GetFilesystem() *EditorFileSystemDirectory { func (o *EditorFileSystem) GetFilesystemPath(path string) *EditorFileSystemDirectory { log.Println("Calling EditorFileSystem.GetFilesystemPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filesystem_path", goArguments, "*EditorFileSystemDirectory") - - returnValue := goRet.Interface().(*EditorFileSystemDirectory) - + returnValue := godotCallObjectString(o, "get_filesystem_path", path) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorFileSystemDirectory + ret.owner = returnValue.owner + return &ret } @@ -28888,16 +18807,9 @@ func (o *EditorFileSystem) GetFilesystemPath(path string) *EditorFileSystemDirec func (o *EditorFileSystem) GetScanningProgress() float64 { log.Println("Calling EditorFileSystem.GetScanningProgress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scanning_progress", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_scanning_progress") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28908,16 +18820,9 @@ func (o *EditorFileSystem) GetScanningProgress() float64 { func (o *EditorFileSystem) IsScanning() bool { log.Println("Calling EditorFileSystem.IsScanning()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_scanning", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_scanning") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -28928,13 +18833,7 @@ func (o *EditorFileSystem) IsScanning() bool { func (o *EditorFileSystem) Scan() { log.Println("Calling EditorFileSystem.Scan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "scan", goArguments, "") - + godotCallVoid(o, "scan") log.Println(" Function successfully completed.") } @@ -28945,13 +18844,7 @@ func (o *EditorFileSystem) Scan() { func (o *EditorFileSystem) ScanSources() { log.Println("Calling EditorFileSystem.ScanSources()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "scan_sources", goArguments, "") - + godotCallVoid(o, "scan_sources") log.Println(" Function successfully completed.") } @@ -28962,14 +18855,7 @@ func (o *EditorFileSystem) ScanSources() { func (o *EditorFileSystem) UpdateFile(path string) { log.Println("Calling EditorFileSystem.UpdateFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_file", goArguments, "") - + godotCallVoidString(o, "update_file", path) log.Println(" Function successfully completed.") } @@ -28998,17 +18884,9 @@ func (o *EditorFileSystemDirectory) baseClass() string { func (o *EditorFileSystemDirectory) FindDirIndex(name string) int64 { log.Println("Calling EditorFileSystemDirectory.FindDirIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_dir_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "find_dir_index", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29019,17 +18897,9 @@ func (o *EditorFileSystemDirectory) FindDirIndex(name string) int64 { func (o *EditorFileSystemDirectory) FindFileIndex(name string) int64 { log.Println("Calling EditorFileSystemDirectory.FindFileIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_file_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "find_file_index", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29040,17 +18910,9 @@ func (o *EditorFileSystemDirectory) FindFileIndex(name string) int64 { func (o *EditorFileSystemDirectory) GetFile(idx int64) string { log.Println("Calling EditorFileSystemDirectory.GetFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_file", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29061,16 +18923,9 @@ func (o *EditorFileSystemDirectory) GetFile(idx int64) string { func (o *EditorFileSystemDirectory) GetFileCount() int64 { log.Println("Calling EditorFileSystemDirectory.GetFileCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_file_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29081,17 +18936,9 @@ func (o *EditorFileSystemDirectory) GetFileCount() int64 { func (o *EditorFileSystemDirectory) GetFileImportIsValid(idx int64) bool { log.Println("Calling EditorFileSystemDirectory.GetFileImportIsValid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file_import_is_valid", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_file_import_is_valid", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29102,17 +18949,9 @@ func (o *EditorFileSystemDirectory) GetFileImportIsValid(idx int64) bool { func (o *EditorFileSystemDirectory) GetFilePath(idx int64) string { log.Println("Calling EditorFileSystemDirectory.GetFilePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_file_path", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29123,17 +18962,9 @@ func (o *EditorFileSystemDirectory) GetFilePath(idx int64) string { func (o *EditorFileSystemDirectory) GetFileType(idx int64) string { log.Println("Calling EditorFileSystemDirectory.GetFileType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_file_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29144,16 +18975,9 @@ func (o *EditorFileSystemDirectory) GetFileType(idx int64) string { func (o *EditorFileSystemDirectory) GetName() string { log.Println("Calling EditorFileSystemDirectory.GetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29164,17 +18988,12 @@ func (o *EditorFileSystemDirectory) GetName() string { func (o *EditorFileSystemDirectory) GetParent() *EditorFileSystemDirectory { log.Println("Calling EditorFileSystemDirectory.GetParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent", goArguments, "*EditorFileSystemDirectory") - - returnValue := goRet.Interface().(*EditorFileSystemDirectory) - + returnValue := godotCallObject(o, "get_parent") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorFileSystemDirectory + ret.owner = returnValue.owner + return &ret } @@ -29184,16 +19003,9 @@ func (o *EditorFileSystemDirectory) GetParent() *EditorFileSystemDirectory { func (o *EditorFileSystemDirectory) GetPath() string { log.Println("Calling EditorFileSystemDirectory.GetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29204,18 +19016,12 @@ func (o *EditorFileSystemDirectory) GetPath() string { func (o *EditorFileSystemDirectory) GetSubdir(idx int64) *EditorFileSystemDirectory { log.Println("Calling EditorFileSystemDirectory.GetSubdir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdir", goArguments, "*EditorFileSystemDirectory") - - returnValue := goRet.Interface().(*EditorFileSystemDirectory) - + returnValue := godotCallObjectInt(o, "get_subdir", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorFileSystemDirectory + ret.owner = returnValue.owner + return &ret } @@ -29225,16 +19031,9 @@ func (o *EditorFileSystemDirectory) GetSubdir(idx int64) *EditorFileSystemDirect func (o *EditorFileSystemDirectory) GetSubdirCount() int64 { log.Println("Calling EditorFileSystemDirectory.GetSubdirCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdir_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdir_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29263,17 +19062,9 @@ func (o *EditorImportPlugin) baseClass() string { func (o *EditorImportPlugin) GetImportOptions(preset int64) *Array { log.Println("Calling EditorImportPlugin.GetImportOptions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(preset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_import_options", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_import_options", preset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29284,16 +19075,9 @@ func (o *EditorImportPlugin) GetImportOptions(preset int64) *Array { func (o *EditorImportPlugin) GetImporterName() string { log.Println("Calling EditorImportPlugin.GetImporterName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_importer_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_importer_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29304,18 +19088,9 @@ func (o *EditorImportPlugin) GetImporterName() string { func (o *EditorImportPlugin) GetOptionVisibility(option string, options *Dictionary) bool { log.Println("Calling EditorImportPlugin.GetOptionVisibility()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(option) - goArguments[1] = reflect.ValueOf(options) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_option_visibility", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringDictionary(o, "get_option_visibility", option, options) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29326,16 +19101,9 @@ func (o *EditorImportPlugin) GetOptionVisibility(option string, options *Diction func (o *EditorImportPlugin) GetPresetCount() int64 { log.Println("Calling EditorImportPlugin.GetPresetCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_preset_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_preset_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29346,17 +19114,9 @@ func (o *EditorImportPlugin) GetPresetCount() int64 { func (o *EditorImportPlugin) GetPresetName(preset int64) string { log.Println("Calling EditorImportPlugin.GetPresetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(preset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_preset_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_preset_name", preset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29367,16 +19127,9 @@ func (o *EditorImportPlugin) GetPresetName(preset int64) string { func (o *EditorImportPlugin) GetRecognizedExtensions() *Array { log.Println("Calling EditorImportPlugin.GetRecognizedExtensions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_recognized_extensions", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_recognized_extensions") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29387,16 +19140,9 @@ func (o *EditorImportPlugin) GetRecognizedExtensions() *Array { func (o *EditorImportPlugin) GetResourceType() string { log.Println("Calling EditorImportPlugin.GetResourceType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_resource_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29407,16 +19153,9 @@ func (o *EditorImportPlugin) GetResourceType() string { func (o *EditorImportPlugin) GetSaveExtension() string { log.Println("Calling EditorImportPlugin.GetSaveExtension()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_save_extension", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_save_extension") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29427,16 +19166,9 @@ func (o *EditorImportPlugin) GetSaveExtension() string { func (o *EditorImportPlugin) GetVisibleName() string { log.Println("Calling EditorImportPlugin.GetVisibleName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_visible_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29447,21 +19179,9 @@ func (o *EditorImportPlugin) GetVisibleName() string { func (o *EditorImportPlugin) Import(sourceFile string, savePath string, options *Dictionary, rPlatformVariants *Array, rGenFiles *Array) int64 { log.Println("Calling EditorImportPlugin.Import()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(sourceFile) - goArguments[1] = reflect.ValueOf(savePath) - goArguments[2] = reflect.ValueOf(options) - goArguments[3] = reflect.ValueOf(rPlatformVariants) - goArguments[4] = reflect.ValueOf(rGenFiles) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "import", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringStringDictionaryArrayArray(o, "import", sourceFile, savePath, options, rPlatformVariants, rGenFiles) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29490,14 +19210,7 @@ func (o *EditorInterface) baseClass() string { func (o *EditorInterface) EditResource(resource *Resource) { log.Println("Calling EditorInterface.EditResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resource) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "edit_resource", goArguments, "") - + godotCallVoidObject(o, "edit_resource", &resource.Object) log.Println(" Function successfully completed.") } @@ -29508,17 +19221,12 @@ func (o *EditorInterface) EditResource(resource *Resource) { func (o *EditorInterface) GetBaseControl() *Control { log.Println("Calling EditorInterface.GetBaseControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_control", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObject(o, "get_base_control") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -29528,17 +19236,12 @@ func (o *EditorInterface) GetBaseControl() *Control { func (o *EditorInterface) GetEditedSceneRoot() *Node { log.Println("Calling EditorInterface.GetEditedSceneRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edited_scene_root", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_edited_scene_root") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -29548,17 +19251,12 @@ func (o *EditorInterface) GetEditedSceneRoot() *Node { func (o *EditorInterface) GetEditorSettings() *EditorSettings { log.Println("Calling EditorInterface.GetEditorSettings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_editor_settings", goArguments, "*EditorSettings") - - returnValue := goRet.Interface().(*EditorSettings) - + returnValue := godotCallObject(o, "get_editor_settings") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorSettings + ret.owner = returnValue.owner + return &ret } @@ -29568,17 +19266,12 @@ func (o *EditorInterface) GetEditorSettings() *EditorSettings { func (o *EditorInterface) GetEditorViewport() *Control { log.Println("Calling EditorInterface.GetEditorViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_editor_viewport", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObject(o, "get_editor_viewport") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -29588,16 +19281,9 @@ func (o *EditorInterface) GetEditorViewport() *Control { func (o *EditorInterface) GetOpenScenes() *Array { log.Println("Calling EditorInterface.GetOpenScenes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_open_scenes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_open_scenes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29608,17 +19294,12 @@ func (o *EditorInterface) GetOpenScenes() *Array { func (o *EditorInterface) GetResourceFilesystem() *EditorFileSystem { log.Println("Calling EditorInterface.GetResourceFilesystem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource_filesystem", goArguments, "*EditorFileSystem") - - returnValue := goRet.Interface().(*EditorFileSystem) - + returnValue := godotCallObject(o, "get_resource_filesystem") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorFileSystem + ret.owner = returnValue.owner + return &ret } @@ -29628,17 +19309,12 @@ func (o *EditorInterface) GetResourceFilesystem() *EditorFileSystem { func (o *EditorInterface) GetResourcePreviewer() *EditorResourcePreview { log.Println("Calling EditorInterface.GetResourcePreviewer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource_previewer", goArguments, "*EditorResourcePreview") - - returnValue := goRet.Interface().(*EditorResourcePreview) - + returnValue := godotCallObject(o, "get_resource_previewer") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorResourcePreview + ret.owner = returnValue.owner + return &ret } @@ -29648,17 +19324,12 @@ func (o *EditorInterface) GetResourcePreviewer() *EditorResourcePreview { func (o *EditorInterface) GetScriptEditor() *ScriptEditor { log.Println("Calling EditorInterface.GetScriptEditor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_script_editor", goArguments, "*ScriptEditor") - - returnValue := goRet.Interface().(*ScriptEditor) - + returnValue := godotCallObject(o, "get_script_editor") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ScriptEditor + ret.owner = returnValue.owner + return &ret } @@ -29668,16 +19339,9 @@ func (o *EditorInterface) GetScriptEditor() *ScriptEditor { func (o *EditorInterface) GetSelectedPath() string { log.Println("Calling EditorInterface.GetSelectedPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_selected_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29688,17 +19352,12 @@ func (o *EditorInterface) GetSelectedPath() string { func (o *EditorInterface) GetSelection() *EditorSelection { log.Println("Calling EditorInterface.GetSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection", goArguments, "*EditorSelection") - - returnValue := goRet.Interface().(*EditorSelection) - + returnValue := godotCallObject(o, "get_selection") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorSelection + ret.owner = returnValue.owner + return &ret } @@ -29708,15 +19367,7 @@ func (o *EditorInterface) GetSelection() *EditorSelection { func (o *EditorInterface) InspectObject(object *Object, forProperty string) { log.Println("Calling EditorInterface.InspectObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(forProperty) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "inspect_object", goArguments, "") - + godotCallVoidObjectString(o, "inspect_object", object, forProperty) log.Println(" Function successfully completed.") } @@ -29727,18 +19378,9 @@ func (o *EditorInterface) InspectObject(object *Object, forProperty string) { func (o *EditorInterface) MakeMeshPreviews(meshes *Array, previewSize int64) *Array { log.Println("Calling EditorInterface.MakeMeshPreviews()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(meshes) - goArguments[1] = reflect.ValueOf(previewSize) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "make_mesh_previews", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayArrayInt(o, "make_mesh_previews", meshes, previewSize) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29749,14 +19391,7 @@ func (o *EditorInterface) MakeMeshPreviews(meshes *Array, previewSize int64) *Ar func (o *EditorInterface) OpenSceneFromPath(sceneFilepath string) { log.Println("Calling EditorInterface.OpenSceneFromPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sceneFilepath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "open_scene_from_path", goArguments, "") - + godotCallVoidString(o, "open_scene_from_path", sceneFilepath) log.Println(" Function successfully completed.") } @@ -29767,14 +19402,7 @@ func (o *EditorInterface) OpenSceneFromPath(sceneFilepath string) { func (o *EditorInterface) ReloadSceneFromPath(sceneFilepath string) { log.Println("Calling EditorInterface.ReloadSceneFromPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sceneFilepath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "reload_scene_from_path", goArguments, "") - + godotCallVoidString(o, "reload_scene_from_path", sceneFilepath) log.Println(" Function successfully completed.") } @@ -29785,16 +19413,9 @@ func (o *EditorInterface) ReloadSceneFromPath(sceneFilepath string) { func (o *EditorInterface) SaveScene() int64 { log.Println("Calling EditorInterface.SaveScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "save_scene", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "save_scene") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -29805,15 +19426,7 @@ func (o *EditorInterface) SaveScene() int64 { func (o *EditorInterface) SaveSceneAs(path string, withPreview bool) { log.Println("Calling EditorInterface.SaveSceneAs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(withPreview) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "save_scene_as", goArguments, "") - + godotCallVoidStringBool(o, "save_scene_as", path, withPreview) log.Println(" Function successfully completed.") } @@ -29824,14 +19437,7 @@ func (o *EditorInterface) SaveSceneAs(path string, withPreview bool) { func (o *EditorInterface) SelectFile(pFile string) { log.Println("Calling EditorInterface.SelectFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pFile) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select_file", goArguments, "") - + godotCallVoidString(o, "select_file", pFile) log.Println(" Function successfully completed.") } @@ -29860,19 +19466,12 @@ func (o *EditorPlugin) baseClass() string { func (o *EditorPlugin) AddControlToBottomPanel(control *Object, title string) *ToolButton { log.Println("Calling EditorPlugin.AddControlToBottomPanel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(control) - goArguments[1] = reflect.ValueOf(title) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_control_to_bottom_panel", goArguments, "*ToolButton") - - returnValue := goRet.Interface().(*ToolButton) - + returnValue := godotCallObjectObjectString(o, "add_control_to_bottom_panel", control, title) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ToolButton + ret.owner = returnValue.owner + return &ret } @@ -29882,15 +19481,7 @@ func (o *EditorPlugin) AddControlToBottomPanel(control *Object, title string) *T func (o *EditorPlugin) AddControlToContainer(container int64, control *Object) { log.Println("Calling EditorPlugin.AddControlToContainer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(container) - goArguments[1] = reflect.ValueOf(control) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_control_to_container", goArguments, "") - + godotCallVoidIntObject(o, "add_control_to_container", container, control) log.Println(" Function successfully completed.") } @@ -29901,15 +19492,7 @@ func (o *EditorPlugin) AddControlToContainer(container int64, control *Object) { func (o *EditorPlugin) AddControlToDock(slot int64, control *Object) { log.Println("Calling EditorPlugin.AddControlToDock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(slot) - goArguments[1] = reflect.ValueOf(control) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_control_to_dock", goArguments, "") - + godotCallVoidIntObject(o, "add_control_to_dock", slot, control) log.Println(" Function successfully completed.") } @@ -29920,17 +19503,7 @@ func (o *EditorPlugin) AddControlToDock(slot int64, control *Object) { func (o *EditorPlugin) AddCustomType(aType string, base string, script *Script, icon *Texture) { log.Println("Calling EditorPlugin.AddCustomType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(aType) - goArguments[1] = reflect.ValueOf(base) - goArguments[2] = reflect.ValueOf(script) - goArguments[3] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_custom_type", goArguments, "") - + godotCallVoidStringStringObjectObject(o, "add_custom_type", aType, base, &script.Object, &icon.Object) log.Println(" Function successfully completed.") } @@ -29941,14 +19514,7 @@ func (o *EditorPlugin) AddCustomType(aType string, base string, script *Script, func (o *EditorPlugin) AddExportPlugin(exporter *EditorExportPlugin) { log.Println("Calling EditorPlugin.AddExportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exporter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_export_plugin", goArguments, "") - + godotCallVoidObject(o, "add_export_plugin", &exporter.Object) log.Println(" Function successfully completed.") } @@ -29959,14 +19525,7 @@ func (o *EditorPlugin) AddExportPlugin(exporter *EditorExportPlugin) { func (o *EditorPlugin) AddImportPlugin(importer *EditorImportPlugin) { log.Println("Calling EditorPlugin.AddImportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(importer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_import_plugin", goArguments, "") - + godotCallVoidObject(o, "add_import_plugin", &importer.Object) log.Println(" Function successfully completed.") } @@ -29977,14 +19536,7 @@ func (o *EditorPlugin) AddImportPlugin(importer *EditorImportPlugin) { func (o *EditorPlugin) AddSceneImportPlugin(sceneImporter *EditorSceneImporter) { log.Println("Calling EditorPlugin.AddSceneImportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sceneImporter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_scene_import_plugin", goArguments, "") - + godotCallVoidObject(o, "add_scene_import_plugin", &sceneImporter.Object) log.Println(" Function successfully completed.") } @@ -29995,15 +19547,7 @@ func (o *EditorPlugin) AddSceneImportPlugin(sceneImporter *EditorSceneImporter) func (o *EditorPlugin) AddToolSubmenuItem(name string, submenu *Object) { log.Println("Calling EditorPlugin.AddToolSubmenuItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(submenu) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_tool_submenu_item", goArguments, "") - + godotCallVoidStringObject(o, "add_tool_submenu_item", name, submenu) log.Println(" Function successfully completed.") } @@ -30014,13 +19558,7 @@ func (o *EditorPlugin) AddToolSubmenuItem(name string, submenu *Object) { func (o *EditorPlugin) ApplyChanges() { log.Println("Calling EditorPlugin.ApplyChanges()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_changes", goArguments, "") - + godotCallVoid(o, "apply_changes") log.Println(" Function successfully completed.") } @@ -30031,13 +19569,7 @@ func (o *EditorPlugin) ApplyChanges() { func (o *EditorPlugin) Clear() { log.Println("Calling EditorPlugin.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -30048,18 +19580,12 @@ func (o *EditorPlugin) Clear() { func (o *EditorPlugin) CreateSpatialGizmo(forSpatial *Spatial) *EditorSpatialGizmo { log.Println("Calling EditorPlugin.CreateSpatialGizmo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(forSpatial) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_spatial_gizmo", goArguments, "*EditorSpatialGizmo") - - returnValue := goRet.Interface().(*EditorSpatialGizmo) - + returnValue := godotCallObjectObject(o, "create_spatial_gizmo", &forSpatial.Object) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorSpatialGizmo + ret.owner = returnValue.owner + return &ret } @@ -30069,14 +19595,7 @@ func (o *EditorPlugin) CreateSpatialGizmo(forSpatial *Spatial) *EditorSpatialGiz func (o *EditorPlugin) Edit(object *Object) { log.Println("Calling EditorPlugin.Edit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(object) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "edit", goArguments, "") - + godotCallVoidObject(o, "edit", object) log.Println(" Function successfully completed.") } @@ -30087,17 +19606,9 @@ func (o *EditorPlugin) Edit(object *Object) { func (o *EditorPlugin) ForwardCanvasGuiInput(event *InputEvent) bool { log.Println("Calling EditorPlugin.ForwardCanvasGuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "forward_canvas_gui_input", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "forward_canvas_gui_input", &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30108,14 +19619,7 @@ func (o *EditorPlugin) ForwardCanvasGuiInput(event *InputEvent) bool { func (o *EditorPlugin) ForwardDrawOverViewport(overlay *Control) { log.Println("Calling EditorPlugin.ForwardDrawOverViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(overlay) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "forward_draw_over_viewport", goArguments, "") - + godotCallVoidObject(o, "forward_draw_over_viewport", &overlay.Object) log.Println(" Function successfully completed.") } @@ -30126,14 +19630,7 @@ func (o *EditorPlugin) ForwardDrawOverViewport(overlay *Control) { func (o *EditorPlugin) ForwardForceDrawOverViewport(overlay *Control) { log.Println("Calling EditorPlugin.ForwardForceDrawOverViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(overlay) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "forward_force_draw_over_viewport", goArguments, "") - + godotCallVoidObject(o, "forward_force_draw_over_viewport", &overlay.Object) log.Println(" Function successfully completed.") } @@ -30144,18 +19641,9 @@ func (o *EditorPlugin) ForwardForceDrawOverViewport(overlay *Control) { func (o *EditorPlugin) ForwardSpatialGuiInput(camera *Camera, event *InputEvent) bool { log.Println("Calling EditorPlugin.ForwardSpatialGuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(camera) - goArguments[1] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "forward_spatial_gui_input", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectObject(o, "forward_spatial_gui_input", &camera.Object, &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30166,16 +19654,9 @@ func (o *EditorPlugin) ForwardSpatialGuiInput(camera *Camera, event *InputEvent) func (o *EditorPlugin) GetBreakpoints() *PoolStringArray { log.Println("Calling EditorPlugin.GetBreakpoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_breakpoints", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_breakpoints") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30186,17 +19667,12 @@ func (o *EditorPlugin) GetBreakpoints() *PoolStringArray { func (o *EditorPlugin) GetEditorInterface() *EditorInterface { log.Println("Calling EditorPlugin.GetEditorInterface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_editor_interface", goArguments, "*EditorInterface") - - returnValue := goRet.Interface().(*EditorInterface) - + returnValue := godotCallObject(o, "get_editor_interface") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorInterface + ret.owner = returnValue.owner + return &ret } @@ -30206,17 +19682,12 @@ func (o *EditorPlugin) GetEditorInterface() *EditorInterface { func (o *EditorPlugin) GetPluginIcon() *Object { log.Println("Calling EditorPlugin.GetPluginIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_plugin_icon", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_plugin_icon") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -30226,16 +19697,9 @@ func (o *EditorPlugin) GetPluginIcon() *Object { func (o *EditorPlugin) GetPluginName() string { log.Println("Calling EditorPlugin.GetPluginName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_plugin_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_plugin_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30246,16 +19710,9 @@ func (o *EditorPlugin) GetPluginName() string { func (o *EditorPlugin) GetState() *Dictionary { log.Println("Calling EditorPlugin.GetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_state", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "get_state") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30266,17 +19723,12 @@ func (o *EditorPlugin) GetState() *Dictionary { func (o *EditorPlugin) GetUndoRedo() *UndoRedo { log.Println("Calling EditorPlugin.GetUndoRedo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_undo_redo", goArguments, "*UndoRedo") - - returnValue := goRet.Interface().(*UndoRedo) - + returnValue := godotCallObject(o, "get_undo_redo") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret UndoRedo + ret.owner = returnValue.owner + return &ret } @@ -30286,14 +19738,7 @@ func (o *EditorPlugin) GetUndoRedo() *UndoRedo { func (o *EditorPlugin) GetWindowLayout(layout *ConfigFile) { log.Println("Calling EditorPlugin.GetWindowLayout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layout) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "get_window_layout", goArguments, "") - + godotCallVoidObject(o, "get_window_layout", &layout.Object) log.Println(" Function successfully completed.") } @@ -30304,17 +19749,9 @@ func (o *EditorPlugin) GetWindowLayout(layout *ConfigFile) { func (o *EditorPlugin) Handles(object *Object) bool { log.Println("Calling EditorPlugin.Handles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(object) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "handles", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "handles", object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30325,16 +19762,9 @@ func (o *EditorPlugin) Handles(object *Object) bool { func (o *EditorPlugin) HasMainScreen() bool { log.Println("Calling EditorPlugin.HasMainScreen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_main_screen", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_main_screen") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30345,13 +19775,7 @@ func (o *EditorPlugin) HasMainScreen() bool { func (o *EditorPlugin) HideBottomPanel() { log.Println("Calling EditorPlugin.HideBottomPanel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "hide_bottom_panel", goArguments, "") - + godotCallVoid(o, "hide_bottom_panel") log.Println(" Function successfully completed.") } @@ -30362,14 +19786,7 @@ func (o *EditorPlugin) HideBottomPanel() { func (o *EditorPlugin) MakeBottomPanelItemVisible(item *Object) { log.Println("Calling EditorPlugin.MakeBottomPanelItemVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(item) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_bottom_panel_item_visible", goArguments, "") - + godotCallVoidObject(o, "make_bottom_panel_item_visible", item) log.Println(" Function successfully completed.") } @@ -30380,14 +19797,7 @@ func (o *EditorPlugin) MakeBottomPanelItemVisible(item *Object) { func (o *EditorPlugin) MakeVisible(visible bool) { log.Println("Calling EditorPlugin.MakeVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_visible", goArguments, "") - + godotCallVoidBool(o, "make_visible", visible) log.Println(" Function successfully completed.") } @@ -30398,13 +19808,7 @@ func (o *EditorPlugin) MakeVisible(visible bool) { func (o *EditorPlugin) QueueSaveLayout() { log.Println("Calling EditorPlugin.QueueSaveLayout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_save_layout", goArguments, "") - + godotCallVoid(o, "queue_save_layout") log.Println(" Function successfully completed.") } @@ -30415,14 +19819,7 @@ func (o *EditorPlugin) QueueSaveLayout() { func (o *EditorPlugin) RemoveControlFromBottomPanel(control *Object) { log.Println("Calling EditorPlugin.RemoveControlFromBottomPanel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(control) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_control_from_bottom_panel", goArguments, "") - + godotCallVoidObject(o, "remove_control_from_bottom_panel", control) log.Println(" Function successfully completed.") } @@ -30433,14 +19830,7 @@ func (o *EditorPlugin) RemoveControlFromBottomPanel(control *Object) { func (o *EditorPlugin) RemoveControlFromDocks(control *Object) { log.Println("Calling EditorPlugin.RemoveControlFromDocks()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(control) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_control_from_docks", goArguments, "") - + godotCallVoidObject(o, "remove_control_from_docks", control) log.Println(" Function successfully completed.") } @@ -30451,14 +19841,7 @@ func (o *EditorPlugin) RemoveControlFromDocks(control *Object) { func (o *EditorPlugin) RemoveCustomType(aType string) { log.Println("Calling EditorPlugin.RemoveCustomType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_custom_type", goArguments, "") - + godotCallVoidString(o, "remove_custom_type", aType) log.Println(" Function successfully completed.") } @@ -30469,14 +19852,7 @@ func (o *EditorPlugin) RemoveCustomType(aType string) { func (o *EditorPlugin) RemoveExportPlugin(exporter *EditorExportPlugin) { log.Println("Calling EditorPlugin.RemoveExportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exporter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_export_plugin", goArguments, "") - + godotCallVoidObject(o, "remove_export_plugin", &exporter.Object) log.Println(" Function successfully completed.") } @@ -30487,14 +19863,7 @@ func (o *EditorPlugin) RemoveExportPlugin(exporter *EditorExportPlugin) { func (o *EditorPlugin) RemoveImportPlugin(importer *EditorImportPlugin) { log.Println("Calling EditorPlugin.RemoveImportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(importer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_import_plugin", goArguments, "") - + godotCallVoidObject(o, "remove_import_plugin", &importer.Object) log.Println(" Function successfully completed.") } @@ -30505,14 +19874,7 @@ func (o *EditorPlugin) RemoveImportPlugin(importer *EditorImportPlugin) { func (o *EditorPlugin) RemoveSceneImportPlugin(sceneImporter *EditorSceneImporter) { log.Println("Calling EditorPlugin.RemoveSceneImportPlugin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sceneImporter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_scene_import_plugin", goArguments, "") - + godotCallVoidObject(o, "remove_scene_import_plugin", &sceneImporter.Object) log.Println(" Function successfully completed.") } @@ -30523,13 +19885,7 @@ func (o *EditorPlugin) RemoveSceneImportPlugin(sceneImporter *EditorSceneImporte func (o *EditorPlugin) SaveExternalData() { log.Println("Calling EditorPlugin.SaveExternalData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "save_external_data", goArguments, "") - + godotCallVoid(o, "save_external_data") log.Println(" Function successfully completed.") } @@ -30540,13 +19896,7 @@ func (o *EditorPlugin) SaveExternalData() { func (o *EditorPlugin) SetForceDrawOverForwardingEnabled() { log.Println("Calling EditorPlugin.SetForceDrawOverForwardingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_force_draw_over_forwarding_enabled", goArguments, "") - + godotCallVoid(o, "set_force_draw_over_forwarding_enabled") log.Println(" Function successfully completed.") } @@ -30557,13 +19907,7 @@ func (o *EditorPlugin) SetForceDrawOverForwardingEnabled() { func (o *EditorPlugin) SetInputEventForwardingAlwaysEnabled() { log.Println("Calling EditorPlugin.SetInputEventForwardingAlwaysEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_input_event_forwarding_always_enabled", goArguments, "") - + godotCallVoid(o, "set_input_event_forwarding_always_enabled") log.Println(" Function successfully completed.") } @@ -30574,14 +19918,7 @@ func (o *EditorPlugin) SetInputEventForwardingAlwaysEnabled() { func (o *EditorPlugin) SetState(state *Dictionary) { log.Println("Calling EditorPlugin.SetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(state) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_state", goArguments, "") - + godotCallVoidDictionary(o, "set_state", state) log.Println(" Function successfully completed.") } @@ -30592,14 +19929,7 @@ func (o *EditorPlugin) SetState(state *Dictionary) { func (o *EditorPlugin) SetWindowLayout(layout *ConfigFile) { log.Println("Calling EditorPlugin.SetWindowLayout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layout) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_window_layout", goArguments, "") - + godotCallVoidObject(o, "set_window_layout", &layout.Object) log.Println(" Function successfully completed.") } @@ -30610,16 +19940,9 @@ func (o *EditorPlugin) SetWindowLayout(layout *ConfigFile) { func (o *EditorPlugin) UpdateOverlays() int64 { log.Println("Calling EditorPlugin.UpdateOverlays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "update_overlays", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "update_overlays") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30648,18 +19971,12 @@ func (o *EditorResourceConversionPlugin) baseClass() string { func (o *EditorResourceConversionPlugin) X_Convert(resource *Resource) *Resource { log.Println("Calling EditorResourceConversionPlugin.X_Convert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resource) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_convert", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObjectObject(o, "_convert", &resource.Object) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -30669,16 +19986,9 @@ func (o *EditorResourceConversionPlugin) X_Convert(resource *Resource) *Resource func (o *EditorResourceConversionPlugin) X_ConvertsTo() string { log.Println("Calling EditorResourceConversionPlugin.X_ConvertsTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_converts_to", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "_converts_to") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30707,18 +20017,7 @@ func (o *EditorResourcePreview) baseClass() string { func (o *EditorResourcePreview) X_PreviewReady(arg0 string, arg1 *Texture, arg2 int64, arg3 string, arg4 *Variant) { log.Println("Calling EditorResourcePreview.X_PreviewReady()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - goArguments[4] = reflect.ValueOf(arg4) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_preview_ready", goArguments, "") - + godotCallVoidStringObjectIntStringVariant(o, "_preview_ready", arg0, &arg1.Object, arg2, arg3, arg4) log.Println(" Function successfully completed.") } @@ -30729,14 +20028,7 @@ func (o *EditorResourcePreview) X_PreviewReady(arg0 string, arg1 *Texture, arg2 func (o *EditorResourcePreview) AddPreviewGenerator(generator *EditorResourcePreviewGenerator) { log.Println("Calling EditorResourcePreview.AddPreviewGenerator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(generator) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_preview_generator", goArguments, "") - + godotCallVoidObject(o, "add_preview_generator", &generator.Object) log.Println(" Function successfully completed.") } @@ -30747,14 +20039,7 @@ func (o *EditorResourcePreview) AddPreviewGenerator(generator *EditorResourcePre func (o *EditorResourcePreview) CheckForInvalidation(path string) { log.Println("Calling EditorResourcePreview.CheckForInvalidation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "check_for_invalidation", goArguments, "") - + godotCallVoidString(o, "check_for_invalidation", path) log.Println(" Function successfully completed.") } @@ -30765,17 +20050,7 @@ func (o *EditorResourcePreview) CheckForInvalidation(path string) { func (o *EditorResourcePreview) QueueEditedResourcePreview(resource *Resource, receiver *Object, receiverFunc string, userdata *Variant) { log.Println("Calling EditorResourcePreview.QueueEditedResourcePreview()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(resource) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(receiverFunc) - goArguments[3] = reflect.ValueOf(userdata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_edited_resource_preview", goArguments, "") - + godotCallVoidObjectObjectStringVariant(o, "queue_edited_resource_preview", &resource.Object, receiver, receiverFunc, userdata) log.Println(" Function successfully completed.") } @@ -30786,17 +20061,7 @@ func (o *EditorResourcePreview) QueueEditedResourcePreview(resource *Resource, r func (o *EditorResourcePreview) QueueResourcePreview(path string, receiver *Object, receiverFunc string, userdata *Variant) { log.Println("Calling EditorResourcePreview.QueueResourcePreview()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(receiverFunc) - goArguments[3] = reflect.ValueOf(userdata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_resource_preview", goArguments, "") - + godotCallVoidStringObjectStringVariant(o, "queue_resource_preview", path, receiver, receiverFunc, userdata) log.Println(" Function successfully completed.") } @@ -30807,14 +20072,7 @@ func (o *EditorResourcePreview) QueueResourcePreview(path string, receiver *Obje func (o *EditorResourcePreview) RemovePreviewGenerator(generator *EditorResourcePreviewGenerator) { log.Println("Calling EditorResourcePreview.RemovePreviewGenerator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(generator) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_preview_generator", goArguments, "") - + godotCallVoidObject(o, "remove_preview_generator", &generator.Object) log.Println(" Function successfully completed.") } @@ -30843,18 +20101,12 @@ func (o *EditorResourcePreviewGenerator) baseClass() string { func (o *EditorResourcePreviewGenerator) Generate(from *Resource) *Texture { log.Println("Calling EditorResourcePreviewGenerator.Generate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(from) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generate", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectObject(o, "generate", &from.Object) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -30864,18 +20116,12 @@ func (o *EditorResourcePreviewGenerator) Generate(from *Resource) *Texture { func (o *EditorResourcePreviewGenerator) GenerateFromPath(path string) *Texture { log.Println("Calling EditorResourcePreviewGenerator.GenerateFromPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generate_from_path", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectString(o, "generate_from_path", path) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -30885,17 +20131,9 @@ func (o *EditorResourcePreviewGenerator) GenerateFromPath(path string) *Texture func (o *EditorResourcePreviewGenerator) Handles(aType string) bool { log.Println("Calling EditorResourcePreviewGenerator.Handles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "handles", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "handles", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30924,16 +20162,9 @@ func (o *EditorSceneImporter) baseClass() string { func (o *EditorSceneImporter) X_GetExtensions() *Array { log.Println("Calling EditorSceneImporter.X_GetExtensions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_extensions", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_extensions") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30944,16 +20175,9 @@ func (o *EditorSceneImporter) X_GetExtensions() *Array { func (o *EditorSceneImporter) X_GetImportFlags() int64 { log.Println("Calling EditorSceneImporter.X_GetImportFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_import_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_import_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -30964,20 +20188,12 @@ func (o *EditorSceneImporter) X_GetImportFlags() int64 { func (o *EditorSceneImporter) X_ImportAnimation(path string, flags int64, bakeFps int64) *Animation { log.Println("Calling EditorSceneImporter.X_ImportAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(flags) - goArguments[2] = reflect.ValueOf(bakeFps) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_import_animation", goArguments, "*Animation") - - returnValue := goRet.Interface().(*Animation) - + returnValue := godotCallObjectStringIntInt(o, "_import_animation", path, flags, bakeFps) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Animation + ret.owner = returnValue.owner + return &ret } @@ -30987,20 +20203,12 @@ func (o *EditorSceneImporter) X_ImportAnimation(path string, flags int64, bakeFp func (o *EditorSceneImporter) X_ImportScene(path string, flags int64, bakeFps int64) *Node { log.Println("Calling EditorSceneImporter.X_ImportScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(flags) - goArguments[2] = reflect.ValueOf(bakeFps) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_import_scene", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectStringIntInt(o, "_import_scene", path, flags, bakeFps) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -31010,20 +20218,12 @@ func (o *EditorSceneImporter) X_ImportScene(path string, flags int64, bakeFps in func (o *EditorSceneImporter) ImportAnimationFromOtherImporter(path string, flags int64, bakeFps int64) *Animation { log.Println("Calling EditorSceneImporter.ImportAnimationFromOtherImporter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(flags) - goArguments[2] = reflect.ValueOf(bakeFps) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "import_animation_from_other_importer", goArguments, "*Animation") - - returnValue := goRet.Interface().(*Animation) - + returnValue := godotCallObjectStringIntInt(o, "import_animation_from_other_importer", path, flags, bakeFps) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Animation + ret.owner = returnValue.owner + return &ret } @@ -31033,20 +20233,12 @@ func (o *EditorSceneImporter) ImportAnimationFromOtherImporter(path string, flag func (o *EditorSceneImporter) ImportSceneFromOtherImporter(path string, flags int64, bakeFps int64) *Node { log.Println("Calling EditorSceneImporter.ImportSceneFromOtherImporter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(path) - goArguments[1] = reflect.ValueOf(flags) - goArguments[2] = reflect.ValueOf(bakeFps) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "import_scene_from_other_importer", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectStringIntInt(o, "import_scene_from_other_importer", path, flags, bakeFps) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -31074,14 +20266,7 @@ func (o *EditorScenePostImport) baseClass() string { func (o *EditorScenePostImport) PostImport(scene *Object) { log.Println("Calling EditorScenePostImport.PostImport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scene) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "post_import", goArguments, "") - + godotCallVoidObject(o, "post_import", scene) log.Println(" Function successfully completed.") } @@ -31110,13 +20295,7 @@ func (o *EditorScript) baseClass() string { func (o *EditorScript) X_Run() { log.Println("Calling EditorScript.X_Run()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_run", goArguments, "") - + godotCallVoid(o, "_run") log.Println(" Function successfully completed.") } @@ -31127,14 +20306,7 @@ func (o *EditorScript) X_Run() { func (o *EditorScript) AddRootNode(node *Object) { log.Println("Calling EditorScript.AddRootNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_root_node", goArguments, "") - + godotCallVoidObject(o, "add_root_node", node) log.Println(" Function successfully completed.") } @@ -31145,17 +20317,12 @@ func (o *EditorScript) AddRootNode(node *Object) { func (o *EditorScript) GetEditorInterface() *EditorInterface { log.Println("Calling EditorScript.GetEditorInterface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_editor_interface", goArguments, "*EditorInterface") - - returnValue := goRet.Interface().(*EditorInterface) - + returnValue := godotCallObject(o, "get_editor_interface") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret EditorInterface + ret.owner = returnValue.owner + return &ret } @@ -31165,17 +20332,12 @@ func (o *EditorScript) GetEditorInterface() *EditorInterface { func (o *EditorScript) GetScene() *Node { log.Println("Calling EditorScript.GetScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scene", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_scene") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -31203,13 +20365,7 @@ func (o *EditorSelection) baseClass() string { func (o *EditorSelection) X_EmitChange() { log.Println("Calling EditorSelection.X_EmitChange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_emit_change", goArguments, "") - + godotCallVoid(o, "_emit_change") log.Println(" Function successfully completed.") } @@ -31220,14 +20376,7 @@ func (o *EditorSelection) X_EmitChange() { func (o *EditorSelection) X_NodeRemoved(arg0 *Object) { log.Println("Calling EditorSelection.X_NodeRemoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_node_removed", goArguments, "") - + godotCallVoidObject(o, "_node_removed", arg0) log.Println(" Function successfully completed.") } @@ -31238,14 +20387,7 @@ func (o *EditorSelection) X_NodeRemoved(arg0 *Object) { func (o *EditorSelection) AddNode(node *Object) { log.Println("Calling EditorSelection.AddNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_node", goArguments, "") - + godotCallVoidObject(o, "add_node", node) log.Println(" Function successfully completed.") } @@ -31256,13 +20398,7 @@ func (o *EditorSelection) AddNode(node *Object) { func (o *EditorSelection) Clear() { log.Println("Calling EditorSelection.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -31273,16 +20409,9 @@ func (o *EditorSelection) Clear() { func (o *EditorSelection) GetSelectedNodes() *Array { log.Println("Calling EditorSelection.GetSelectedNodes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_nodes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_selected_nodes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31293,16 +20422,9 @@ func (o *EditorSelection) GetSelectedNodes() *Array { func (o *EditorSelection) GetTransformableSelectedNodes() *Array { log.Println("Calling EditorSelection.GetTransformableSelectedNodes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transformable_selected_nodes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_transformable_selected_nodes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31313,14 +20435,7 @@ func (o *EditorSelection) GetTransformableSelectedNodes() *Array { func (o *EditorSelection) RemoveNode(node *Object) { log.Println("Calling EditorSelection.RemoveNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_node", goArguments, "") - + godotCallVoidObject(o, "remove_node", node) log.Println(" Function successfully completed.") } @@ -31349,14 +20464,7 @@ func (o *EditorSettings) baseClass() string { func (o *EditorSettings) AddPropertyInfo(info *Dictionary) { log.Println("Calling EditorSettings.AddPropertyInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(info) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_property_info", goArguments, "") - + godotCallVoidDictionary(o, "add_property_info", info) log.Println(" Function successfully completed.") } @@ -31367,14 +20475,7 @@ func (o *EditorSettings) AddPropertyInfo(info *Dictionary) { func (o *EditorSettings) Erase(property string) { log.Println("Calling EditorSettings.Erase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase", goArguments, "") - + godotCallVoidString(o, "erase", property) log.Println(" Function successfully completed.") } @@ -31385,16 +20486,9 @@ func (o *EditorSettings) Erase(property string) { func (o *EditorSettings) GetFavoriteDirs() *PoolStringArray { log.Println("Calling EditorSettings.GetFavoriteDirs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_favorite_dirs", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_favorite_dirs") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31405,16 +20499,9 @@ func (o *EditorSettings) GetFavoriteDirs() *PoolStringArray { func (o *EditorSettings) GetProjectSettingsDir() string { log.Println("Calling EditorSettings.GetProjectSettingsDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_project_settings_dir", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_project_settings_dir") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31425,16 +20512,9 @@ func (o *EditorSettings) GetProjectSettingsDir() string { func (o *EditorSettings) GetRecentDirs() *PoolStringArray { log.Println("Calling EditorSettings.GetRecentDirs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_recent_dirs", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_recent_dirs") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31445,17 +20525,9 @@ func (o *EditorSettings) GetRecentDirs() *PoolStringArray { func (o *EditorSettings) GetSetting(name string) *Variant { log.Println("Calling EditorSettings.GetSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_setting", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get_setting", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31466,16 +20538,9 @@ func (o *EditorSettings) GetSetting(name string) *Variant { func (o *EditorSettings) GetSettingsDir() string { log.Println("Calling EditorSettings.GetSettingsDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_settings_dir", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_settings_dir") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31486,17 +20551,9 @@ func (o *EditorSettings) GetSettingsDir() string { func (o *EditorSettings) HasSetting(name string) bool { log.Println("Calling EditorSettings.HasSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_setting", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_setting", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31507,17 +20564,9 @@ func (o *EditorSettings) HasSetting(name string) bool { func (o *EditorSettings) PropertyCanRevert(name string) bool { log.Println("Calling EditorSettings.PropertyCanRevert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "property_can_revert", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "property_can_revert", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31528,17 +20577,9 @@ func (o *EditorSettings) PropertyCanRevert(name string) bool { func (o *EditorSettings) PropertyGetRevert(name string) *Variant { log.Println("Calling EditorSettings.PropertyGetRevert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "property_get_revert", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "property_get_revert", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31549,14 +20590,7 @@ func (o *EditorSettings) PropertyGetRevert(name string) *Variant { func (o *EditorSettings) SetFavoriteDirs(dirs *PoolStringArray) { log.Println("Calling EditorSettings.SetFavoriteDirs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dirs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_favorite_dirs", goArguments, "") - + godotCallVoidPoolStringArray(o, "set_favorite_dirs", dirs) log.Println(" Function successfully completed.") } @@ -31567,16 +20601,7 @@ func (o *EditorSettings) SetFavoriteDirs(dirs *PoolStringArray) { func (o *EditorSettings) SetInitialValue(name string, value *Variant, updateCurrent bool) { log.Println("Calling EditorSettings.SetInitialValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - goArguments[2] = reflect.ValueOf(updateCurrent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_initial_value", goArguments, "") - + godotCallVoidStringVariantBool(o, "set_initial_value", name, value, updateCurrent) log.Println(" Function successfully completed.") } @@ -31587,14 +20612,7 @@ func (o *EditorSettings) SetInitialValue(name string, value *Variant, updateCurr func (o *EditorSettings) SetRecentDirs(dirs *PoolStringArray) { log.Println("Calling EditorSettings.SetRecentDirs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dirs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_recent_dirs", goArguments, "") - + godotCallVoidPoolStringArray(o, "set_recent_dirs", dirs) log.Println(" Function successfully completed.") } @@ -31605,15 +20623,7 @@ func (o *EditorSettings) SetRecentDirs(dirs *PoolStringArray) { func (o *EditorSettings) SetSetting(name string, value *Variant) { log.Println("Calling EditorSettings.SetSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_setting", goArguments, "") - + godotCallVoidStringVariant(o, "set_setting", name, value) log.Println(" Function successfully completed.") } @@ -31642,14 +20652,7 @@ func (o *EditorSpatialGizmo) baseClass() string { func (o *EditorSpatialGizmo) AddCollisionSegments(segments *PoolVector3Array) { log.Println("Calling EditorSpatialGizmo.AddCollisionSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_collision_segments", goArguments, "") - + godotCallVoidPoolVector3Array(o, "add_collision_segments", segments) log.Println(" Function successfully completed.") } @@ -31660,15 +20663,7 @@ func (o *EditorSpatialGizmo) AddCollisionSegments(segments *PoolVector3Array) { func (o *EditorSpatialGizmo) AddCollisionTriangles(triangles *TriangleMesh, bounds *AABB) { log.Println("Calling EditorSpatialGizmo.AddCollisionTriangles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(triangles) - goArguments[1] = reflect.ValueOf(bounds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_collision_triangles", goArguments, "") - + godotCallVoidObjectAabb(o, "add_collision_triangles", &triangles.Object, bounds) log.Println(" Function successfully completed.") } @@ -31679,16 +20674,7 @@ func (o *EditorSpatialGizmo) AddCollisionTriangles(triangles *TriangleMesh, boun func (o *EditorSpatialGizmo) AddHandles(handles *PoolVector3Array, billboard bool, secondary bool) { log.Println("Calling EditorSpatialGizmo.AddHandles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(handles) - goArguments[1] = reflect.ValueOf(billboard) - goArguments[2] = reflect.ValueOf(secondary) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_handles", goArguments, "") - + godotCallVoidPoolVector3ArrayBoolBool(o, "add_handles", handles, billboard, secondary) log.Println(" Function successfully completed.") } @@ -31699,16 +20685,7 @@ func (o *EditorSpatialGizmo) AddHandles(handles *PoolVector3Array, billboard boo func (o *EditorSpatialGizmo) AddLines(lines *PoolVector3Array, material *Material, billboard bool) { log.Println("Calling EditorSpatialGizmo.AddLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(lines) - goArguments[1] = reflect.ValueOf(material) - goArguments[2] = reflect.ValueOf(billboard) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_lines", goArguments, "") - + godotCallVoidPoolVector3ArrayObjectBool(o, "add_lines", lines, &material.Object, billboard) log.Println(" Function successfully completed.") } @@ -31719,16 +20696,7 @@ func (o *EditorSpatialGizmo) AddLines(lines *PoolVector3Array, material *Materia func (o *EditorSpatialGizmo) AddMesh(mesh *ArrayMesh, billboard bool, skeleton *RID) { log.Println("Calling EditorSpatialGizmo.AddMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(billboard) - goArguments[2] = reflect.ValueOf(skeleton) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_mesh", goArguments, "") - + godotCallVoidObjectBoolRid(o, "add_mesh", &mesh.Object, billboard, skeleton) log.Println(" Function successfully completed.") } @@ -31739,15 +20707,7 @@ func (o *EditorSpatialGizmo) AddMesh(mesh *ArrayMesh, billboard bool, skeleton * func (o *EditorSpatialGizmo) AddUnscaledBillboard(material *Material, defaultScale float64) { log.Println("Calling EditorSpatialGizmo.AddUnscaledBillboard()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(defaultScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_unscaled_billboard", goArguments, "") - + godotCallVoidObjectFloat(o, "add_unscaled_billboard", &material.Object, defaultScale) log.Println(" Function successfully completed.") } @@ -31758,13 +20718,7 @@ func (o *EditorSpatialGizmo) AddUnscaledBillboard(material *Material, defaultSca func (o *EditorSpatialGizmo) Clear() { log.Println("Calling EditorSpatialGizmo.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -31775,16 +20729,7 @@ func (o *EditorSpatialGizmo) Clear() { func (o *EditorSpatialGizmo) CommitHandle(index int64, restore *Variant, cancel bool) { log.Println("Calling EditorSpatialGizmo.CommitHandle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(restore) - goArguments[2] = reflect.ValueOf(cancel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "commit_handle", goArguments, "") - + godotCallVoidIntVariantBool(o, "commit_handle", index, restore, cancel) log.Println(" Function successfully completed.") } @@ -31795,17 +20740,9 @@ func (o *EditorSpatialGizmo) CommitHandle(index int64, restore *Variant, cancel func (o *EditorSpatialGizmo) GetHandleName(index int64) string { log.Println("Calling EditorSpatialGizmo.GetHandleName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_handle_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_handle_name", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31816,17 +20753,9 @@ func (o *EditorSpatialGizmo) GetHandleName(index int64) string { func (o *EditorSpatialGizmo) GetHandleValue(index int64) *Variant { log.Println("Calling EditorSpatialGizmo.GetHandleValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_handle_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_handle_value", index) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31837,13 +20766,7 @@ func (o *EditorSpatialGizmo) GetHandleValue(index int64) *Variant { func (o *EditorSpatialGizmo) Redraw() { log.Println("Calling EditorSpatialGizmo.Redraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "redraw", goArguments, "") - + godotCallVoid(o, "redraw") log.Println(" Function successfully completed.") } @@ -31854,16 +20777,7 @@ func (o *EditorSpatialGizmo) Redraw() { func (o *EditorSpatialGizmo) SetHandle(index int64, camera *Camera, point *Vector2) { log.Println("Calling EditorSpatialGizmo.SetHandle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(index) - goArguments[1] = reflect.ValueOf(camera) - goArguments[2] = reflect.ValueOf(point) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_handle", goArguments, "") - + godotCallVoidIntObjectVector2(o, "set_handle", index, &camera.Object, point) log.Println(" Function successfully completed.") } @@ -31874,14 +20788,7 @@ func (o *EditorSpatialGizmo) SetHandle(index int64, camera *Camera, point *Vecto func (o *EditorSpatialGizmo) SetSpatialNode(node *Object) { log.Println("Calling EditorSpatialGizmo.SetSpatialNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_spatial_node", goArguments, "") - + godotCallVoidObject(o, "set_spatial_node", node) log.Println(" Function successfully completed.") } @@ -31910,16 +20817,9 @@ func (o *EncodedObjectAsID) baseClass() string { func (o *EncodedObjectAsID) GetObjectId() int64 { log.Println("Calling EncodedObjectAsID.GetObjectId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_object_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_object_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31930,14 +20830,7 @@ func (o *EncodedObjectAsID) GetObjectId() int64 { func (o *EncodedObjectAsID) SetObjectId(id int64) { log.Println("Calling EncodedObjectAsID.SetObjectId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_object_id", goArguments, "") - + godotCallVoidInt(o, "set_object_id", id) log.Println(" Function successfully completed.") } @@ -31966,16 +20859,9 @@ func (o *Environment) baseClass() string { func (o *Environment) GetAdjustmentBrightness() float64 { log.Println("Calling Environment.GetAdjustmentBrightness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_adjustment_brightness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_adjustment_brightness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -31986,17 +20872,12 @@ func (o *Environment) GetAdjustmentBrightness() float64 { func (o *Environment) GetAdjustmentColorCorrection() *Texture { log.Println("Calling Environment.GetAdjustmentColorCorrection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_adjustment_color_correction", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_adjustment_color_correction") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -32006,16 +20887,9 @@ func (o *Environment) GetAdjustmentColorCorrection() *Texture { func (o *Environment) GetAdjustmentContrast() float64 { log.Println("Calling Environment.GetAdjustmentContrast()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_adjustment_contrast", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_adjustment_contrast") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32026,16 +20900,9 @@ func (o *Environment) GetAdjustmentContrast() float64 { func (o *Environment) GetAdjustmentSaturation() float64 { log.Println("Calling Environment.GetAdjustmentSaturation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_adjustment_saturation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_adjustment_saturation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32046,16 +20913,9 @@ func (o *Environment) GetAdjustmentSaturation() float64 { func (o *Environment) GetAmbientLightColor() *Color { log.Println("Calling Environment.GetAmbientLightColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ambient_light_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_ambient_light_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32066,16 +20926,9 @@ func (o *Environment) GetAmbientLightColor() *Color { func (o *Environment) GetAmbientLightEnergy() float64 { log.Println("Calling Environment.GetAmbientLightEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ambient_light_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ambient_light_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32086,16 +20939,9 @@ func (o *Environment) GetAmbientLightEnergy() float64 { func (o *Environment) GetAmbientLightSkyContribution() float64 { log.Println("Calling Environment.GetAmbientLightSkyContribution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ambient_light_sky_contribution", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ambient_light_sky_contribution") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32106,16 +20952,9 @@ func (o *Environment) GetAmbientLightSkyContribution() float64 { func (o *Environment) GetBackground() int64 { log.Println("Calling Environment.GetBackground()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_background", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_background") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32126,16 +20965,9 @@ func (o *Environment) GetBackground() int64 { func (o *Environment) GetBgColor() *Color { log.Println("Calling Environment.GetBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bg_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_bg_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32146,16 +20978,9 @@ func (o *Environment) GetBgColor() *Color { func (o *Environment) GetBgEnergy() float64 { log.Println("Calling Environment.GetBgEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bg_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bg_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32166,16 +20991,9 @@ func (o *Environment) GetBgEnergy() float64 { func (o *Environment) GetCanvasMaxLayer() int64 { log.Println("Calling Environment.GetCanvasMaxLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas_max_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_canvas_max_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32186,16 +21004,9 @@ func (o *Environment) GetCanvasMaxLayer() int64 { func (o *Environment) GetDofBlurFarAmount() float64 { log.Println("Calling Environment.GetDofBlurFarAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_far_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_far_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32206,16 +21017,9 @@ func (o *Environment) GetDofBlurFarAmount() float64 { func (o *Environment) GetDofBlurFarDistance() float64 { log.Println("Calling Environment.GetDofBlurFarDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_far_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_far_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32226,16 +21030,9 @@ func (o *Environment) GetDofBlurFarDistance() float64 { func (o *Environment) GetDofBlurFarQuality() int64 { log.Println("Calling Environment.GetDofBlurFarQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_far_quality", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dof_blur_far_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32246,16 +21043,9 @@ func (o *Environment) GetDofBlurFarQuality() int64 { func (o *Environment) GetDofBlurFarTransition() float64 { log.Println("Calling Environment.GetDofBlurFarTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_far_transition", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_far_transition") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32266,16 +21056,9 @@ func (o *Environment) GetDofBlurFarTransition() float64 { func (o *Environment) GetDofBlurNearAmount() float64 { log.Println("Calling Environment.GetDofBlurNearAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_near_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_near_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32286,16 +21069,9 @@ func (o *Environment) GetDofBlurNearAmount() float64 { func (o *Environment) GetDofBlurNearDistance() float64 { log.Println("Calling Environment.GetDofBlurNearDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_near_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_near_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32306,16 +21082,9 @@ func (o *Environment) GetDofBlurNearDistance() float64 { func (o *Environment) GetDofBlurNearQuality() int64 { log.Println("Calling Environment.GetDofBlurNearQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_near_quality", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dof_blur_near_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32326,16 +21095,9 @@ func (o *Environment) GetDofBlurNearQuality() int64 { func (o *Environment) GetDofBlurNearTransition() float64 { log.Println("Calling Environment.GetDofBlurNearTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dof_blur_near_transition", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_dof_blur_near_transition") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32346,16 +21108,9 @@ func (o *Environment) GetDofBlurNearTransition() float64 { func (o *Environment) GetFogColor() *Color { log.Println("Calling Environment.GetFogColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_fog_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32366,16 +21121,9 @@ func (o *Environment) GetFogColor() *Color { func (o *Environment) GetFogDepthBegin() float64 { log.Println("Calling Environment.GetFogDepthBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_depth_begin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_depth_begin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32386,16 +21134,9 @@ func (o *Environment) GetFogDepthBegin() float64 { func (o *Environment) GetFogDepthCurve() float64 { log.Println("Calling Environment.GetFogDepthCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_depth_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_depth_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32406,16 +21147,9 @@ func (o *Environment) GetFogDepthCurve() float64 { func (o *Environment) GetFogHeightCurve() float64 { log.Println("Calling Environment.GetFogHeightCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_height_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_height_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32426,16 +21160,9 @@ func (o *Environment) GetFogHeightCurve() float64 { func (o *Environment) GetFogHeightMax() float64 { log.Println("Calling Environment.GetFogHeightMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_height_max", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_height_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32446,16 +21173,9 @@ func (o *Environment) GetFogHeightMax() float64 { func (o *Environment) GetFogHeightMin() float64 { log.Println("Calling Environment.GetFogHeightMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_height_min", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_height_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32466,16 +21186,9 @@ func (o *Environment) GetFogHeightMin() float64 { func (o *Environment) GetFogSunAmount() float64 { log.Println("Calling Environment.GetFogSunAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_sun_amount", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_sun_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32486,16 +21199,9 @@ func (o *Environment) GetFogSunAmount() float64 { func (o *Environment) GetFogSunColor() *Color { log.Println("Calling Environment.GetFogSunColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_sun_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_fog_sun_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32506,16 +21212,9 @@ func (o *Environment) GetFogSunColor() *Color { func (o *Environment) GetFogTransmitCurve() float64 { log.Println("Calling Environment.GetFogTransmitCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fog_transmit_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fog_transmit_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32526,16 +21225,9 @@ func (o *Environment) GetFogTransmitCurve() float64 { func (o *Environment) GetGlowBlendMode() int64 { log.Println("Calling Environment.GetGlowBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_blend_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_glow_blend_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32546,16 +21238,9 @@ func (o *Environment) GetGlowBlendMode() int64 { func (o *Environment) GetGlowBloom() float64 { log.Println("Calling Environment.GetGlowBloom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_bloom", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_glow_bloom") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32566,16 +21251,9 @@ func (o *Environment) GetGlowBloom() float64 { func (o *Environment) GetGlowHdrBleedScale() float64 { log.Println("Calling Environment.GetGlowHdrBleedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_hdr_bleed_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_glow_hdr_bleed_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32586,16 +21264,9 @@ func (o *Environment) GetGlowHdrBleedScale() float64 { func (o *Environment) GetGlowHdrBleedThreshold() float64 { log.Println("Calling Environment.GetGlowHdrBleedThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_hdr_bleed_threshold", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_glow_hdr_bleed_threshold") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32606,16 +21277,9 @@ func (o *Environment) GetGlowHdrBleedThreshold() float64 { func (o *Environment) GetGlowIntensity() float64 { log.Println("Calling Environment.GetGlowIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_intensity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_glow_intensity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32626,16 +21290,9 @@ func (o *Environment) GetGlowIntensity() float64 { func (o *Environment) GetGlowStrength() float64 { log.Println("Calling Environment.GetGlowStrength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_glow_strength", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_glow_strength") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32646,17 +21303,12 @@ func (o *Environment) GetGlowStrength() float64 { func (o *Environment) GetSky() *Sky { log.Println("Calling Environment.GetSky()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky", goArguments, "*Sky") - - returnValue := goRet.Interface().(*Sky) - + returnValue := godotCallObject(o, "get_sky") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Sky + ret.owner = returnValue.owner + return &ret } @@ -32666,16 +21318,9 @@ func (o *Environment) GetSky() *Sky { func (o *Environment) GetSkyCustomFov() float64 { log.Println("Calling Environment.GetSkyCustomFov()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky_custom_fov", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sky_custom_fov") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32686,16 +21331,9 @@ func (o *Environment) GetSkyCustomFov() float64 { func (o *Environment) GetSsaoBias() float64 { log.Println("Calling Environment.GetSsaoBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32706,16 +21344,9 @@ func (o *Environment) GetSsaoBias() float64 { func (o *Environment) GetSsaoBlur() int64 { log.Println("Calling Environment.GetSsaoBlur()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_blur", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_ssao_blur") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32726,16 +21357,9 @@ func (o *Environment) GetSsaoBlur() int64 { func (o *Environment) GetSsaoColor() *Color { log.Println("Calling Environment.GetSsaoColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_ssao_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32746,16 +21370,9 @@ func (o *Environment) GetSsaoColor() *Color { func (o *Environment) GetSsaoDirectLightAffect() float64 { log.Println("Calling Environment.GetSsaoDirectLightAffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_direct_light_affect", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_direct_light_affect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32766,16 +21383,9 @@ func (o *Environment) GetSsaoDirectLightAffect() float64 { func (o *Environment) GetSsaoEdgeSharpness() float64 { log.Println("Calling Environment.GetSsaoEdgeSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_edge_sharpness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_edge_sharpness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32786,16 +21396,9 @@ func (o *Environment) GetSsaoEdgeSharpness() float64 { func (o *Environment) GetSsaoIntensity() float64 { log.Println("Calling Environment.GetSsaoIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_intensity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_intensity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32806,16 +21409,9 @@ func (o *Environment) GetSsaoIntensity() float64 { func (o *Environment) GetSsaoIntensity2() float64 { log.Println("Calling Environment.GetSsaoIntensity2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_intensity2", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_intensity2") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32826,16 +21422,9 @@ func (o *Environment) GetSsaoIntensity2() float64 { func (o *Environment) GetSsaoQuality() int64 { log.Println("Calling Environment.GetSsaoQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_quality", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_ssao_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32846,16 +21435,9 @@ func (o *Environment) GetSsaoQuality() int64 { func (o *Environment) GetSsaoRadius() float64 { log.Println("Calling Environment.GetSsaoRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32866,16 +21448,9 @@ func (o *Environment) GetSsaoRadius() float64 { func (o *Environment) GetSsaoRadius2() float64 { log.Println("Calling Environment.GetSsaoRadius2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssao_radius2", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssao_radius2") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32886,16 +21461,9 @@ func (o *Environment) GetSsaoRadius2() float64 { func (o *Environment) GetSsrDepthTolerance() float64 { log.Println("Calling Environment.GetSsrDepthTolerance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssr_depth_tolerance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssr_depth_tolerance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32906,16 +21474,9 @@ func (o *Environment) GetSsrDepthTolerance() float64 { func (o *Environment) GetSsrFadeIn() float64 { log.Println("Calling Environment.GetSsrFadeIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssr_fade_in", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssr_fade_in") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32926,16 +21487,9 @@ func (o *Environment) GetSsrFadeIn() float64 { func (o *Environment) GetSsrFadeOut() float64 { log.Println("Calling Environment.GetSsrFadeOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssr_fade_out", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ssr_fade_out") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32946,16 +21500,9 @@ func (o *Environment) GetSsrFadeOut() float64 { func (o *Environment) GetSsrMaxSteps() int64 { log.Println("Calling Environment.GetSsrMaxSteps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ssr_max_steps", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_ssr_max_steps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32966,16 +21513,9 @@ func (o *Environment) GetSsrMaxSteps() int64 { func (o *Environment) GetTonemapAutoExposure() bool { log.Println("Calling Environment.GetTonemapAutoExposure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_auto_exposure", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_tonemap_auto_exposure") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -32986,16 +21526,9 @@ func (o *Environment) GetTonemapAutoExposure() bool { func (o *Environment) GetTonemapAutoExposureGrey() float64 { log.Println("Calling Environment.GetTonemapAutoExposureGrey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_auto_exposure_grey", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_auto_exposure_grey") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33006,16 +21539,9 @@ func (o *Environment) GetTonemapAutoExposureGrey() float64 { func (o *Environment) GetTonemapAutoExposureMax() float64 { log.Println("Calling Environment.GetTonemapAutoExposureMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_auto_exposure_max", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_auto_exposure_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33026,16 +21552,9 @@ func (o *Environment) GetTonemapAutoExposureMax() float64 { func (o *Environment) GetTonemapAutoExposureMin() float64 { log.Println("Calling Environment.GetTonemapAutoExposureMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_auto_exposure_min", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_auto_exposure_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33046,16 +21565,9 @@ func (o *Environment) GetTonemapAutoExposureMin() float64 { func (o *Environment) GetTonemapAutoExposureSpeed() float64 { log.Println("Calling Environment.GetTonemapAutoExposureSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_auto_exposure_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_auto_exposure_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33066,16 +21578,9 @@ func (o *Environment) GetTonemapAutoExposureSpeed() float64 { func (o *Environment) GetTonemapExposure() float64 { log.Println("Calling Environment.GetTonemapExposure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_exposure", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_exposure") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33086,16 +21591,9 @@ func (o *Environment) GetTonemapExposure() float64 { func (o *Environment) GetTonemapWhite() float64 { log.Println("Calling Environment.GetTonemapWhite()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemap_white", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_tonemap_white") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33106,16 +21604,9 @@ func (o *Environment) GetTonemapWhite() float64 { func (o *Environment) GetTonemapper() int64 { log.Println("Calling Environment.GetTonemapper()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tonemapper", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tonemapper") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33126,16 +21617,9 @@ func (o *Environment) GetTonemapper() int64 { func (o *Environment) IsAdjustmentEnabled() bool { log.Println("Calling Environment.IsAdjustmentEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_adjustment_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_adjustment_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33146,16 +21630,9 @@ func (o *Environment) IsAdjustmentEnabled() bool { func (o *Environment) IsDofBlurFarEnabled() bool { log.Println("Calling Environment.IsDofBlurFarEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_dof_blur_far_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_dof_blur_far_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33166,16 +21643,9 @@ func (o *Environment) IsDofBlurFarEnabled() bool { func (o *Environment) IsDofBlurNearEnabled() bool { log.Println("Calling Environment.IsDofBlurNearEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_dof_blur_near_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_dof_blur_near_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33186,16 +21656,9 @@ func (o *Environment) IsDofBlurNearEnabled() bool { func (o *Environment) IsFogDepthEnabled() bool { log.Println("Calling Environment.IsFogDepthEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_fog_depth_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_fog_depth_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33206,16 +21669,9 @@ func (o *Environment) IsFogDepthEnabled() bool { func (o *Environment) IsFogEnabled() bool { log.Println("Calling Environment.IsFogEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_fog_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_fog_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33226,16 +21682,9 @@ func (o *Environment) IsFogEnabled() bool { func (o *Environment) IsFogHeightEnabled() bool { log.Println("Calling Environment.IsFogHeightEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_fog_height_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_fog_height_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33246,16 +21695,9 @@ func (o *Environment) IsFogHeightEnabled() bool { func (o *Environment) IsFogTransmitEnabled() bool { log.Println("Calling Environment.IsFogTransmitEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_fog_transmit_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_fog_transmit_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33266,16 +21708,9 @@ func (o *Environment) IsFogTransmitEnabled() bool { func (o *Environment) IsGlowBicubicUpscaleEnabled() bool { log.Println("Calling Environment.IsGlowBicubicUpscaleEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_glow_bicubic_upscale_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_glow_bicubic_upscale_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33286,16 +21721,9 @@ func (o *Environment) IsGlowBicubicUpscaleEnabled() bool { func (o *Environment) IsGlowEnabled() bool { log.Println("Calling Environment.IsGlowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_glow_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_glow_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33306,17 +21734,9 @@ func (o *Environment) IsGlowEnabled() bool { func (o *Environment) IsGlowLevelEnabled(idx int64) bool { log.Println("Calling Environment.IsGlowLevelEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_glow_level_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_glow_level_enabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33327,16 +21747,9 @@ func (o *Environment) IsGlowLevelEnabled(idx int64) bool { func (o *Environment) IsSsaoEnabled() bool { log.Println("Calling Environment.IsSsaoEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ssao_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ssao_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33347,16 +21760,9 @@ func (o *Environment) IsSsaoEnabled() bool { func (o *Environment) IsSsrEnabled() bool { log.Println("Calling Environment.IsSsrEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ssr_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ssr_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33367,16 +21773,9 @@ func (o *Environment) IsSsrEnabled() bool { func (o *Environment) IsSsrRough() bool { log.Println("Calling Environment.IsSsrRough()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ssr_rough", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ssr_rough") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -33387,14 +21786,7 @@ func (o *Environment) IsSsrRough() bool { func (o *Environment) SetAdjustmentBrightness(brightness float64) { log.Println("Calling Environment.SetAdjustmentBrightness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(brightness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_adjustment_brightness", goArguments, "") - + godotCallVoidFloat(o, "set_adjustment_brightness", brightness) log.Println(" Function successfully completed.") } @@ -33405,14 +21797,7 @@ func (o *Environment) SetAdjustmentBrightness(brightness float64) { func (o *Environment) SetAdjustmentColorCorrection(colorCorrection *Texture) { log.Println("Calling Environment.SetAdjustmentColorCorrection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(colorCorrection) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_adjustment_color_correction", goArguments, "") - + godotCallVoidObject(o, "set_adjustment_color_correction", &colorCorrection.Object) log.Println(" Function successfully completed.") } @@ -33423,14 +21808,7 @@ func (o *Environment) SetAdjustmentColorCorrection(colorCorrection *Texture) { func (o *Environment) SetAdjustmentContrast(contrast float64) { log.Println("Calling Environment.SetAdjustmentContrast()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contrast) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_adjustment_contrast", goArguments, "") - + godotCallVoidFloat(o, "set_adjustment_contrast", contrast) log.Println(" Function successfully completed.") } @@ -33441,14 +21819,7 @@ func (o *Environment) SetAdjustmentContrast(contrast float64) { func (o *Environment) SetAdjustmentEnable(enabled bool) { log.Println("Calling Environment.SetAdjustmentEnable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_adjustment_enable", goArguments, "") - + godotCallVoidBool(o, "set_adjustment_enable", enabled) log.Println(" Function successfully completed.") } @@ -33459,14 +21830,7 @@ func (o *Environment) SetAdjustmentEnable(enabled bool) { func (o *Environment) SetAdjustmentSaturation(saturation float64) { log.Println("Calling Environment.SetAdjustmentSaturation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(saturation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_adjustment_saturation", goArguments, "") - + godotCallVoidFloat(o, "set_adjustment_saturation", saturation) log.Println(" Function successfully completed.") } @@ -33477,14 +21841,7 @@ func (o *Environment) SetAdjustmentSaturation(saturation float64) { func (o *Environment) SetAmbientLightColor(color *Color) { log.Println("Calling Environment.SetAmbientLightColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ambient_light_color", goArguments, "") - + godotCallVoidColor(o, "set_ambient_light_color", color) log.Println(" Function successfully completed.") } @@ -33495,14 +21852,7 @@ func (o *Environment) SetAmbientLightColor(color *Color) { func (o *Environment) SetAmbientLightEnergy(energy float64) { log.Println("Calling Environment.SetAmbientLightEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ambient_light_energy", goArguments, "") - + godotCallVoidFloat(o, "set_ambient_light_energy", energy) log.Println(" Function successfully completed.") } @@ -33513,14 +21863,7 @@ func (o *Environment) SetAmbientLightEnergy(energy float64) { func (o *Environment) SetAmbientLightSkyContribution(energy float64) { log.Println("Calling Environment.SetAmbientLightSkyContribution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ambient_light_sky_contribution", goArguments, "") - + godotCallVoidFloat(o, "set_ambient_light_sky_contribution", energy) log.Println(" Function successfully completed.") } @@ -33531,14 +21874,7 @@ func (o *Environment) SetAmbientLightSkyContribution(energy float64) { func (o *Environment) SetBackground(mode int64) { log.Println("Calling Environment.SetBackground()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_background", goArguments, "") - + godotCallVoidInt(o, "set_background", mode) log.Println(" Function successfully completed.") } @@ -33549,14 +21885,7 @@ func (o *Environment) SetBackground(mode int64) { func (o *Environment) SetBgColor(color *Color) { log.Println("Calling Environment.SetBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bg_color", goArguments, "") - + godotCallVoidColor(o, "set_bg_color", color) log.Println(" Function successfully completed.") } @@ -33567,14 +21896,7 @@ func (o *Environment) SetBgColor(color *Color) { func (o *Environment) SetBgEnergy(energy float64) { log.Println("Calling Environment.SetBgEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bg_energy", goArguments, "") - + godotCallVoidFloat(o, "set_bg_energy", energy) log.Println(" Function successfully completed.") } @@ -33585,14 +21907,7 @@ func (o *Environment) SetBgEnergy(energy float64) { func (o *Environment) SetCanvasMaxLayer(layer int64) { log.Println("Calling Environment.SetCanvasMaxLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_canvas_max_layer", goArguments, "") - + godotCallVoidInt(o, "set_canvas_max_layer", layer) log.Println(" Function successfully completed.") } @@ -33603,14 +21918,7 @@ func (o *Environment) SetCanvasMaxLayer(layer int64) { func (o *Environment) SetDofBlurFarAmount(intensity float64) { log.Println("Calling Environment.SetDofBlurFarAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_far_amount", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_far_amount", intensity) log.Println(" Function successfully completed.") } @@ -33621,14 +21929,7 @@ func (o *Environment) SetDofBlurFarAmount(intensity float64) { func (o *Environment) SetDofBlurFarDistance(intensity float64) { log.Println("Calling Environment.SetDofBlurFarDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_far_distance", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_far_distance", intensity) log.Println(" Function successfully completed.") } @@ -33639,14 +21940,7 @@ func (o *Environment) SetDofBlurFarDistance(intensity float64) { func (o *Environment) SetDofBlurFarEnabled(enabled bool) { log.Println("Calling Environment.SetDofBlurFarEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_far_enabled", goArguments, "") - + godotCallVoidBool(o, "set_dof_blur_far_enabled", enabled) log.Println(" Function successfully completed.") } @@ -33657,14 +21951,7 @@ func (o *Environment) SetDofBlurFarEnabled(enabled bool) { func (o *Environment) SetDofBlurFarQuality(intensity int64) { log.Println("Calling Environment.SetDofBlurFarQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_far_quality", goArguments, "") - + godotCallVoidInt(o, "set_dof_blur_far_quality", intensity) log.Println(" Function successfully completed.") } @@ -33675,14 +21962,7 @@ func (o *Environment) SetDofBlurFarQuality(intensity int64) { func (o *Environment) SetDofBlurFarTransition(intensity float64) { log.Println("Calling Environment.SetDofBlurFarTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_far_transition", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_far_transition", intensity) log.Println(" Function successfully completed.") } @@ -33693,14 +21973,7 @@ func (o *Environment) SetDofBlurFarTransition(intensity float64) { func (o *Environment) SetDofBlurNearAmount(intensity float64) { log.Println("Calling Environment.SetDofBlurNearAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_near_amount", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_near_amount", intensity) log.Println(" Function successfully completed.") } @@ -33711,14 +21984,7 @@ func (o *Environment) SetDofBlurNearAmount(intensity float64) { func (o *Environment) SetDofBlurNearDistance(intensity float64) { log.Println("Calling Environment.SetDofBlurNearDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_near_distance", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_near_distance", intensity) log.Println(" Function successfully completed.") } @@ -33729,14 +21995,7 @@ func (o *Environment) SetDofBlurNearDistance(intensity float64) { func (o *Environment) SetDofBlurNearEnabled(enabled bool) { log.Println("Calling Environment.SetDofBlurNearEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_near_enabled", goArguments, "") - + godotCallVoidBool(o, "set_dof_blur_near_enabled", enabled) log.Println(" Function successfully completed.") } @@ -33747,14 +22006,7 @@ func (o *Environment) SetDofBlurNearEnabled(enabled bool) { func (o *Environment) SetDofBlurNearQuality(level int64) { log.Println("Calling Environment.SetDofBlurNearQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(level) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_near_quality", goArguments, "") - + godotCallVoidInt(o, "set_dof_blur_near_quality", level) log.Println(" Function successfully completed.") } @@ -33765,14 +22017,7 @@ func (o *Environment) SetDofBlurNearQuality(level int64) { func (o *Environment) SetDofBlurNearTransition(intensity float64) { log.Println("Calling Environment.SetDofBlurNearTransition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dof_blur_near_transition", goArguments, "") - + godotCallVoidFloat(o, "set_dof_blur_near_transition", intensity) log.Println(" Function successfully completed.") } @@ -33783,14 +22028,7 @@ func (o *Environment) SetDofBlurNearTransition(intensity float64) { func (o *Environment) SetFogColor(color *Color) { log.Println("Calling Environment.SetFogColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_color", goArguments, "") - + godotCallVoidColor(o, "set_fog_color", color) log.Println(" Function successfully completed.") } @@ -33801,14 +22039,7 @@ func (o *Environment) SetFogColor(color *Color) { func (o *Environment) SetFogDepthBegin(distance float64) { log.Println("Calling Environment.SetFogDepthBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_depth_begin", goArguments, "") - + godotCallVoidFloat(o, "set_fog_depth_begin", distance) log.Println(" Function successfully completed.") } @@ -33819,14 +22050,7 @@ func (o *Environment) SetFogDepthBegin(distance float64) { func (o *Environment) SetFogDepthCurve(curve float64) { log.Println("Calling Environment.SetFogDepthCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_depth_curve", goArguments, "") - + godotCallVoidFloat(o, "set_fog_depth_curve", curve) log.Println(" Function successfully completed.") } @@ -33837,14 +22061,7 @@ func (o *Environment) SetFogDepthCurve(curve float64) { func (o *Environment) SetFogDepthEnabled(enabled bool) { log.Println("Calling Environment.SetFogDepthEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_depth_enabled", goArguments, "") - + godotCallVoidBool(o, "set_fog_depth_enabled", enabled) log.Println(" Function successfully completed.") } @@ -33855,14 +22072,7 @@ func (o *Environment) SetFogDepthEnabled(enabled bool) { func (o *Environment) SetFogEnabled(enabled bool) { log.Println("Calling Environment.SetFogEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_enabled", goArguments, "") - + godotCallVoidBool(o, "set_fog_enabled", enabled) log.Println(" Function successfully completed.") } @@ -33873,14 +22083,7 @@ func (o *Environment) SetFogEnabled(enabled bool) { func (o *Environment) SetFogHeightCurve(curve float64) { log.Println("Calling Environment.SetFogHeightCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_height_curve", goArguments, "") - + godotCallVoidFloat(o, "set_fog_height_curve", curve) log.Println(" Function successfully completed.") } @@ -33891,14 +22094,7 @@ func (o *Environment) SetFogHeightCurve(curve float64) { func (o *Environment) SetFogHeightEnabled(enabled bool) { log.Println("Calling Environment.SetFogHeightEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_height_enabled", goArguments, "") - + godotCallVoidBool(o, "set_fog_height_enabled", enabled) log.Println(" Function successfully completed.") } @@ -33909,14 +22105,7 @@ func (o *Environment) SetFogHeightEnabled(enabled bool) { func (o *Environment) SetFogHeightMax(height float64) { log.Println("Calling Environment.SetFogHeightMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_height_max", goArguments, "") - + godotCallVoidFloat(o, "set_fog_height_max", height) log.Println(" Function successfully completed.") } @@ -33927,14 +22116,7 @@ func (o *Environment) SetFogHeightMax(height float64) { func (o *Environment) SetFogHeightMin(height float64) { log.Println("Calling Environment.SetFogHeightMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_height_min", goArguments, "") - + godotCallVoidFloat(o, "set_fog_height_min", height) log.Println(" Function successfully completed.") } @@ -33945,14 +22127,7 @@ func (o *Environment) SetFogHeightMin(height float64) { func (o *Environment) SetFogSunAmount(amount float64) { log.Println("Calling Environment.SetFogSunAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_sun_amount", goArguments, "") - + godotCallVoidFloat(o, "set_fog_sun_amount", amount) log.Println(" Function successfully completed.") } @@ -33963,14 +22138,7 @@ func (o *Environment) SetFogSunAmount(amount float64) { func (o *Environment) SetFogSunColor(color *Color) { log.Println("Calling Environment.SetFogSunColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_sun_color", goArguments, "") - + godotCallVoidColor(o, "set_fog_sun_color", color) log.Println(" Function successfully completed.") } @@ -33981,14 +22149,7 @@ func (o *Environment) SetFogSunColor(color *Color) { func (o *Environment) SetFogTransmitCurve(curve float64) { log.Println("Calling Environment.SetFogTransmitCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_transmit_curve", goArguments, "") - + godotCallVoidFloat(o, "set_fog_transmit_curve", curve) log.Println(" Function successfully completed.") } @@ -33999,14 +22160,7 @@ func (o *Environment) SetFogTransmitCurve(curve float64) { func (o *Environment) SetFogTransmitEnabled(enabled bool) { log.Println("Calling Environment.SetFogTransmitEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fog_transmit_enabled", goArguments, "") - + godotCallVoidBool(o, "set_fog_transmit_enabled", enabled) log.Println(" Function successfully completed.") } @@ -34017,14 +22171,7 @@ func (o *Environment) SetFogTransmitEnabled(enabled bool) { func (o *Environment) SetGlowBicubicUpscale(enabled bool) { log.Println("Calling Environment.SetGlowBicubicUpscale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_bicubic_upscale", goArguments, "") - + godotCallVoidBool(o, "set_glow_bicubic_upscale", enabled) log.Println(" Function successfully completed.") } @@ -34035,14 +22182,7 @@ func (o *Environment) SetGlowBicubicUpscale(enabled bool) { func (o *Environment) SetGlowBlendMode(mode int64) { log.Println("Calling Environment.SetGlowBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_blend_mode", goArguments, "") - + godotCallVoidInt(o, "set_glow_blend_mode", mode) log.Println(" Function successfully completed.") } @@ -34053,14 +22193,7 @@ func (o *Environment) SetGlowBlendMode(mode int64) { func (o *Environment) SetGlowBloom(amount float64) { log.Println("Calling Environment.SetGlowBloom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_bloom", goArguments, "") - + godotCallVoidFloat(o, "set_glow_bloom", amount) log.Println(" Function successfully completed.") } @@ -34071,14 +22204,7 @@ func (o *Environment) SetGlowBloom(amount float64) { func (o *Environment) SetGlowEnabled(enabled bool) { log.Println("Calling Environment.SetGlowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_enabled", goArguments, "") - + godotCallVoidBool(o, "set_glow_enabled", enabled) log.Println(" Function successfully completed.") } @@ -34089,14 +22215,7 @@ func (o *Environment) SetGlowEnabled(enabled bool) { func (o *Environment) SetGlowHdrBleedScale(scale float64) { log.Println("Calling Environment.SetGlowHdrBleedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_hdr_bleed_scale", goArguments, "") - + godotCallVoidFloat(o, "set_glow_hdr_bleed_scale", scale) log.Println(" Function successfully completed.") } @@ -34107,14 +22226,7 @@ func (o *Environment) SetGlowHdrBleedScale(scale float64) { func (o *Environment) SetGlowHdrBleedThreshold(threshold float64) { log.Println("Calling Environment.SetGlowHdrBleedThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(threshold) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_hdr_bleed_threshold", goArguments, "") - + godotCallVoidFloat(o, "set_glow_hdr_bleed_threshold", threshold) log.Println(" Function successfully completed.") } @@ -34125,14 +22237,7 @@ func (o *Environment) SetGlowHdrBleedThreshold(threshold float64) { func (o *Environment) SetGlowIntensity(intensity float64) { log.Println("Calling Environment.SetGlowIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_intensity", goArguments, "") - + godotCallVoidFloat(o, "set_glow_intensity", intensity) log.Println(" Function successfully completed.") } @@ -34143,15 +22248,7 @@ func (o *Environment) SetGlowIntensity(intensity float64) { func (o *Environment) SetGlowLevel(idx int64, enabled bool) { log.Println("Calling Environment.SetGlowLevel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_level", goArguments, "") - + godotCallVoidIntBool(o, "set_glow_level", idx, enabled) log.Println(" Function successfully completed.") } @@ -34162,14 +22259,7 @@ func (o *Environment) SetGlowLevel(idx int64, enabled bool) { func (o *Environment) SetGlowStrength(strength float64) { log.Println("Calling Environment.SetGlowStrength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(strength) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_glow_strength", goArguments, "") - + godotCallVoidFloat(o, "set_glow_strength", strength) log.Println(" Function successfully completed.") } @@ -34180,14 +22270,7 @@ func (o *Environment) SetGlowStrength(strength float64) { func (o *Environment) SetSky(sky *Sky) { log.Println("Calling Environment.SetSky()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sky) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky", goArguments, "") - + godotCallVoidObject(o, "set_sky", &sky.Object) log.Println(" Function successfully completed.") } @@ -34198,14 +22281,7 @@ func (o *Environment) SetSky(sky *Sky) { func (o *Environment) SetSkyCustomFov(scale float64) { log.Println("Calling Environment.SetSkyCustomFov()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky_custom_fov", goArguments, "") - + godotCallVoidFloat(o, "set_sky_custom_fov", scale) log.Println(" Function successfully completed.") } @@ -34216,14 +22292,7 @@ func (o *Environment) SetSkyCustomFov(scale float64) { func (o *Environment) SetSsaoBias(bias float64) { log.Println("Calling Environment.SetSsaoBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bias) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_bias", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_bias", bias) log.Println(" Function successfully completed.") } @@ -34234,14 +22303,7 @@ func (o *Environment) SetSsaoBias(bias float64) { func (o *Environment) SetSsaoBlur(mode int64) { log.Println("Calling Environment.SetSsaoBlur()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_blur", goArguments, "") - + godotCallVoidInt(o, "set_ssao_blur", mode) log.Println(" Function successfully completed.") } @@ -34252,14 +22314,7 @@ func (o *Environment) SetSsaoBlur(mode int64) { func (o *Environment) SetSsaoColor(color *Color) { log.Println("Calling Environment.SetSsaoColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_color", goArguments, "") - + godotCallVoidColor(o, "set_ssao_color", color) log.Println(" Function successfully completed.") } @@ -34270,14 +22325,7 @@ func (o *Environment) SetSsaoColor(color *Color) { func (o *Environment) SetSsaoDirectLightAffect(amount float64) { log.Println("Calling Environment.SetSsaoDirectLightAffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_direct_light_affect", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_direct_light_affect", amount) log.Println(" Function successfully completed.") } @@ -34288,14 +22336,7 @@ func (o *Environment) SetSsaoDirectLightAffect(amount float64) { func (o *Environment) SetSsaoEdgeSharpness(edgeSharpness float64) { log.Println("Calling Environment.SetSsaoEdgeSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(edgeSharpness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_edge_sharpness", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_edge_sharpness", edgeSharpness) log.Println(" Function successfully completed.") } @@ -34306,14 +22347,7 @@ func (o *Environment) SetSsaoEdgeSharpness(edgeSharpness float64) { func (o *Environment) SetSsaoEnabled(enabled bool) { log.Println("Calling Environment.SetSsaoEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_enabled", goArguments, "") - + godotCallVoidBool(o, "set_ssao_enabled", enabled) log.Println(" Function successfully completed.") } @@ -34324,14 +22358,7 @@ func (o *Environment) SetSsaoEnabled(enabled bool) { func (o *Environment) SetSsaoIntensity(intensity float64) { log.Println("Calling Environment.SetSsaoIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_intensity", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_intensity", intensity) log.Println(" Function successfully completed.") } @@ -34342,14 +22369,7 @@ func (o *Environment) SetSsaoIntensity(intensity float64) { func (o *Environment) SetSsaoIntensity2(intensity float64) { log.Println("Calling Environment.SetSsaoIntensity2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_intensity2", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_intensity2", intensity) log.Println(" Function successfully completed.") } @@ -34360,14 +22380,7 @@ func (o *Environment) SetSsaoIntensity2(intensity float64) { func (o *Environment) SetSsaoQuality(quality int64) { log.Println("Calling Environment.SetSsaoQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(quality) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_quality", goArguments, "") - + godotCallVoidInt(o, "set_ssao_quality", quality) log.Println(" Function successfully completed.") } @@ -34378,14 +22391,7 @@ func (o *Environment) SetSsaoQuality(quality int64) { func (o *Environment) SetSsaoRadius(radius float64) { log.Println("Calling Environment.SetSsaoRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_radius", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_radius", radius) log.Println(" Function successfully completed.") } @@ -34396,14 +22402,7 @@ func (o *Environment) SetSsaoRadius(radius float64) { func (o *Environment) SetSsaoRadius2(radius float64) { log.Println("Calling Environment.SetSsaoRadius2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssao_radius2", goArguments, "") - + godotCallVoidFloat(o, "set_ssao_radius2", radius) log.Println(" Function successfully completed.") } @@ -34414,14 +22413,7 @@ func (o *Environment) SetSsaoRadius2(radius float64) { func (o *Environment) SetSsrDepthTolerance(depthTolerance float64) { log.Println("Calling Environment.SetSsrDepthTolerance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(depthTolerance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_depth_tolerance", goArguments, "") - + godotCallVoidFloat(o, "set_ssr_depth_tolerance", depthTolerance) log.Println(" Function successfully completed.") } @@ -34432,14 +22424,7 @@ func (o *Environment) SetSsrDepthTolerance(depthTolerance float64) { func (o *Environment) SetSsrEnabled(enabled bool) { log.Println("Calling Environment.SetSsrEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_enabled", goArguments, "") - + godotCallVoidBool(o, "set_ssr_enabled", enabled) log.Println(" Function successfully completed.") } @@ -34450,14 +22435,7 @@ func (o *Environment) SetSsrEnabled(enabled bool) { func (o *Environment) SetSsrFadeIn(fadeIn float64) { log.Println("Calling Environment.SetSsrFadeIn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fadeIn) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_fade_in", goArguments, "") - + godotCallVoidFloat(o, "set_ssr_fade_in", fadeIn) log.Println(" Function successfully completed.") } @@ -34468,14 +22446,7 @@ func (o *Environment) SetSsrFadeIn(fadeIn float64) { func (o *Environment) SetSsrFadeOut(fadeOut float64) { log.Println("Calling Environment.SetSsrFadeOut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fadeOut) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_fade_out", goArguments, "") - + godotCallVoidFloat(o, "set_ssr_fade_out", fadeOut) log.Println(" Function successfully completed.") } @@ -34486,14 +22457,7 @@ func (o *Environment) SetSsrFadeOut(fadeOut float64) { func (o *Environment) SetSsrMaxSteps(maxSteps int64) { log.Println("Calling Environment.SetSsrMaxSteps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maxSteps) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_max_steps", goArguments, "") - + godotCallVoidInt(o, "set_ssr_max_steps", maxSteps) log.Println(" Function successfully completed.") } @@ -34504,14 +22468,7 @@ func (o *Environment) SetSsrMaxSteps(maxSteps int64) { func (o *Environment) SetSsrRough(rough bool) { log.Println("Calling Environment.SetSsrRough()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rough) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ssr_rough", goArguments, "") - + godotCallVoidBool(o, "set_ssr_rough", rough) log.Println(" Function successfully completed.") } @@ -34522,14 +22479,7 @@ func (o *Environment) SetSsrRough(rough bool) { func (o *Environment) SetTonemapAutoExposure(autoExposure bool) { log.Println("Calling Environment.SetTonemapAutoExposure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(autoExposure) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_auto_exposure", goArguments, "") - + godotCallVoidBool(o, "set_tonemap_auto_exposure", autoExposure) log.Println(" Function successfully completed.") } @@ -34540,14 +22490,7 @@ func (o *Environment) SetTonemapAutoExposure(autoExposure bool) { func (o *Environment) SetTonemapAutoExposureGrey(exposureGrey float64) { log.Println("Calling Environment.SetTonemapAutoExposureGrey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exposureGrey) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_auto_exposure_grey", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_auto_exposure_grey", exposureGrey) log.Println(" Function successfully completed.") } @@ -34558,14 +22501,7 @@ func (o *Environment) SetTonemapAutoExposureGrey(exposureGrey float64) { func (o *Environment) SetTonemapAutoExposureMax(exposureMax float64) { log.Println("Calling Environment.SetTonemapAutoExposureMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exposureMax) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_auto_exposure_max", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_auto_exposure_max", exposureMax) log.Println(" Function successfully completed.") } @@ -34576,14 +22512,7 @@ func (o *Environment) SetTonemapAutoExposureMax(exposureMax float64) { func (o *Environment) SetTonemapAutoExposureMin(exposureMin float64) { log.Println("Calling Environment.SetTonemapAutoExposureMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exposureMin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_auto_exposure_min", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_auto_exposure_min", exposureMin) log.Println(" Function successfully completed.") } @@ -34594,14 +22523,7 @@ func (o *Environment) SetTonemapAutoExposureMin(exposureMin float64) { func (o *Environment) SetTonemapAutoExposureSpeed(exposureSpeed float64) { log.Println("Calling Environment.SetTonemapAutoExposureSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exposureSpeed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_auto_exposure_speed", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_auto_exposure_speed", exposureSpeed) log.Println(" Function successfully completed.") } @@ -34612,14 +22534,7 @@ func (o *Environment) SetTonemapAutoExposureSpeed(exposureSpeed float64) { func (o *Environment) SetTonemapExposure(exposure float64) { log.Println("Calling Environment.SetTonemapExposure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exposure) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_exposure", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_exposure", exposure) log.Println(" Function successfully completed.") } @@ -34630,14 +22545,7 @@ func (o *Environment) SetTonemapExposure(exposure float64) { func (o *Environment) SetTonemapWhite(white float64) { log.Println("Calling Environment.SetTonemapWhite()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(white) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemap_white", goArguments, "") - + godotCallVoidFloat(o, "set_tonemap_white", white) log.Println(" Function successfully completed.") } @@ -34648,14 +22556,7 @@ func (o *Environment) SetTonemapWhite(white float64) { func (o *Environment) SetTonemapper(mode int64) { log.Println("Calling Environment.SetTonemapper()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tonemapper", goArguments, "") - + godotCallVoidInt(o, "set_tonemapper", mode) log.Println(" Function successfully completed.") } @@ -34684,13 +22585,7 @@ func (o *FileDialog) baseClass() string { func (o *FileDialog) X_ActionPressed() { log.Println("Calling FileDialog.X_ActionPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_action_pressed", goArguments, "") - + godotCallVoid(o, "_action_pressed") log.Println(" Function successfully completed.") } @@ -34701,13 +22596,7 @@ func (o *FileDialog) X_ActionPressed() { func (o *FileDialog) X_CancelPressed() { log.Println("Calling FileDialog.X_CancelPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_cancel_pressed", goArguments, "") - + godotCallVoid(o, "_cancel_pressed") log.Println(" Function successfully completed.") } @@ -34718,14 +22607,7 @@ func (o *FileDialog) X_CancelPressed() { func (o *FileDialog) X_DirEntered(arg0 string) { log.Println("Calling FileDialog.X_DirEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_dir_entered", goArguments, "") - + godotCallVoidString(o, "_dir_entered", arg0) log.Println(" Function successfully completed.") } @@ -34736,14 +22618,7 @@ func (o *FileDialog) X_DirEntered(arg0 string) { func (o *FileDialog) X_FileEntered(arg0 string) { log.Println("Calling FileDialog.X_FileEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_file_entered", goArguments, "") - + godotCallVoidString(o, "_file_entered", arg0) log.Println(" Function successfully completed.") } @@ -34754,14 +22629,7 @@ func (o *FileDialog) X_FileEntered(arg0 string) { func (o *FileDialog) X_FilterSelected(arg0 int64) { log.Println("Calling FileDialog.X_FilterSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_filter_selected", goArguments, "") - + godotCallVoidInt(o, "_filter_selected", arg0) log.Println(" Function successfully completed.") } @@ -34772,13 +22640,7 @@ func (o *FileDialog) X_FilterSelected(arg0 int64) { func (o *FileDialog) X_GoUp() { log.Println("Calling FileDialog.X_GoUp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_go_up", goArguments, "") - + godotCallVoid(o, "_go_up") log.Println(" Function successfully completed.") } @@ -34789,13 +22651,7 @@ func (o *FileDialog) X_GoUp() { func (o *FileDialog) X_MakeDir() { log.Println("Calling FileDialog.X_MakeDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_make_dir", goArguments, "") - + godotCallVoid(o, "_make_dir") log.Println(" Function successfully completed.") } @@ -34806,13 +22662,7 @@ func (o *FileDialog) X_MakeDir() { func (o *FileDialog) X_MakeDirConfirm() { log.Println("Calling FileDialog.X_MakeDirConfirm()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_make_dir_confirm", goArguments, "") - + godotCallVoid(o, "_make_dir_confirm") log.Println(" Function successfully completed.") } @@ -34823,13 +22673,7 @@ func (o *FileDialog) X_MakeDirConfirm() { func (o *FileDialog) X_SaveConfirmPressed() { log.Println("Calling FileDialog.X_SaveConfirmPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_save_confirm_pressed", goArguments, "") - + godotCallVoid(o, "_save_confirm_pressed") log.Println(" Function successfully completed.") } @@ -34840,14 +22684,7 @@ func (o *FileDialog) X_SaveConfirmPressed() { func (o *FileDialog) X_SelectDrive(arg0 int64) { log.Println("Calling FileDialog.X_SelectDrive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_select_drive", goArguments, "") - + godotCallVoidInt(o, "_select_drive", arg0) log.Println(" Function successfully completed.") } @@ -34858,13 +22695,7 @@ func (o *FileDialog) X_SelectDrive(arg0 int64) { func (o *FileDialog) X_TreeDbSelected() { log.Println("Calling FileDialog.X_TreeDbSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_tree_db_selected", goArguments, "") - + godotCallVoid(o, "_tree_db_selected") log.Println(" Function successfully completed.") } @@ -34875,13 +22706,7 @@ func (o *FileDialog) X_TreeDbSelected() { func (o *FileDialog) X_TreeSelected() { log.Println("Calling FileDialog.X_TreeSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_tree_selected", goArguments, "") - + godotCallVoid(o, "_tree_selected") log.Println(" Function successfully completed.") } @@ -34892,14 +22717,7 @@ func (o *FileDialog) X_TreeSelected() { func (o *FileDialog) X_UnhandledInput(arg0 *InputEvent) { log.Println("Calling FileDialog.X_UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -34910,13 +22728,7 @@ func (o *FileDialog) X_UnhandledInput(arg0 *InputEvent) { func (o *FileDialog) X_UpdateDir() { log.Println("Calling FileDialog.X_UpdateDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_dir", goArguments, "") - + godotCallVoid(o, "_update_dir") log.Println(" Function successfully completed.") } @@ -34927,13 +22739,7 @@ func (o *FileDialog) X_UpdateDir() { func (o *FileDialog) X_UpdateFileList() { log.Println("Calling FileDialog.X_UpdateFileList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_file_list", goArguments, "") - + godotCallVoid(o, "_update_file_list") log.Println(" Function successfully completed.") } @@ -34944,14 +22750,7 @@ func (o *FileDialog) X_UpdateFileList() { func (o *FileDialog) AddFilter(filter string) { log.Println("Calling FileDialog.AddFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_filter", goArguments, "") - + godotCallVoidString(o, "add_filter", filter) log.Println(" Function successfully completed.") } @@ -34962,13 +22761,7 @@ func (o *FileDialog) AddFilter(filter string) { func (o *FileDialog) ClearFilters() { log.Println("Calling FileDialog.ClearFilters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_filters", goArguments, "") - + godotCallVoid(o, "clear_filters") log.Println(" Function successfully completed.") } @@ -34979,13 +22772,7 @@ func (o *FileDialog) ClearFilters() { func (o *FileDialog) DeselectItems() { log.Println("Calling FileDialog.DeselectItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "deselect_items", goArguments, "") - + godotCallVoid(o, "deselect_items") log.Println(" Function successfully completed.") } @@ -34996,16 +22783,9 @@ func (o *FileDialog) DeselectItems() { func (o *FileDialog) GetAccess() int64 { log.Println("Calling FileDialog.GetAccess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_access", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_access") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35016,16 +22796,9 @@ func (o *FileDialog) GetAccess() int64 { func (o *FileDialog) GetCurrentDir() string { log.Println("Calling FileDialog.GetCurrentDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_dir", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_dir") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35036,16 +22809,9 @@ func (o *FileDialog) GetCurrentDir() string { func (o *FileDialog) GetCurrentFile() string { log.Println("Calling FileDialog.GetCurrentFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_file") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35056,16 +22822,9 @@ func (o *FileDialog) GetCurrentFile() string { func (o *FileDialog) GetCurrentPath() string { log.Println("Calling FileDialog.GetCurrentPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35076,16 +22835,9 @@ func (o *FileDialog) GetCurrentPath() string { func (o *FileDialog) GetFilters() *PoolStringArray { log.Println("Calling FileDialog.GetFilters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filters", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_filters") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35096,16 +22848,9 @@ func (o *FileDialog) GetFilters() *PoolStringArray { func (o *FileDialog) GetMode() int64 { log.Println("Calling FileDialog.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35116,17 +22861,12 @@ func (o *FileDialog) GetMode() int64 { func (o *FileDialog) GetVbox() *VBoxContainer { log.Println("Calling FileDialog.GetVbox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vbox", goArguments, "*VBoxContainer") - - returnValue := goRet.Interface().(*VBoxContainer) - + returnValue := godotCallObject(o, "get_vbox") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VBoxContainer + ret.owner = returnValue.owner + return &ret } @@ -35136,13 +22876,7 @@ func (o *FileDialog) GetVbox() *VBoxContainer { func (o *FileDialog) Invalidate() { log.Println("Calling FileDialog.Invalidate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "invalidate", goArguments, "") - + godotCallVoid(o, "invalidate") log.Println(" Function successfully completed.") } @@ -35153,16 +22887,9 @@ func (o *FileDialog) Invalidate() { func (o *FileDialog) IsModeOverridingTitle() bool { log.Println("Calling FileDialog.IsModeOverridingTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_mode_overriding_title", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_mode_overriding_title") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35173,16 +22900,9 @@ func (o *FileDialog) IsModeOverridingTitle() bool { func (o *FileDialog) IsShowingHiddenFiles() bool { log.Println("Calling FileDialog.IsShowingHiddenFiles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_showing_hidden_files", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_showing_hidden_files") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35193,14 +22913,7 @@ func (o *FileDialog) IsShowingHiddenFiles() bool { func (o *FileDialog) SetAccess(access int64) { log.Println("Calling FileDialog.SetAccess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(access) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_access", goArguments, "") - + godotCallVoidInt(o, "set_access", access) log.Println(" Function successfully completed.") } @@ -35211,14 +22924,7 @@ func (o *FileDialog) SetAccess(access int64) { func (o *FileDialog) SetCurrentDir(dir string) { log.Println("Calling FileDialog.SetCurrentDir()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dir) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_dir", goArguments, "") - + godotCallVoidString(o, "set_current_dir", dir) log.Println(" Function successfully completed.") } @@ -35229,14 +22935,7 @@ func (o *FileDialog) SetCurrentDir(dir string) { func (o *FileDialog) SetCurrentFile(file string) { log.Println("Calling FileDialog.SetCurrentFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_file", goArguments, "") - + godotCallVoidString(o, "set_current_file", file) log.Println(" Function successfully completed.") } @@ -35247,14 +22946,7 @@ func (o *FileDialog) SetCurrentFile(file string) { func (o *FileDialog) SetCurrentPath(path string) { log.Println("Calling FileDialog.SetCurrentPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_path", goArguments, "") - + godotCallVoidString(o, "set_current_path", path) log.Println(" Function successfully completed.") } @@ -35265,14 +22957,7 @@ func (o *FileDialog) SetCurrentPath(path string) { func (o *FileDialog) SetFilters(filters *PoolStringArray) { log.Println("Calling FileDialog.SetFilters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filters) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filters", goArguments, "") - + godotCallVoidPoolStringArray(o, "set_filters", filters) log.Println(" Function successfully completed.") } @@ -35283,14 +22968,7 @@ func (o *FileDialog) SetFilters(filters *PoolStringArray) { func (o *FileDialog) SetMode(mode int64) { log.Println("Calling FileDialog.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -35301,14 +22979,7 @@ func (o *FileDialog) SetMode(mode int64) { func (o *FileDialog) SetModeOverridesTitle(override bool) { log.Println("Calling FileDialog.SetModeOverridesTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(override) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode_overrides_title", goArguments, "") - + godotCallVoidBool(o, "set_mode_overrides_title", override) log.Println(" Function successfully completed.") } @@ -35319,14 +22990,7 @@ func (o *FileDialog) SetModeOverridesTitle(override bool) { func (o *FileDialog) SetShowHiddenFiles(show bool) { log.Println("Calling FileDialog.SetShowHiddenFiles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(show) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_show_hidden_files", goArguments, "") - + godotCallVoidBool(o, "set_show_hidden_files", show) log.Println(" Function successfully completed.") } @@ -35355,18 +23019,7 @@ func (o *Font) baseClass() string { func (o *Font) Draw(canvasItem *RID, position *Vector2, string string, modulate *Color, clipW int64) { log.Println("Calling Font.Draw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(string) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(clipW) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw", goArguments, "") - + godotCallVoidRidVector2StringColorInt(o, "draw", canvasItem, position, string, modulate, clipW) log.Println(" Function successfully completed.") } @@ -35377,21 +23030,9 @@ func (o *Font) Draw(canvasItem *RID, position *Vector2, string string, modulate func (o *Font) DrawChar(canvasItem *RID, position *Vector2, char int64, next int64, modulate *Color) float64 { log.Println("Calling Font.DrawChar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(char) - goArguments[3] = reflect.ValueOf(next) - goArguments[4] = reflect.ValueOf(modulate) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "draw_char", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidVector2IntIntColor(o, "draw_char", canvasItem, position, char, next, modulate) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35402,16 +23043,9 @@ func (o *Font) DrawChar(canvasItem *RID, position *Vector2, char int64, next int func (o *Font) GetAscent() float64 { log.Println("Calling Font.GetAscent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ascent", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ascent") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35422,16 +23056,9 @@ func (o *Font) GetAscent() float64 { func (o *Font) GetDescent() float64 { log.Println("Calling Font.GetDescent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_descent", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_descent") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35442,16 +23069,9 @@ func (o *Font) GetDescent() float64 { func (o *Font) GetHeight() float64 { log.Println("Calling Font.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35462,17 +23082,9 @@ func (o *Font) GetHeight() float64 { func (o *Font) GetStringSize(string string) *Vector2 { log.Println("Calling Font.GetStringSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(string) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_string_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2String(o, "get_string_size", string) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35483,16 +23095,9 @@ func (o *Font) GetStringSize(string string) *Vector2 { func (o *Font) IsDistanceFieldHint() bool { log.Println("Calling Font.IsDistanceFieldHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_distance_field_hint", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_distance_field_hint") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35503,13 +23108,7 @@ func (o *Font) IsDistanceFieldHint() bool { func (o *Font) UpdateChanges() { log.Println("Calling Font.UpdateChanges()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_changes", goArguments, "") - + godotCallVoid(o, "update_changes") log.Println(" Function successfully completed.") } @@ -35538,16 +23137,9 @@ func (o *FuncRef) baseClass() string { func (o *FuncRef) CallFunc() *Variant { log.Println("Calling FuncRef.CallFunc()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call_func", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "call_func") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35558,14 +23150,7 @@ func (o *FuncRef) CallFunc() *Variant { func (o *FuncRef) SetFunction(name string) { log.Println("Calling FuncRef.SetFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_function", goArguments, "") - + godotCallVoidString(o, "set_function", name) log.Println(" Function successfully completed.") } @@ -35576,14 +23161,7 @@ func (o *FuncRef) SetFunction(name string) { func (o *FuncRef) SetInstance(instance *Object) { log.Println("Calling FuncRef.SetInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(instance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_instance", goArguments, "") - + godotCallVoidObject(o, "set_instance", instance) log.Println(" Function successfully completed.") } @@ -35612,19 +23190,9 @@ func (o *GDNative) baseClass() string { func (o *GDNative) CallNative(callingType string, procedureName string, arguments *Array) *Variant { log.Println("Calling GDNative.CallNative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(callingType) - goArguments[1] = reflect.ValueOf(procedureName) - goArguments[2] = reflect.ValueOf(arguments) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call_native", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantStringStringArray(o, "call_native", callingType, procedureName, arguments) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35635,17 +23203,12 @@ func (o *GDNative) CallNative(callingType string, procedureName string, argument func (o *GDNative) GetLibrary() *GDNativeLibrary { log.Println("Calling GDNative.GetLibrary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_library", goArguments, "*GDNativeLibrary") - - returnValue := goRet.Interface().(*GDNativeLibrary) - + returnValue := godotCallObject(o, "get_library") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret GDNativeLibrary + ret.owner = returnValue.owner + return &ret } @@ -35655,16 +23218,9 @@ func (o *GDNative) GetLibrary() *GDNativeLibrary { func (o *GDNative) Initialize() bool { log.Println("Calling GDNative.Initialize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "initialize", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "initialize") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35675,14 +23231,7 @@ func (o *GDNative) Initialize() bool { func (o *GDNative) SetLibrary(library *GDNativeLibrary) { log.Println("Calling GDNative.SetLibrary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(library) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_library", goArguments, "") - + godotCallVoidObject(o, "set_library", &library.Object) log.Println(" Function successfully completed.") } @@ -35693,16 +23242,9 @@ func (o *GDNative) SetLibrary(library *GDNativeLibrary) { func (o *GDNative) Terminate() bool { log.Println("Calling GDNative.Terminate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "terminate", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "terminate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35731,17 +23273,12 @@ func (o *GDNativeLibrary) baseClass() string { func (o *GDNativeLibrary) GetConfigFile() *ConfigFile { log.Println("Calling GDNativeLibrary.GetConfigFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_config_file", goArguments, "*ConfigFile") - - returnValue := goRet.Interface().(*ConfigFile) - + returnValue := godotCallObject(o, "get_config_file") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ConfigFile + ret.owner = returnValue.owner + return &ret } @@ -35751,16 +23288,9 @@ func (o *GDNativeLibrary) GetConfigFile() *ConfigFile { func (o *GDNativeLibrary) GetCurrentDependencies() *PoolStringArray { log.Println("Calling GDNativeLibrary.GetCurrentDependencies()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_dependencies", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_current_dependencies") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35771,16 +23301,9 @@ func (o *GDNativeLibrary) GetCurrentDependencies() *PoolStringArray { func (o *GDNativeLibrary) GetCurrentLibraryPath() string { log.Println("Calling GDNativeLibrary.GetCurrentLibraryPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_library_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_library_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35791,16 +23314,9 @@ func (o *GDNativeLibrary) GetCurrentLibraryPath() string { func (o *GDNativeLibrary) GetSymbolPrefix() string { log.Println("Calling GDNativeLibrary.GetSymbolPrefix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_symbol_prefix", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_symbol_prefix") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35811,16 +23327,9 @@ func (o *GDNativeLibrary) GetSymbolPrefix() string { func (o *GDNativeLibrary) IsReloadable() bool { log.Println("Calling GDNativeLibrary.IsReloadable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_reloadable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_reloadable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35831,16 +23340,9 @@ func (o *GDNativeLibrary) IsReloadable() bool { func (o *GDNativeLibrary) IsSingleton() bool { log.Println("Calling GDNativeLibrary.IsSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_singleton", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_singleton") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35851,14 +23353,7 @@ func (o *GDNativeLibrary) IsSingleton() bool { func (o *GDNativeLibrary) SetLoadOnce(loadOnce bool) { log.Println("Calling GDNativeLibrary.SetLoadOnce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loadOnce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_load_once", goArguments, "") - + godotCallVoidBool(o, "set_load_once", loadOnce) log.Println(" Function successfully completed.") } @@ -35869,14 +23364,7 @@ func (o *GDNativeLibrary) SetLoadOnce(loadOnce bool) { func (o *GDNativeLibrary) SetReloadable(reloadable bool) { log.Println("Calling GDNativeLibrary.SetReloadable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(reloadable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_reloadable", goArguments, "") - + godotCallVoidBool(o, "set_reloadable", reloadable) log.Println(" Function successfully completed.") } @@ -35887,14 +23375,7 @@ func (o *GDNativeLibrary) SetReloadable(reloadable bool) { func (o *GDNativeLibrary) SetSingleton(singleton bool) { log.Println("Calling GDNativeLibrary.SetSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(singleton) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_singleton", goArguments, "") - + godotCallVoidBool(o, "set_singleton", singleton) log.Println(" Function successfully completed.") } @@ -35905,14 +23386,7 @@ func (o *GDNativeLibrary) SetSingleton(singleton bool) { func (o *GDNativeLibrary) SetSymbolPrefix(symbolPrefix string) { log.Println("Calling GDNativeLibrary.SetSymbolPrefix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(symbolPrefix) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_symbol_prefix", goArguments, "") - + godotCallVoidString(o, "set_symbol_prefix", symbolPrefix) log.Println(" Function successfully completed.") } @@ -35923,16 +23397,9 @@ func (o *GDNativeLibrary) SetSymbolPrefix(symbolPrefix string) { func (o *GDNativeLibrary) ShouldLoadOnce() bool { log.Println("Calling GDNativeLibrary.ShouldLoadOnce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "should_load_once", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "should_load_once") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35961,16 +23428,9 @@ func (o *GDScript) baseClass() string { func (o *GDScript) GetAsByteCode() *PoolByteArray { log.Println("Calling GDScript.GetAsByteCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_as_byte_code", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "get_as_byte_code") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -35981,17 +23441,12 @@ func (o *GDScript) GetAsByteCode() *PoolByteArray { func (o *GDScript) New() *Object { log.Println("Calling GDScript.New()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "new", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "new") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -36019,16 +23474,9 @@ func (o *GDScriptFunctionState) baseClass() string { func (o *GDScriptFunctionState) X_SignalCallback() *Variant { log.Println("Calling GDScriptFunctionState.X_SignalCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_signal_callback", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "_signal_callback") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36039,17 +23487,9 @@ func (o *GDScriptFunctionState) X_SignalCallback() *Variant { func (o *GDScriptFunctionState) IsValid(extendedCheck bool) bool { log.Println("Calling GDScriptFunctionState.IsValid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extendedCheck) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_valid", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolBool(o, "is_valid", extendedCheck) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36060,17 +23500,9 @@ func (o *GDScriptFunctionState) IsValid(extendedCheck bool) bool { func (o *GDScriptFunctionState) Resume(arg *Variant) *Variant { log.Println("Calling GDScriptFunctionState.Resume()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resume", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantVariant(o, "resume", arg) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36099,15 +23531,7 @@ func (o *GIProbe) baseClass() string { func (o *GIProbe) Bake(fromNode *Object, createVisualDebug bool) { log.Println("Calling GIProbe.Bake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(fromNode) - goArguments[1] = reflect.ValueOf(createVisualDebug) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "bake", goArguments, "") - + godotCallVoidObjectBool(o, "bake", fromNode, createVisualDebug) log.Println(" Function successfully completed.") } @@ -36118,13 +23542,7 @@ func (o *GIProbe) Bake(fromNode *Object, createVisualDebug bool) { func (o *GIProbe) DebugBake() { log.Println("Calling GIProbe.DebugBake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "debug_bake", goArguments, "") - + godotCallVoid(o, "debug_bake") log.Println(" Function successfully completed.") } @@ -36135,16 +23553,9 @@ func (o *GIProbe) DebugBake() { func (o *GIProbe) GetBias() float64 { log.Println("Calling GIProbe.GetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36155,16 +23566,9 @@ func (o *GIProbe) GetBias() float64 { func (o *GIProbe) GetDynamicRange() int64 { log.Println("Calling GIProbe.GetDynamicRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dynamic_range", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dynamic_range") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36175,16 +23579,9 @@ func (o *GIProbe) GetDynamicRange() int64 { func (o *GIProbe) GetEnergy() float64 { log.Println("Calling GIProbe.GetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36195,16 +23592,9 @@ func (o *GIProbe) GetEnergy() float64 { func (o *GIProbe) GetExtents() *Vector3 { log.Println("Calling GIProbe.GetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extents", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36215,16 +23605,9 @@ func (o *GIProbe) GetExtents() *Vector3 { func (o *GIProbe) GetNormalBias() float64 { log.Println("Calling GIProbe.GetNormalBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_normal_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36235,17 +23618,12 @@ func (o *GIProbe) GetNormalBias() float64 { func (o *GIProbe) GetProbeData() *GIProbeData { log.Println("Calling GIProbe.GetProbeData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_probe_data", goArguments, "*GIProbeData") - - returnValue := goRet.Interface().(*GIProbeData) - + returnValue := godotCallObject(o, "get_probe_data") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret GIProbeData + ret.owner = returnValue.owner + return &ret } @@ -36255,16 +23633,9 @@ func (o *GIProbe) GetProbeData() *GIProbeData { func (o *GIProbe) GetPropagation() float64 { log.Println("Calling GIProbe.GetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_propagation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_propagation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36275,16 +23646,9 @@ func (o *GIProbe) GetPropagation() float64 { func (o *GIProbe) GetSubdiv() int64 { log.Println("Calling GIProbe.GetSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdiv", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdiv") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36295,16 +23659,9 @@ func (o *GIProbe) GetSubdiv() int64 { func (o *GIProbe) IsCompressed() bool { log.Println("Calling GIProbe.IsCompressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_compressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_compressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36315,16 +23672,9 @@ func (o *GIProbe) IsCompressed() bool { func (o *GIProbe) IsInterior() bool { log.Println("Calling GIProbe.IsInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_interior", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_interior") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36335,14 +23685,7 @@ func (o *GIProbe) IsInterior() bool { func (o *GIProbe) SetBias(max float64) { log.Println("Calling GIProbe.SetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bias", goArguments, "") - + godotCallVoidFloat(o, "set_bias", max) log.Println(" Function successfully completed.") } @@ -36353,14 +23696,7 @@ func (o *GIProbe) SetBias(max float64) { func (o *GIProbe) SetCompress(enable bool) { log.Println("Calling GIProbe.SetCompress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_compress", goArguments, "") - + godotCallVoidBool(o, "set_compress", enable) log.Println(" Function successfully completed.") } @@ -36371,14 +23707,7 @@ func (o *GIProbe) SetCompress(enable bool) { func (o *GIProbe) SetDynamicRange(max int64) { log.Println("Calling GIProbe.SetDynamicRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dynamic_range", goArguments, "") - + godotCallVoidInt(o, "set_dynamic_range", max) log.Println(" Function successfully completed.") } @@ -36389,14 +23718,7 @@ func (o *GIProbe) SetDynamicRange(max int64) { func (o *GIProbe) SetEnergy(max float64) { log.Println("Calling GIProbe.SetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_energy", goArguments, "") - + godotCallVoidFloat(o, "set_energy", max) log.Println(" Function successfully completed.") } @@ -36407,14 +23729,7 @@ func (o *GIProbe) SetEnergy(max float64) { func (o *GIProbe) SetExtents(extents *Vector3) { log.Println("Calling GIProbe.SetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extents", goArguments, "") - + godotCallVoidVector3(o, "set_extents", extents) log.Println(" Function successfully completed.") } @@ -36425,14 +23740,7 @@ func (o *GIProbe) SetExtents(extents *Vector3) { func (o *GIProbe) SetInterior(enable bool) { log.Println("Calling GIProbe.SetInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interior", goArguments, "") - + godotCallVoidBool(o, "set_interior", enable) log.Println(" Function successfully completed.") } @@ -36443,14 +23751,7 @@ func (o *GIProbe) SetInterior(enable bool) { func (o *GIProbe) SetNormalBias(max float64) { log.Println("Calling GIProbe.SetNormalBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_bias", goArguments, "") - + godotCallVoidFloat(o, "set_normal_bias", max) log.Println(" Function successfully completed.") } @@ -36461,14 +23762,7 @@ func (o *GIProbe) SetNormalBias(max float64) { func (o *GIProbe) SetProbeData(data *GIProbeData) { log.Println("Calling GIProbe.SetProbeData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_probe_data", goArguments, "") - + godotCallVoidObject(o, "set_probe_data", &data.Object) log.Println(" Function successfully completed.") } @@ -36479,14 +23773,7 @@ func (o *GIProbe) SetProbeData(data *GIProbeData) { func (o *GIProbe) SetPropagation(max float64) { log.Println("Calling GIProbe.SetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(max) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_propagation", goArguments, "") - + godotCallVoidFloat(o, "set_propagation", max) log.Println(" Function successfully completed.") } @@ -36497,14 +23784,7 @@ func (o *GIProbe) SetPropagation(max float64) { func (o *GIProbe) SetSubdiv(subdiv int64) { log.Println("Calling GIProbe.SetSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(subdiv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdiv", goArguments, "") - + godotCallVoidInt(o, "set_subdiv", subdiv) log.Println(" Function successfully completed.") } @@ -36533,16 +23813,9 @@ func (o *GIProbeData) baseClass() string { func (o *GIProbeData) GetBias() float64 { log.Println("Calling GIProbeData.GetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36553,16 +23826,9 @@ func (o *GIProbeData) GetBias() float64 { func (o *GIProbeData) GetBounds() *AABB { log.Println("Calling GIProbeData.GetBounds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounds", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_bounds") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36573,16 +23839,9 @@ func (o *GIProbeData) GetBounds() *AABB { func (o *GIProbeData) GetCellSize() float64 { log.Println("Calling GIProbeData.GetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36593,16 +23852,9 @@ func (o *GIProbeData) GetCellSize() float64 { func (o *GIProbeData) GetDynamicData() *PoolIntArray { log.Println("Calling GIProbeData.GetDynamicData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dynamic_data", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "get_dynamic_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36613,16 +23865,9 @@ func (o *GIProbeData) GetDynamicData() *PoolIntArray { func (o *GIProbeData) GetDynamicRange() int64 { log.Println("Calling GIProbeData.GetDynamicRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dynamic_range", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dynamic_range") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36633,16 +23878,9 @@ func (o *GIProbeData) GetDynamicRange() int64 { func (o *GIProbeData) GetEnergy() float64 { log.Println("Calling GIProbeData.GetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36653,16 +23891,9 @@ func (o *GIProbeData) GetEnergy() float64 { func (o *GIProbeData) GetNormalBias() float64 { log.Println("Calling GIProbeData.GetNormalBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_normal_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36673,16 +23904,9 @@ func (o *GIProbeData) GetNormalBias() float64 { func (o *GIProbeData) GetPropagation() float64 { log.Println("Calling GIProbeData.GetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_propagation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_propagation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36693,16 +23917,9 @@ func (o *GIProbeData) GetPropagation() float64 { func (o *GIProbeData) GetToCellXform() *Transform { log.Println("Calling GIProbeData.GetToCellXform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_to_cell_xform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_to_cell_xform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36713,16 +23930,9 @@ func (o *GIProbeData) GetToCellXform() *Transform { func (o *GIProbeData) IsCompressed() bool { log.Println("Calling GIProbeData.IsCompressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_compressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_compressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36733,16 +23943,9 @@ func (o *GIProbeData) IsCompressed() bool { func (o *GIProbeData) IsInterior() bool { log.Println("Calling GIProbeData.IsInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_interior", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_interior") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36753,14 +23956,7 @@ func (o *GIProbeData) IsInterior() bool { func (o *GIProbeData) SetBias(bias float64) { log.Println("Calling GIProbeData.SetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bias) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bias", goArguments, "") - + godotCallVoidFloat(o, "set_bias", bias) log.Println(" Function successfully completed.") } @@ -36771,14 +23967,7 @@ func (o *GIProbeData) SetBias(bias float64) { func (o *GIProbeData) SetBounds(bounds *AABB) { log.Println("Calling GIProbeData.SetBounds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounds", goArguments, "") - + godotCallVoidAabb(o, "set_bounds", bounds) log.Println(" Function successfully completed.") } @@ -36789,14 +23978,7 @@ func (o *GIProbeData) SetBounds(bounds *AABB) { func (o *GIProbeData) SetCellSize(cellSize float64) { log.Println("Calling GIProbeData.SetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cellSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_size", goArguments, "") - + godotCallVoidFloat(o, "set_cell_size", cellSize) log.Println(" Function successfully completed.") } @@ -36807,14 +23989,7 @@ func (o *GIProbeData) SetCellSize(cellSize float64) { func (o *GIProbeData) SetCompress(compress bool) { log.Println("Calling GIProbeData.SetCompress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(compress) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_compress", goArguments, "") - + godotCallVoidBool(o, "set_compress", compress) log.Println(" Function successfully completed.") } @@ -36825,14 +24000,7 @@ func (o *GIProbeData) SetCompress(compress bool) { func (o *GIProbeData) SetDynamicData(dynamicData *PoolIntArray) { log.Println("Calling GIProbeData.SetDynamicData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dynamicData) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dynamic_data", goArguments, "") - + godotCallVoidPoolIntArray(o, "set_dynamic_data", dynamicData) log.Println(" Function successfully completed.") } @@ -36843,14 +24011,7 @@ func (o *GIProbeData) SetDynamicData(dynamicData *PoolIntArray) { func (o *GIProbeData) SetDynamicRange(dynamicRange int64) { log.Println("Calling GIProbeData.SetDynamicRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(dynamicRange) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dynamic_range", goArguments, "") - + godotCallVoidInt(o, "set_dynamic_range", dynamicRange) log.Println(" Function successfully completed.") } @@ -36861,14 +24022,7 @@ func (o *GIProbeData) SetDynamicRange(dynamicRange int64) { func (o *GIProbeData) SetEnergy(energy float64) { log.Println("Calling GIProbeData.SetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_energy", goArguments, "") - + godotCallVoidFloat(o, "set_energy", energy) log.Println(" Function successfully completed.") } @@ -36879,14 +24033,7 @@ func (o *GIProbeData) SetEnergy(energy float64) { func (o *GIProbeData) SetInterior(interior bool) { log.Println("Calling GIProbeData.SetInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(interior) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interior", goArguments, "") - + godotCallVoidBool(o, "set_interior", interior) log.Println(" Function successfully completed.") } @@ -36897,14 +24044,7 @@ func (o *GIProbeData) SetInterior(interior bool) { func (o *GIProbeData) SetNormalBias(bias float64) { log.Println("Calling GIProbeData.SetNormalBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bias) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_bias", goArguments, "") - + godotCallVoidFloat(o, "set_normal_bias", bias) log.Println(" Function successfully completed.") } @@ -36915,14 +24055,7 @@ func (o *GIProbeData) SetNormalBias(bias float64) { func (o *GIProbeData) SetPropagation(propagation float64) { log.Println("Calling GIProbeData.SetPropagation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(propagation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_propagation", goArguments, "") - + godotCallVoidFloat(o, "set_propagation", propagation) log.Println(" Function successfully completed.") } @@ -36933,14 +24066,7 @@ func (o *GIProbeData) SetPropagation(propagation float64) { func (o *GIProbeData) SetToCellXform(toCellXform *Transform) { log.Println("Calling GIProbeData.SetToCellXform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toCellXform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_to_cell_xform", goArguments, "") - + godotCallVoidTransform(o, "set_to_cell_xform", toCellXform) log.Println(" Function successfully completed.") } @@ -36969,16 +24095,9 @@ func (o *Generic6DOFJoint) baseClass() string { func (o *Generic6DOFJoint) X_GetAngularHiLimitX() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularHiLimitX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_hi_limit_x", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_hi_limit_x") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -36989,16 +24108,9 @@ func (o *Generic6DOFJoint) X_GetAngularHiLimitX() float64 { func (o *Generic6DOFJoint) X_GetAngularHiLimitY() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularHiLimitY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_hi_limit_y", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_hi_limit_y") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37009,16 +24121,9 @@ func (o *Generic6DOFJoint) X_GetAngularHiLimitY() float64 { func (o *Generic6DOFJoint) X_GetAngularHiLimitZ() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularHiLimitZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_hi_limit_z", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_hi_limit_z") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37029,16 +24134,9 @@ func (o *Generic6DOFJoint) X_GetAngularHiLimitZ() float64 { func (o *Generic6DOFJoint) X_GetAngularLoLimitX() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularLoLimitX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_lo_limit_x", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_lo_limit_x") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37049,16 +24147,9 @@ func (o *Generic6DOFJoint) X_GetAngularLoLimitX() float64 { func (o *Generic6DOFJoint) X_GetAngularLoLimitY() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularLoLimitY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_lo_limit_y", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_lo_limit_y") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37069,16 +24160,9 @@ func (o *Generic6DOFJoint) X_GetAngularLoLimitY() float64 { func (o *Generic6DOFJoint) X_GetAngularLoLimitZ() float64 { log.Println("Calling Generic6DOFJoint.X_GetAngularLoLimitZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_angular_lo_limit_z", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_angular_lo_limit_z") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37089,14 +24173,7 @@ func (o *Generic6DOFJoint) X_GetAngularLoLimitZ() float64 { func (o *Generic6DOFJoint) X_SetAngularHiLimitX(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularHiLimitX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_hi_limit_x", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_hi_limit_x", angle) log.Println(" Function successfully completed.") } @@ -37107,14 +24184,7 @@ func (o *Generic6DOFJoint) X_SetAngularHiLimitX(angle float64) { func (o *Generic6DOFJoint) X_SetAngularHiLimitY(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularHiLimitY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_hi_limit_y", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_hi_limit_y", angle) log.Println(" Function successfully completed.") } @@ -37125,14 +24195,7 @@ func (o *Generic6DOFJoint) X_SetAngularHiLimitY(angle float64) { func (o *Generic6DOFJoint) X_SetAngularHiLimitZ(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularHiLimitZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_hi_limit_z", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_hi_limit_z", angle) log.Println(" Function successfully completed.") } @@ -37143,14 +24206,7 @@ func (o *Generic6DOFJoint) X_SetAngularHiLimitZ(angle float64) { func (o *Generic6DOFJoint) X_SetAngularLoLimitX(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularLoLimitX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_lo_limit_x", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_lo_limit_x", angle) log.Println(" Function successfully completed.") } @@ -37161,14 +24217,7 @@ func (o *Generic6DOFJoint) X_SetAngularLoLimitX(angle float64) { func (o *Generic6DOFJoint) X_SetAngularLoLimitY(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularLoLimitY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_lo_limit_y", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_lo_limit_y", angle) log.Println(" Function successfully completed.") } @@ -37179,14 +24228,7 @@ func (o *Generic6DOFJoint) X_SetAngularLoLimitY(angle float64) { func (o *Generic6DOFJoint) X_SetAngularLoLimitZ(angle float64) { log.Println("Calling Generic6DOFJoint.X_SetAngularLoLimitZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_angular_lo_limit_z", goArguments, "") - + godotCallVoidFloat(o, "_set_angular_lo_limit_z", angle) log.Println(" Function successfully completed.") } @@ -37197,17 +24239,9 @@ func (o *Generic6DOFJoint) X_SetAngularLoLimitZ(angle float64) { func (o *Generic6DOFJoint) GetFlagX(flag int64) bool { log.Println("Calling Generic6DOFJoint.GetFlagX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag_x", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag_x", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37218,17 +24252,9 @@ func (o *Generic6DOFJoint) GetFlagX(flag int64) bool { func (o *Generic6DOFJoint) GetFlagY(flag int64) bool { log.Println("Calling Generic6DOFJoint.GetFlagY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag_y", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag_y", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37239,17 +24265,9 @@ func (o *Generic6DOFJoint) GetFlagY(flag int64) bool { func (o *Generic6DOFJoint) GetFlagZ(flag int64) bool { log.Println("Calling Generic6DOFJoint.GetFlagZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag_z", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag_z", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37260,17 +24278,9 @@ func (o *Generic6DOFJoint) GetFlagZ(flag int64) bool { func (o *Generic6DOFJoint) GetParamX(param int64) float64 { log.Println("Calling Generic6DOFJoint.GetParamX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param_x", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param_x", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37281,17 +24291,9 @@ func (o *Generic6DOFJoint) GetParamX(param int64) float64 { func (o *Generic6DOFJoint) GetParamY(param int64) float64 { log.Println("Calling Generic6DOFJoint.GetParamY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param_y", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param_y", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37302,17 +24304,9 @@ func (o *Generic6DOFJoint) GetParamY(param int64) float64 { func (o *Generic6DOFJoint) GetParamZ(param int64) float64 { log.Println("Calling Generic6DOFJoint.GetParamZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param_z", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param_z", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37323,15 +24317,7 @@ func (o *Generic6DOFJoint) GetParamZ(param int64) float64 { func (o *Generic6DOFJoint) SetFlagX(flag int64, value bool) { log.Println("Calling Generic6DOFJoint.SetFlagX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag_x", goArguments, "") - + godotCallVoidIntBool(o, "set_flag_x", flag, value) log.Println(" Function successfully completed.") } @@ -37342,15 +24328,7 @@ func (o *Generic6DOFJoint) SetFlagX(flag int64, value bool) { func (o *Generic6DOFJoint) SetFlagY(flag int64, value bool) { log.Println("Calling Generic6DOFJoint.SetFlagY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag_y", goArguments, "") - + godotCallVoidIntBool(o, "set_flag_y", flag, value) log.Println(" Function successfully completed.") } @@ -37361,15 +24339,7 @@ func (o *Generic6DOFJoint) SetFlagY(flag int64, value bool) { func (o *Generic6DOFJoint) SetFlagZ(flag int64, value bool) { log.Println("Calling Generic6DOFJoint.SetFlagZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag_z", goArguments, "") - + godotCallVoidIntBool(o, "set_flag_z", flag, value) log.Println(" Function successfully completed.") } @@ -37380,15 +24350,7 @@ func (o *Generic6DOFJoint) SetFlagZ(flag int64, value bool) { func (o *Generic6DOFJoint) SetParamX(param int64, value float64) { log.Println("Calling Generic6DOFJoint.SetParamX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param_x", goArguments, "") - + godotCallVoidIntFloat(o, "set_param_x", param, value) log.Println(" Function successfully completed.") } @@ -37399,15 +24361,7 @@ func (o *Generic6DOFJoint) SetParamX(param int64, value float64) { func (o *Generic6DOFJoint) SetParamY(param int64, value float64) { log.Println("Calling Generic6DOFJoint.SetParamY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param_y", goArguments, "") - + godotCallVoidIntFloat(o, "set_param_y", param, value) log.Println(" Function successfully completed.") } @@ -37418,15 +24372,7 @@ func (o *Generic6DOFJoint) SetParamY(param int64, value float64) { func (o *Generic6DOFJoint) SetParamZ(param int64, value float64) { log.Println("Calling Generic6DOFJoint.SetParamZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param_z", goArguments, "") - + godotCallVoidIntFloat(o, "set_param_z", param, value) log.Println(" Function successfully completed.") } @@ -37455,16 +24401,9 @@ func (o *GeometryInstance) baseClass() string { func (o *GeometryInstance) GetCastShadowsSetting() int64 { log.Println("Calling GeometryInstance.GetCastShadowsSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cast_shadows_setting", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cast_shadows_setting") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37475,16 +24414,9 @@ func (o *GeometryInstance) GetCastShadowsSetting() int64 { func (o *GeometryInstance) GetExtraCullMargin() float64 { log.Println("Calling GeometryInstance.GetExtraCullMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extra_cull_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_extra_cull_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37495,17 +24427,9 @@ func (o *GeometryInstance) GetExtraCullMargin() float64 { func (o *GeometryInstance) GetFlag(flag int64) bool { log.Println("Calling GeometryInstance.GetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37516,16 +24440,9 @@ func (o *GeometryInstance) GetFlag(flag int64) bool { func (o *GeometryInstance) GetLodMaxDistance() float64 { log.Println("Calling GeometryInstance.GetLodMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lod_max_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lod_max_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37536,16 +24453,9 @@ func (o *GeometryInstance) GetLodMaxDistance() float64 { func (o *GeometryInstance) GetLodMaxHysteresis() float64 { log.Println("Calling GeometryInstance.GetLodMaxHysteresis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lod_max_hysteresis", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lod_max_hysteresis") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37556,16 +24466,9 @@ func (o *GeometryInstance) GetLodMaxHysteresis() float64 { func (o *GeometryInstance) GetLodMinDistance() float64 { log.Println("Calling GeometryInstance.GetLodMinDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lod_min_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lod_min_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37576,16 +24479,9 @@ func (o *GeometryInstance) GetLodMinDistance() float64 { func (o *GeometryInstance) GetLodMinHysteresis() float64 { log.Println("Calling GeometryInstance.GetLodMinHysteresis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lod_min_hysteresis", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lod_min_hysteresis") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37596,17 +24492,12 @@ func (o *GeometryInstance) GetLodMinHysteresis() float64 { func (o *GeometryInstance) GetMaterialOverride() *Material { log.Println("Calling GeometryInstance.GetMaterialOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_material_override", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_material_override") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -37616,14 +24507,7 @@ func (o *GeometryInstance) GetMaterialOverride() *Material { func (o *GeometryInstance) SetCastShadowsSetting(shadowCastingSetting int64) { log.Println("Calling GeometryInstance.SetCastShadowsSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shadowCastingSetting) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cast_shadows_setting", goArguments, "") - + godotCallVoidInt(o, "set_cast_shadows_setting", shadowCastingSetting) log.Println(" Function successfully completed.") } @@ -37634,14 +24518,7 @@ func (o *GeometryInstance) SetCastShadowsSetting(shadowCastingSetting int64) { func (o *GeometryInstance) SetExtraCullMargin(margin float64) { log.Println("Calling GeometryInstance.SetExtraCullMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extra_cull_margin", goArguments, "") - + godotCallVoidFloat(o, "set_extra_cull_margin", margin) log.Println(" Function successfully completed.") } @@ -37652,15 +24529,7 @@ func (o *GeometryInstance) SetExtraCullMargin(margin float64) { func (o *GeometryInstance) SetFlag(flag int64, value bool) { log.Println("Calling GeometryInstance.SetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag", goArguments, "") - + godotCallVoidIntBool(o, "set_flag", flag, value) log.Println(" Function successfully completed.") } @@ -37671,14 +24540,7 @@ func (o *GeometryInstance) SetFlag(flag int64, value bool) { func (o *GeometryInstance) SetLodMaxDistance(mode float64) { log.Println("Calling GeometryInstance.SetLodMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lod_max_distance", goArguments, "") - + godotCallVoidFloat(o, "set_lod_max_distance", mode) log.Println(" Function successfully completed.") } @@ -37689,14 +24551,7 @@ func (o *GeometryInstance) SetLodMaxDistance(mode float64) { func (o *GeometryInstance) SetLodMaxHysteresis(mode float64) { log.Println("Calling GeometryInstance.SetLodMaxHysteresis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lod_max_hysteresis", goArguments, "") - + godotCallVoidFloat(o, "set_lod_max_hysteresis", mode) log.Println(" Function successfully completed.") } @@ -37707,14 +24562,7 @@ func (o *GeometryInstance) SetLodMaxHysteresis(mode float64) { func (o *GeometryInstance) SetLodMinDistance(mode float64) { log.Println("Calling GeometryInstance.SetLodMinDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lod_min_distance", goArguments, "") - + godotCallVoidFloat(o, "set_lod_min_distance", mode) log.Println(" Function successfully completed.") } @@ -37725,14 +24573,7 @@ func (o *GeometryInstance) SetLodMinDistance(mode float64) { func (o *GeometryInstance) SetLodMinHysteresis(mode float64) { log.Println("Calling GeometryInstance.SetLodMinHysteresis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lod_min_hysteresis", goArguments, "") - + godotCallVoidFloat(o, "set_lod_min_hysteresis", mode) log.Println(" Function successfully completed.") } @@ -37743,14 +24584,7 @@ func (o *GeometryInstance) SetLodMinHysteresis(mode float64) { func (o *GeometryInstance) SetMaterialOverride(material *Material) { log.Println("Calling GeometryInstance.SetMaterialOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_material_override", goArguments, "") - + godotCallVoidObject(o, "set_material_override", &material.Object) log.Println(" Function successfully completed.") } @@ -37779,15 +24613,7 @@ func (o *Gradient) baseClass() string { func (o *Gradient) AddPoint(offset float64, color *Color) { log.Println("Calling Gradient.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(offset) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_point", goArguments, "") - + godotCallVoidFloatColor(o, "add_point", offset, color) log.Println(" Function successfully completed.") } @@ -37798,17 +24624,9 @@ func (o *Gradient) AddPoint(offset float64, color *Color) { func (o *Gradient) GetColor(point int64) *Color { log.Println("Calling Gradient.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_color", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37819,16 +24637,9 @@ func (o *Gradient) GetColor(point int64) *Color { func (o *Gradient) GetColors() *PoolColorArray { log.Println("Calling Gradient.GetColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_colors", goArguments, "*PoolColorArray") - - returnValue := goRet.Interface().(*PoolColorArray) - + returnValue := godotCallPoolColorArray(o, "get_colors") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37839,17 +24650,9 @@ func (o *Gradient) GetColors() *PoolColorArray { func (o *Gradient) GetOffset(point int64) float64 { log.Println("Calling Gradient.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_offset", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37860,16 +24663,9 @@ func (o *Gradient) GetOffset(point int64) float64 { func (o *Gradient) GetOffsets() *PoolRealArray { log.Println("Calling Gradient.GetOffsets()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offsets", goArguments, "*PoolRealArray") - - returnValue := goRet.Interface().(*PoolRealArray) - + returnValue := godotCallPoolRealArray(o, "get_offsets") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37880,16 +24676,9 @@ func (o *Gradient) GetOffsets() *PoolRealArray { func (o *Gradient) GetPointCount() int64 { log.Println("Calling Gradient.GetPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_point_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37900,17 +24689,9 @@ func (o *Gradient) GetPointCount() int64 { func (o *Gradient) Interpolate(offset float64) *Color { log.Println("Calling Gradient.Interpolate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorFloat(o, "interpolate", offset) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -37921,14 +24702,7 @@ func (o *Gradient) Interpolate(offset float64) *Color { func (o *Gradient) RemovePoint(offset int64) { log.Println("Calling Gradient.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", offset) log.Println(" Function successfully completed.") } @@ -37939,15 +24713,7 @@ func (o *Gradient) RemovePoint(offset int64) { func (o *Gradient) SetColor(point int64, color *Color) { log.Println("Calling Gradient.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidIntColor(o, "set_color", point, color) log.Println(" Function successfully completed.") } @@ -37958,14 +24724,7 @@ func (o *Gradient) SetColor(point int64, color *Color) { func (o *Gradient) SetColors(colors *PoolColorArray) { log.Println("Calling Gradient.SetColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(colors) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_colors", goArguments, "") - + godotCallVoidPoolColorArray(o, "set_colors", colors) log.Println(" Function successfully completed.") } @@ -37976,15 +24735,7 @@ func (o *Gradient) SetColors(colors *PoolColorArray) { func (o *Gradient) SetOffset(point int64, offset float64) { log.Println("Calling Gradient.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidIntFloat(o, "set_offset", point, offset) log.Println(" Function successfully completed.") } @@ -37995,14 +24746,7 @@ func (o *Gradient) SetOffset(point int64, offset float64) { func (o *Gradient) SetOffsets(offsets *PoolRealArray) { log.Println("Calling Gradient.SetOffsets()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offsets) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offsets", goArguments, "") - + godotCallVoidPoolRealArray(o, "set_offsets", offsets) log.Println(" Function successfully completed.") } @@ -38031,13 +24775,7 @@ func (o *GradientTexture) baseClass() string { func (o *GradientTexture) X_Update() { log.Println("Calling GradientTexture.X_Update()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update", goArguments, "") - + godotCallVoid(o, "_update") log.Println(" Function successfully completed.") } @@ -38048,17 +24786,12 @@ func (o *GradientTexture) X_Update() { func (o *GradientTexture) GetGradient() *Gradient { log.Println("Calling GradientTexture.GetGradient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gradient", goArguments, "*Gradient") - - returnValue := goRet.Interface().(*Gradient) - + returnValue := godotCallObject(o, "get_gradient") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Gradient + ret.owner = returnValue.owner + return &ret } @@ -38068,14 +24801,7 @@ func (o *GradientTexture) GetGradient() *Gradient { func (o *GradientTexture) SetGradient(gradient *Gradient) { log.Println("Calling GradientTexture.SetGradient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gradient) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gradient", goArguments, "") - + godotCallVoidObject(o, "set_gradient", &gradient.Object) log.Println(" Function successfully completed.") } @@ -38086,14 +24812,7 @@ func (o *GradientTexture) SetGradient(gradient *Gradient) { func (o *GradientTexture) SetWidth(width int64) { log.Println("Calling GradientTexture.SetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_width", goArguments, "") - + godotCallVoidInt(o, "set_width", width) log.Println(" Function successfully completed.") } @@ -38122,13 +24841,7 @@ func (o *GraphEdit) baseClass() string { func (o *GraphEdit) X_ConnectionsLayerDraw() { log.Println("Calling GraphEdit.X_ConnectionsLayerDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_connections_layer_draw", goArguments, "") - + godotCallVoid(o, "_connections_layer_draw") log.Println(" Function successfully completed.") } @@ -38139,14 +24852,7 @@ func (o *GraphEdit) X_ConnectionsLayerDraw() { func (o *GraphEdit) X_GraphNodeMoved(arg0 *Object) { log.Println("Calling GraphEdit.X_GraphNodeMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_graph_node_moved", goArguments, "") - + godotCallVoidObject(o, "_graph_node_moved", arg0) log.Println(" Function successfully completed.") } @@ -38157,14 +24863,7 @@ func (o *GraphEdit) X_GraphNodeMoved(arg0 *Object) { func (o *GraphEdit) X_GraphNodeRaised(arg0 *Object) { log.Println("Calling GraphEdit.X_GraphNodeRaised()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_graph_node_raised", goArguments, "") - + godotCallVoidObject(o, "_graph_node_raised", arg0) log.Println(" Function successfully completed.") } @@ -38175,14 +24874,7 @@ func (o *GraphEdit) X_GraphNodeRaised(arg0 *Object) { func (o *GraphEdit) X_GuiInput(arg0 *InputEvent) { log.Println("Calling GraphEdit.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -38193,14 +24885,7 @@ func (o *GraphEdit) X_GuiInput(arg0 *InputEvent) { func (o *GraphEdit) X_ScrollMoved(arg0 float64) { log.Println("Calling GraphEdit.X_ScrollMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_moved", goArguments, "") - + godotCallVoidFloat(o, "_scroll_moved", arg0) log.Println(" Function successfully completed.") } @@ -38211,13 +24896,7 @@ func (o *GraphEdit) X_ScrollMoved(arg0 float64) { func (o *GraphEdit) X_SnapToggled() { log.Println("Calling GraphEdit.X_SnapToggled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_snap_toggled", goArguments, "") - + godotCallVoid(o, "_snap_toggled") log.Println(" Function successfully completed.") } @@ -38228,14 +24907,7 @@ func (o *GraphEdit) X_SnapToggled() { func (o *GraphEdit) X_SnapValueChanged(arg0 float64) { log.Println("Calling GraphEdit.X_SnapValueChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_snap_value_changed", goArguments, "") - + godotCallVoidFloat(o, "_snap_value_changed", arg0) log.Println(" Function successfully completed.") } @@ -38246,13 +24918,7 @@ func (o *GraphEdit) X_SnapValueChanged(arg0 float64) { func (o *GraphEdit) X_TopLayerDraw() { log.Println("Calling GraphEdit.X_TopLayerDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_top_layer_draw", goArguments, "") - + godotCallVoid(o, "_top_layer_draw") log.Println(" Function successfully completed.") } @@ -38263,14 +24929,7 @@ func (o *GraphEdit) X_TopLayerDraw() { func (o *GraphEdit) X_TopLayerInput(arg0 *InputEvent) { log.Println("Calling GraphEdit.X_TopLayerInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_top_layer_input", goArguments, "") - + godotCallVoidObject(o, "_top_layer_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -38281,13 +24940,7 @@ func (o *GraphEdit) X_TopLayerInput(arg0 *InputEvent) { func (o *GraphEdit) X_UpdateScrollOffset() { log.Println("Calling GraphEdit.X_UpdateScrollOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_scroll_offset", goArguments, "") - + godotCallVoid(o, "_update_scroll_offset") log.Println(" Function successfully completed.") } @@ -38298,13 +24951,7 @@ func (o *GraphEdit) X_UpdateScrollOffset() { func (o *GraphEdit) X_ZoomMinus() { log.Println("Calling GraphEdit.X_ZoomMinus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_zoom_minus", goArguments, "") - + godotCallVoid(o, "_zoom_minus") log.Println(" Function successfully completed.") } @@ -38315,13 +24962,7 @@ func (o *GraphEdit) X_ZoomMinus() { func (o *GraphEdit) X_ZoomPlus() { log.Println("Calling GraphEdit.X_ZoomPlus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_zoom_plus", goArguments, "") - + godotCallVoid(o, "_zoom_plus") log.Println(" Function successfully completed.") } @@ -38332,13 +24973,7 @@ func (o *GraphEdit) X_ZoomPlus() { func (o *GraphEdit) X_ZoomReset() { log.Println("Calling GraphEdit.X_ZoomReset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_zoom_reset", goArguments, "") - + godotCallVoid(o, "_zoom_reset") log.Println(" Function successfully completed.") } @@ -38349,20 +24984,9 @@ func (o *GraphEdit) X_ZoomReset() { func (o *GraphEdit) ConnectNode(from string, fromPort int64, to string, toPort int64) int64 { log.Println("Calling GraphEdit.ConnectNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(fromPort) - goArguments[2] = reflect.ValueOf(to) - goArguments[3] = reflect.ValueOf(toPort) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect_node", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringIntStringInt(o, "connect_node", from, fromPort, to, toPort) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38373,17 +24997,7 @@ func (o *GraphEdit) ConnectNode(from string, fromPort int64, to string, toPort i func (o *GraphEdit) DisconnectNode(from string, fromPort int64, to string, toPort int64) { log.Println("Calling GraphEdit.DisconnectNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(fromPort) - goArguments[2] = reflect.ValueOf(to) - goArguments[3] = reflect.ValueOf(toPort) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect_node", goArguments, "") - + godotCallVoidStringIntStringInt(o, "disconnect_node", from, fromPort, to, toPort) log.Println(" Function successfully completed.") } @@ -38394,16 +25008,9 @@ func (o *GraphEdit) DisconnectNode(from string, fromPort int64, to string, toPor func (o *GraphEdit) GetConnectionList() *Array { log.Println("Calling GraphEdit.GetConnectionList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_connection_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38414,16 +25021,9 @@ func (o *GraphEdit) GetConnectionList() *Array { func (o *GraphEdit) GetScrollOfs() *Vector2 { log.Println("Calling GraphEdit.GetScrollOfs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scroll_ofs", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scroll_ofs") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38434,16 +25034,9 @@ func (o *GraphEdit) GetScrollOfs() *Vector2 { func (o *GraphEdit) GetSnap() int64 { log.Println("Calling GraphEdit.GetSnap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_snap", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_snap") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38454,16 +25047,9 @@ func (o *GraphEdit) GetSnap() int64 { func (o *GraphEdit) GetZoom() float64 { log.Println("Calling GraphEdit.GetZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_zoom", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_zoom") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38474,20 +25060,9 @@ func (o *GraphEdit) GetZoom() float64 { func (o *GraphEdit) IsNodeConnected(from string, fromPort int64, to string, toPort int64) bool { log.Println("Calling GraphEdit.IsNodeConnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(fromPort) - goArguments[2] = reflect.ValueOf(to) - goArguments[3] = reflect.ValueOf(toPort) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_node_connected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringIntStringInt(o, "is_node_connected", from, fromPort, to, toPort) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38498,16 +25073,9 @@ func (o *GraphEdit) IsNodeConnected(from string, fromPort int64, to string, toPo func (o *GraphEdit) IsRightDisconnectsEnabled() bool { log.Println("Calling GraphEdit.IsRightDisconnectsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_right_disconnects_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_right_disconnects_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38518,16 +25086,9 @@ func (o *GraphEdit) IsRightDisconnectsEnabled() bool { func (o *GraphEdit) IsUsingSnap() bool { log.Println("Calling GraphEdit.IsUsingSnap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_snap", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_snap") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38538,14 +25099,7 @@ func (o *GraphEdit) IsUsingSnap() bool { func (o *GraphEdit) SetRightDisconnects(enable bool) { log.Println("Calling GraphEdit.SetRightDisconnects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_right_disconnects", goArguments, "") - + godotCallVoidBool(o, "set_right_disconnects", enable) log.Println(" Function successfully completed.") } @@ -38556,14 +25110,7 @@ func (o *GraphEdit) SetRightDisconnects(enable bool) { func (o *GraphEdit) SetScrollOfs(ofs *Vector2) { log.Println("Calling GraphEdit.SetScrollOfs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_ofs", goArguments, "") - + godotCallVoidVector2(o, "set_scroll_ofs", ofs) log.Println(" Function successfully completed.") } @@ -38574,14 +25121,7 @@ func (o *GraphEdit) SetScrollOfs(ofs *Vector2) { func (o *GraphEdit) SetSelected(node *Object) { log.Println("Calling GraphEdit.SetSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_selected", goArguments, "") - + godotCallVoidObject(o, "set_selected", node) log.Println(" Function successfully completed.") } @@ -38592,14 +25132,7 @@ func (o *GraphEdit) SetSelected(node *Object) { func (o *GraphEdit) SetSnap(pixels int64) { log.Println("Calling GraphEdit.SetSnap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pixels) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_snap", goArguments, "") - + godotCallVoidInt(o, "set_snap", pixels) log.Println(" Function successfully completed.") } @@ -38610,14 +25143,7 @@ func (o *GraphEdit) SetSnap(pixels int64) { func (o *GraphEdit) SetUseSnap(enable bool) { log.Println("Calling GraphEdit.SetUseSnap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_snap", goArguments, "") - + godotCallVoidBool(o, "set_use_snap", enable) log.Println(" Function successfully completed.") } @@ -38628,14 +25154,7 @@ func (o *GraphEdit) SetUseSnap(enable bool) { func (o *GraphEdit) SetZoom(pZoom float64) { log.Println("Calling GraphEdit.SetZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pZoom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_zoom", goArguments, "") - + godotCallVoidFloat(o, "set_zoom", pZoom) log.Println(" Function successfully completed.") } @@ -38664,14 +25183,7 @@ func (o *GraphNode) baseClass() string { func (o *GraphNode) X_GuiInput(arg0 *InputEvent) { log.Println("Calling GraphNode.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -38682,13 +25194,7 @@ func (o *GraphNode) X_GuiInput(arg0 *InputEvent) { func (o *GraphNode) ClearAllSlots() { log.Println("Calling GraphNode.ClearAllSlots()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_all_slots", goArguments, "") - + godotCallVoid(o, "clear_all_slots") log.Println(" Function successfully completed.") } @@ -38699,14 +25205,7 @@ func (o *GraphNode) ClearAllSlots() { func (o *GraphNode) ClearSlot(idx int64) { log.Println("Calling GraphNode.ClearSlot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_slot", goArguments, "") - + godotCallVoidInt(o, "clear_slot", idx) log.Println(" Function successfully completed.") } @@ -38717,17 +25216,9 @@ func (o *GraphNode) ClearSlot(idx int64) { func (o *GraphNode) GetConnectionInputColor(idx int64) *Color { log.Println("Calling GraphNode.GetConnectionInputColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_input_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_connection_input_color", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38738,16 +25229,9 @@ func (o *GraphNode) GetConnectionInputColor(idx int64) *Color { func (o *GraphNode) GetConnectionInputCount() int64 { log.Println("Calling GraphNode.GetConnectionInputCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_input_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_connection_input_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38758,17 +25242,9 @@ func (o *GraphNode) GetConnectionInputCount() int64 { func (o *GraphNode) GetConnectionInputPosition(idx int64) *Vector2 { log.Println("Calling GraphNode.GetConnectionInputPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_input_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_connection_input_position", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38779,17 +25255,9 @@ func (o *GraphNode) GetConnectionInputPosition(idx int64) *Vector2 { func (o *GraphNode) GetConnectionInputType(idx int64) int64 { log.Println("Calling GraphNode.GetConnectionInputType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_input_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_connection_input_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38800,17 +25268,9 @@ func (o *GraphNode) GetConnectionInputType(idx int64) int64 { func (o *GraphNode) GetConnectionOutputColor(idx int64) *Color { log.Println("Calling GraphNode.GetConnectionOutputColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_output_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_connection_output_color", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38821,16 +25281,9 @@ func (o *GraphNode) GetConnectionOutputColor(idx int64) *Color { func (o *GraphNode) GetConnectionOutputCount() int64 { log.Println("Calling GraphNode.GetConnectionOutputCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_output_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_connection_output_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38841,17 +25294,9 @@ func (o *GraphNode) GetConnectionOutputCount() int64 { func (o *GraphNode) GetConnectionOutputPosition(idx int64) *Vector2 { log.Println("Calling GraphNode.GetConnectionOutputPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_output_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_connection_output_position", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38862,17 +25307,9 @@ func (o *GraphNode) GetConnectionOutputPosition(idx int64) *Vector2 { func (o *GraphNode) GetConnectionOutputType(idx int64) int64 { log.Println("Calling GraphNode.GetConnectionOutputType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_output_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_connection_output_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38883,16 +25320,9 @@ func (o *GraphNode) GetConnectionOutputType(idx int64) int64 { func (o *GraphNode) GetOffset() *Vector2 { log.Println("Calling GraphNode.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38903,16 +25333,9 @@ func (o *GraphNode) GetOffset() *Vector2 { func (o *GraphNode) GetOverlay() int64 { log.Println("Calling GraphNode.GetOverlay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_overlay", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_overlay") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38923,17 +25346,9 @@ func (o *GraphNode) GetOverlay() int64 { func (o *GraphNode) GetSlotColorLeft(idx int64) *Color { log.Println("Calling GraphNode.GetSlotColorLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slot_color_left", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_slot_color_left", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38944,17 +25359,9 @@ func (o *GraphNode) GetSlotColorLeft(idx int64) *Color { func (o *GraphNode) GetSlotColorRight(idx int64) *Color { log.Println("Calling GraphNode.GetSlotColorRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slot_color_right", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_slot_color_right", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38965,17 +25372,9 @@ func (o *GraphNode) GetSlotColorRight(idx int64) *Color { func (o *GraphNode) GetSlotTypeLeft(idx int64) int64 { log.Println("Calling GraphNode.GetSlotTypeLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slot_type_left", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_slot_type_left", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -38986,17 +25385,9 @@ func (o *GraphNode) GetSlotTypeLeft(idx int64) int64 { func (o *GraphNode) GetSlotTypeRight(idx int64) int64 { log.Println("Calling GraphNode.GetSlotTypeRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slot_type_right", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_slot_type_right", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39007,16 +25398,9 @@ func (o *GraphNode) GetSlotTypeRight(idx int64) int64 { func (o *GraphNode) GetTitle() string { log.Println("Calling GraphNode.GetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_title") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39027,16 +25411,9 @@ func (o *GraphNode) GetTitle() string { func (o *GraphNode) IsCloseButtonVisible() bool { log.Println("Calling GraphNode.IsCloseButtonVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_close_button_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_close_button_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39047,16 +25424,9 @@ func (o *GraphNode) IsCloseButtonVisible() bool { func (o *GraphNode) IsComment() bool { log.Println("Calling GraphNode.IsComment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_comment", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_comment") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39067,16 +25437,9 @@ func (o *GraphNode) IsComment() bool { func (o *GraphNode) IsResizable() bool { log.Println("Calling GraphNode.IsResizable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_resizable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_resizable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39087,16 +25450,9 @@ func (o *GraphNode) IsResizable() bool { func (o *GraphNode) IsSelected() bool { log.Println("Calling GraphNode.IsSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_selected") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39107,17 +25463,9 @@ func (o *GraphNode) IsSelected() bool { func (o *GraphNode) IsSlotEnabledLeft(idx int64) bool { log.Println("Calling GraphNode.IsSlotEnabledLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_slot_enabled_left", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_slot_enabled_left", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39128,17 +25476,9 @@ func (o *GraphNode) IsSlotEnabledLeft(idx int64) bool { func (o *GraphNode) IsSlotEnabledRight(idx int64) bool { log.Println("Calling GraphNode.IsSlotEnabledRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_slot_enabled_right", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_slot_enabled_right", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39149,14 +25489,7 @@ func (o *GraphNode) IsSlotEnabledRight(idx int64) bool { func (o *GraphNode) SetComment(comment bool) { log.Println("Calling GraphNode.SetComment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(comment) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_comment", goArguments, "") - + godotCallVoidBool(o, "set_comment", comment) log.Println(" Function successfully completed.") } @@ -39167,14 +25500,7 @@ func (o *GraphNode) SetComment(comment bool) { func (o *GraphNode) SetOffset(offset *Vector2) { log.Println("Calling GraphNode.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -39185,14 +25511,7 @@ func (o *GraphNode) SetOffset(offset *Vector2) { func (o *GraphNode) SetOverlay(overlay int64) { log.Println("Calling GraphNode.SetOverlay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(overlay) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_overlay", goArguments, "") - + godotCallVoidInt(o, "set_overlay", overlay) log.Println(" Function successfully completed.") } @@ -39203,14 +25522,7 @@ func (o *GraphNode) SetOverlay(overlay int64) { func (o *GraphNode) SetResizable(resizable bool) { log.Println("Calling GraphNode.SetResizable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resizable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_resizable", goArguments, "") - + godotCallVoidBool(o, "set_resizable", resizable) log.Println(" Function successfully completed.") } @@ -39221,14 +25533,7 @@ func (o *GraphNode) SetResizable(resizable bool) { func (o *GraphNode) SetSelected(selected bool) { log.Println("Calling GraphNode.SetSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(selected) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_selected", goArguments, "") - + godotCallVoidBool(o, "set_selected", selected) log.Println(" Function successfully completed.") } @@ -39239,14 +25544,7 @@ func (o *GraphNode) SetSelected(selected bool) { func (o *GraphNode) SetShowCloseButton(show bool) { log.Println("Calling GraphNode.SetShowCloseButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(show) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_show_close_button", goArguments, "") - + godotCallVoidBool(o, "set_show_close_button", show) log.Println(" Function successfully completed.") } @@ -39257,22 +25555,7 @@ func (o *GraphNode) SetShowCloseButton(show bool) { func (o *GraphNode) SetSlot(idx int64, enableLeft bool, typeLeft int64, colorLeft *Color, enableRight bool, typeRight int64, colorRight *Color, customLeft *Texture, customRight *Texture) { log.Println("Calling GraphNode.SetSlot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 9, 9) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enableLeft) - goArguments[2] = reflect.ValueOf(typeLeft) - goArguments[3] = reflect.ValueOf(colorLeft) - goArguments[4] = reflect.ValueOf(enableRight) - goArguments[5] = reflect.ValueOf(typeRight) - goArguments[6] = reflect.ValueOf(colorRight) - goArguments[7] = reflect.ValueOf(customLeft) - goArguments[8] = reflect.ValueOf(customRight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_slot", goArguments, "") - + godotCallVoidIntBoolIntColorBoolIntColorObjectObject(o, "set_slot", idx, enableLeft, typeLeft, colorLeft, enableRight, typeRight, colorRight, &customLeft.Object, &customRight.Object) log.Println(" Function successfully completed.") } @@ -39283,14 +25566,7 @@ func (o *GraphNode) SetSlot(idx int64, enableLeft bool, typeLeft int64, colorLef func (o *GraphNode) SetTitle(title string) { log.Println("Calling GraphNode.SetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_title", goArguments, "") - + godotCallVoidString(o, "set_title", title) log.Println(" Function successfully completed.") } @@ -39319,16 +25595,9 @@ func (o *GridContainer) baseClass() string { func (o *GridContainer) GetColumns() int64 { log.Println("Calling GridContainer.GetColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_columns", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_columns") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39339,14 +25608,7 @@ func (o *GridContainer) GetColumns() int64 { func (o *GridContainer) SetColumns(columns int64) { log.Println("Calling GridContainer.SetColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(columns) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_columns", goArguments, "") - + godotCallVoidInt(o, "set_columns", columns) log.Println(" Function successfully completed.") } @@ -39375,13 +25637,7 @@ func (o *GridMap) baseClass() string { func (o *GridMap) X_UpdateOctantsCallback() { log.Println("Calling GridMap.X_UpdateOctantsCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_octants_callback", goArguments, "") - + godotCallVoid(o, "_update_octants_callback") log.Println(" Function successfully completed.") } @@ -39392,13 +25648,7 @@ func (o *GridMap) X_UpdateOctantsCallback() { func (o *GridMap) Clear() { log.Println("Calling GridMap.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -39409,13 +25659,7 @@ func (o *GridMap) Clear() { func (o *GridMap) ClearBakedMeshes() { log.Println("Calling GridMap.ClearBakedMeshes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_baked_meshes", goArguments, "") - + godotCallVoid(o, "clear_baked_meshes") log.Println(" Function successfully completed.") } @@ -39426,17 +25670,9 @@ func (o *GridMap) ClearBakedMeshes() { func (o *GridMap) GetBakeMeshInstance(idx int64) *RID { log.Println("Calling GridMap.GetBakeMeshInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_mesh_instance", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "get_bake_mesh_instance", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39447,16 +25683,9 @@ func (o *GridMap) GetBakeMeshInstance(idx int64) *RID { func (o *GridMap) GetBakeMeshes() *Array { log.Println("Calling GridMap.GetBakeMeshes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_meshes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_bake_meshes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39467,19 +25696,9 @@ func (o *GridMap) GetBakeMeshes() *Array { func (o *GridMap) GetCellItem(x int64, y int64, z int64) int64 { log.Println("Calling GridMap.GetCellItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(z) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_item", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntIntInt(o, "get_cell_item", x, y, z) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39490,19 +25709,9 @@ func (o *GridMap) GetCellItem(x int64, y int64, z int64) int64 { func (o *GridMap) GetCellItemOrientation(x int64, y int64, z int64) int64 { log.Println("Calling GridMap.GetCellItemOrientation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(z) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_item_orientation", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntIntInt(o, "get_cell_item_orientation", x, y, z) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39513,16 +25722,9 @@ func (o *GridMap) GetCellItemOrientation(x int64, y int64, z int64) int64 { func (o *GridMap) GetCellScale() float64 { log.Println("Calling GridMap.GetCellScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_cell_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39533,16 +25735,9 @@ func (o *GridMap) GetCellScale() float64 { func (o *GridMap) GetCellSize() *Vector3 { log.Println("Calling GridMap.GetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_size", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39553,16 +25748,9 @@ func (o *GridMap) GetCellSize() *Vector3 { func (o *GridMap) GetCenterX() bool { log.Println("Calling GridMap.GetCenterX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_center_x", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_center_x") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39573,16 +25761,9 @@ func (o *GridMap) GetCenterX() bool { func (o *GridMap) GetCenterY() bool { log.Println("Calling GridMap.GetCenterY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_center_y", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_center_y") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39593,16 +25774,9 @@ func (o *GridMap) GetCenterY() bool { func (o *GridMap) GetCenterZ() bool { log.Println("Calling GridMap.GetCenterZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_center_z", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_center_z") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39613,16 +25787,9 @@ func (o *GridMap) GetCenterZ() bool { func (o *GridMap) GetCollisionLayer() int64 { log.Println("Calling GridMap.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39633,17 +25800,9 @@ func (o *GridMap) GetCollisionLayer() int64 { func (o *GridMap) GetCollisionLayerBit(bit int64) bool { log.Println("Calling GridMap.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39654,16 +25813,9 @@ func (o *GridMap) GetCollisionLayerBit(bit int64) bool { func (o *GridMap) GetCollisionMask() int64 { log.Println("Calling GridMap.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39674,17 +25826,9 @@ func (o *GridMap) GetCollisionMask() int64 { func (o *GridMap) GetCollisionMaskBit(bit int64) bool { log.Println("Calling GridMap.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39695,16 +25839,9 @@ func (o *GridMap) GetCollisionMaskBit(bit int64) bool { func (o *GridMap) GetMeshes() *Array { log.Println("Calling GridMap.GetMeshes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_meshes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_meshes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39715,16 +25852,9 @@ func (o *GridMap) GetMeshes() *Array { func (o *GridMap) GetOctantSize() int64 { log.Println("Calling GridMap.GetOctantSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_octant_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_octant_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39735,17 +25865,12 @@ func (o *GridMap) GetOctantSize() int64 { func (o *GridMap) GetTheme() *MeshLibrary { log.Println("Calling GridMap.GetTheme()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_theme", goArguments, "*MeshLibrary") - - returnValue := goRet.Interface().(*MeshLibrary) - + returnValue := godotCallObject(o, "get_theme") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret MeshLibrary + ret.owner = returnValue.owner + return &ret } @@ -39755,16 +25880,9 @@ func (o *GridMap) GetTheme() *MeshLibrary { func (o *GridMap) GetUsedCells() *Array { log.Println("Calling GridMap.GetUsedCells()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_used_cells", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_used_cells") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39775,15 +25893,7 @@ func (o *GridMap) GetUsedCells() *Array { func (o *GridMap) MakeBakedMeshes(genLightmapUv bool, lightmapUvTexelSize float64) { log.Println("Calling GridMap.MakeBakedMeshes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(genLightmapUv) - goArguments[1] = reflect.ValueOf(lightmapUvTexelSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_baked_meshes", goArguments, "") - + godotCallVoidBoolFloat(o, "make_baked_meshes", genLightmapUv, lightmapUvTexelSize) log.Println(" Function successfully completed.") } @@ -39794,19 +25904,9 @@ func (o *GridMap) MakeBakedMeshes(genLightmapUv bool, lightmapUvTexelSize float6 func (o *GridMap) MapToWorld(x int64, y int64, z int64) *Vector3 { log.Println("Calling GridMap.MapToWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(z) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "map_to_world", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3IntIntInt(o, "map_to_world", x, y, z) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -39817,14 +25917,7 @@ func (o *GridMap) MapToWorld(x int64, y int64, z int64) *Vector3 { func (o *GridMap) ResourceChanged(resource *Resource) { log.Println("Calling GridMap.ResourceChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resource) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "resource_changed", goArguments, "") - + godotCallVoidObject(o, "resource_changed", &resource.Object) log.Println(" Function successfully completed.") } @@ -39835,18 +25928,7 @@ func (o *GridMap) ResourceChanged(resource *Resource) { func (o *GridMap) SetCellItem(x int64, y int64, z int64, item int64, orientation int64) { log.Println("Calling GridMap.SetCellItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(z) - goArguments[3] = reflect.ValueOf(item) - goArguments[4] = reflect.ValueOf(orientation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_item", goArguments, "") - + godotCallVoidIntIntIntIntInt(o, "set_cell_item", x, y, z, item, orientation) log.Println(" Function successfully completed.") } @@ -39857,14 +25939,7 @@ func (o *GridMap) SetCellItem(x int64, y int64, z int64, item int64, orientation func (o *GridMap) SetCellScale(scale float64) { log.Println("Calling GridMap.SetCellScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_scale", goArguments, "") - + godotCallVoidFloat(o, "set_cell_scale", scale) log.Println(" Function successfully completed.") } @@ -39875,14 +25950,7 @@ func (o *GridMap) SetCellScale(scale float64) { func (o *GridMap) SetCellSize(size *Vector3) { log.Println("Calling GridMap.SetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_size", goArguments, "") - + godotCallVoidVector3(o, "set_cell_size", size) log.Println(" Function successfully completed.") } @@ -39893,14 +25961,7 @@ func (o *GridMap) SetCellSize(size *Vector3) { func (o *GridMap) SetCenterX(enable bool) { log.Println("Calling GridMap.SetCenterX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_center_x", goArguments, "") - + godotCallVoidBool(o, "set_center_x", enable) log.Println(" Function successfully completed.") } @@ -39911,14 +25972,7 @@ func (o *GridMap) SetCenterX(enable bool) { func (o *GridMap) SetCenterY(enable bool) { log.Println("Calling GridMap.SetCenterY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_center_y", goArguments, "") - + godotCallVoidBool(o, "set_center_y", enable) log.Println(" Function successfully completed.") } @@ -39929,14 +25983,7 @@ func (o *GridMap) SetCenterY(enable bool) { func (o *GridMap) SetCenterZ(enable bool) { log.Println("Calling GridMap.SetCenterZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_center_z", goArguments, "") - + godotCallVoidBool(o, "set_center_z", enable) log.Println(" Function successfully completed.") } @@ -39947,17 +25994,7 @@ func (o *GridMap) SetCenterZ(enable bool) { func (o *GridMap) SetClip(enabled bool, clipabove bool, floor int64, axis int64) { log.Println("Calling GridMap.SetClip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(enabled) - goArguments[1] = reflect.ValueOf(clipabove) - goArguments[2] = reflect.ValueOf(floor) - goArguments[3] = reflect.ValueOf(axis) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clip", goArguments, "") - + godotCallVoidBoolBoolIntInt(o, "set_clip", enabled, clipabove, floor, axis) log.Println(" Function successfully completed.") } @@ -39968,14 +26005,7 @@ func (o *GridMap) SetClip(enabled bool, clipabove bool, floor int64, axis int64) func (o *GridMap) SetCollisionLayer(layer int64) { log.Println("Calling GridMap.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", layer) log.Println(" Function successfully completed.") } @@ -39986,15 +26016,7 @@ func (o *GridMap) SetCollisionLayer(layer int64) { func (o *GridMap) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling GridMap.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -40005,14 +26027,7 @@ func (o *GridMap) SetCollisionLayerBit(bit int64, value bool) { func (o *GridMap) SetCollisionMask(mask int64) { log.Println("Calling GridMap.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -40023,15 +26038,7 @@ func (o *GridMap) SetCollisionMask(mask int64) { func (o *GridMap) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling GridMap.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -40042,14 +26049,7 @@ func (o *GridMap) SetCollisionMaskBit(bit int64, value bool) { func (o *GridMap) SetOctantSize(size int64) { log.Println("Calling GridMap.SetOctantSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_octant_size", goArguments, "") - + godotCallVoidInt(o, "set_octant_size", size) log.Println(" Function successfully completed.") } @@ -40060,14 +26060,7 @@ func (o *GridMap) SetOctantSize(size int64) { func (o *GridMap) SetTheme(theme *MeshLibrary) { log.Println("Calling GridMap.SetTheme()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(theme) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_theme", goArguments, "") - + godotCallVoidObject(o, "set_theme", &theme.Object) log.Println(" Function successfully completed.") } @@ -40078,17 +26071,9 @@ func (o *GridMap) SetTheme(theme *MeshLibrary) { func (o *GridMap) WorldToMap(pos *Vector3) *Vector3 { log.Println("Calling GridMap.WorldToMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pos) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "world_to_map", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "world_to_map", pos) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40117,16 +26102,9 @@ func (o *GrooveJoint2D) baseClass() string { func (o *GrooveJoint2D) GetInitialOffset() float64 { log.Println("Calling GrooveJoint2D.GetInitialOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_initial_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_initial_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40137,16 +26115,9 @@ func (o *GrooveJoint2D) GetInitialOffset() float64 { func (o *GrooveJoint2D) GetLength() float64 { log.Println("Calling GrooveJoint2D.GetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40157,14 +26128,7 @@ func (o *GrooveJoint2D) GetLength() float64 { func (o *GrooveJoint2D) SetInitialOffset(offset float64) { log.Println("Calling GrooveJoint2D.SetInitialOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_initial_offset", goArguments, "") - + godotCallVoidFloat(o, "set_initial_offset", offset) log.Println(" Function successfully completed.") } @@ -40175,14 +26139,7 @@ func (o *GrooveJoint2D) SetInitialOffset(offset float64) { func (o *GrooveJoint2D) SetLength(length float64) { log.Println("Calling GrooveJoint2D.SetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_length", goArguments, "") - + godotCallVoidFloat(o, "set_length", length) log.Println(" Function successfully completed.") } @@ -40301,13 +26258,7 @@ func (o *HTTPClient) baseClass() string { func (o *HTTPClient) Close() { log.Println("Calling HTTPClient.Close()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "close", goArguments, "") - + godotCallVoid(o, "close") log.Println(" Function successfully completed.") } @@ -40318,20 +26269,9 @@ func (o *HTTPClient) Close() { func (o *HTTPClient) ConnectToHost(host string, port int64, useSsl bool, verifyHost bool) int64 { log.Println("Calling HTTPClient.ConnectToHost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(host) - goArguments[1] = reflect.ValueOf(port) - goArguments[2] = reflect.ValueOf(useSsl) - goArguments[3] = reflect.ValueOf(verifyHost) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect_to_host", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringIntBoolBool(o, "connect_to_host", host, port, useSsl, verifyHost) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40342,17 +26282,12 @@ func (o *HTTPClient) ConnectToHost(host string, port int64, useSsl bool, verifyH func (o *HTTPClient) GetConnection() *StreamPeer { log.Println("Calling HTTPClient.GetConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection", goArguments, "*StreamPeer") - - returnValue := goRet.Interface().(*StreamPeer) - + returnValue := godotCallObject(o, "get_connection") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StreamPeer + ret.owner = returnValue.owner + return &ret } @@ -40362,16 +26297,9 @@ func (o *HTTPClient) GetConnection() *StreamPeer { func (o *HTTPClient) GetResponseBodyLength() int64 { log.Println("Calling HTTPClient.GetResponseBodyLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_response_body_length", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_response_body_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40382,16 +26310,9 @@ func (o *HTTPClient) GetResponseBodyLength() int64 { func (o *HTTPClient) GetResponseCode() int64 { log.Println("Calling HTTPClient.GetResponseCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_response_code", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_response_code") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40402,16 +26323,9 @@ func (o *HTTPClient) GetResponseCode() int64 { func (o *HTTPClient) GetResponseHeaders() *PoolStringArray { log.Println("Calling HTTPClient.GetResponseHeaders()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_response_headers", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_response_headers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40422,16 +26336,9 @@ func (o *HTTPClient) GetResponseHeaders() *PoolStringArray { func (o *HTTPClient) GetResponseHeadersAsDictionary() *Dictionary { log.Println("Calling HTTPClient.GetResponseHeadersAsDictionary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_response_headers_as_dictionary", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "get_response_headers_as_dictionary") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40442,16 +26349,9 @@ func (o *HTTPClient) GetResponseHeadersAsDictionary() *Dictionary { func (o *HTTPClient) GetStatus() int64 { log.Println("Calling HTTPClient.GetStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40462,16 +26362,9 @@ func (o *HTTPClient) GetStatus() int64 { func (o *HTTPClient) HasResponse() bool { log.Println("Calling HTTPClient.HasResponse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_response", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_response") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40482,16 +26375,9 @@ func (o *HTTPClient) HasResponse() bool { func (o *HTTPClient) IsBlockingModeEnabled() bool { log.Println("Calling HTTPClient.IsBlockingModeEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_blocking_mode_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_blocking_mode_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40502,16 +26388,9 @@ func (o *HTTPClient) IsBlockingModeEnabled() bool { func (o *HTTPClient) IsResponseChunked() bool { log.Println("Calling HTTPClient.IsResponseChunked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_response_chunked", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_response_chunked") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40522,16 +26401,9 @@ func (o *HTTPClient) IsResponseChunked() bool { func (o *HTTPClient) Poll() int64 { log.Println("Calling HTTPClient.Poll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "poll", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "poll") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40542,17 +26414,9 @@ func (o *HTTPClient) Poll() int64 { func (o *HTTPClient) QueryStringFromDict(fields *Dictionary) string { log.Println("Calling HTTPClient.QueryStringFromDict()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fields) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "query_string_from_dict", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringDictionary(o, "query_string_from_dict", fields) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40563,16 +26427,9 @@ func (o *HTTPClient) QueryStringFromDict(fields *Dictionary) string { func (o *HTTPClient) ReadResponseBodyChunk() *PoolByteArray { log.Println("Calling HTTPClient.ReadResponseBodyChunk()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "read_response_body_chunk", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "read_response_body_chunk") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40583,20 +26440,9 @@ func (o *HTTPClient) ReadResponseBodyChunk() *PoolByteArray { func (o *HTTPClient) Request(method int64, url string, headers *PoolStringArray, body string) int64 { log.Println("Calling HTTPClient.Request()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(method) - goArguments[1] = reflect.ValueOf(url) - goArguments[2] = reflect.ValueOf(headers) - goArguments[3] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "request", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntStringPoolStringArrayString(o, "request", method, url, headers, body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40607,20 +26453,9 @@ func (o *HTTPClient) Request(method int64, url string, headers *PoolStringArray, func (o *HTTPClient) RequestRaw(method int64, url string, headers *PoolStringArray, body *PoolByteArray) int64 { log.Println("Calling HTTPClient.RequestRaw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(method) - goArguments[1] = reflect.ValueOf(url) - goArguments[2] = reflect.ValueOf(headers) - goArguments[3] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "request_raw", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntStringPoolStringArrayPoolByteArray(o, "request_raw", method, url, headers, body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40631,14 +26466,7 @@ func (o *HTTPClient) RequestRaw(method int64, url string, headers *PoolStringArr func (o *HTTPClient) SetBlockingMode(enabled bool) { log.Println("Calling HTTPClient.SetBlockingMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blocking_mode", goArguments, "") - + godotCallVoidBool(o, "set_blocking_mode", enabled) log.Println(" Function successfully completed.") } @@ -40649,14 +26477,7 @@ func (o *HTTPClient) SetBlockingMode(enabled bool) { func (o *HTTPClient) SetConnection(connection *StreamPeer) { log.Println("Calling HTTPClient.SetConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(connection) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_connection", goArguments, "") - + godotCallVoidObject(o, "set_connection", &connection.Object) log.Println(" Function successfully completed.") } @@ -40667,14 +26488,7 @@ func (o *HTTPClient) SetConnection(connection *StreamPeer) { func (o *HTTPClient) SetReadChunkSize(bytes int64) { log.Println("Calling HTTPClient.SetReadChunkSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_read_chunk_size", goArguments, "") - + godotCallVoidInt(o, "set_read_chunk_size", bytes) log.Println(" Function successfully completed.") } @@ -40703,14 +26517,7 @@ func (o *HTTPRequest) baseClass() string { func (o *HTTPRequest) X_RedirectRequest(arg0 string) { log.Println("Calling HTTPRequest.X_RedirectRequest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_redirect_request", goArguments, "") - + godotCallVoidString(o, "_redirect_request", arg0) log.Println(" Function successfully completed.") } @@ -40721,17 +26528,7 @@ func (o *HTTPRequest) X_RedirectRequest(arg0 string) { func (o *HTTPRequest) X_RequestDone(arg0 int64, arg1 int64, arg2 *PoolStringArray, arg3 *PoolByteArray) { log.Println("Calling HTTPRequest.X_RequestDone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - goArguments[3] = reflect.ValueOf(arg3) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_request_done", goArguments, "") - + godotCallVoidIntIntPoolStringArrayPoolByteArray(o, "_request_done", arg0, arg1, arg2, arg3) log.Println(" Function successfully completed.") } @@ -40742,13 +26539,7 @@ func (o *HTTPRequest) X_RequestDone(arg0 int64, arg1 int64, arg2 *PoolStringArra func (o *HTTPRequest) CancelRequest() { log.Println("Calling HTTPRequest.CancelRequest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cancel_request", goArguments, "") - + godotCallVoid(o, "cancel_request") log.Println(" Function successfully completed.") } @@ -40759,16 +26550,9 @@ func (o *HTTPRequest) CancelRequest() { func (o *HTTPRequest) GetBodySize() int64 { log.Println("Calling HTTPRequest.GetBodySize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_body_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_body_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40779,16 +26563,9 @@ func (o *HTTPRequest) GetBodySize() int64 { func (o *HTTPRequest) GetBodySizeLimit() int64 { log.Println("Calling HTTPRequest.GetBodySizeLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_body_size_limit", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_body_size_limit") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40799,16 +26576,9 @@ func (o *HTTPRequest) GetBodySizeLimit() int64 { func (o *HTTPRequest) GetDownloadFile() string { log.Println("Calling HTTPRequest.GetDownloadFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_download_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_download_file") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40819,16 +26589,9 @@ func (o *HTTPRequest) GetDownloadFile() string { func (o *HTTPRequest) GetDownloadedBytes() int64 { log.Println("Calling HTTPRequest.GetDownloadedBytes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_downloaded_bytes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_downloaded_bytes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40839,16 +26602,9 @@ func (o *HTTPRequest) GetDownloadedBytes() int64 { func (o *HTTPRequest) GetHttpClientStatus() int64 { log.Println("Calling HTTPRequest.GetHttpClientStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_http_client_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_http_client_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40859,16 +26615,9 @@ func (o *HTTPRequest) GetHttpClientStatus() int64 { func (o *HTTPRequest) GetMaxRedirects() int64 { log.Println("Calling HTTPRequest.GetMaxRedirects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_redirects", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_redirects") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40879,16 +26628,9 @@ func (o *HTTPRequest) GetMaxRedirects() int64 { func (o *HTTPRequest) IsUsingThreads() bool { log.Println("Calling HTTPRequest.IsUsingThreads()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_threads", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_threads") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40899,21 +26641,9 @@ func (o *HTTPRequest) IsUsingThreads() bool { func (o *HTTPRequest) Request(url string, customHeaders *PoolStringArray, sslValidateDomain bool, method int64, requestData string) int64 { log.Println("Calling HTTPRequest.Request()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(url) - goArguments[1] = reflect.ValueOf(customHeaders) - goArguments[2] = reflect.ValueOf(sslValidateDomain) - goArguments[3] = reflect.ValueOf(method) - goArguments[4] = reflect.ValueOf(requestData) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "request", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringPoolStringArrayBoolIntString(o, "request", url, customHeaders, sslValidateDomain, method, requestData) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -40924,14 +26654,7 @@ func (o *HTTPRequest) Request(url string, customHeaders *PoolStringArray, sslVal func (o *HTTPRequest) SetBodySizeLimit(bytes int64) { log.Println("Calling HTTPRequest.SetBodySizeLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_body_size_limit", goArguments, "") - + godotCallVoidInt(o, "set_body_size_limit", bytes) log.Println(" Function successfully completed.") } @@ -40942,14 +26665,7 @@ func (o *HTTPRequest) SetBodySizeLimit(bytes int64) { func (o *HTTPRequest) SetDownloadFile(path string) { log.Println("Calling HTTPRequest.SetDownloadFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_download_file", goArguments, "") - + godotCallVoidString(o, "set_download_file", path) log.Println(" Function successfully completed.") } @@ -40960,14 +26676,7 @@ func (o *HTTPRequest) SetDownloadFile(path string) { func (o *HTTPRequest) SetMaxRedirects(amount int64) { log.Println("Calling HTTPRequest.SetMaxRedirects()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_redirects", goArguments, "") - + godotCallVoidInt(o, "set_max_redirects", amount) log.Println(" Function successfully completed.") } @@ -40978,14 +26687,7 @@ func (o *HTTPRequest) SetMaxRedirects(amount int64) { func (o *HTTPRequest) SetUseThreads(enable bool) { log.Println("Calling HTTPRequest.SetUseThreads()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_threads", goArguments, "") - + godotCallVoidBool(o, "set_use_threads", enable) log.Println(" Function successfully completed.") } @@ -41014,16 +26716,9 @@ func (o *HingeJoint) baseClass() string { func (o *HingeJoint) X_GetLowerLimit() float64 { log.Println("Calling HingeJoint.X_GetLowerLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_lower_limit", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_lower_limit") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41034,16 +26729,9 @@ func (o *HingeJoint) X_GetLowerLimit() float64 { func (o *HingeJoint) X_GetUpperLimit() float64 { log.Println("Calling HingeJoint.X_GetUpperLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_upper_limit", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_upper_limit") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41054,14 +26742,7 @@ func (o *HingeJoint) X_GetUpperLimit() float64 { func (o *HingeJoint) X_SetLowerLimit(lowerLimit float64) { log.Println("Calling HingeJoint.X_SetLowerLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lowerLimit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_lower_limit", goArguments, "") - + godotCallVoidFloat(o, "_set_lower_limit", lowerLimit) log.Println(" Function successfully completed.") } @@ -41072,14 +26753,7 @@ func (o *HingeJoint) X_SetLowerLimit(lowerLimit float64) { func (o *HingeJoint) X_SetUpperLimit(upperLimit float64) { log.Println("Calling HingeJoint.X_SetUpperLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(upperLimit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_upper_limit", goArguments, "") - + godotCallVoidFloat(o, "_set_upper_limit", upperLimit) log.Println(" Function successfully completed.") } @@ -41090,17 +26764,9 @@ func (o *HingeJoint) X_SetUpperLimit(upperLimit float64) { func (o *HingeJoint) GetFlag(flag int64) bool { log.Println("Calling HingeJoint.GetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41111,17 +26777,9 @@ func (o *HingeJoint) GetFlag(flag int64) bool { func (o *HingeJoint) GetParam(param int64) float64 { log.Println("Calling HingeJoint.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41132,15 +26790,7 @@ func (o *HingeJoint) GetParam(param int64) float64 { func (o *HingeJoint) SetFlag(flag int64, enabled bool) { log.Println("Calling HingeJoint.SetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag", goArguments, "") - + godotCallVoidIntBool(o, "set_flag", flag, enabled) log.Println(" Function successfully completed.") } @@ -41151,15 +26801,7 @@ func (o *HingeJoint) SetFlag(flag int64, enabled bool) { func (o *HingeJoint) SetParam(param int64, value float64) { log.Println("Calling HingeJoint.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -41173,7 +26815,9 @@ type HingeJointImplementer interface { func newSingletonIP() *ip { obj := &ip{} - ptr := C.godot_global_get_singleton(C.CString("IP")) + name := C.CString("IP") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -41200,14 +26844,7 @@ func (o *ip) baseClass() string { func (o *ip) ClearCache(hostname string) { log.Println("Calling IP.ClearCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hostname) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_cache", goArguments, "") - + godotCallVoidString(o, "clear_cache", hostname) log.Println(" Function successfully completed.") } @@ -41218,14 +26855,7 @@ func (o *ip) ClearCache(hostname string) { func (o *ip) EraseResolveItem(id int64) { log.Println("Calling IP.EraseResolveItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase_resolve_item", goArguments, "") - + godotCallVoidInt(o, "erase_resolve_item", id) log.Println(" Function successfully completed.") } @@ -41236,16 +26866,9 @@ func (o *ip) EraseResolveItem(id int64) { func (o *ip) GetLocalAddresses() *Array { log.Println("Calling IP.GetLocalAddresses()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_local_addresses", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_local_addresses") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41256,17 +26879,9 @@ func (o *ip) GetLocalAddresses() *Array { func (o *ip) GetResolveItemAddress(id int64) string { log.Println("Calling IP.GetResolveItemAddress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resolve_item_address", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_resolve_item_address", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41277,17 +26892,9 @@ func (o *ip) GetResolveItemAddress(id int64) string { func (o *ip) GetResolveItemStatus(id int64) int64 { log.Println("Calling IP.GetResolveItemStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resolve_item_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_resolve_item_status", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41298,18 +26905,9 @@ func (o *ip) GetResolveItemStatus(id int64) int64 { func (o *ip) ResolveHostname(host string, ipType int64) string { log.Println("Calling IP.ResolveHostname()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(host) - goArguments[1] = reflect.ValueOf(ipType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resolve_hostname", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringStringInt(o, "resolve_hostname", host, ipType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41320,18 +26918,9 @@ func (o *ip) ResolveHostname(host string, ipType int64) string { func (o *ip) ResolveHostnameQueueItem(host string, ipType int64) int64 { log.Println("Calling IP.ResolveHostnameQueueItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(host) - goArguments[1] = reflect.ValueOf(ipType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resolve_hostname_queue_item", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringInt(o, "resolve_hostname_queue_item", host, ipType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41371,16 +26960,9 @@ func (o *Image) baseClass() string { func (o *Image) X_GetData() *Dictionary { log.Println("Calling Image.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41391,14 +26973,7 @@ func (o *Image) X_GetData() *Dictionary { func (o *Image) X_SetData(data *Dictionary) { log.Println("Calling Image.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -41409,16 +26984,7 @@ func (o *Image) X_SetData(data *Dictionary) { func (o *Image) BlendRect(src *Image, srcRect *Rect2, dst *Vector2) { log.Println("Calling Image.BlendRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(src) - goArguments[1] = reflect.ValueOf(srcRect) - goArguments[2] = reflect.ValueOf(dst) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend_rect", goArguments, "") - + godotCallVoidObjectRect2Vector2(o, "blend_rect", &src.Object, srcRect, dst) log.Println(" Function successfully completed.") } @@ -41429,17 +26995,7 @@ func (o *Image) BlendRect(src *Image, srcRect *Rect2, dst *Vector2) { func (o *Image) BlendRectMask(src *Image, mask *Image, srcRect *Rect2, dst *Vector2) { log.Println("Calling Image.BlendRectMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(src) - goArguments[1] = reflect.ValueOf(mask) - goArguments[2] = reflect.ValueOf(srcRect) - goArguments[3] = reflect.ValueOf(dst) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blend_rect_mask", goArguments, "") - + godotCallVoidObjectObjectRect2Vector2(o, "blend_rect_mask", &src.Object, &mask.Object, srcRect, dst) log.Println(" Function successfully completed.") } @@ -41450,16 +27006,7 @@ func (o *Image) BlendRectMask(src *Image, mask *Image, srcRect *Rect2, dst *Vect func (o *Image) BlitRect(src *Image, srcRect *Rect2, dst *Vector2) { log.Println("Calling Image.BlitRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(src) - goArguments[1] = reflect.ValueOf(srcRect) - goArguments[2] = reflect.ValueOf(dst) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blit_rect", goArguments, "") - + godotCallVoidObjectRect2Vector2(o, "blit_rect", &src.Object, srcRect, dst) log.Println(" Function successfully completed.") } @@ -41470,17 +27017,7 @@ func (o *Image) BlitRect(src *Image, srcRect *Rect2, dst *Vector2) { func (o *Image) BlitRectMask(src *Image, mask *Image, srcRect *Rect2, dst *Vector2) { log.Println("Calling Image.BlitRectMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(src) - goArguments[1] = reflect.ValueOf(mask) - goArguments[2] = reflect.ValueOf(srcRect) - goArguments[3] = reflect.ValueOf(dst) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "blit_rect_mask", goArguments, "") - + godotCallVoidObjectObjectRect2Vector2(o, "blit_rect_mask", &src.Object, &mask.Object, srcRect, dst) log.Println(" Function successfully completed.") } @@ -41491,13 +27028,7 @@ func (o *Image) BlitRectMask(src *Image, mask *Image, srcRect *Rect2, dst *Vecto func (o *Image) ClearMipmaps() { log.Println("Calling Image.ClearMipmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_mipmaps", goArguments, "") - + godotCallVoid(o, "clear_mipmaps") log.Println(" Function successfully completed.") } @@ -41508,19 +27039,9 @@ func (o *Image) ClearMipmaps() { func (o *Image) Compress(mode int64, source int64, lossyQuality float64) int64 { log.Println("Calling Image.Compress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mode) - goArguments[1] = reflect.ValueOf(source) - goArguments[2] = reflect.ValueOf(lossyQuality) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "compress", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntIntFloat(o, "compress", mode, source, lossyQuality) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41531,14 +27052,7 @@ func (o *Image) Compress(mode int64, source int64, lossyQuality float64) int64 { func (o *Image) Convert(format int64) { log.Println("Calling Image.Convert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(format) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "convert", goArguments, "") - + godotCallVoidInt(o, "convert", format) log.Println(" Function successfully completed.") } @@ -41549,14 +27063,7 @@ func (o *Image) Convert(format int64) { func (o *Image) CopyFrom(src *Image) { log.Println("Calling Image.CopyFrom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(src) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "copy_from", goArguments, "") - + godotCallVoidObject(o, "copy_from", &src.Object) log.Println(" Function successfully completed.") } @@ -41567,17 +27074,7 @@ func (o *Image) CopyFrom(src *Image) { func (o *Image) Create(width int64, height int64, useMipmaps bool, format int64) { log.Println("Calling Image.Create()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(width) - goArguments[1] = reflect.ValueOf(height) - goArguments[2] = reflect.ValueOf(useMipmaps) - goArguments[3] = reflect.ValueOf(format) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create", goArguments, "") - + godotCallVoidIntIntBoolInt(o, "create", width, height, useMipmaps, format) log.Println(" Function successfully completed.") } @@ -41588,18 +27085,7 @@ func (o *Image) Create(width int64, height int64, useMipmaps bool, format int64) func (o *Image) CreateFromData(width int64, height int64, useMipmaps bool, format int64, data *PoolByteArray) { log.Println("Calling Image.CreateFromData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(width) - goArguments[1] = reflect.ValueOf(height) - goArguments[2] = reflect.ValueOf(useMipmaps) - goArguments[3] = reflect.ValueOf(format) - goArguments[4] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_from_data", goArguments, "") - + godotCallVoidIntIntBoolIntPoolByteArray(o, "create_from_data", width, height, useMipmaps, format, data) log.Println(" Function successfully completed.") } @@ -41610,15 +27096,7 @@ func (o *Image) CreateFromData(width int64, height int64, useMipmaps bool, forma func (o *Image) Crop(width int64, height int64) { log.Println("Calling Image.Crop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(width) - goArguments[1] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "crop", goArguments, "") - + godotCallVoidIntInt(o, "crop", width, height) log.Println(" Function successfully completed.") } @@ -41629,16 +27107,9 @@ func (o *Image) Crop(width int64, height int64) { func (o *Image) Decompress() int64 { log.Println("Calling Image.Decompress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "decompress", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "decompress") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41649,16 +27120,9 @@ func (o *Image) Decompress() int64 { func (o *Image) DetectAlpha() int64 { log.Println("Calling Image.DetectAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "detect_alpha", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "detect_alpha") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41669,13 +27133,7 @@ func (o *Image) DetectAlpha() int64 { func (o *Image) ExpandX2Hq2X() { log.Println("Calling Image.ExpandX2Hq2X()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "expand_x2_hq2x", goArguments, "") - + godotCallVoid(o, "expand_x2_hq2x") log.Println(" Function successfully completed.") } @@ -41686,14 +27144,7 @@ func (o *Image) ExpandX2Hq2X() { func (o *Image) Fill(color *Color) { log.Println("Calling Image.Fill()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "fill", goArguments, "") - + godotCallVoidColor(o, "fill", color) log.Println(" Function successfully completed.") } @@ -41704,13 +27155,7 @@ func (o *Image) Fill(color *Color) { func (o *Image) FixAlphaEdges() { log.Println("Calling Image.FixAlphaEdges()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "fix_alpha_edges", goArguments, "") - + godotCallVoid(o, "fix_alpha_edges") log.Println(" Function successfully completed.") } @@ -41721,13 +27166,7 @@ func (o *Image) FixAlphaEdges() { func (o *Image) FlipX() { log.Println("Calling Image.FlipX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "flip_x", goArguments, "") - + godotCallVoid(o, "flip_x") log.Println(" Function successfully completed.") } @@ -41738,13 +27177,7 @@ func (o *Image) FlipX() { func (o *Image) FlipY() { log.Println("Calling Image.FlipY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "flip_y", goArguments, "") - + godotCallVoid(o, "flip_y") log.Println(" Function successfully completed.") } @@ -41755,16 +27188,9 @@ func (o *Image) FlipY() { func (o *Image) GenerateMipmaps() int64 { log.Println("Calling Image.GenerateMipmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generate_mipmaps", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "generate_mipmaps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41775,16 +27201,9 @@ func (o *Image) GenerateMipmaps() int64 { func (o *Image) GetData() *PoolByteArray { log.Println("Calling Image.GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_data", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41795,16 +27214,9 @@ func (o *Image) GetData() *PoolByteArray { func (o *Image) GetFormat() int64 { log.Println("Calling Image.GetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41815,16 +27227,9 @@ func (o *Image) GetFormat() int64 { func (o *Image) GetHeight() int64 { log.Println("Calling Image.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41835,17 +27240,9 @@ func (o *Image) GetHeight() int64 { func (o *Image) GetMipmapOffset(mipmap int64) int64 { log.Println("Calling Image.GetMipmapOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mipmap) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mipmap_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_mipmap_offset", mipmap) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41856,18 +27253,9 @@ func (o *Image) GetMipmapOffset(mipmap int64) int64 { func (o *Image) GetPixel(x int64, y int64) *Color { log.Println("Calling Image.GetPixel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pixel", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorIntInt(o, "get_pixel", x, y) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41878,18 +27266,12 @@ func (o *Image) GetPixel(x int64, y int64) *Color { func (o *Image) GetRect(rect *Rect2) *Image { log.Println("Calling Image.GetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rect", goArguments, "*Image") - - returnValue := goRet.Interface().(*Image) - + returnValue := godotCallObjectRect2(o, "get_rect", rect) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Image + ret.owner = returnValue.owner + return &ret } @@ -41899,16 +27281,9 @@ func (o *Image) GetRect(rect *Rect2) *Image { func (o *Image) GetSize() *Vector2 { log.Println("Calling Image.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41919,16 +27294,9 @@ func (o *Image) GetSize() *Vector2 { func (o *Image) GetUsedRect() *Rect2 { log.Println("Calling Image.GetUsedRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_used_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_used_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41939,16 +27307,9 @@ func (o *Image) GetUsedRect() *Rect2 { func (o *Image) GetWidth() int64 { log.Println("Calling Image.GetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41959,16 +27320,9 @@ func (o *Image) GetWidth() int64 { func (o *Image) HasMipmaps() bool { log.Println("Calling Image.HasMipmaps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_mipmaps", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_mipmaps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41979,16 +27333,9 @@ func (o *Image) HasMipmaps() bool { func (o *Image) IsCompressed() bool { log.Println("Calling Image.IsCompressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_compressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_compressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -41999,16 +27346,9 @@ func (o *Image) IsCompressed() bool { func (o *Image) IsEmpty() bool { log.Println("Calling Image.IsEmpty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_empty", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_empty") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42019,16 +27359,9 @@ func (o *Image) IsEmpty() bool { func (o *Image) IsInvisible() bool { log.Println("Calling Image.IsInvisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_invisible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_invisible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42039,17 +27372,9 @@ func (o *Image) IsInvisible() bool { func (o *Image) Load(path string) int64 { log.Println("Calling Image.Load()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "load", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42060,17 +27385,9 @@ func (o *Image) Load(path string) int64 { func (o *Image) LoadJpgFromBuffer(buffer *PoolByteArray) int64 { log.Println("Calling Image.LoadJpgFromBuffer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buffer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load_jpg_from_buffer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntPoolByteArray(o, "load_jpg_from_buffer", buffer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42081,17 +27398,9 @@ func (o *Image) LoadJpgFromBuffer(buffer *PoolByteArray) int64 { func (o *Image) LoadPngFromBuffer(buffer *PoolByteArray) int64 { log.Println("Calling Image.LoadPngFromBuffer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buffer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load_png_from_buffer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntPoolByteArray(o, "load_png_from_buffer", buffer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42102,13 +27411,7 @@ func (o *Image) LoadPngFromBuffer(buffer *PoolByteArray) int64 { func (o *Image) Lock() { log.Println("Calling Image.Lock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "lock", goArguments, "") - + godotCallVoid(o, "lock") log.Println(" Function successfully completed.") } @@ -42119,13 +27422,7 @@ func (o *Image) Lock() { func (o *Image) NormalmapToXy() { log.Println("Calling Image.NormalmapToXy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "normalmap_to_xy", goArguments, "") - + godotCallVoid(o, "normalmap_to_xy") log.Println(" Function successfully completed.") } @@ -42136,13 +27433,7 @@ func (o *Image) NormalmapToXy() { func (o *Image) PremultiplyAlpha() { log.Println("Calling Image.PremultiplyAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "premultiply_alpha", goArguments, "") - + godotCallVoid(o, "premultiply_alpha") log.Println(" Function successfully completed.") } @@ -42153,16 +27444,7 @@ func (o *Image) PremultiplyAlpha() { func (o *Image) Resize(width int64, height int64, interpolation int64) { log.Println("Calling Image.Resize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(width) - goArguments[1] = reflect.ValueOf(height) - goArguments[2] = reflect.ValueOf(interpolation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "resize", goArguments, "") - + godotCallVoidIntIntInt(o, "resize", width, height, interpolation) log.Println(" Function successfully completed.") } @@ -42173,14 +27455,7 @@ func (o *Image) Resize(width int64, height int64, interpolation int64) { func (o *Image) ResizeToPo2(square bool) { log.Println("Calling Image.ResizeToPo2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(square) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "resize_to_po2", goArguments, "") - + godotCallVoidBool(o, "resize_to_po2", square) log.Println(" Function successfully completed.") } @@ -42191,17 +27466,9 @@ func (o *Image) ResizeToPo2(square bool) { func (o *Image) SavePng(path string) int64 { log.Println("Calling Image.SavePng()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "save_png", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "save_png", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42212,16 +27479,7 @@ func (o *Image) SavePng(path string) int64 { func (o *Image) SetPixel(x int64, y int64, color *Color) { log.Println("Calling Image.SetPixel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pixel", goArguments, "") - + godotCallVoidIntIntColor(o, "set_pixel", x, y, color) log.Println(" Function successfully completed.") } @@ -42232,13 +27490,7 @@ func (o *Image) SetPixel(x int64, y int64, color *Color) { func (o *Image) ShrinkX2() { log.Println("Calling Image.ShrinkX2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shrink_x2", goArguments, "") - + godotCallVoid(o, "shrink_x2") log.Println(" Function successfully completed.") } @@ -42249,13 +27501,7 @@ func (o *Image) ShrinkX2() { func (o *Image) SrgbToLinear() { log.Println("Calling Image.SrgbToLinear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "srgb_to_linear", goArguments, "") - + godotCallVoid(o, "srgb_to_linear") log.Println(" Function successfully completed.") } @@ -42266,13 +27512,7 @@ func (o *Image) SrgbToLinear() { func (o *Image) Unlock() { log.Println("Calling Image.Unlock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unlock", goArguments, "") - + godotCallVoid(o, "unlock") log.Println(" Function successfully completed.") } @@ -42301,14 +27541,7 @@ func (o *ImageTexture) baseClass() string { func (o *ImageTexture) X_ReloadHook(rid *RID) { log.Println("Calling ImageTexture.X_ReloadHook()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_reload_hook", goArguments, "") - + godotCallVoidRid(o, "_reload_hook", rid) log.Println(" Function successfully completed.") } @@ -42319,17 +27552,7 @@ func (o *ImageTexture) X_ReloadHook(rid *RID) { func (o *ImageTexture) Create(width int64, height int64, format int64, flags int64) { log.Println("Calling ImageTexture.Create()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(width) - goArguments[1] = reflect.ValueOf(height) - goArguments[2] = reflect.ValueOf(format) - goArguments[3] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create", goArguments, "") - + godotCallVoidIntIntIntInt(o, "create", width, height, format, flags) log.Println(" Function successfully completed.") } @@ -42340,15 +27563,7 @@ func (o *ImageTexture) Create(width int64, height int64, format int64, flags int func (o *ImageTexture) CreateFromImage(image *Image, flags int64) { log.Println("Calling ImageTexture.CreateFromImage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(image) - goArguments[1] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_from_image", goArguments, "") - + godotCallVoidObjectInt(o, "create_from_image", &image.Object, flags) log.Println(" Function successfully completed.") } @@ -42359,16 +27574,9 @@ func (o *ImageTexture) CreateFromImage(image *Image, flags int64) { func (o *ImageTexture) GetFormat() int64 { log.Println("Calling ImageTexture.GetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42379,16 +27587,9 @@ func (o *ImageTexture) GetFormat() int64 { func (o *ImageTexture) GetLossyStorageQuality() float64 { log.Println("Calling ImageTexture.GetLossyStorageQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lossy_storage_quality", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lossy_storage_quality") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42399,16 +27600,9 @@ func (o *ImageTexture) GetLossyStorageQuality() float64 { func (o *ImageTexture) GetStorage() int64 { log.Println("Calling ImageTexture.GetStorage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_storage", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_storage") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42419,14 +27613,7 @@ func (o *ImageTexture) GetStorage() int64 { func (o *ImageTexture) Load(path string) { log.Println("Calling ImageTexture.Load()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "load", goArguments, "") - + godotCallVoidString(o, "load", path) log.Println(" Function successfully completed.") } @@ -42437,14 +27624,7 @@ func (o *ImageTexture) Load(path string) { func (o *ImageTexture) SetData(image *Image) { log.Println("Calling ImageTexture.SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(image) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_data", goArguments, "") - + godotCallVoidObject(o, "set_data", &image.Object) log.Println(" Function successfully completed.") } @@ -42455,14 +27635,7 @@ func (o *ImageTexture) SetData(image *Image) { func (o *ImageTexture) SetLossyStorageQuality(quality float64) { log.Println("Calling ImageTexture.SetLossyStorageQuality()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(quality) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lossy_storage_quality", goArguments, "") - + godotCallVoidFloat(o, "set_lossy_storage_quality", quality) log.Println(" Function successfully completed.") } @@ -42473,14 +27646,7 @@ func (o *ImageTexture) SetLossyStorageQuality(quality float64) { func (o *ImageTexture) SetSizeOverride(size *Vector2) { log.Println("Calling ImageTexture.SetSizeOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size_override", goArguments, "") - + godotCallVoidVector2(o, "set_size_override", size) log.Println(" Function successfully completed.") } @@ -42491,14 +27657,7 @@ func (o *ImageTexture) SetSizeOverride(size *Vector2) { func (o *ImageTexture) SetStorage(mode int64) { log.Println("Calling ImageTexture.SetStorage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_storage", goArguments, "") - + godotCallVoidInt(o, "set_storage", mode) log.Println(" Function successfully completed.") } @@ -42527,17 +27686,7 @@ func (o *ImmediateGeometry) baseClass() string { func (o *ImmediateGeometry) AddSphere(lats int64, lons int64, radius float64, addUv bool) { log.Println("Calling ImmediateGeometry.AddSphere()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(lats) - goArguments[1] = reflect.ValueOf(lons) - goArguments[2] = reflect.ValueOf(radius) - goArguments[3] = reflect.ValueOf(addUv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_sphere", goArguments, "") - + godotCallVoidIntIntFloatBool(o, "add_sphere", lats, lons, radius, addUv) log.Println(" Function successfully completed.") } @@ -42548,14 +27697,7 @@ func (o *ImmediateGeometry) AddSphere(lats int64, lons int64, radius float64, ad func (o *ImmediateGeometry) AddVertex(position *Vector3) { log.Println("Calling ImmediateGeometry.AddVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_vertex", goArguments, "") - + godotCallVoidVector3(o, "add_vertex", position) log.Println(" Function successfully completed.") } @@ -42566,15 +27708,7 @@ func (o *ImmediateGeometry) AddVertex(position *Vector3) { func (o *ImmediateGeometry) Begin(primitive int64, texture *Texture) { log.Println("Calling ImmediateGeometry.Begin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(primitive) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "begin", goArguments, "") - + godotCallVoidIntObject(o, "begin", primitive, &texture.Object) log.Println(" Function successfully completed.") } @@ -42585,13 +27719,7 @@ func (o *ImmediateGeometry) Begin(primitive int64, texture *Texture) { func (o *ImmediateGeometry) Clear() { log.Println("Calling ImmediateGeometry.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -42602,13 +27730,7 @@ func (o *ImmediateGeometry) Clear() { func (o *ImmediateGeometry) End() { log.Println("Calling ImmediateGeometry.End()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "end", goArguments, "") - + godotCallVoid(o, "end") log.Println(" Function successfully completed.") } @@ -42619,14 +27741,7 @@ func (o *ImmediateGeometry) End() { func (o *ImmediateGeometry) SetColor(color *Color) { log.Println("Calling ImmediateGeometry.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -42637,14 +27752,7 @@ func (o *ImmediateGeometry) SetColor(color *Color) { func (o *ImmediateGeometry) SetNormal(normal *Vector3) { log.Println("Calling ImmediateGeometry.SetNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normal) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal", goArguments, "") - + godotCallVoidVector3(o, "set_normal", normal) log.Println(" Function successfully completed.") } @@ -42655,14 +27763,7 @@ func (o *ImmediateGeometry) SetNormal(normal *Vector3) { func (o *ImmediateGeometry) SetTangent(tangent *Plane) { log.Println("Calling ImmediateGeometry.SetTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tangent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tangent", goArguments, "") - + godotCallVoidPlane(o, "set_tangent", tangent) log.Println(" Function successfully completed.") } @@ -42673,14 +27774,7 @@ func (o *ImmediateGeometry) SetTangent(tangent *Plane) { func (o *ImmediateGeometry) SetUv(uv *Vector2) { log.Println("Calling ImmediateGeometry.SetUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(uv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv", goArguments, "") - + godotCallVoidVector2(o, "set_uv", uv) log.Println(" Function successfully completed.") } @@ -42691,14 +27785,7 @@ func (o *ImmediateGeometry) SetUv(uv *Vector2) { func (o *ImmediateGeometry) SetUv2(uv *Vector2) { log.Println("Calling ImmediateGeometry.SetUv2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(uv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv2", goArguments, "") - + godotCallVoidVector2(o, "set_uv2", uv) log.Println(" Function successfully completed.") } @@ -42712,7 +27799,9 @@ type ImmediateGeometryImplementer interface { func newSingletonInput() *input { obj := &input{} - ptr := C.godot_global_get_singleton(C.CString("Input")) + name := C.CString("Input") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -42739,14 +27828,7 @@ func (o *input) baseClass() string { func (o *input) ActionPress(action string) { log.Println("Calling Input.ActionPress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "action_press", goArguments, "") - + godotCallVoidString(o, "action_press", action) log.Println(" Function successfully completed.") } @@ -42757,14 +27839,7 @@ func (o *input) ActionPress(action string) { func (o *input) ActionRelease(action string) { log.Println("Calling Input.ActionRelease()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "action_release", goArguments, "") - + godotCallVoidString(o, "action_release", action) log.Println(" Function successfully completed.") } @@ -42775,15 +27850,7 @@ func (o *input) ActionRelease(action string) { func (o *input) AddJoyMapping(mapping string, updateExisting bool) { log.Println("Calling Input.AddJoyMapping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mapping) - goArguments[1] = reflect.ValueOf(updateExisting) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_joy_mapping", goArguments, "") - + godotCallVoidStringBool(o, "add_joy_mapping", mapping, updateExisting) log.Println(" Function successfully completed.") } @@ -42794,16 +27861,9 @@ func (o *input) AddJoyMapping(mapping string, updateExisting bool) { func (o *input) GetAccelerometer() *Vector3 { log.Println("Calling Input.GetAccelerometer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_accelerometer", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_accelerometer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42814,16 +27874,9 @@ func (o *input) GetAccelerometer() *Vector3 { func (o *input) GetConnectedJoypads() *Array { log.Println("Calling Input.GetConnectedJoypads()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connected_joypads", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_connected_joypads") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42834,16 +27887,9 @@ func (o *input) GetConnectedJoypads() *Array { func (o *input) GetGravity() *Vector3 { log.Println("Calling Input.GetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42854,16 +27900,9 @@ func (o *input) GetGravity() *Vector3 { func (o *input) GetGyroscope() *Vector3 { log.Println("Calling Input.GetGyroscope()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gyroscope", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_gyroscope") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42874,18 +27913,9 @@ func (o *input) GetGyroscope() *Vector3 { func (o *input) GetJoyAxis(device int64, axis int64) float64 { log.Println("Calling Input.GetJoyAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(device) - goArguments[1] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_axis", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatIntInt(o, "get_joy_axis", device, axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42896,17 +27926,9 @@ func (o *input) GetJoyAxis(device int64, axis int64) float64 { func (o *input) GetJoyAxisIndexFromString(axis string) int64 { log.Println("Calling Input.GetJoyAxisIndexFromString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_axis_index_from_string", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_joy_axis_index_from_string", axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42917,17 +27939,9 @@ func (o *input) GetJoyAxisIndexFromString(axis string) int64 { func (o *input) GetJoyAxisString(axisIndex int64) string { log.Println("Calling Input.GetJoyAxisString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axisIndex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_axis_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_joy_axis_string", axisIndex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42938,17 +27952,9 @@ func (o *input) GetJoyAxisString(axisIndex int64) string { func (o *input) GetJoyButtonIndexFromString(button string) int64 { log.Println("Calling Input.GetJoyButtonIndexFromString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(button) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_button_index_from_string", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_joy_button_index_from_string", button) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42959,17 +27965,9 @@ func (o *input) GetJoyButtonIndexFromString(button string) int64 { func (o *input) GetJoyButtonString(buttonIndex int64) string { log.Println("Calling Input.GetJoyButtonString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonIndex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_button_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_joy_button_string", buttonIndex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -42980,17 +27978,9 @@ func (o *input) GetJoyButtonString(buttonIndex int64) string { func (o *input) GetJoyGuid(device int64) string { log.Println("Calling Input.GetJoyGuid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_guid", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_joy_guid", device) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43001,17 +27991,9 @@ func (o *input) GetJoyGuid(device int64) string { func (o *input) GetJoyName(device int64) string { log.Println("Calling Input.GetJoyName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_joy_name", device) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43022,17 +28004,9 @@ func (o *input) GetJoyName(device int64) string { func (o *input) GetJoyVibrationDuration(device int64) float64 { log.Println("Calling Input.GetJoyVibrationDuration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_vibration_duration", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_joy_vibration_duration", device) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43043,17 +28017,9 @@ func (o *input) GetJoyVibrationDuration(device int64) float64 { func (o *input) GetJoyVibrationStrength(device int64) *Vector2 { log.Println("Calling Input.GetJoyVibrationStrength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joy_vibration_strength", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_joy_vibration_strength", device) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43064,16 +28030,9 @@ func (o *input) GetJoyVibrationStrength(device int64) *Vector2 { func (o *input) GetLastMouseSpeed() *Vector2 { log.Println("Calling Input.GetLastMouseSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_last_mouse_speed", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_last_mouse_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43084,16 +28043,9 @@ func (o *input) GetLastMouseSpeed() *Vector2 { func (o *input) GetMagnetometer() *Vector3 { log.Println("Calling Input.GetMagnetometer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_magnetometer", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_magnetometer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43104,16 +28056,9 @@ func (o *input) GetMagnetometer() *Vector3 { func (o *input) GetMouseButtonMask() int64 { log.Println("Calling Input.GetMouseButtonMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mouse_button_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mouse_button_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43124,16 +28069,9 @@ func (o *input) GetMouseButtonMask() int64 { func (o *input) GetMouseMode() int64 { log.Println("Calling Input.GetMouseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mouse_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mouse_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43144,17 +28082,9 @@ func (o *input) GetMouseMode() int64 { func (o *input) IsActionJustPressed(action string) bool { log.Println("Calling Input.IsActionJustPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_just_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action_just_pressed", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43165,17 +28095,9 @@ func (o *input) IsActionJustPressed(action string) bool { func (o *input) IsActionJustReleased(action string) bool { log.Println("Calling Input.IsActionJustReleased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_just_released", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action_just_released", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43186,17 +28108,9 @@ func (o *input) IsActionJustReleased(action string) bool { func (o *input) IsActionPressed(action string) bool { log.Println("Calling Input.IsActionPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action_pressed", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43207,18 +28121,9 @@ func (o *input) IsActionPressed(action string) bool { func (o *input) IsJoyButtonPressed(device int64, button int64) bool { log.Println("Calling Input.IsJoyButtonPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(device) - goArguments[1] = reflect.ValueOf(button) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_joy_button_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_joy_button_pressed", device, button) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43229,17 +28134,9 @@ func (o *input) IsJoyButtonPressed(device int64, button int64) bool { func (o *input) IsJoyKnown(device int64) bool { log.Println("Calling Input.IsJoyKnown()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_joy_known", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_joy_known", device) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43250,17 +28147,9 @@ func (o *input) IsJoyKnown(device int64) bool { func (o *input) IsKeyPressed(scancode int64) bool { log.Println("Calling Input.IsKeyPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scancode) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_key_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_key_pressed", scancode) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43271,17 +28160,9 @@ func (o *input) IsKeyPressed(scancode int64) bool { func (o *input) IsMouseButtonPressed(button int64) bool { log.Println("Calling Input.IsMouseButtonPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(button) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_mouse_button_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_mouse_button_pressed", button) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43292,17 +28173,7 @@ func (o *input) IsMouseButtonPressed(button int64) bool { func (o *input) JoyConnectionChanged(device int64, connected bool, name string, guid string) { log.Println("Calling Input.JoyConnectionChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(device) - goArguments[1] = reflect.ValueOf(connected) - goArguments[2] = reflect.ValueOf(name) - goArguments[3] = reflect.ValueOf(guid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "joy_connection_changed", goArguments, "") - + godotCallVoidIntBoolStringString(o, "joy_connection_changed", device, connected, name, guid) log.Println(" Function successfully completed.") } @@ -43313,14 +28184,7 @@ func (o *input) JoyConnectionChanged(device int64, connected bool, name string, func (o *input) ParseInputEvent(event *InputEvent) { log.Println("Calling Input.ParseInputEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "parse_input_event", goArguments, "") - + godotCallVoidObject(o, "parse_input_event", &event.Object) log.Println(" Function successfully completed.") } @@ -43331,14 +28195,7 @@ func (o *input) ParseInputEvent(event *InputEvent) { func (o *input) RemoveJoyMapping(guid string) { log.Println("Calling Input.RemoveJoyMapping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(guid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_joy_mapping", goArguments, "") - + godotCallVoidString(o, "remove_joy_mapping", guid) log.Println(" Function successfully completed.") } @@ -43349,16 +28206,7 @@ func (o *input) RemoveJoyMapping(guid string) { func (o *input) SetCustomMouseCursor(image *Resource, shape int64, hotspot *Vector2) { log.Println("Calling Input.SetCustomMouseCursor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(image) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(hotspot) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_mouse_cursor", goArguments, "") - + godotCallVoidObjectIntVector2(o, "set_custom_mouse_cursor", &image.Object, shape, hotspot) log.Println(" Function successfully completed.") } @@ -43369,14 +28217,7 @@ func (o *input) SetCustomMouseCursor(image *Resource, shape int64, hotspot *Vect func (o *input) SetMouseMode(mode int64) { log.Println("Calling Input.SetMouseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mouse_mode", goArguments, "") - + godotCallVoidInt(o, "set_mouse_mode", mode) log.Println(" Function successfully completed.") } @@ -43387,17 +28228,7 @@ func (o *input) SetMouseMode(mode int64) { func (o *input) StartJoyVibration(device int64, weakMagnitude float64, strongMagnitude float64, duration float64) { log.Println("Calling Input.StartJoyVibration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(device) - goArguments[1] = reflect.ValueOf(weakMagnitude) - goArguments[2] = reflect.ValueOf(strongMagnitude) - goArguments[3] = reflect.ValueOf(duration) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "start_joy_vibration", goArguments, "") - + godotCallVoidIntFloatFloatFloat(o, "start_joy_vibration", device, weakMagnitude, strongMagnitude, duration) log.Println(" Function successfully completed.") } @@ -43408,14 +28239,7 @@ func (o *input) StartJoyVibration(device int64, weakMagnitude float64, strongMag func (o *input) StopJoyVibration(device int64) { log.Println("Calling Input.StopJoyVibration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop_joy_vibration", goArguments, "") - + godotCallVoidInt(o, "stop_joy_vibration", device) log.Println(" Function successfully completed.") } @@ -43426,14 +28250,7 @@ func (o *input) StopJoyVibration(device int64) { func (o *input) WarpMousePosition(to *Vector2) { log.Println("Calling Input.WarpMousePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(to) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "warp_mouse_position", goArguments, "") - + godotCallVoidVector2(o, "warp_mouse_position", to) log.Println(" Function successfully completed.") } @@ -43473,17 +28290,9 @@ func (o *InputEvent) baseClass() string { func (o *InputEvent) ActionMatch(event *InputEvent) bool { log.Println("Calling InputEvent.ActionMatch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "action_match", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "action_match", &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43494,16 +28303,9 @@ func (o *InputEvent) ActionMatch(event *InputEvent) bool { func (o *InputEvent) AsText() string { log.Println("Calling InputEvent.AsText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "as_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "as_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43514,16 +28316,9 @@ func (o *InputEvent) AsText() string { func (o *InputEvent) GetDevice() int64 { log.Println("Calling InputEvent.GetDevice()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_device", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_device") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43534,17 +28329,9 @@ func (o *InputEvent) GetDevice() int64 { func (o *InputEvent) IsAction(action string) bool { log.Println("Calling InputEvent.IsAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43555,17 +28342,9 @@ func (o *InputEvent) IsAction(action string) bool { func (o *InputEvent) IsActionPressed(action string) bool { log.Println("Calling InputEvent.IsActionPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action_pressed", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43576,17 +28355,9 @@ func (o *InputEvent) IsActionPressed(action string) bool { func (o *InputEvent) IsActionReleased(action string) bool { log.Println("Calling InputEvent.IsActionReleased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_released", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_action_released", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43597,16 +28368,9 @@ func (o *InputEvent) IsActionReleased(action string) bool { func (o *InputEvent) IsActionType() bool { log.Println("Calling InputEvent.IsActionType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_action_type", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_action_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43617,16 +28381,9 @@ func (o *InputEvent) IsActionType() bool { func (o *InputEvent) IsEcho() bool { log.Println("Calling InputEvent.IsEcho()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_echo", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_echo") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43637,16 +28394,9 @@ func (o *InputEvent) IsEcho() bool { func (o *InputEvent) IsPressed() bool { log.Println("Calling InputEvent.IsPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_pressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43657,14 +28407,7 @@ func (o *InputEvent) IsPressed() bool { func (o *InputEvent) SetDevice(device int64) { log.Println("Calling InputEvent.SetDevice()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(device) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_device", goArguments, "") - + godotCallVoidInt(o, "set_device", device) log.Println(" Function successfully completed.") } @@ -43675,17 +28418,9 @@ func (o *InputEvent) SetDevice(device int64) { func (o *InputEvent) ShortcutMatch(event *InputEvent) bool { log.Println("Calling InputEvent.ShortcutMatch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shortcut_match", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "shortcut_match", &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43696,19 +28431,12 @@ func (o *InputEvent) ShortcutMatch(event *InputEvent) bool { func (o *InputEvent) XformedBy(xform *Transform2D, localOfs *Vector2) *InputEvent { log.Println("Calling InputEvent.XformedBy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(xform) - goArguments[1] = reflect.ValueOf(localOfs) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "xformed_by", goArguments, "*InputEvent") - - returnValue := goRet.Interface().(*InputEvent) - + returnValue := godotCallObjectTransform2DVector2(o, "xformed_by", xform, localOfs) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret InputEvent + ret.owner = returnValue.owner + return &ret } @@ -43736,16 +28464,9 @@ func (o *InputEventAction) baseClass() string { func (o *InputEventAction) GetAction() string { log.Println("Calling InputEventAction.GetAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_action") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43756,14 +28477,7 @@ func (o *InputEventAction) GetAction() string { func (o *InputEventAction) SetAction(action string) { log.Println("Calling InputEventAction.SetAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_action", goArguments, "") - + godotCallVoidString(o, "set_action", action) log.Println(" Function successfully completed.") } @@ -43774,14 +28488,7 @@ func (o *InputEventAction) SetAction(action string) { func (o *InputEventAction) SetPressed(pressed bool) { log.Println("Calling InputEventAction.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -43810,16 +28517,9 @@ func (o *InputEventGesture) baseClass() string { func (o *InputEventGesture) GetPosition() *Vector2 { log.Println("Calling InputEventGesture.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43830,14 +28530,7 @@ func (o *InputEventGesture) GetPosition() *Vector2 { func (o *InputEventGesture) SetPosition(position *Vector2) { log.Println("Calling InputEventGesture.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -43866,16 +28559,9 @@ func (o *InputEventJoypadButton) baseClass() string { func (o *InputEventJoypadButton) GetButtonIndex() int64 { log.Println("Calling InputEventJoypadButton.GetButtonIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_button_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43886,16 +28572,9 @@ func (o *InputEventJoypadButton) GetButtonIndex() int64 { func (o *InputEventJoypadButton) GetPressure() float64 { log.Println("Calling InputEventJoypadButton.GetPressure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pressure", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pressure") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43906,14 +28585,7 @@ func (o *InputEventJoypadButton) GetPressure() float64 { func (o *InputEventJoypadButton) SetButtonIndex(buttonIndex int64) { log.Println("Calling InputEventJoypadButton.SetButtonIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonIndex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button_index", goArguments, "") - + godotCallVoidInt(o, "set_button_index", buttonIndex) log.Println(" Function successfully completed.") } @@ -43924,14 +28596,7 @@ func (o *InputEventJoypadButton) SetButtonIndex(buttonIndex int64) { func (o *InputEventJoypadButton) SetPressed(pressed bool) { log.Println("Calling InputEventJoypadButton.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -43942,14 +28607,7 @@ func (o *InputEventJoypadButton) SetPressed(pressed bool) { func (o *InputEventJoypadButton) SetPressure(pressure float64) { log.Println("Calling InputEventJoypadButton.SetPressure()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressure) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressure", goArguments, "") - + godotCallVoidFloat(o, "set_pressure", pressure) log.Println(" Function successfully completed.") } @@ -43978,16 +28636,9 @@ func (o *InputEventJoypadMotion) baseClass() string { func (o *InputEventJoypadMotion) GetAxis() int64 { log.Println("Calling InputEventJoypadMotion.GetAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_axis", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_axis") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -43998,16 +28649,9 @@ func (o *InputEventJoypadMotion) GetAxis() int64 { func (o *InputEventJoypadMotion) GetAxisValue() float64 { log.Println("Calling InputEventJoypadMotion.GetAxisValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_axis_value", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_axis_value") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44018,14 +28662,7 @@ func (o *InputEventJoypadMotion) GetAxisValue() float64 { func (o *InputEventJoypadMotion) SetAxis(axis int64) { log.Println("Calling InputEventJoypadMotion.SetAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis", goArguments, "") - + godotCallVoidInt(o, "set_axis", axis) log.Println(" Function successfully completed.") } @@ -44036,14 +28673,7 @@ func (o *InputEventJoypadMotion) SetAxis(axis int64) { func (o *InputEventJoypadMotion) SetAxisValue(axisValue float64) { log.Println("Calling InputEventJoypadMotion.SetAxisValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axisValue) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis_value", goArguments, "") - + godotCallVoidFloat(o, "set_axis_value", axisValue) log.Println(" Function successfully completed.") } @@ -44072,16 +28702,9 @@ func (o *InputEventKey) baseClass() string { func (o *InputEventKey) GetScancode() int64 { log.Println("Calling InputEventKey.GetScancode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scancode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_scancode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44092,16 +28715,9 @@ func (o *InputEventKey) GetScancode() int64 { func (o *InputEventKey) GetScancodeWithModifiers() int64 { log.Println("Calling InputEventKey.GetScancodeWithModifiers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scancode_with_modifiers", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_scancode_with_modifiers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44112,16 +28728,9 @@ func (o *InputEventKey) GetScancodeWithModifiers() int64 { func (o *InputEventKey) GetUnicode() int64 { log.Println("Calling InputEventKey.GetUnicode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unicode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_unicode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44132,14 +28741,7 @@ func (o *InputEventKey) GetUnicode() int64 { func (o *InputEventKey) SetEcho(echo bool) { log.Println("Calling InputEventKey.SetEcho()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(echo) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_echo", goArguments, "") - + godotCallVoidBool(o, "set_echo", echo) log.Println(" Function successfully completed.") } @@ -44150,14 +28752,7 @@ func (o *InputEventKey) SetEcho(echo bool) { func (o *InputEventKey) SetPressed(pressed bool) { log.Println("Calling InputEventKey.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -44168,14 +28763,7 @@ func (o *InputEventKey) SetPressed(pressed bool) { func (o *InputEventKey) SetScancode(scancode int64) { log.Println("Calling InputEventKey.SetScancode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scancode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scancode", goArguments, "") - + godotCallVoidInt(o, "set_scancode", scancode) log.Println(" Function successfully completed.") } @@ -44186,14 +28774,7 @@ func (o *InputEventKey) SetScancode(scancode int64) { func (o *InputEventKey) SetUnicode(unicode int64) { log.Println("Calling InputEventKey.SetUnicode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(unicode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_unicode", goArguments, "") - + godotCallVoidInt(o, "set_unicode", unicode) log.Println(" Function successfully completed.") } @@ -44222,16 +28803,9 @@ func (o *InputEventMagnifyGesture) baseClass() string { func (o *InputEventMagnifyGesture) GetFactor() float64 { log.Println("Calling InputEventMagnifyGesture.GetFactor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_factor", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_factor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44242,14 +28816,7 @@ func (o *InputEventMagnifyGesture) GetFactor() float64 { func (o *InputEventMagnifyGesture) SetFactor(factor float64) { log.Println("Calling InputEventMagnifyGesture.SetFactor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(factor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_factor", goArguments, "") - + godotCallVoidFloat(o, "set_factor", factor) log.Println(" Function successfully completed.") } @@ -44278,16 +28845,9 @@ func (o *InputEventMouse) baseClass() string { func (o *InputEventMouse) GetButtonMask() int64 { log.Println("Calling InputEventMouse.GetButtonMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_button_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44298,16 +28858,9 @@ func (o *InputEventMouse) GetButtonMask() int64 { func (o *InputEventMouse) GetGlobalPosition() *Vector2 { log.Println("Calling InputEventMouse.GetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_global_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44318,16 +28871,9 @@ func (o *InputEventMouse) GetGlobalPosition() *Vector2 { func (o *InputEventMouse) GetPosition() *Vector2 { log.Println("Calling InputEventMouse.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44338,14 +28884,7 @@ func (o *InputEventMouse) GetPosition() *Vector2 { func (o *InputEventMouse) SetButtonMask(buttonMask int64) { log.Println("Calling InputEventMouse.SetButtonMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button_mask", goArguments, "") - + godotCallVoidInt(o, "set_button_mask", buttonMask) log.Println(" Function successfully completed.") } @@ -44356,14 +28895,7 @@ func (o *InputEventMouse) SetButtonMask(buttonMask int64) { func (o *InputEventMouse) SetGlobalPosition(globalPosition *Vector2) { log.Println("Calling InputEventMouse.SetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(globalPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_position", goArguments, "") - + godotCallVoidVector2(o, "set_global_position", globalPosition) log.Println(" Function successfully completed.") } @@ -44374,14 +28906,7 @@ func (o *InputEventMouse) SetGlobalPosition(globalPosition *Vector2) { func (o *InputEventMouse) SetPosition(position *Vector2) { log.Println("Calling InputEventMouse.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -44410,16 +28935,9 @@ func (o *InputEventMouseButton) baseClass() string { func (o *InputEventMouseButton) GetButtonIndex() int64 { log.Println("Calling InputEventMouseButton.GetButtonIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_button_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44430,16 +28948,9 @@ func (o *InputEventMouseButton) GetButtonIndex() int64 { func (o *InputEventMouseButton) GetFactor() float64 { log.Println("Calling InputEventMouseButton.GetFactor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_factor", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_factor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44450,16 +28961,9 @@ func (o *InputEventMouseButton) GetFactor() float64 { func (o *InputEventMouseButton) IsDoubleclick() bool { log.Println("Calling InputEventMouseButton.IsDoubleclick()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_doubleclick", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_doubleclick") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44470,14 +28974,7 @@ func (o *InputEventMouseButton) IsDoubleclick() bool { func (o *InputEventMouseButton) SetButtonIndex(buttonIndex int64) { log.Println("Calling InputEventMouseButton.SetButtonIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buttonIndex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button_index", goArguments, "") - + godotCallVoidInt(o, "set_button_index", buttonIndex) log.Println(" Function successfully completed.") } @@ -44488,14 +28985,7 @@ func (o *InputEventMouseButton) SetButtonIndex(buttonIndex int64) { func (o *InputEventMouseButton) SetDoubleclick(doubleclick bool) { log.Println("Calling InputEventMouseButton.SetDoubleclick()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(doubleclick) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_doubleclick", goArguments, "") - + godotCallVoidBool(o, "set_doubleclick", doubleclick) log.Println(" Function successfully completed.") } @@ -44506,14 +28996,7 @@ func (o *InputEventMouseButton) SetDoubleclick(doubleclick bool) { func (o *InputEventMouseButton) SetFactor(factor float64) { log.Println("Calling InputEventMouseButton.SetFactor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(factor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_factor", goArguments, "") - + godotCallVoidFloat(o, "set_factor", factor) log.Println(" Function successfully completed.") } @@ -44524,14 +29007,7 @@ func (o *InputEventMouseButton) SetFactor(factor float64) { func (o *InputEventMouseButton) SetPressed(pressed bool) { log.Println("Calling InputEventMouseButton.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -44560,16 +29036,9 @@ func (o *InputEventMouseMotion) baseClass() string { func (o *InputEventMouseMotion) GetRelative() *Vector2 { log.Println("Calling InputEventMouseMotion.GetRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_relative", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_relative") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44580,16 +29049,9 @@ func (o *InputEventMouseMotion) GetRelative() *Vector2 { func (o *InputEventMouseMotion) GetSpeed() *Vector2 { log.Println("Calling InputEventMouseMotion.GetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44600,14 +29062,7 @@ func (o *InputEventMouseMotion) GetSpeed() *Vector2 { func (o *InputEventMouseMotion) SetRelative(relative *Vector2) { log.Println("Calling InputEventMouseMotion.SetRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(relative) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_relative", goArguments, "") - + godotCallVoidVector2(o, "set_relative", relative) log.Println(" Function successfully completed.") } @@ -44618,14 +29073,7 @@ func (o *InputEventMouseMotion) SetRelative(relative *Vector2) { func (o *InputEventMouseMotion) SetSpeed(speed *Vector2) { log.Println("Calling InputEventMouseMotion.SetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed", goArguments, "") - + godotCallVoidVector2(o, "set_speed", speed) log.Println(" Function successfully completed.") } @@ -44654,16 +29102,9 @@ func (o *InputEventPanGesture) baseClass() string { func (o *InputEventPanGesture) GetDelta() *Vector2 { log.Println("Calling InputEventPanGesture.GetDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_delta", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_delta") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44674,14 +29115,7 @@ func (o *InputEventPanGesture) GetDelta() *Vector2 { func (o *InputEventPanGesture) SetDelta(delta *Vector2) { log.Println("Calling InputEventPanGesture.SetDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_delta", goArguments, "") - + godotCallVoidVector2(o, "set_delta", delta) log.Println(" Function successfully completed.") } @@ -44710,16 +29144,9 @@ func (o *InputEventScreenDrag) baseClass() string { func (o *InputEventScreenDrag) GetIndex() int64 { log.Println("Calling InputEventScreenDrag.GetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44730,16 +29157,9 @@ func (o *InputEventScreenDrag) GetIndex() int64 { func (o *InputEventScreenDrag) GetPosition() *Vector2 { log.Println("Calling InputEventScreenDrag.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44750,16 +29170,9 @@ func (o *InputEventScreenDrag) GetPosition() *Vector2 { func (o *InputEventScreenDrag) GetRelative() *Vector2 { log.Println("Calling InputEventScreenDrag.GetRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_relative", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_relative") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44770,16 +29183,9 @@ func (o *InputEventScreenDrag) GetRelative() *Vector2 { func (o *InputEventScreenDrag) GetSpeed() *Vector2 { log.Println("Calling InputEventScreenDrag.GetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44790,14 +29196,7 @@ func (o *InputEventScreenDrag) GetSpeed() *Vector2 { func (o *InputEventScreenDrag) SetIndex(index int64) { log.Println("Calling InputEventScreenDrag.SetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_index", goArguments, "") - + godotCallVoidInt(o, "set_index", index) log.Println(" Function successfully completed.") } @@ -44808,14 +29207,7 @@ func (o *InputEventScreenDrag) SetIndex(index int64) { func (o *InputEventScreenDrag) SetPosition(position *Vector2) { log.Println("Calling InputEventScreenDrag.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -44826,14 +29218,7 @@ func (o *InputEventScreenDrag) SetPosition(position *Vector2) { func (o *InputEventScreenDrag) SetRelative(relative *Vector2) { log.Println("Calling InputEventScreenDrag.SetRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(relative) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_relative", goArguments, "") - + godotCallVoidVector2(o, "set_relative", relative) log.Println(" Function successfully completed.") } @@ -44844,14 +29229,7 @@ func (o *InputEventScreenDrag) SetRelative(relative *Vector2) { func (o *InputEventScreenDrag) SetSpeed(speed *Vector2) { log.Println("Calling InputEventScreenDrag.SetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed", goArguments, "") - + godotCallVoidVector2(o, "set_speed", speed) log.Println(" Function successfully completed.") } @@ -44880,16 +29258,9 @@ func (o *InputEventScreenTouch) baseClass() string { func (o *InputEventScreenTouch) GetIndex() int64 { log.Println("Calling InputEventScreenTouch.GetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44900,16 +29271,9 @@ func (o *InputEventScreenTouch) GetIndex() int64 { func (o *InputEventScreenTouch) GetPosition() *Vector2 { log.Println("Calling InputEventScreenTouch.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -44920,14 +29284,7 @@ func (o *InputEventScreenTouch) GetPosition() *Vector2 { func (o *InputEventScreenTouch) SetIndex(index int64) { log.Println("Calling InputEventScreenTouch.SetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_index", goArguments, "") - + godotCallVoidInt(o, "set_index", index) log.Println(" Function successfully completed.") } @@ -44938,14 +29295,7 @@ func (o *InputEventScreenTouch) SetIndex(index int64) { func (o *InputEventScreenTouch) SetPosition(position *Vector2) { log.Println("Calling InputEventScreenTouch.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -44956,14 +29306,7 @@ func (o *InputEventScreenTouch) SetPosition(position *Vector2) { func (o *InputEventScreenTouch) SetPressed(pressed bool) { log.Println("Calling InputEventScreenTouch.SetPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed", goArguments, "") - + godotCallVoidBool(o, "set_pressed", pressed) log.Println(" Function successfully completed.") } @@ -44992,16 +29335,9 @@ func (o *InputEventWithModifiers) baseClass() string { func (o *InputEventWithModifiers) GetAlt() bool { log.Println("Calling InputEventWithModifiers.GetAlt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_alt", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_alt") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45012,16 +29348,9 @@ func (o *InputEventWithModifiers) GetAlt() bool { func (o *InputEventWithModifiers) GetCommand() bool { log.Println("Calling InputEventWithModifiers.GetCommand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_command", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_command") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45032,16 +29361,9 @@ func (o *InputEventWithModifiers) GetCommand() bool { func (o *InputEventWithModifiers) GetControl() bool { log.Println("Calling InputEventWithModifiers.GetControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_control", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_control") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45052,16 +29374,9 @@ func (o *InputEventWithModifiers) GetControl() bool { func (o *InputEventWithModifiers) GetMetakey() bool { log.Println("Calling InputEventWithModifiers.GetMetakey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_metakey", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_metakey") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45072,16 +29387,9 @@ func (o *InputEventWithModifiers) GetMetakey() bool { func (o *InputEventWithModifiers) GetShift() bool { log.Println("Calling InputEventWithModifiers.GetShift()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shift", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_shift") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45092,14 +29400,7 @@ func (o *InputEventWithModifiers) GetShift() bool { func (o *InputEventWithModifiers) SetAlt(enable bool) { log.Println("Calling InputEventWithModifiers.SetAlt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_alt", goArguments, "") - + godotCallVoidBool(o, "set_alt", enable) log.Println(" Function successfully completed.") } @@ -45110,14 +29411,7 @@ func (o *InputEventWithModifiers) SetAlt(enable bool) { func (o *InputEventWithModifiers) SetCommand(enable bool) { log.Println("Calling InputEventWithModifiers.SetCommand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_command", goArguments, "") - + godotCallVoidBool(o, "set_command", enable) log.Println(" Function successfully completed.") } @@ -45128,14 +29422,7 @@ func (o *InputEventWithModifiers) SetCommand(enable bool) { func (o *InputEventWithModifiers) SetControl(enable bool) { log.Println("Calling InputEventWithModifiers.SetControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_control", goArguments, "") - + godotCallVoidBool(o, "set_control", enable) log.Println(" Function successfully completed.") } @@ -45146,14 +29433,7 @@ func (o *InputEventWithModifiers) SetControl(enable bool) { func (o *InputEventWithModifiers) SetMetakey(enable bool) { log.Println("Calling InputEventWithModifiers.SetMetakey()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_metakey", goArguments, "") - + godotCallVoidBool(o, "set_metakey", enable) log.Println(" Function successfully completed.") } @@ -45164,14 +29444,7 @@ func (o *InputEventWithModifiers) SetMetakey(enable bool) { func (o *InputEventWithModifiers) SetShift(enable bool) { log.Println("Calling InputEventWithModifiers.SetShift()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shift", goArguments, "") - + godotCallVoidBool(o, "set_shift", enable) log.Println(" Function successfully completed.") } @@ -45185,7 +29458,9 @@ type InputEventWithModifiersImplementer interface { func newSingletonInputMap() *inputMap { obj := &inputMap{} - ptr := C.godot_global_get_singleton(C.CString("InputMap")) + name := C.CString("InputMap") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -45212,15 +29487,7 @@ func (o *inputMap) baseClass() string { func (o *inputMap) ActionAddEvent(action string, event *InputEvent) { log.Println("Calling InputMap.ActionAddEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(action) - goArguments[1] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "action_add_event", goArguments, "") - + godotCallVoidStringObject(o, "action_add_event", action, &event.Object) log.Println(" Function successfully completed.") } @@ -45231,15 +29498,7 @@ func (o *inputMap) ActionAddEvent(action string, event *InputEvent) { func (o *inputMap) ActionEraseEvent(action string, event *InputEvent) { log.Println("Calling InputMap.ActionEraseEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(action) - goArguments[1] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "action_erase_event", goArguments, "") - + godotCallVoidStringObject(o, "action_erase_event", action, &event.Object) log.Println(" Function successfully completed.") } @@ -45250,18 +29509,9 @@ func (o *inputMap) ActionEraseEvent(action string, event *InputEvent) { func (o *inputMap) ActionHasEvent(action string, event *InputEvent) bool { log.Println("Calling InputMap.ActionHasEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(action) - goArguments[1] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "action_has_event", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringObject(o, "action_has_event", action, &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45272,14 +29522,7 @@ func (o *inputMap) ActionHasEvent(action string, event *InputEvent) bool { func (o *inputMap) AddAction(action string) { log.Println("Calling InputMap.AddAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_action", goArguments, "") - + godotCallVoidString(o, "add_action", action) log.Println(" Function successfully completed.") } @@ -45290,14 +29533,7 @@ func (o *inputMap) AddAction(action string) { func (o *inputMap) EraseAction(action string) { log.Println("Calling InputMap.EraseAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase_action", goArguments, "") - + godotCallVoidString(o, "erase_action", action) log.Println(" Function successfully completed.") } @@ -45308,18 +29544,9 @@ func (o *inputMap) EraseAction(action string) { func (o *inputMap) EventIsAction(event *InputEvent, action string) bool { log.Println("Calling InputMap.EventIsAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(event) - goArguments[1] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "event_is_action", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectString(o, "event_is_action", &event.Object, action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45330,17 +29557,9 @@ func (o *inputMap) EventIsAction(event *InputEvent, action string) bool { func (o *inputMap) GetActionList(action string) *Array { log.Println("Calling InputMap.GetActionList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayString(o, "get_action_list", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45351,16 +29570,9 @@ func (o *inputMap) GetActionList(action string) *Array { func (o *inputMap) GetActions() *Array { log.Println("Calling InputMap.GetActions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_actions", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_actions") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45371,17 +29583,9 @@ func (o *inputMap) GetActions() *Array { func (o *inputMap) HasAction(action string) bool { log.Println("Calling InputMap.HasAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_action", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_action", action) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45392,13 +29596,7 @@ func (o *inputMap) HasAction(action string) bool { func (o *inputMap) LoadFromGlobals() { log.Println("Calling InputMap.LoadFromGlobals()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "load_from_globals", goArguments, "") - + godotCallVoid(o, "load_from_globals") log.Println(" Function successfully completed.") } @@ -45420,16 +29618,9 @@ func (o *InstancePlaceholder) baseClass() string { func (o *InstancePlaceholder) GetInstancePath() string { log.Println("Calling InstancePlaceholder.GetInstancePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_instance_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45440,17 +29631,9 @@ func (o *InstancePlaceholder) GetInstancePath() string { func (o *InstancePlaceholder) GetStoredValues(withOrder bool) *Dictionary { log.Println("Calling InstancePlaceholder.GetStoredValues()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(withOrder) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stored_values", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryBool(o, "get_stored_values", withOrder) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45461,14 +29644,7 @@ func (o *InstancePlaceholder) GetStoredValues(withOrder bool) *Dictionary { func (o *InstancePlaceholder) ReplaceByInstance(customScene *PackedScene) { log.Println("Calling InstancePlaceholder.ReplaceByInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(customScene) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "replace_by_instance", goArguments, "") - + godotCallVoidObject(o, "replace_by_instance", &customScene.Object) log.Println(" Function successfully completed.") } @@ -45497,16 +29673,9 @@ func (o *InterpolatedCamera) baseClass() string { func (o *InterpolatedCamera) GetSpeed() float64 { log.Println("Calling InterpolatedCamera.GetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45517,16 +29686,9 @@ func (o *InterpolatedCamera) GetSpeed() float64 { func (o *InterpolatedCamera) GetTargetPath() *NodePath { log.Println("Calling InterpolatedCamera.GetTargetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_target_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_target_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45537,16 +29699,9 @@ func (o *InterpolatedCamera) GetTargetPath() *NodePath { func (o *InterpolatedCamera) IsInterpolationEnabled() bool { log.Println("Calling InterpolatedCamera.IsInterpolationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_interpolation_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_interpolation_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45557,14 +29712,7 @@ func (o *InterpolatedCamera) IsInterpolationEnabled() bool { func (o *InterpolatedCamera) SetInterpolationEnabled(targetPath bool) { log.Println("Calling InterpolatedCamera.SetInterpolationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(targetPath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interpolation_enabled", goArguments, "") - + godotCallVoidBool(o, "set_interpolation_enabled", targetPath) log.Println(" Function successfully completed.") } @@ -45575,14 +29723,7 @@ func (o *InterpolatedCamera) SetInterpolationEnabled(targetPath bool) { func (o *InterpolatedCamera) SetSpeed(speed float64) { log.Println("Calling InterpolatedCamera.SetSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed", goArguments, "") - + godotCallVoidFloat(o, "set_speed", speed) log.Println(" Function successfully completed.") } @@ -45593,14 +29734,7 @@ func (o *InterpolatedCamera) SetSpeed(speed float64) { func (o *InterpolatedCamera) SetTarget(target *Object) { log.Println("Calling InterpolatedCamera.SetTarget()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(target) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_target", goArguments, "") - + godotCallVoidObject(o, "set_target", target) log.Println(" Function successfully completed.") } @@ -45611,14 +29745,7 @@ func (o *InterpolatedCamera) SetTarget(target *Object) { func (o *InterpolatedCamera) SetTargetPath(targetPath *NodePath) { log.Println("Calling InterpolatedCamera.SetTargetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(targetPath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_target_path", goArguments, "") - + godotCallVoidNodePath(o, "set_target_path", targetPath) log.Println(" Function successfully completed.") } @@ -45647,16 +29774,9 @@ func (o *ItemList) baseClass() string { func (o *ItemList) X_GetItems() *Array { log.Println("Calling ItemList.X_GetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_items", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_items") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45667,14 +29787,7 @@ func (o *ItemList) X_GetItems() *Array { func (o *ItemList) X_GuiInput(arg0 *InputEvent) { log.Println("Calling ItemList.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -45685,14 +29798,7 @@ func (o *ItemList) X_GuiInput(arg0 *InputEvent) { func (o *ItemList) X_ScrollChanged(arg0 float64) { log.Println("Calling ItemList.X_ScrollChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_changed", goArguments, "") - + godotCallVoidFloat(o, "_scroll_changed", arg0) log.Println(" Function successfully completed.") } @@ -45703,14 +29809,7 @@ func (o *ItemList) X_ScrollChanged(arg0 float64) { func (o *ItemList) X_SetItems(arg0 *Array) { log.Println("Calling ItemList.X_SetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_items", goArguments, "") - + godotCallVoidArray(o, "_set_items", arg0) log.Println(" Function successfully completed.") } @@ -45721,15 +29820,7 @@ func (o *ItemList) X_SetItems(arg0 *Array) { func (o *ItemList) AddIconItem(icon *Texture, selectable bool) { log.Println("Calling ItemList.AddIconItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(icon) - goArguments[1] = reflect.ValueOf(selectable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_item", goArguments, "") - + godotCallVoidObjectBool(o, "add_icon_item", &icon.Object, selectable) log.Println(" Function successfully completed.") } @@ -45740,16 +29831,7 @@ func (o *ItemList) AddIconItem(icon *Texture, selectable bool) { func (o *ItemList) AddItem(text string, icon *Texture, selectable bool) { log.Println("Calling ItemList.AddItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(text) - goArguments[1] = reflect.ValueOf(icon) - goArguments[2] = reflect.ValueOf(selectable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_item", goArguments, "") - + godotCallVoidStringObjectBool(o, "add_item", text, &icon.Object, selectable) log.Println(" Function successfully completed.") } @@ -45760,13 +29842,7 @@ func (o *ItemList) AddItem(text string, icon *Texture, selectable bool) { func (o *ItemList) Clear() { log.Println("Calling ItemList.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -45777,13 +29853,7 @@ func (o *ItemList) Clear() { func (o *ItemList) EnsureCurrentIsVisible() { log.Println("Calling ItemList.EnsureCurrentIsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "ensure_current_is_visible", goArguments, "") - + godotCallVoid(o, "ensure_current_is_visible") log.Println(" Function successfully completed.") } @@ -45794,16 +29864,9 @@ func (o *ItemList) EnsureCurrentIsVisible() { func (o *ItemList) GetAllowRmbSelect() bool { log.Println("Calling ItemList.GetAllowRmbSelect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_allow_rmb_select", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_allow_rmb_select") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45814,16 +29877,9 @@ func (o *ItemList) GetAllowRmbSelect() bool { func (o *ItemList) GetFixedColumnWidth() int64 { log.Println("Calling ItemList.GetFixedColumnWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fixed_column_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_fixed_column_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45834,16 +29890,9 @@ func (o *ItemList) GetFixedColumnWidth() int64 { func (o *ItemList) GetFixedIconSize() *Vector2 { log.Println("Calling ItemList.GetFixedIconSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fixed_icon_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_fixed_icon_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45854,16 +29903,9 @@ func (o *ItemList) GetFixedIconSize() *Vector2 { func (o *ItemList) GetIconMode() int64 { log.Println("Calling ItemList.GetIconMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_icon_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45874,16 +29916,9 @@ func (o *ItemList) GetIconMode() int64 { func (o *ItemList) GetIconScale() float64 { log.Println("Calling ItemList.GetIconScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_icon_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45894,18 +29929,9 @@ func (o *ItemList) GetIconScale() float64 { func (o *ItemList) GetItemAtPosition(position *Vector2, exact bool) int64 { log.Println("Calling ItemList.GetItemAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(exact) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_at_position", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2Bool(o, "get_item_at_position", position, exact) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45916,16 +29942,9 @@ func (o *ItemList) GetItemAtPosition(position *Vector2, exact bool) int64 { func (o *ItemList) GetItemCount() int64 { log.Println("Calling ItemList.GetItemCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_item_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45936,17 +29955,9 @@ func (o *ItemList) GetItemCount() int64 { func (o *ItemList) GetItemCustomBgColor(idx int64) *Color { log.Println("Calling ItemList.GetItemCustomBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_custom_bg_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_item_custom_bg_color", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45957,18 +29968,12 @@ func (o *ItemList) GetItemCustomBgColor(idx int64) *Color { func (o *ItemList) GetItemIcon(idx int64) *Texture { log.Println("Calling ItemList.GetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_item_icon", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -45978,17 +29983,9 @@ func (o *ItemList) GetItemIcon(idx int64) *Texture { func (o *ItemList) GetItemIconRegion(idx int64) *Rect2 { log.Println("Calling ItemList.GetItemIconRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_icon_region", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2Int(o, "get_item_icon_region", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -45999,17 +29996,9 @@ func (o *ItemList) GetItemIconRegion(idx int64) *Rect2 { func (o *ItemList) GetItemMetadata(idx int64) *Variant { log.Println("Calling ItemList.GetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_item_metadata", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46020,17 +30009,9 @@ func (o *ItemList) GetItemMetadata(idx int64) *Variant { func (o *ItemList) GetItemText(idx int64) string { log.Println("Calling ItemList.GetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_text", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46041,17 +30022,9 @@ func (o *ItemList) GetItemText(idx int64) string { func (o *ItemList) GetItemTooltip(idx int64) string { log.Println("Calling ItemList.GetItemTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_tooltip", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46062,16 +30035,9 @@ func (o *ItemList) GetItemTooltip(idx int64) string { func (o *ItemList) GetMaxColumns() int64 { log.Println("Calling ItemList.GetMaxColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_columns", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_columns") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46082,16 +30048,9 @@ func (o *ItemList) GetMaxColumns() int64 { func (o *ItemList) GetMaxTextLines() int64 { log.Println("Calling ItemList.GetMaxTextLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_text_lines", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_text_lines") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46102,16 +30061,9 @@ func (o *ItemList) GetMaxTextLines() int64 { func (o *ItemList) GetSelectMode() int64 { log.Println("Calling ItemList.GetSelectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_select_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_select_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46122,16 +30074,9 @@ func (o *ItemList) GetSelectMode() int64 { func (o *ItemList) GetSelectedItems() *PoolIntArray { log.Println("Calling ItemList.GetSelectedItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_items", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "get_selected_items") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46142,17 +30087,12 @@ func (o *ItemList) GetSelectedItems() *PoolIntArray { func (o *ItemList) GetVScroll() *VScrollBar { log.Println("Calling ItemList.GetVScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_scroll", goArguments, "*VScrollBar") - - returnValue := goRet.Interface().(*VScrollBar) - + returnValue := godotCallObject(o, "get_v_scroll") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VScrollBar + ret.owner = returnValue.owner + return &ret } @@ -46162,16 +30102,9 @@ func (o *ItemList) GetVScroll() *VScrollBar { func (o *ItemList) HasAutoHeight() bool { log.Println("Calling ItemList.HasAutoHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_auto_height", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_auto_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46182,17 +30115,9 @@ func (o *ItemList) HasAutoHeight() bool { func (o *ItemList) IsItemDisabled(idx int64) bool { log.Println("Calling ItemList.IsItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_disabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46203,17 +30128,9 @@ func (o *ItemList) IsItemDisabled(idx int64) bool { func (o *ItemList) IsItemSelectable(idx int64) bool { log.Println("Calling ItemList.IsItemSelectable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_selectable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_selectable", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46224,17 +30141,9 @@ func (o *ItemList) IsItemSelectable(idx int64) bool { func (o *ItemList) IsItemTooltipEnabled(idx int64) bool { log.Println("Calling ItemList.IsItemTooltipEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_tooltip_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_tooltip_enabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46245,16 +30154,9 @@ func (o *ItemList) IsItemTooltipEnabled(idx int64) bool { func (o *ItemList) IsSameColumnWidth() bool { log.Println("Calling ItemList.IsSameColumnWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_same_column_width", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_same_column_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46265,17 +30167,9 @@ func (o *ItemList) IsSameColumnWidth() bool { func (o *ItemList) IsSelected(idx int64) bool { log.Println("Calling ItemList.IsSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_selected", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46286,14 +30180,7 @@ func (o *ItemList) IsSelected(idx int64) bool { func (o *ItemList) RemoveItem(idx int64) { log.Println("Calling ItemList.RemoveItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_item", goArguments, "") - + godotCallVoidInt(o, "remove_item", idx) log.Println(" Function successfully completed.") } @@ -46304,15 +30191,7 @@ func (o *ItemList) RemoveItem(idx int64) { func (o *ItemList) Select(idx int64, single bool) { log.Println("Calling ItemList.Select()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(single) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select", goArguments, "") - + godotCallVoidIntBool(o, "select", idx, single) log.Println(" Function successfully completed.") } @@ -46323,14 +30202,7 @@ func (o *ItemList) Select(idx int64, single bool) { func (o *ItemList) SetAllowRmbSelect(allow bool) { log.Println("Calling ItemList.SetAllowRmbSelect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(allow) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_allow_rmb_select", goArguments, "") - + godotCallVoidBool(o, "set_allow_rmb_select", allow) log.Println(" Function successfully completed.") } @@ -46341,14 +30213,7 @@ func (o *ItemList) SetAllowRmbSelect(allow bool) { func (o *ItemList) SetAutoHeight(enable bool) { log.Println("Calling ItemList.SetAutoHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_auto_height", goArguments, "") - + godotCallVoidBool(o, "set_auto_height", enable) log.Println(" Function successfully completed.") } @@ -46359,14 +30224,7 @@ func (o *ItemList) SetAutoHeight(enable bool) { func (o *ItemList) SetFixedColumnWidth(width int64) { log.Println("Calling ItemList.SetFixedColumnWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fixed_column_width", goArguments, "") - + godotCallVoidInt(o, "set_fixed_column_width", width) log.Println(" Function successfully completed.") } @@ -46377,14 +30235,7 @@ func (o *ItemList) SetFixedColumnWidth(width int64) { func (o *ItemList) SetFixedIconSize(size *Vector2) { log.Println("Calling ItemList.SetFixedIconSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fixed_icon_size", goArguments, "") - + godotCallVoidVector2(o, "set_fixed_icon_size", size) log.Println(" Function successfully completed.") } @@ -46395,14 +30246,7 @@ func (o *ItemList) SetFixedIconSize(size *Vector2) { func (o *ItemList) SetIconMode(mode int64) { log.Println("Calling ItemList.SetIconMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon_mode", goArguments, "") - + godotCallVoidInt(o, "set_icon_mode", mode) log.Println(" Function successfully completed.") } @@ -46413,14 +30257,7 @@ func (o *ItemList) SetIconMode(mode int64) { func (o *ItemList) SetIconScale(scale float64) { log.Println("Calling ItemList.SetIconScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon_scale", goArguments, "") - + godotCallVoidFloat(o, "set_icon_scale", scale) log.Println(" Function successfully completed.") } @@ -46431,15 +30268,7 @@ func (o *ItemList) SetIconScale(scale float64) { func (o *ItemList) SetItemCustomBgColor(idx int64, customBgColor *Color) { log.Println("Calling ItemList.SetItemCustomBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(customBgColor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_custom_bg_color", goArguments, "") - + godotCallVoidIntColor(o, "set_item_custom_bg_color", idx, customBgColor) log.Println(" Function successfully completed.") } @@ -46450,15 +30279,7 @@ func (o *ItemList) SetItemCustomBgColor(idx int64, customBgColor *Color) { func (o *ItemList) SetItemDisabled(idx int64, disabled bool) { log.Println("Calling ItemList.SetItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_disabled", goArguments, "") - + godotCallVoidIntBool(o, "set_item_disabled", idx, disabled) log.Println(" Function successfully completed.") } @@ -46469,15 +30290,7 @@ func (o *ItemList) SetItemDisabled(idx int64, disabled bool) { func (o *ItemList) SetItemIcon(idx int64, icon *Texture) { log.Println("Calling ItemList.SetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_item_icon", idx, &icon.Object) log.Println(" Function successfully completed.") } @@ -46488,15 +30301,7 @@ func (o *ItemList) SetItemIcon(idx int64, icon *Texture) { func (o *ItemList) SetItemIconRegion(idx int64, rect *Rect2) { log.Println("Calling ItemList.SetItemIconRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_icon_region", goArguments, "") - + godotCallVoidIntRect2(o, "set_item_icon_region", idx, rect) log.Println(" Function successfully completed.") } @@ -46507,15 +30312,7 @@ func (o *ItemList) SetItemIconRegion(idx int64, rect *Rect2) { func (o *ItemList) SetItemMetadata(idx int64, metadata *Variant) { log.Println("Calling ItemList.SetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(metadata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_metadata", goArguments, "") - + godotCallVoidIntVariant(o, "set_item_metadata", idx, metadata) log.Println(" Function successfully completed.") } @@ -46526,15 +30323,7 @@ func (o *ItemList) SetItemMetadata(idx int64, metadata *Variant) { func (o *ItemList) SetItemSelectable(idx int64, selectable bool) { log.Println("Calling ItemList.SetItemSelectable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(selectable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_selectable", goArguments, "") - + godotCallVoidIntBool(o, "set_item_selectable", idx, selectable) log.Println(" Function successfully completed.") } @@ -46545,15 +30334,7 @@ func (o *ItemList) SetItemSelectable(idx int64, selectable bool) { func (o *ItemList) SetItemText(idx int64, text string) { log.Println("Calling ItemList.SetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_text", goArguments, "") - + godotCallVoidIntString(o, "set_item_text", idx, text) log.Println(" Function successfully completed.") } @@ -46564,15 +30345,7 @@ func (o *ItemList) SetItemText(idx int64, text string) { func (o *ItemList) SetItemTooltip(idx int64, tooltip string) { log.Println("Calling ItemList.SetItemTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(tooltip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_tooltip", goArguments, "") - + godotCallVoidIntString(o, "set_item_tooltip", idx, tooltip) log.Println(" Function successfully completed.") } @@ -46583,15 +30356,7 @@ func (o *ItemList) SetItemTooltip(idx int64, tooltip string) { func (o *ItemList) SetItemTooltipEnabled(idx int64, enable bool) { log.Println("Calling ItemList.SetItemTooltipEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_tooltip_enabled", goArguments, "") - + godotCallVoidIntBool(o, "set_item_tooltip_enabled", idx, enable) log.Println(" Function successfully completed.") } @@ -46602,14 +30367,7 @@ func (o *ItemList) SetItemTooltipEnabled(idx int64, enable bool) { func (o *ItemList) SetMaxColumns(amount int64) { log.Println("Calling ItemList.SetMaxColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_columns", goArguments, "") - + godotCallVoidInt(o, "set_max_columns", amount) log.Println(" Function successfully completed.") } @@ -46620,14 +30378,7 @@ func (o *ItemList) SetMaxColumns(amount int64) { func (o *ItemList) SetMaxTextLines(lines int64) { log.Println("Calling ItemList.SetMaxTextLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lines) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_text_lines", goArguments, "") - + godotCallVoidInt(o, "set_max_text_lines", lines) log.Println(" Function successfully completed.") } @@ -46638,14 +30389,7 @@ func (o *ItemList) SetMaxTextLines(lines int64) { func (o *ItemList) SetSameColumnWidth(enable bool) { log.Println("Calling ItemList.SetSameColumnWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_same_column_width", goArguments, "") - + godotCallVoidBool(o, "set_same_column_width", enable) log.Println(" Function successfully completed.") } @@ -46656,14 +30400,7 @@ func (o *ItemList) SetSameColumnWidth(enable bool) { func (o *ItemList) SetSelectMode(mode int64) { log.Println("Calling ItemList.SetSelectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_select_mode", goArguments, "") - + godotCallVoidInt(o, "set_select_mode", mode) log.Println(" Function successfully completed.") } @@ -46674,13 +30411,7 @@ func (o *ItemList) SetSelectMode(mode int64) { func (o *ItemList) SortItemsByText() { log.Println("Calling ItemList.SortItemsByText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "sort_items_by_text", goArguments, "") - + godotCallVoid(o, "sort_items_by_text") log.Println(" Function successfully completed.") } @@ -46691,14 +30422,7 @@ func (o *ItemList) SortItemsByText() { func (o *ItemList) Unselect(idx int64) { log.Println("Calling ItemList.Unselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unselect", goArguments, "") - + godotCallVoidInt(o, "unselect", idx) log.Println(" Function successfully completed.") } @@ -46727,16 +30451,9 @@ func (o *JSONParseResult) baseClass() string { func (o *JSONParseResult) GetError() int64 { log.Println("Calling JSONParseResult.GetError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_error", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_error") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46747,16 +30464,9 @@ func (o *JSONParseResult) GetError() int64 { func (o *JSONParseResult) GetErrorLine() int64 { log.Println("Calling JSONParseResult.GetErrorLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_error_line", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_error_line") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46767,16 +30477,9 @@ func (o *JSONParseResult) GetErrorLine() int64 { func (o *JSONParseResult) GetErrorString() string { log.Println("Calling JSONParseResult.GetErrorString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_error_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_error_string") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46787,16 +30490,9 @@ func (o *JSONParseResult) GetErrorString() string { func (o *JSONParseResult) GetResult() *Variant { log.Println("Calling JSONParseResult.GetResult()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_result") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46807,14 +30503,7 @@ func (o *JSONParseResult) GetResult() *Variant { func (o *JSONParseResult) SetError(error int64) { log.Println("Calling JSONParseResult.SetError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(error) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_error", goArguments, "") - + godotCallVoidInt(o, "set_error", error) log.Println(" Function successfully completed.") } @@ -46825,14 +30514,7 @@ func (o *JSONParseResult) SetError(error int64) { func (o *JSONParseResult) SetErrorLine(errorLine int64) { log.Println("Calling JSONParseResult.SetErrorLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(errorLine) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_error_line", goArguments, "") - + godotCallVoidInt(o, "set_error_line", errorLine) log.Println(" Function successfully completed.") } @@ -46843,14 +30525,7 @@ func (o *JSONParseResult) SetErrorLine(errorLine int64) { func (o *JSONParseResult) SetErrorString(errorString string) { log.Println("Calling JSONParseResult.SetErrorString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(errorString) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_error_string", goArguments, "") - + godotCallVoidString(o, "set_error_string", errorString) log.Println(" Function successfully completed.") } @@ -46861,14 +30536,7 @@ func (o *JSONParseResult) SetErrorString(errorString string) { func (o *JSONParseResult) SetResult(result *Variant) { log.Println("Calling JSONParseResult.SetResult()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(result) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_result", goArguments, "") - + godotCallVoidVariant(o, "set_result", result) log.Println(" Function successfully completed.") } @@ -46882,7 +30550,9 @@ type JSONParseResultImplementer interface { func newSingletonJavaScript() *javaScript { obj := &javaScript{} - ptr := C.godot_global_get_singleton(C.CString("JavaScript")) + name := C.CString("JavaScript") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -46909,18 +30579,9 @@ func (o *javaScript) baseClass() string { func (o *javaScript) Eval(code string, useGlobalExecutionContext bool) *Variant { log.Println("Calling JavaScript.Eval()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(code) - goArguments[1] = reflect.ValueOf(useGlobalExecutionContext) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "eval", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantStringBool(o, "eval", code, useGlobalExecutionContext) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46942,16 +30603,9 @@ func (o *Joint) baseClass() string { func (o *Joint) GetExcludeNodesFromCollision() bool { log.Println("Calling Joint.GetExcludeNodesFromCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude_nodes_from_collision", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_exclude_nodes_from_collision") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46962,16 +30616,9 @@ func (o *Joint) GetExcludeNodesFromCollision() bool { func (o *Joint) GetNodeA() *NodePath { log.Println("Calling Joint.GetNodeA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_a", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_node_a") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -46982,16 +30629,9 @@ func (o *Joint) GetNodeA() *NodePath { func (o *Joint) GetNodeB() *NodePath { log.Println("Calling Joint.GetNodeB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_b", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_node_b") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47002,16 +30642,9 @@ func (o *Joint) GetNodeB() *NodePath { func (o *Joint) GetSolverPriority() int64 { log.Println("Calling Joint.GetSolverPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_solver_priority", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_solver_priority") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47022,14 +30655,7 @@ func (o *Joint) GetSolverPriority() int64 { func (o *Joint) SetExcludeNodesFromCollision(enable bool) { log.Println("Calling Joint.SetExcludeNodesFromCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude_nodes_from_collision", goArguments, "") - + godotCallVoidBool(o, "set_exclude_nodes_from_collision", enable) log.Println(" Function successfully completed.") } @@ -47040,14 +30666,7 @@ func (o *Joint) SetExcludeNodesFromCollision(enable bool) { func (o *Joint) SetNodeA(node *NodePath) { log.Println("Calling Joint.SetNodeA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_a", goArguments, "") - + godotCallVoidNodePath(o, "set_node_a", node) log.Println(" Function successfully completed.") } @@ -47058,14 +30677,7 @@ func (o *Joint) SetNodeA(node *NodePath) { func (o *Joint) SetNodeB(node *NodePath) { log.Println("Calling Joint.SetNodeB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_b", goArguments, "") - + godotCallVoidNodePath(o, "set_node_b", node) log.Println(" Function successfully completed.") } @@ -47076,14 +30688,7 @@ func (o *Joint) SetNodeB(node *NodePath) { func (o *Joint) SetSolverPriority(priority int64) { log.Println("Calling Joint.SetSolverPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_solver_priority", goArguments, "") - + godotCallVoidInt(o, "set_solver_priority", priority) log.Println(" Function successfully completed.") } @@ -47112,16 +30717,9 @@ func (o *Joint2D) baseClass() string { func (o *Joint2D) GetBias() float64 { log.Println("Calling Joint2D.GetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47132,16 +30730,9 @@ func (o *Joint2D) GetBias() float64 { func (o *Joint2D) GetExcludeNodesFromCollision() bool { log.Println("Calling Joint2D.GetExcludeNodesFromCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude_nodes_from_collision", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_exclude_nodes_from_collision") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47152,16 +30743,9 @@ func (o *Joint2D) GetExcludeNodesFromCollision() bool { func (o *Joint2D) GetNodeA() *NodePath { log.Println("Calling Joint2D.GetNodeA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_a", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_node_a") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47172,16 +30756,9 @@ func (o *Joint2D) GetNodeA() *NodePath { func (o *Joint2D) GetNodeB() *NodePath { log.Println("Calling Joint2D.GetNodeB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_b", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_node_b") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47192,14 +30769,7 @@ func (o *Joint2D) GetNodeB() *NodePath { func (o *Joint2D) SetBias(bias float64) { log.Println("Calling Joint2D.SetBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bias) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bias", goArguments, "") - + godotCallVoidFloat(o, "set_bias", bias) log.Println(" Function successfully completed.") } @@ -47210,14 +30780,7 @@ func (o *Joint2D) SetBias(bias float64) { func (o *Joint2D) SetExcludeNodesFromCollision(enable bool) { log.Println("Calling Joint2D.SetExcludeNodesFromCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude_nodes_from_collision", goArguments, "") - + godotCallVoidBool(o, "set_exclude_nodes_from_collision", enable) log.Println(" Function successfully completed.") } @@ -47228,14 +30791,7 @@ func (o *Joint2D) SetExcludeNodesFromCollision(enable bool) { func (o *Joint2D) SetNodeA(node *NodePath) { log.Println("Calling Joint2D.SetNodeA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_a", goArguments, "") - + godotCallVoidNodePath(o, "set_node_a", node) log.Println(" Function successfully completed.") } @@ -47246,14 +30802,7 @@ func (o *Joint2D) SetNodeA(node *NodePath) { func (o *Joint2D) SetNodeB(node *NodePath) { log.Println("Calling Joint2D.SetNodeB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_b", goArguments, "") - + godotCallVoidNodePath(o, "set_node_b", node) log.Println(" Function successfully completed.") } @@ -47282,17 +30831,9 @@ func (o *KinematicBody) baseClass() string { func (o *KinematicBody) GetAxisLock(axis int64) bool { log.Println("Calling KinematicBody.GetAxisLock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_axis_lock", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_axis_lock", axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47303,16 +30844,9 @@ func (o *KinematicBody) GetAxisLock(axis int64) bool { func (o *KinematicBody) GetFloorVelocity() *Vector3 { log.Println("Calling KinematicBody.GetFloorVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_floor_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_floor_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47323,16 +30857,9 @@ func (o *KinematicBody) GetFloorVelocity() *Vector3 { func (o *KinematicBody) GetSafeMargin() float64 { log.Println("Calling KinematicBody.GetSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_safe_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_safe_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47343,18 +30870,12 @@ func (o *KinematicBody) GetSafeMargin() float64 { func (o *KinematicBody) GetSlideCollision(slideIdx int64) *KinematicCollision { log.Println("Calling KinematicBody.GetSlideCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(slideIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slide_collision", goArguments, "*KinematicCollision") - - returnValue := goRet.Interface().(*KinematicCollision) - + returnValue := godotCallObjectInt(o, "get_slide_collision", slideIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret KinematicCollision + ret.owner = returnValue.owner + return &ret } @@ -47364,16 +30885,9 @@ func (o *KinematicBody) GetSlideCollision(slideIdx int64) *KinematicCollision { func (o *KinematicBody) GetSlideCount() int64 { log.Println("Calling KinematicBody.GetSlideCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slide_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_slide_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47384,16 +30898,9 @@ func (o *KinematicBody) GetSlideCount() int64 { func (o *KinematicBody) IsOnCeiling() bool { log.Println("Calling KinematicBody.IsOnCeiling()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_ceiling", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_ceiling") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47404,16 +30911,9 @@ func (o *KinematicBody) IsOnCeiling() bool { func (o *KinematicBody) IsOnFloor() bool { log.Println("Calling KinematicBody.IsOnFloor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_floor", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_floor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47424,16 +30924,9 @@ func (o *KinematicBody) IsOnFloor() bool { func (o *KinematicBody) IsOnWall() bool { log.Println("Calling KinematicBody.IsOnWall()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_wall", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_wall") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47444,18 +30937,12 @@ func (o *KinematicBody) IsOnWall() bool { func (o *KinematicBody) MoveAndCollide(relVec *Vector3) *KinematicCollision { log.Println("Calling KinematicBody.MoveAndCollide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(relVec) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "move_and_collide", goArguments, "*KinematicCollision") - - returnValue := goRet.Interface().(*KinematicCollision) - + returnValue := godotCallObjectVector3(o, "move_and_collide", relVec) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret KinematicCollision + ret.owner = returnValue.owner + return &ret } @@ -47465,21 +30952,9 @@ func (o *KinematicBody) MoveAndCollide(relVec *Vector3) *KinematicCollision { func (o *KinematicBody) MoveAndSlide(linearVelocity *Vector3, floorNormal *Vector3, slopeStopMinVelocity float64, maxSlides int64, floorMaxAngle float64) *Vector3 { log.Println("Calling KinematicBody.MoveAndSlide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(linearVelocity) - goArguments[1] = reflect.ValueOf(floorNormal) - goArguments[2] = reflect.ValueOf(slopeStopMinVelocity) - goArguments[3] = reflect.ValueOf(maxSlides) - goArguments[4] = reflect.ValueOf(floorMaxAngle) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "move_and_slide", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3Vector3FloatIntFloat(o, "move_and_slide", linearVelocity, floorNormal, slopeStopMinVelocity, maxSlides, floorMaxAngle) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47490,15 +30965,7 @@ func (o *KinematicBody) MoveAndSlide(linearVelocity *Vector3, floorNormal *Vecto func (o *KinematicBody) SetAxisLock(axis int64, lock bool) { log.Println("Calling KinematicBody.SetAxisLock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(axis) - goArguments[1] = reflect.ValueOf(lock) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis_lock", goArguments, "") - + godotCallVoidIntBool(o, "set_axis_lock", axis, lock) log.Println(" Function successfully completed.") } @@ -47509,14 +30976,7 @@ func (o *KinematicBody) SetAxisLock(axis int64, lock bool) { func (o *KinematicBody) SetSafeMargin(pixels float64) { log.Println("Calling KinematicBody.SetSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pixels) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_safe_margin", goArguments, "") - + godotCallVoidFloat(o, "set_safe_margin", pixels) log.Println(" Function successfully completed.") } @@ -47527,18 +30987,9 @@ func (o *KinematicBody) SetSafeMargin(pixels float64) { func (o *KinematicBody) TestMove(from *Transform, relVec *Vector3) bool { log.Println("Calling KinematicBody.TestMove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(relVec) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "test_move", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolTransformVector3(o, "test_move", from, relVec) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47567,16 +31018,9 @@ func (o *KinematicBody2D) baseClass() string { func (o *KinematicBody2D) GetFloorVelocity() *Vector2 { log.Println("Calling KinematicBody2D.GetFloorVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_floor_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_floor_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47587,16 +31031,9 @@ func (o *KinematicBody2D) GetFloorVelocity() *Vector2 { func (o *KinematicBody2D) GetSafeMargin() float64 { log.Println("Calling KinematicBody2D.GetSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_safe_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_safe_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47607,18 +31044,12 @@ func (o *KinematicBody2D) GetSafeMargin() float64 { func (o *KinematicBody2D) GetSlideCollision(slideIdx int64) *KinematicCollision2D { log.Println("Calling KinematicBody2D.GetSlideCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(slideIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slide_collision", goArguments, "*KinematicCollision2D") - - returnValue := goRet.Interface().(*KinematicCollision2D) - + returnValue := godotCallObjectInt(o, "get_slide_collision", slideIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret KinematicCollision2D + ret.owner = returnValue.owner + return &ret } @@ -47628,16 +31059,9 @@ func (o *KinematicBody2D) GetSlideCollision(slideIdx int64) *KinematicCollision2 func (o *KinematicBody2D) GetSlideCount() int64 { log.Println("Calling KinematicBody2D.GetSlideCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_slide_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_slide_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47648,16 +31072,9 @@ func (o *KinematicBody2D) GetSlideCount() int64 { func (o *KinematicBody2D) IsOnCeiling() bool { log.Println("Calling KinematicBody2D.IsOnCeiling()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_ceiling", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_ceiling") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47668,16 +31085,9 @@ func (o *KinematicBody2D) IsOnCeiling() bool { func (o *KinematicBody2D) IsOnFloor() bool { log.Println("Calling KinematicBody2D.IsOnFloor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_floor", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_floor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47688,16 +31098,9 @@ func (o *KinematicBody2D) IsOnFloor() bool { func (o *KinematicBody2D) IsOnWall() bool { log.Println("Calling KinematicBody2D.IsOnWall()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_wall", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_wall") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47708,18 +31111,12 @@ func (o *KinematicBody2D) IsOnWall() bool { func (o *KinematicBody2D) MoveAndCollide(relVec *Vector2) *KinematicCollision2D { log.Println("Calling KinematicBody2D.MoveAndCollide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(relVec) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "move_and_collide", goArguments, "*KinematicCollision2D") - - returnValue := goRet.Interface().(*KinematicCollision2D) - + returnValue := godotCallObjectVector2(o, "move_and_collide", relVec) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret KinematicCollision2D + ret.owner = returnValue.owner + return &ret } @@ -47729,21 +31126,9 @@ func (o *KinematicBody2D) MoveAndCollide(relVec *Vector2) *KinematicCollision2D func (o *KinematicBody2D) MoveAndSlide(linearVelocity *Vector2, floorNormal *Vector2, slopeStopMinVelocity float64, maxBounces int64, floorMaxAngle float64) *Vector2 { log.Println("Calling KinematicBody2D.MoveAndSlide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(linearVelocity) - goArguments[1] = reflect.ValueOf(floorNormal) - goArguments[2] = reflect.ValueOf(slopeStopMinVelocity) - goArguments[3] = reflect.ValueOf(maxBounces) - goArguments[4] = reflect.ValueOf(floorMaxAngle) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "move_and_slide", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2Vector2FloatIntFloat(o, "move_and_slide", linearVelocity, floorNormal, slopeStopMinVelocity, maxBounces, floorMaxAngle) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47754,14 +31139,7 @@ func (o *KinematicBody2D) MoveAndSlide(linearVelocity *Vector2, floorNormal *Vec func (o *KinematicBody2D) SetSafeMargin(pixels float64) { log.Println("Calling KinematicBody2D.SetSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pixels) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_safe_margin", goArguments, "") - + godotCallVoidFloat(o, "set_safe_margin", pixels) log.Println(" Function successfully completed.") } @@ -47772,18 +31150,9 @@ func (o *KinematicBody2D) SetSafeMargin(pixels float64) { func (o *KinematicBody2D) TestMove(from *Transform2D, relVec *Vector2) bool { log.Println("Calling KinematicBody2D.TestMove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(relVec) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "test_move", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolTransform2DVector2(o, "test_move", from, relVec) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47812,17 +31181,12 @@ func (o *KinematicCollision) baseClass() string { func (o *KinematicCollision) GetCollider() *Object { log.Println("Calling KinematicCollision.GetCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -47832,16 +31196,9 @@ func (o *KinematicCollision) GetCollider() *Object { func (o *KinematicCollision) GetColliderId() int64 { log.Println("Calling KinematicCollision.GetColliderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47852,16 +31209,9 @@ func (o *KinematicCollision) GetColliderId() int64 { func (o *KinematicCollision) GetColliderMetadata() *Variant { log.Println("Calling KinematicCollision.GetColliderMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_collider_metadata") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47872,17 +31222,12 @@ func (o *KinematicCollision) GetColliderMetadata() *Variant { func (o *KinematicCollision) GetColliderShape() *Object { log.Println("Calling KinematicCollision.GetColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -47892,16 +31237,9 @@ func (o *KinematicCollision) GetColliderShape() *Object { func (o *KinematicCollision) GetColliderShapeIndex() int64 { log.Println("Calling KinematicCollision.GetColliderShapeIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_shape_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47912,16 +31250,9 @@ func (o *KinematicCollision) GetColliderShapeIndex() int64 { func (o *KinematicCollision) GetColliderVelocity() *Vector3 { log.Println("Calling KinematicCollision.GetColliderVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_collider_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47932,17 +31263,12 @@ func (o *KinematicCollision) GetColliderVelocity() *Vector3 { func (o *KinematicCollision) GetLocalShape() *Object { log.Println("Calling KinematicCollision.GetLocalShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_local_shape", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_local_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -47952,16 +31278,9 @@ func (o *KinematicCollision) GetLocalShape() *Object { func (o *KinematicCollision) GetNormal() *Vector3 { log.Println("Calling KinematicCollision.GetNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47972,16 +31291,9 @@ func (o *KinematicCollision) GetNormal() *Vector3 { func (o *KinematicCollision) GetPosition() *Vector3 { log.Println("Calling KinematicCollision.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -47992,16 +31304,9 @@ func (o *KinematicCollision) GetPosition() *Vector3 { func (o *KinematicCollision) GetRemainder() *Vector3 { log.Println("Calling KinematicCollision.GetRemainder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_remainder", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_remainder") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48012,16 +31317,9 @@ func (o *KinematicCollision) GetRemainder() *Vector3 { func (o *KinematicCollision) GetTravel() *Vector3 { log.Println("Calling KinematicCollision.GetTravel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_travel", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_travel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48050,17 +31348,12 @@ func (o *KinematicCollision2D) baseClass() string { func (o *KinematicCollision2D) GetCollider() *Object { log.Println("Calling KinematicCollision2D.GetCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -48070,16 +31363,9 @@ func (o *KinematicCollision2D) GetCollider() *Object { func (o *KinematicCollision2D) GetColliderId() int64 { log.Println("Calling KinematicCollision2D.GetColliderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48090,16 +31376,9 @@ func (o *KinematicCollision2D) GetColliderId() int64 { func (o *KinematicCollision2D) GetColliderMetadata() *Variant { log.Println("Calling KinematicCollision2D.GetColliderMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_collider_metadata") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48110,17 +31389,12 @@ func (o *KinematicCollision2D) GetColliderMetadata() *Variant { func (o *KinematicCollision2D) GetColliderShape() *Object { log.Println("Calling KinematicCollision2D.GetColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -48130,16 +31404,9 @@ func (o *KinematicCollision2D) GetColliderShape() *Object { func (o *KinematicCollision2D) GetColliderShapeIndex() int64 { log.Println("Calling KinematicCollision2D.GetColliderShapeIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_shape_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48150,16 +31417,9 @@ func (o *KinematicCollision2D) GetColliderShapeIndex() int64 { func (o *KinematicCollision2D) GetColliderVelocity() *Vector2 { log.Println("Calling KinematicCollision2D.GetColliderVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collider_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48170,17 +31430,12 @@ func (o *KinematicCollision2D) GetColliderVelocity() *Vector2 { func (o *KinematicCollision2D) GetLocalShape() *Object { log.Println("Calling KinematicCollision2D.GetLocalShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_local_shape", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_local_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -48190,16 +31445,9 @@ func (o *KinematicCollision2D) GetLocalShape() *Object { func (o *KinematicCollision2D) GetNormal() *Vector2 { log.Println("Calling KinematicCollision2D.GetNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48210,16 +31458,9 @@ func (o *KinematicCollision2D) GetNormal() *Vector2 { func (o *KinematicCollision2D) GetPosition() *Vector2 { log.Println("Calling KinematicCollision2D.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48230,16 +31471,9 @@ func (o *KinematicCollision2D) GetPosition() *Vector2 { func (o *KinematicCollision2D) GetRemainder() *Vector2 { log.Println("Calling KinematicCollision2D.GetRemainder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_remainder", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_remainder") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48250,16 +31484,9 @@ func (o *KinematicCollision2D) GetRemainder() *Vector2 { func (o *KinematicCollision2D) GetTravel() *Vector2 { log.Println("Calling KinematicCollision2D.GetTravel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_travel", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_travel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48288,16 +31515,9 @@ func (o *Label) baseClass() string { func (o *Label) GetAlign() int64 { log.Println("Calling Label.GetAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_align") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48308,16 +31528,9 @@ func (o *Label) GetAlign() int64 { func (o *Label) GetLineCount() int64 { log.Println("Calling Label.GetLineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_line_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48328,16 +31541,9 @@ func (o *Label) GetLineCount() int64 { func (o *Label) GetLineHeight() int64 { log.Println("Calling Label.GetLineHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_line_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48348,16 +31554,9 @@ func (o *Label) GetLineHeight() int64 { func (o *Label) GetLinesSkipped() int64 { log.Println("Calling Label.GetLinesSkipped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lines_skipped", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_lines_skipped") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48368,16 +31567,9 @@ func (o *Label) GetLinesSkipped() int64 { func (o *Label) GetMaxLinesVisible() int64 { log.Println("Calling Label.GetMaxLinesVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_lines_visible", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_lines_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48388,16 +31580,9 @@ func (o *Label) GetMaxLinesVisible() int64 { func (o *Label) GetPercentVisible() float64 { log.Println("Calling Label.GetPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_percent_visible", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_percent_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48408,16 +31593,9 @@ func (o *Label) GetPercentVisible() float64 { func (o *Label) GetText() string { log.Println("Calling Label.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48428,16 +31606,9 @@ func (o *Label) GetText() string { func (o *Label) GetTotalCharacterCount() int64 { log.Println("Calling Label.GetTotalCharacterCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_character_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_total_character_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48448,16 +31619,9 @@ func (o *Label) GetTotalCharacterCount() int64 { func (o *Label) GetValign() int64 { log.Println("Calling Label.GetValign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_valign", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_valign") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48468,16 +31632,9 @@ func (o *Label) GetValign() int64 { func (o *Label) GetVisibleCharacters() int64 { log.Println("Calling Label.GetVisibleCharacters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_characters", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_visible_characters") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48488,16 +31645,9 @@ func (o *Label) GetVisibleCharacters() int64 { func (o *Label) GetVisibleLineCount() int64 { log.Println("Calling Label.GetVisibleLineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_line_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_visible_line_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48508,16 +31658,9 @@ func (o *Label) GetVisibleLineCount() int64 { func (o *Label) HasAutowrap() bool { log.Println("Calling Label.HasAutowrap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_autowrap", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_autowrap") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48528,16 +31671,9 @@ func (o *Label) HasAutowrap() bool { func (o *Label) IsClippingText() bool { log.Println("Calling Label.IsClippingText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_clipping_text", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_clipping_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48548,16 +31684,9 @@ func (o *Label) IsClippingText() bool { func (o *Label) IsUppercase() bool { log.Println("Calling Label.IsUppercase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_uppercase", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_uppercase") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48568,14 +31697,7 @@ func (o *Label) IsUppercase() bool { func (o *Label) SetAlign(align int64) { log.Println("Calling Label.SetAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_align", goArguments, "") - + godotCallVoidInt(o, "set_align", align) log.Println(" Function successfully completed.") } @@ -48586,14 +31708,7 @@ func (o *Label) SetAlign(align int64) { func (o *Label) SetAutowrap(enable bool) { log.Println("Calling Label.SetAutowrap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autowrap", goArguments, "") - + godotCallVoidBool(o, "set_autowrap", enable) log.Println(" Function successfully completed.") } @@ -48604,14 +31719,7 @@ func (o *Label) SetAutowrap(enable bool) { func (o *Label) SetClipText(enable bool) { log.Println("Calling Label.SetClipText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clip_text", goArguments, "") - + godotCallVoidBool(o, "set_clip_text", enable) log.Println(" Function successfully completed.") } @@ -48622,14 +31730,7 @@ func (o *Label) SetClipText(enable bool) { func (o *Label) SetLinesSkipped(linesSkipped int64) { log.Println("Calling Label.SetLinesSkipped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linesSkipped) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lines_skipped", goArguments, "") - + godotCallVoidInt(o, "set_lines_skipped", linesSkipped) log.Println(" Function successfully completed.") } @@ -48640,14 +31741,7 @@ func (o *Label) SetLinesSkipped(linesSkipped int64) { func (o *Label) SetMaxLinesVisible(linesVisible int64) { log.Println("Calling Label.SetMaxLinesVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linesVisible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_lines_visible", goArguments, "") - + godotCallVoidInt(o, "set_max_lines_visible", linesVisible) log.Println(" Function successfully completed.") } @@ -48658,14 +31752,7 @@ func (o *Label) SetMaxLinesVisible(linesVisible int64) { func (o *Label) SetPercentVisible(percentVisible float64) { log.Println("Calling Label.SetPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(percentVisible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_percent_visible", goArguments, "") - + godotCallVoidFloat(o, "set_percent_visible", percentVisible) log.Println(" Function successfully completed.") } @@ -48676,14 +31763,7 @@ func (o *Label) SetPercentVisible(percentVisible float64) { func (o *Label) SetText(text string) { log.Println("Calling Label.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -48694,14 +31774,7 @@ func (o *Label) SetText(text string) { func (o *Label) SetUppercase(enable bool) { log.Println("Calling Label.SetUppercase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uppercase", goArguments, "") - + godotCallVoidBool(o, "set_uppercase", enable) log.Println(" Function successfully completed.") } @@ -48712,14 +31785,7 @@ func (o *Label) SetUppercase(enable bool) { func (o *Label) SetValign(valign int64) { log.Println("Calling Label.SetValign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(valign) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_valign", goArguments, "") - + godotCallVoidInt(o, "set_valign", valign) log.Println(" Function successfully completed.") } @@ -48730,14 +31796,7 @@ func (o *Label) SetValign(valign int64) { func (o *Label) SetVisibleCharacters(amount int64) { log.Println("Calling Label.SetVisibleCharacters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visible_characters", goArguments, "") - + godotCallVoidInt(o, "set_visible_characters", amount) log.Println(" Function successfully completed.") } @@ -48766,16 +31825,9 @@ func (o *LargeTexture) baseClass() string { func (o *LargeTexture) X_GetData() *Array { log.Println("Calling LargeTexture.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48786,14 +31838,7 @@ func (o *LargeTexture) X_GetData() *Array { func (o *LargeTexture) X_SetData(data *Array) { log.Println("Calling LargeTexture.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidArray(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -48804,18 +31849,9 @@ func (o *LargeTexture) X_SetData(data *Array) { func (o *LargeTexture) AddPiece(ofs *Vector2, texture *Texture) int64 { log.Println("Calling LargeTexture.AddPiece()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(ofs) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_piece", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2Object(o, "add_piece", ofs, &texture.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48826,13 +31862,7 @@ func (o *LargeTexture) AddPiece(ofs *Vector2, texture *Texture) int64 { func (o *LargeTexture) Clear() { log.Println("Calling LargeTexture.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -48843,16 +31873,9 @@ func (o *LargeTexture) Clear() { func (o *LargeTexture) GetPieceCount() int64 { log.Println("Calling LargeTexture.GetPieceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_piece_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_piece_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48863,17 +31886,9 @@ func (o *LargeTexture) GetPieceCount() int64 { func (o *LargeTexture) GetPieceOffset(idx int64) *Vector2 { log.Println("Calling LargeTexture.GetPieceOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_piece_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_piece_offset", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48884,18 +31899,12 @@ func (o *LargeTexture) GetPieceOffset(idx int64) *Vector2 { func (o *LargeTexture) GetPieceTexture(idx int64) *Texture { log.Println("Calling LargeTexture.GetPieceTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_piece_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_piece_texture", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -48905,15 +31914,7 @@ func (o *LargeTexture) GetPieceTexture(idx int64) *Texture { func (o *LargeTexture) SetPieceOffset(idx int64, ofs *Vector2) { log.Println("Calling LargeTexture.SetPieceOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_piece_offset", goArguments, "") - + godotCallVoidIntVector2(o, "set_piece_offset", idx, ofs) log.Println(" Function successfully completed.") } @@ -48924,15 +31925,7 @@ func (o *LargeTexture) SetPieceOffset(idx int64, ofs *Vector2) { func (o *LargeTexture) SetPieceTexture(idx int64, texture *Texture) { log.Println("Calling LargeTexture.SetPieceTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_piece_texture", goArguments, "") - + godotCallVoidIntObject(o, "set_piece_texture", idx, &texture.Object) log.Println(" Function successfully completed.") } @@ -48943,14 +31936,7 @@ func (o *LargeTexture) SetPieceTexture(idx int64, texture *Texture) { func (o *LargeTexture) SetSize(size *Vector2) { log.Println("Calling LargeTexture.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -48979,16 +31965,9 @@ func (o *Light) baseClass() string { func (o *Light) GetBakeMode() int64 { log.Println("Calling Light.GetBakeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bake_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bake_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -48999,16 +31978,9 @@ func (o *Light) GetBakeMode() int64 { func (o *Light) GetColor() *Color { log.Println("Calling Light.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49019,16 +31991,9 @@ func (o *Light) GetColor() *Color { func (o *Light) GetCullMask() int64 { log.Println("Calling Light.GetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cull_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cull_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49039,17 +32004,9 @@ func (o *Light) GetCullMask() int64 { func (o *Light) GetParam(param int64) float64 { log.Println("Calling Light.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49060,16 +32017,9 @@ func (o *Light) GetParam(param int64) float64 { func (o *Light) GetShadowColor() *Color { log.Println("Calling Light.GetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_shadow_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49080,16 +32030,9 @@ func (o *Light) GetShadowColor() *Color { func (o *Light) GetShadowReverseCullFace() bool { log.Println("Calling Light.GetShadowReverseCullFace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_reverse_cull_face", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_shadow_reverse_cull_face") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49100,16 +32043,9 @@ func (o *Light) GetShadowReverseCullFace() bool { func (o *Light) HasShadow() bool { log.Println("Calling Light.HasShadow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_shadow", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_shadow") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49120,16 +32056,9 @@ func (o *Light) HasShadow() bool { func (o *Light) IsEditorOnly() bool { log.Println("Calling Light.IsEditorOnly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editor_only", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editor_only") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49140,16 +32069,9 @@ func (o *Light) IsEditorOnly() bool { func (o *Light) IsNegative() bool { log.Println("Calling Light.IsNegative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_negative", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_negative") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49160,14 +32082,7 @@ func (o *Light) IsNegative() bool { func (o *Light) SetBakeMode(bakeMode int64) { log.Println("Calling Light.SetBakeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bakeMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bake_mode", goArguments, "") - + godotCallVoidInt(o, "set_bake_mode", bakeMode) log.Println(" Function successfully completed.") } @@ -49178,14 +32093,7 @@ func (o *Light) SetBakeMode(bakeMode int64) { func (o *Light) SetColor(color *Color) { log.Println("Calling Light.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -49196,14 +32104,7 @@ func (o *Light) SetColor(color *Color) { func (o *Light) SetCullMask(cullMask int64) { log.Println("Calling Light.SetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cullMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cull_mask", goArguments, "") - + godotCallVoidInt(o, "set_cull_mask", cullMask) log.Println(" Function successfully completed.") } @@ -49214,14 +32115,7 @@ func (o *Light) SetCullMask(cullMask int64) { func (o *Light) SetEditorOnly(editorOnly bool) { log.Println("Calling Light.SetEditorOnly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(editorOnly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editor_only", goArguments, "") - + godotCallVoidBool(o, "set_editor_only", editorOnly) log.Println(" Function successfully completed.") } @@ -49232,14 +32126,7 @@ func (o *Light) SetEditorOnly(editorOnly bool) { func (o *Light) SetNegative(enabled bool) { log.Println("Calling Light.SetNegative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_negative", goArguments, "") - + godotCallVoidBool(o, "set_negative", enabled) log.Println(" Function successfully completed.") } @@ -49250,15 +32137,7 @@ func (o *Light) SetNegative(enabled bool) { func (o *Light) SetParam(param int64, value float64) { log.Println("Calling Light.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -49269,14 +32148,7 @@ func (o *Light) SetParam(param int64, value float64) { func (o *Light) SetShadow(enabled bool) { log.Println("Calling Light.SetShadow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow", goArguments, "") - + godotCallVoidBool(o, "set_shadow", enabled) log.Println(" Function successfully completed.") } @@ -49287,14 +32159,7 @@ func (o *Light) SetShadow(enabled bool) { func (o *Light) SetShadowColor(shadowColor *Color) { log.Println("Calling Light.SetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shadowColor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_color", goArguments, "") - + godotCallVoidColor(o, "set_shadow_color", shadowColor) log.Println(" Function successfully completed.") } @@ -49305,14 +32170,7 @@ func (o *Light) SetShadowColor(shadowColor *Color) { func (o *Light) SetShadowReverseCullFace(enable bool) { log.Println("Calling Light.SetShadowReverseCullFace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_reverse_cull_face", goArguments, "") - + godotCallVoidBool(o, "set_shadow_reverse_cull_face", enable) log.Println(" Function successfully completed.") } @@ -49341,16 +32199,9 @@ func (o *Light2D) baseClass() string { func (o *Light2D) GetColor() *Color { log.Println("Calling Light2D.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49361,16 +32212,9 @@ func (o *Light2D) GetColor() *Color { func (o *Light2D) GetEnergy() float64 { log.Println("Calling Light2D.GetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49381,16 +32225,9 @@ func (o *Light2D) GetEnergy() float64 { func (o *Light2D) GetHeight() float64 { log.Println("Calling Light2D.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49401,16 +32238,9 @@ func (o *Light2D) GetHeight() float64 { func (o *Light2D) GetItemCullMask() int64 { log.Println("Calling Light2D.GetItemCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_cull_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_item_cull_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49421,16 +32251,9 @@ func (o *Light2D) GetItemCullMask() int64 { func (o *Light2D) GetItemShadowCullMask() int64 { log.Println("Calling Light2D.GetItemShadowCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_shadow_cull_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_item_shadow_cull_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49441,16 +32264,9 @@ func (o *Light2D) GetItemShadowCullMask() int64 { func (o *Light2D) GetLayerRangeMax() int64 { log.Println("Calling Light2D.GetLayerRangeMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_layer_range_max", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_layer_range_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49461,16 +32277,9 @@ func (o *Light2D) GetLayerRangeMax() int64 { func (o *Light2D) GetLayerRangeMin() int64 { log.Println("Calling Light2D.GetLayerRangeMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_layer_range_min", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_layer_range_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49481,16 +32290,9 @@ func (o *Light2D) GetLayerRangeMin() int64 { func (o *Light2D) GetMode() int64 { log.Println("Calling Light2D.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49501,16 +32303,9 @@ func (o *Light2D) GetMode() int64 { func (o *Light2D) GetShadowBufferSize() int64 { log.Println("Calling Light2D.GetShadowBufferSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_buffer_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_buffer_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49521,16 +32316,9 @@ func (o *Light2D) GetShadowBufferSize() int64 { func (o *Light2D) GetShadowColor() *Color { log.Println("Calling Light2D.GetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_shadow_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49541,16 +32329,9 @@ func (o *Light2D) GetShadowColor() *Color { func (o *Light2D) GetShadowFilter() int64 { log.Println("Calling Light2D.GetShadowFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_filter", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_filter") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49561,16 +32342,9 @@ func (o *Light2D) GetShadowFilter() int64 { func (o *Light2D) GetShadowGradientLength() float64 { log.Println("Calling Light2D.GetShadowGradientLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_gradient_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_shadow_gradient_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49581,16 +32355,9 @@ func (o *Light2D) GetShadowGradientLength() float64 { func (o *Light2D) GetShadowSmooth() float64 { log.Println("Calling Light2D.GetShadowSmooth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_smooth", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_shadow_smooth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49601,17 +32368,12 @@ func (o *Light2D) GetShadowSmooth() float64 { func (o *Light2D) GetTexture() *Texture { log.Println("Calling Light2D.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -49621,16 +32383,9 @@ func (o *Light2D) GetTexture() *Texture { func (o *Light2D) GetTextureOffset() *Vector2 { log.Println("Calling Light2D.GetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_texture_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49641,16 +32396,9 @@ func (o *Light2D) GetTextureOffset() *Vector2 { func (o *Light2D) GetTextureScale() float64 { log.Println("Calling Light2D.GetTextureScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_texture_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49661,16 +32409,9 @@ func (o *Light2D) GetTextureScale() float64 { func (o *Light2D) GetZRangeMax() int64 { log.Println("Calling Light2D.GetZRangeMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_z_range_max", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_z_range_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49681,16 +32422,9 @@ func (o *Light2D) GetZRangeMax() int64 { func (o *Light2D) GetZRangeMin() int64 { log.Println("Calling Light2D.GetZRangeMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_z_range_min", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_z_range_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49701,16 +32435,9 @@ func (o *Light2D) GetZRangeMin() int64 { func (o *Light2D) IsEditorOnly() bool { log.Println("Calling Light2D.IsEditorOnly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editor_only", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editor_only") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49721,16 +32448,9 @@ func (o *Light2D) IsEditorOnly() bool { func (o *Light2D) IsEnabled() bool { log.Println("Calling Light2D.IsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49741,16 +32461,9 @@ func (o *Light2D) IsEnabled() bool { func (o *Light2D) IsShadowEnabled() bool { log.Println("Calling Light2D.IsShadowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shadow_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_shadow_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -49761,14 +32474,7 @@ func (o *Light2D) IsShadowEnabled() bool { func (o *Light2D) SetColor(color *Color) { log.Println("Calling Light2D.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -49779,14 +32485,7 @@ func (o *Light2D) SetColor(color *Color) { func (o *Light2D) SetEditorOnly(editorOnly bool) { log.Println("Calling Light2D.SetEditorOnly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(editorOnly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editor_only", goArguments, "") - + godotCallVoidBool(o, "set_editor_only", editorOnly) log.Println(" Function successfully completed.") } @@ -49797,14 +32496,7 @@ func (o *Light2D) SetEditorOnly(editorOnly bool) { func (o *Light2D) SetEnabled(enabled bool) { log.Println("Calling Light2D.SetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled", goArguments, "") - + godotCallVoidBool(o, "set_enabled", enabled) log.Println(" Function successfully completed.") } @@ -49815,14 +32507,7 @@ func (o *Light2D) SetEnabled(enabled bool) { func (o *Light2D) SetEnergy(energy float64) { log.Println("Calling Light2D.SetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_energy", goArguments, "") - + godotCallVoidFloat(o, "set_energy", energy) log.Println(" Function successfully completed.") } @@ -49833,14 +32518,7 @@ func (o *Light2D) SetEnergy(energy float64) { func (o *Light2D) SetHeight(height float64) { log.Println("Calling Light2D.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", height) log.Println(" Function successfully completed.") } @@ -49851,14 +32529,7 @@ func (o *Light2D) SetHeight(height float64) { func (o *Light2D) SetItemCullMask(itemCullMask int64) { log.Println("Calling Light2D.SetItemCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(itemCullMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_cull_mask", goArguments, "") - + godotCallVoidInt(o, "set_item_cull_mask", itemCullMask) log.Println(" Function successfully completed.") } @@ -49869,14 +32540,7 @@ func (o *Light2D) SetItemCullMask(itemCullMask int64) { func (o *Light2D) SetItemShadowCullMask(itemShadowCullMask int64) { log.Println("Calling Light2D.SetItemShadowCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(itemShadowCullMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_shadow_cull_mask", goArguments, "") - + godotCallVoidInt(o, "set_item_shadow_cull_mask", itemShadowCullMask) log.Println(" Function successfully completed.") } @@ -49887,14 +32551,7 @@ func (o *Light2D) SetItemShadowCullMask(itemShadowCullMask int64) { func (o *Light2D) SetLayerRangeMax(layer int64) { log.Println("Calling Light2D.SetLayerRangeMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_layer_range_max", goArguments, "") - + godotCallVoidInt(o, "set_layer_range_max", layer) log.Println(" Function successfully completed.") } @@ -49905,14 +32562,7 @@ func (o *Light2D) SetLayerRangeMax(layer int64) { func (o *Light2D) SetLayerRangeMin(layer int64) { log.Println("Calling Light2D.SetLayerRangeMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_layer_range_min", goArguments, "") - + godotCallVoidInt(o, "set_layer_range_min", layer) log.Println(" Function successfully completed.") } @@ -49923,14 +32573,7 @@ func (o *Light2D) SetLayerRangeMin(layer int64) { func (o *Light2D) SetMode(mode int64) { log.Println("Calling Light2D.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -49941,14 +32584,7 @@ func (o *Light2D) SetMode(mode int64) { func (o *Light2D) SetShadowBufferSize(size int64) { log.Println("Calling Light2D.SetShadowBufferSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_buffer_size", goArguments, "") - + godotCallVoidInt(o, "set_shadow_buffer_size", size) log.Println(" Function successfully completed.") } @@ -49959,14 +32595,7 @@ func (o *Light2D) SetShadowBufferSize(size int64) { func (o *Light2D) SetShadowColor(shadowColor *Color) { log.Println("Calling Light2D.SetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shadowColor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_color", goArguments, "") - + godotCallVoidColor(o, "set_shadow_color", shadowColor) log.Println(" Function successfully completed.") } @@ -49977,14 +32606,7 @@ func (o *Light2D) SetShadowColor(shadowColor *Color) { func (o *Light2D) SetShadowEnabled(enabled bool) { log.Println("Calling Light2D.SetShadowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_enabled", goArguments, "") - + godotCallVoidBool(o, "set_shadow_enabled", enabled) log.Println(" Function successfully completed.") } @@ -49995,14 +32617,7 @@ func (o *Light2D) SetShadowEnabled(enabled bool) { func (o *Light2D) SetShadowFilter(filter int64) { log.Println("Calling Light2D.SetShadowFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_filter", goArguments, "") - + godotCallVoidInt(o, "set_shadow_filter", filter) log.Println(" Function successfully completed.") } @@ -50013,14 +32628,7 @@ func (o *Light2D) SetShadowFilter(filter int64) { func (o *Light2D) SetShadowGradientLength(multiplier float64) { log.Println("Calling Light2D.SetShadowGradientLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(multiplier) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_gradient_length", goArguments, "") - + godotCallVoidFloat(o, "set_shadow_gradient_length", multiplier) log.Println(" Function successfully completed.") } @@ -50031,14 +32639,7 @@ func (o *Light2D) SetShadowGradientLength(multiplier float64) { func (o *Light2D) SetShadowSmooth(smooth float64) { log.Println("Calling Light2D.SetShadowSmooth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(smooth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_smooth", goArguments, "") - + godotCallVoidFloat(o, "set_shadow_smooth", smooth) log.Println(" Function successfully completed.") } @@ -50049,14 +32650,7 @@ func (o *Light2D) SetShadowSmooth(smooth float64) { func (o *Light2D) SetTexture(texture *Texture) { log.Println("Calling Light2D.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -50067,14 +32661,7 @@ func (o *Light2D) SetTexture(texture *Texture) { func (o *Light2D) SetTextureOffset(textureOffset *Vector2) { log.Println("Calling Light2D.SetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_offset", goArguments, "") - + godotCallVoidVector2(o, "set_texture_offset", textureOffset) log.Println(" Function successfully completed.") } @@ -50085,14 +32672,7 @@ func (o *Light2D) SetTextureOffset(textureOffset *Vector2) { func (o *Light2D) SetTextureScale(textureScale float64) { log.Println("Calling Light2D.SetTextureScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_scale", goArguments, "") - + godotCallVoidFloat(o, "set_texture_scale", textureScale) log.Println(" Function successfully completed.") } @@ -50103,14 +32683,7 @@ func (o *Light2D) SetTextureScale(textureScale float64) { func (o *Light2D) SetZRangeMax(z int64) { log.Println("Calling Light2D.SetZRangeMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(z) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_z_range_max", goArguments, "") - + godotCallVoidInt(o, "set_z_range_max", z) log.Println(" Function successfully completed.") } @@ -50121,14 +32694,7 @@ func (o *Light2D) SetZRangeMax(z int64) { func (o *Light2D) SetZRangeMin(z int64) { log.Println("Calling Light2D.SetZRangeMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(z) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_z_range_min", goArguments, "") - + godotCallVoidInt(o, "set_z_range_min", z) log.Println(" Function successfully completed.") } @@ -50157,13 +32723,7 @@ func (o *LightOccluder2D) baseClass() string { func (o *LightOccluder2D) X_PolyChanged() { log.Println("Calling LightOccluder2D.X_PolyChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_poly_changed", goArguments, "") - + godotCallVoid(o, "_poly_changed") log.Println(" Function successfully completed.") } @@ -50174,16 +32734,9 @@ func (o *LightOccluder2D) X_PolyChanged() { func (o *LightOccluder2D) GetOccluderLightMask() int64 { log.Println("Calling LightOccluder2D.GetOccluderLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_occluder_light_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_occluder_light_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50194,17 +32747,12 @@ func (o *LightOccluder2D) GetOccluderLightMask() int64 { func (o *LightOccluder2D) GetOccluderPolygon() *OccluderPolygon2D { log.Println("Calling LightOccluder2D.GetOccluderPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_occluder_polygon", goArguments, "*OccluderPolygon2D") - - returnValue := goRet.Interface().(*OccluderPolygon2D) - + returnValue := godotCallObject(o, "get_occluder_polygon") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret OccluderPolygon2D + ret.owner = returnValue.owner + return &ret } @@ -50214,14 +32762,7 @@ func (o *LightOccluder2D) GetOccluderPolygon() *OccluderPolygon2D { func (o *LightOccluder2D) SetOccluderLightMask(mask int64) { log.Println("Calling LightOccluder2D.SetOccluderLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_occluder_light_mask", goArguments, "") - + godotCallVoidInt(o, "set_occluder_light_mask", mask) log.Println(" Function successfully completed.") } @@ -50232,14 +32773,7 @@ func (o *LightOccluder2D) SetOccluderLightMask(mask int64) { func (o *LightOccluder2D) SetOccluderPolygon(polygon *OccluderPolygon2D) { log.Println("Calling LightOccluder2D.SetOccluderPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_occluder_polygon", goArguments, "") - + godotCallVoidObject(o, "set_occluder_polygon", &polygon.Object) log.Println(" Function successfully completed.") } @@ -50268,13 +32802,7 @@ func (o *Line2D) baseClass() string { func (o *Line2D) X_GradientChanged() { log.Println("Calling Line2D.X_GradientChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gradient_changed", goArguments, "") - + godotCallVoid(o, "_gradient_changed") log.Println(" Function successfully completed.") } @@ -50285,14 +32813,7 @@ func (o *Line2D) X_GradientChanged() { func (o *Line2D) AddPoint(position *Vector2) { log.Println("Calling Line2D.AddPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_point", goArguments, "") - + godotCallVoidVector2(o, "add_point", position) log.Println(" Function successfully completed.") } @@ -50303,16 +32824,9 @@ func (o *Line2D) AddPoint(position *Vector2) { func (o *Line2D) GetBeginCapMode() int64 { log.Println("Calling Line2D.GetBeginCapMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_begin_cap_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_begin_cap_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50323,16 +32837,9 @@ func (o *Line2D) GetBeginCapMode() int64 { func (o *Line2D) GetDefaultColor() *Color { log.Println("Calling Line2D.GetDefaultColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_default_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50343,16 +32850,9 @@ func (o *Line2D) GetDefaultColor() *Color { func (o *Line2D) GetEndCapMode() int64 { log.Println("Calling Line2D.GetEndCapMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_end_cap_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_end_cap_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50363,17 +32863,12 @@ func (o *Line2D) GetEndCapMode() int64 { func (o *Line2D) GetGradient() *Gradient { log.Println("Calling Line2D.GetGradient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gradient", goArguments, "*Gradient") - - returnValue := goRet.Interface().(*Gradient) - + returnValue := godotCallObject(o, "get_gradient") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Gradient + ret.owner = returnValue.owner + return &ret } @@ -50383,16 +32878,9 @@ func (o *Line2D) GetGradient() *Gradient { func (o *Line2D) GetJointMode() int64 { log.Println("Calling Line2D.GetJointMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_joint_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_joint_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50403,16 +32891,9 @@ func (o *Line2D) GetJointMode() int64 { func (o *Line2D) GetPointCount() int64 { log.Println("Calling Line2D.GetPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_point_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50423,17 +32904,9 @@ func (o *Line2D) GetPointCount() int64 { func (o *Line2D) GetPointPosition(i int64) *Vector2 { log.Println("Calling Line2D.GetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(i) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_point_position", i) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50444,16 +32917,9 @@ func (o *Line2D) GetPointPosition(i int64) *Vector2 { func (o *Line2D) GetPoints() *PoolVector2Array { log.Println("Calling Line2D.GetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_points", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_points") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50464,16 +32930,9 @@ func (o *Line2D) GetPoints() *PoolVector2Array { func (o *Line2D) GetRoundPrecision() int64 { log.Println("Calling Line2D.GetRoundPrecision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_round_precision", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_round_precision") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50484,16 +32943,9 @@ func (o *Line2D) GetRoundPrecision() int64 { func (o *Line2D) GetSharpLimit() float64 { log.Println("Calling Line2D.GetSharpLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sharp_limit", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sharp_limit") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50504,17 +32956,12 @@ func (o *Line2D) GetSharpLimit() float64 { func (o *Line2D) GetTexture() *Texture { log.Println("Calling Line2D.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -50524,16 +32971,9 @@ func (o *Line2D) GetTexture() *Texture { func (o *Line2D) GetTextureMode() int64 { log.Println("Calling Line2D.GetTextureMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_texture_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50544,16 +32984,9 @@ func (o *Line2D) GetTextureMode() int64 { func (o *Line2D) GetWidth() float64 { log.Println("Calling Line2D.GetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_width", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50564,14 +32997,7 @@ func (o *Line2D) GetWidth() float64 { func (o *Line2D) RemovePoint(i int64) { log.Println("Calling Line2D.RemovePoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(i) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_point", goArguments, "") - + godotCallVoidInt(o, "remove_point", i) log.Println(" Function successfully completed.") } @@ -50582,14 +33008,7 @@ func (o *Line2D) RemovePoint(i int64) { func (o *Line2D) SetBeginCapMode(mode int64) { log.Println("Calling Line2D.SetBeginCapMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_begin_cap_mode", goArguments, "") - + godotCallVoidInt(o, "set_begin_cap_mode", mode) log.Println(" Function successfully completed.") } @@ -50600,14 +33019,7 @@ func (o *Line2D) SetBeginCapMode(mode int64) { func (o *Line2D) SetDefaultColor(color *Color) { log.Println("Calling Line2D.SetDefaultColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_color", goArguments, "") - + godotCallVoidColor(o, "set_default_color", color) log.Println(" Function successfully completed.") } @@ -50618,14 +33030,7 @@ func (o *Line2D) SetDefaultColor(color *Color) { func (o *Line2D) SetEndCapMode(mode int64) { log.Println("Calling Line2D.SetEndCapMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_end_cap_mode", goArguments, "") - + godotCallVoidInt(o, "set_end_cap_mode", mode) log.Println(" Function successfully completed.") } @@ -50636,14 +33041,7 @@ func (o *Line2D) SetEndCapMode(mode int64) { func (o *Line2D) SetGradient(color *Gradient) { log.Println("Calling Line2D.SetGradient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gradient", goArguments, "") - + godotCallVoidObject(o, "set_gradient", &color.Object) log.Println(" Function successfully completed.") } @@ -50654,33 +33052,18 @@ func (o *Line2D) SetGradient(color *Gradient) { func (o *Line2D) SetJointMode(mode int64) { log.Println("Calling Line2D.SetJointMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_joint_mode", goArguments, "") - + godotCallVoidInt(o, "set_joint_mode", mode) log.Println(" Function successfully completed.") } /* - Overwites the position in point [code]i[/code] with the supplied [code]position[/code]. + Overwrites the position in point [code]i[/code] with the supplied [code]position[/code]. */ func (o *Line2D) SetPointPosition(i int64, position *Vector2) { log.Println("Calling Line2D.SetPointPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(i) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_position", goArguments, "") - + godotCallVoidIntVector2(o, "set_point_position", i, position) log.Println(" Function successfully completed.") } @@ -50691,14 +33074,7 @@ func (o *Line2D) SetPointPosition(i int64, position *Vector2) { func (o *Line2D) SetPoints(points *PoolVector2Array) { log.Println("Calling Line2D.SetPoints()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(points) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_points", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_points", points) log.Println(" Function successfully completed.") } @@ -50709,14 +33085,7 @@ func (o *Line2D) SetPoints(points *PoolVector2Array) { func (o *Line2D) SetRoundPrecision(precision int64) { log.Println("Calling Line2D.SetRoundPrecision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(precision) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_round_precision", goArguments, "") - + godotCallVoidInt(o, "set_round_precision", precision) log.Println(" Function successfully completed.") } @@ -50727,14 +33096,7 @@ func (o *Line2D) SetRoundPrecision(precision int64) { func (o *Line2D) SetSharpLimit(limit float64) { log.Println("Calling Line2D.SetSharpLimit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(limit) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sharp_limit", goArguments, "") - + godotCallVoidFloat(o, "set_sharp_limit", limit) log.Println(" Function successfully completed.") } @@ -50745,14 +33107,7 @@ func (o *Line2D) SetSharpLimit(limit float64) { func (o *Line2D) SetTexture(texture *Texture) { log.Println("Calling Line2D.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -50763,14 +33118,7 @@ func (o *Line2D) SetTexture(texture *Texture) { func (o *Line2D) SetTextureMode(mode int64) { log.Println("Calling Line2D.SetTextureMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_mode", goArguments, "") - + godotCallVoidInt(o, "set_texture_mode", mode) log.Println(" Function successfully completed.") } @@ -50781,14 +33129,7 @@ func (o *Line2D) SetTextureMode(mode int64) { func (o *Line2D) SetWidth(width float64) { log.Println("Calling Line2D.SetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_width", goArguments, "") - + godotCallVoidFloat(o, "set_width", width) log.Println(" Function successfully completed.") } @@ -50817,13 +33158,7 @@ func (o *LineEdit) baseClass() string { func (o *LineEdit) X_EditorSettingsChanged() { log.Println("Calling LineEdit.X_EditorSettingsChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_editor_settings_changed", goArguments, "") - + godotCallVoid(o, "_editor_settings_changed") log.Println(" Function successfully completed.") } @@ -50834,14 +33169,7 @@ func (o *LineEdit) X_EditorSettingsChanged() { func (o *LineEdit) X_GuiInput(arg0 *InputEvent) { log.Println("Calling LineEdit.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -50852,13 +33180,7 @@ func (o *LineEdit) X_GuiInput(arg0 *InputEvent) { func (o *LineEdit) X_ToggleDrawCaret() { log.Println("Calling LineEdit.X_ToggleDrawCaret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_toggle_draw_caret", goArguments, "") - + godotCallVoid(o, "_toggle_draw_caret") log.Println(" Function successfully completed.") } @@ -50869,14 +33191,7 @@ func (o *LineEdit) X_ToggleDrawCaret() { func (o *LineEdit) AppendAtCursor(text string) { log.Println("Calling LineEdit.AppendAtCursor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "append_at_cursor", goArguments, "") - + godotCallVoidString(o, "append_at_cursor", text) log.Println(" Function successfully completed.") } @@ -50887,13 +33202,7 @@ func (o *LineEdit) AppendAtCursor(text string) { func (o *LineEdit) Clear() { log.Println("Calling LineEdit.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -50904,16 +33213,9 @@ func (o *LineEdit) Clear() { func (o *LineEdit) CursorGetBlinkEnabled() bool { log.Println("Calling LineEdit.CursorGetBlinkEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_blink_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "cursor_get_blink_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50924,16 +33226,9 @@ func (o *LineEdit) CursorGetBlinkEnabled() bool { func (o *LineEdit) CursorGetBlinkSpeed() float64 { log.Println("Calling LineEdit.CursorGetBlinkSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_blink_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "cursor_get_blink_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -50944,14 +33239,7 @@ func (o *LineEdit) CursorGetBlinkSpeed() float64 { func (o *LineEdit) CursorSetBlinkEnabled(enabled bool) { log.Println("Calling LineEdit.CursorSetBlinkEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_blink_enabled", goArguments, "") - + godotCallVoidBool(o, "cursor_set_blink_enabled", enabled) log.Println(" Function successfully completed.") } @@ -50962,14 +33250,7 @@ func (o *LineEdit) CursorSetBlinkEnabled(enabled bool) { func (o *LineEdit) CursorSetBlinkSpeed(blinkSpeed float64) { log.Println("Calling LineEdit.CursorSetBlinkSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(blinkSpeed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_blink_speed", goArguments, "") - + godotCallVoidFloat(o, "cursor_set_blink_speed", blinkSpeed) log.Println(" Function successfully completed.") } @@ -50980,13 +33261,7 @@ func (o *LineEdit) CursorSetBlinkSpeed(blinkSpeed float64) { func (o *LineEdit) Deselect() { log.Println("Calling LineEdit.Deselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "deselect", goArguments, "") - + godotCallVoid(o, "deselect") log.Println(" Function successfully completed.") } @@ -50997,16 +33272,9 @@ func (o *LineEdit) Deselect() { func (o *LineEdit) GetAlign() int64 { log.Println("Calling LineEdit.GetAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_align") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51017,16 +33285,9 @@ func (o *LineEdit) GetAlign() int64 { func (o *LineEdit) GetCursorPosition() int64 { log.Println("Calling LineEdit.GetCursorPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cursor_position", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cursor_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51037,16 +33298,9 @@ func (o *LineEdit) GetCursorPosition() int64 { func (o *LineEdit) GetExpandToTextLength() bool { log.Println("Calling LineEdit.GetExpandToTextLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_expand_to_text_length", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_expand_to_text_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51057,16 +33311,9 @@ func (o *LineEdit) GetExpandToTextLength() bool { func (o *LineEdit) GetMaxLength() int64 { log.Println("Calling LineEdit.GetMaxLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_length", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51077,17 +33324,12 @@ func (o *LineEdit) GetMaxLength() int64 { func (o *LineEdit) GetMenu() *PopupMenu { log.Println("Calling LineEdit.GetMenu()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_menu", goArguments, "*PopupMenu") - - returnValue := goRet.Interface().(*PopupMenu) - + returnValue := godotCallObject(o, "get_menu") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PopupMenu + ret.owner = returnValue.owner + return &ret } @@ -51097,16 +33339,9 @@ func (o *LineEdit) GetMenu() *PopupMenu { func (o *LineEdit) GetPlaceholder() string { log.Println("Calling LineEdit.GetPlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_placeholder", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_placeholder") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51117,16 +33352,9 @@ func (o *LineEdit) GetPlaceholder() string { func (o *LineEdit) GetPlaceholderAlpha() float64 { log.Println("Calling LineEdit.GetPlaceholderAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_placeholder_alpha", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_placeholder_alpha") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51137,16 +33365,9 @@ func (o *LineEdit) GetPlaceholderAlpha() float64 { func (o *LineEdit) GetText() string { log.Println("Calling LineEdit.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51157,16 +33378,9 @@ func (o *LineEdit) GetText() string { func (o *LineEdit) IsContextMenuEnabled() bool { log.Println("Calling LineEdit.IsContextMenuEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_context_menu_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_context_menu_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51177,16 +33391,9 @@ func (o *LineEdit) IsContextMenuEnabled() bool { func (o *LineEdit) IsEditable() bool { log.Println("Calling LineEdit.IsEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51197,16 +33404,9 @@ func (o *LineEdit) IsEditable() bool { func (o *LineEdit) IsSecret() bool { log.Println("Calling LineEdit.IsSecret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_secret", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_secret") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51217,14 +33417,7 @@ func (o *LineEdit) IsSecret() bool { func (o *LineEdit) MenuOption(option int64) { log.Println("Calling LineEdit.MenuOption()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(option) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "menu_option", goArguments, "") - + godotCallVoidInt(o, "menu_option", option) log.Println(" Function successfully completed.") } @@ -51235,15 +33428,7 @@ func (o *LineEdit) MenuOption(option int64) { func (o *LineEdit) Select(from int64, to int64) { log.Println("Calling LineEdit.Select()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select", goArguments, "") - + godotCallVoidIntInt(o, "select", from, to) log.Println(" Function successfully completed.") } @@ -51254,13 +33439,7 @@ func (o *LineEdit) Select(from int64, to int64) { func (o *LineEdit) SelectAll() { log.Println("Calling LineEdit.SelectAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select_all", goArguments, "") - + godotCallVoid(o, "select_all") log.Println(" Function successfully completed.") } @@ -51271,14 +33450,7 @@ func (o *LineEdit) SelectAll() { func (o *LineEdit) SetAlign(align int64) { log.Println("Calling LineEdit.SetAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_align", goArguments, "") - + godotCallVoidInt(o, "set_align", align) log.Println(" Function successfully completed.") } @@ -51289,14 +33461,7 @@ func (o *LineEdit) SetAlign(align int64) { func (o *LineEdit) SetContextMenuEnabled(enable bool) { log.Println("Calling LineEdit.SetContextMenuEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_context_menu_enabled", goArguments, "") - + godotCallVoidBool(o, "set_context_menu_enabled", enable) log.Println(" Function successfully completed.") } @@ -51307,14 +33472,7 @@ func (o *LineEdit) SetContextMenuEnabled(enable bool) { func (o *LineEdit) SetCursorPosition(position int64) { log.Println("Calling LineEdit.SetCursorPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cursor_position", goArguments, "") - + godotCallVoidInt(o, "set_cursor_position", position) log.Println(" Function successfully completed.") } @@ -51325,14 +33483,7 @@ func (o *LineEdit) SetCursorPosition(position int64) { func (o *LineEdit) SetEditable(enabled bool) { log.Println("Calling LineEdit.SetEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editable", goArguments, "") - + godotCallVoidBool(o, "set_editable", enabled) log.Println(" Function successfully completed.") } @@ -51343,14 +33494,7 @@ func (o *LineEdit) SetEditable(enabled bool) { func (o *LineEdit) SetExpandToTextLength(enabled bool) { log.Println("Calling LineEdit.SetExpandToTextLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_to_text_length", goArguments, "") - + godotCallVoidBool(o, "set_expand_to_text_length", enabled) log.Println(" Function successfully completed.") } @@ -51361,14 +33505,7 @@ func (o *LineEdit) SetExpandToTextLength(enabled bool) { func (o *LineEdit) SetMaxLength(chars int64) { log.Println("Calling LineEdit.SetMaxLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(chars) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_length", goArguments, "") - + godotCallVoidInt(o, "set_max_length", chars) log.Println(" Function successfully completed.") } @@ -51379,14 +33516,7 @@ func (o *LineEdit) SetMaxLength(chars int64) { func (o *LineEdit) SetPlaceholder(text string) { log.Println("Calling LineEdit.SetPlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_placeholder", goArguments, "") - + godotCallVoidString(o, "set_placeholder", text) log.Println(" Function successfully completed.") } @@ -51397,14 +33527,7 @@ func (o *LineEdit) SetPlaceholder(text string) { func (o *LineEdit) SetPlaceholderAlpha(alpha float64) { log.Println("Calling LineEdit.SetPlaceholderAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(alpha) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_placeholder_alpha", goArguments, "") - + godotCallVoidFloat(o, "set_placeholder_alpha", alpha) log.Println(" Function successfully completed.") } @@ -51415,14 +33538,7 @@ func (o *LineEdit) SetPlaceholderAlpha(alpha float64) { func (o *LineEdit) SetSecret(enabled bool) { log.Println("Calling LineEdit.SetSecret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_secret", goArguments, "") - + godotCallVoidBool(o, "set_secret", enabled) log.Println(" Function successfully completed.") } @@ -51433,14 +33549,7 @@ func (o *LineEdit) SetSecret(enabled bool) { func (o *LineEdit) SetText(text string) { log.Println("Calling LineEdit.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -51469,16 +33578,9 @@ func (o *LineShape2D) baseClass() string { func (o *LineShape2D) GetD() float64 { log.Println("Calling LineShape2D.GetD()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_d", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_d") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51489,16 +33591,9 @@ func (o *LineShape2D) GetD() float64 { func (o *LineShape2D) GetNormal() *Vector2 { log.Println("Calling LineShape2D.GetNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51509,14 +33604,7 @@ func (o *LineShape2D) GetNormal() *Vector2 { func (o *LineShape2D) SetD(d float64) { log.Println("Calling LineShape2D.SetD()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(d) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_d", goArguments, "") - + godotCallVoidFloat(o, "set_d", d) log.Println(" Function successfully completed.") } @@ -51527,14 +33615,7 @@ func (o *LineShape2D) SetD(d float64) { func (o *LineShape2D) SetNormal(normal *Vector2) { log.Println("Calling LineShape2D.SetNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normal) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal", goArguments, "") - + godotCallVoidVector2(o, "set_normal", normal) log.Println(" Function successfully completed.") } @@ -51563,16 +33644,9 @@ func (o *LinkButton) baseClass() string { func (o *LinkButton) GetText() string { log.Println("Calling LinkButton.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51583,16 +33657,9 @@ func (o *LinkButton) GetText() string { func (o *LinkButton) GetUnderlineMode() int64 { log.Println("Calling LinkButton.GetUnderlineMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_underline_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_underline_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51603,14 +33670,7 @@ func (o *LinkButton) GetUnderlineMode() int64 { func (o *LinkButton) SetText(text string) { log.Println("Calling LinkButton.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -51621,14 +33681,7 @@ func (o *LinkButton) SetText(text string) { func (o *LinkButton) SetUnderlineMode(underlineMode int64) { log.Println("Calling LinkButton.SetUnderlineMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(underlineMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_underline_mode", goArguments, "") - + godotCallVoidInt(o, "set_underline_mode", underlineMode) log.Println(" Function successfully completed.") } @@ -51657,13 +33710,7 @@ func (o *Listener) baseClass() string { func (o *Listener) ClearCurrent() { log.Println("Calling Listener.ClearCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_current", goArguments, "") - + godotCallVoid(o, "clear_current") log.Println(" Function successfully completed.") } @@ -51674,16 +33721,9 @@ func (o *Listener) ClearCurrent() { func (o *Listener) GetListenerTransform() *Transform { log.Println("Calling Listener.GetListenerTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_listener_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_listener_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51694,16 +33734,9 @@ func (o *Listener) GetListenerTransform() *Transform { func (o *Listener) IsCurrent() bool { log.Println("Calling Listener.IsCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_current", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_current") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51714,13 +33747,7 @@ func (o *Listener) IsCurrent() bool { func (o *Listener) MakeCurrent() { log.Println("Calling Listener.MakeCurrent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_current", goArguments, "") - + godotCallVoid(o, "make_current") log.Println(" Function successfully completed.") } @@ -51749,15 +33776,7 @@ func (o *MainLoop) baseClass() string { func (o *MainLoop) X_DropFiles(files *PoolStringArray, screen int64) { log.Println("Calling MainLoop.X_DropFiles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(files) - goArguments[1] = reflect.ValueOf(screen) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_drop_files", goArguments, "") - + godotCallVoidPoolStringArrayInt(o, "_drop_files", files, screen) log.Println(" Function successfully completed.") } @@ -51768,13 +33787,7 @@ func (o *MainLoop) X_DropFiles(files *PoolStringArray, screen int64) { func (o *MainLoop) X_Finalize() { log.Println("Calling MainLoop.X_Finalize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_finalize", goArguments, "") - + godotCallVoid(o, "_finalize") log.Println(" Function successfully completed.") } @@ -51785,14 +33798,7 @@ func (o *MainLoop) X_Finalize() { func (o *MainLoop) X_Idle(delta float64) { log.Println("Calling MainLoop.X_Idle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_idle", goArguments, "") - + godotCallVoidFloat(o, "_idle", delta) log.Println(" Function successfully completed.") } @@ -51803,13 +33809,7 @@ func (o *MainLoop) X_Idle(delta float64) { func (o *MainLoop) X_Initialize() { log.Println("Calling MainLoop.X_Initialize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_initialize", goArguments, "") - + godotCallVoid(o, "_initialize") log.Println(" Function successfully completed.") } @@ -51820,14 +33820,7 @@ func (o *MainLoop) X_Initialize() { func (o *MainLoop) X_InputEvent(ev *InputEvent) { log.Println("Calling MainLoop.X_InputEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ev) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input_event", goArguments, "") - + godotCallVoidObject(o, "_input_event", &ev.Object) log.Println(" Function successfully completed.") } @@ -51838,14 +33831,7 @@ func (o *MainLoop) X_InputEvent(ev *InputEvent) { func (o *MainLoop) X_InputText(text string) { log.Println("Calling MainLoop.X_InputText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input_text", goArguments, "") - + godotCallVoidString(o, "_input_text", text) log.Println(" Function successfully completed.") } @@ -51856,14 +33842,7 @@ func (o *MainLoop) X_InputText(text string) { func (o *MainLoop) X_Iteration(delta float64) { log.Println("Calling MainLoop.X_Iteration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_iteration", goArguments, "") - + godotCallVoidFloat(o, "_iteration", delta) log.Println(" Function successfully completed.") } @@ -51874,13 +33853,7 @@ func (o *MainLoop) X_Iteration(delta float64) { func (o *MainLoop) Finish() { log.Println("Calling MainLoop.Finish()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "finish", goArguments, "") - + godotCallVoid(o, "finish") log.Println(" Function successfully completed.") } @@ -51891,17 +33864,9 @@ func (o *MainLoop) Finish() { func (o *MainLoop) Idle(delta float64) bool { log.Println("Calling MainLoop.Idle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "idle", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolFloat(o, "idle", delta) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -51912,13 +33877,7 @@ func (o *MainLoop) Idle(delta float64) bool { func (o *MainLoop) Init() { log.Println("Calling MainLoop.Init()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "init", goArguments, "") - + godotCallVoid(o, "init") log.Println(" Function successfully completed.") } @@ -51929,14 +33888,7 @@ func (o *MainLoop) Init() { func (o *MainLoop) InputEvent(ev *InputEvent) { log.Println("Calling MainLoop.InputEvent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ev) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "input_event", goArguments, "") - + godotCallVoidObject(o, "input_event", &ev.Object) log.Println(" Function successfully completed.") } @@ -51947,14 +33899,7 @@ func (o *MainLoop) InputEvent(ev *InputEvent) { func (o *MainLoop) InputText(text string) { log.Println("Calling MainLoop.InputText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "input_text", goArguments, "") - + godotCallVoidString(o, "input_text", text) log.Println(" Function successfully completed.") } @@ -51965,17 +33910,9 @@ func (o *MainLoop) InputText(text string) { func (o *MainLoop) Iteration(delta float64) bool { log.Println("Calling MainLoop.Iteration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "iteration", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolFloat(o, "iteration", delta) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52022,17 +33959,12 @@ func (o *Material) baseClass() string { func (o *Material) GetNextPass() *Material { log.Println("Calling Material.GetNextPass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_next_pass", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_next_pass") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -52042,16 +33974,9 @@ func (o *Material) GetNextPass() *Material { func (o *Material) GetRenderPriority() int64 { log.Println("Calling Material.GetRenderPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_render_priority", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_render_priority") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52062,14 +33987,7 @@ func (o *Material) GetRenderPriority() int64 { func (o *Material) SetNextPass(nextPass *Material) { log.Println("Calling Material.SetNextPass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(nextPass) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_next_pass", goArguments, "") - + godotCallVoidObject(o, "set_next_pass", &nextPass.Object) log.Println(" Function successfully completed.") } @@ -52080,14 +33998,7 @@ func (o *Material) SetNextPass(nextPass *Material) { func (o *Material) SetRenderPriority(priority int64) { log.Println("Calling Material.SetRenderPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_render_priority", goArguments, "") - + godotCallVoidInt(o, "set_render_priority", priority) log.Println(" Function successfully completed.") } @@ -52116,16 +34027,9 @@ func (o *MenuButton) baseClass() string { func (o *MenuButton) X_GetItems() *Array { log.Println("Calling MenuButton.X_GetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_items", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_items") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52136,14 +34040,7 @@ func (o *MenuButton) X_GetItems() *Array { func (o *MenuButton) X_SetItems(arg0 *Array) { log.Println("Calling MenuButton.X_SetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_items", goArguments, "") - + godotCallVoidArray(o, "_set_items", arg0) log.Println(" Function successfully completed.") } @@ -52154,14 +34051,7 @@ func (o *MenuButton) X_SetItems(arg0 *Array) { func (o *MenuButton) X_UnhandledKeyInput(arg0 *InputEvent) { log.Println("Calling MenuButton.X_UnhandledKeyInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_key_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_key_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -52172,17 +34062,12 @@ func (o *MenuButton) X_UnhandledKeyInput(arg0 *InputEvent) { func (o *MenuButton) GetPopup() *PopupMenu { log.Println("Calling MenuButton.GetPopup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_popup", goArguments, "*PopupMenu") - - returnValue := goRet.Interface().(*PopupMenu) - + returnValue := godotCallObject(o, "get_popup") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PopupMenu + ret.owner = returnValue.owner + return &ret } @@ -52192,14 +34077,7 @@ func (o *MenuButton) GetPopup() *PopupMenu { func (o *MenuButton) SetDisableShortcuts(disabled bool) { log.Println("Calling MenuButton.SetDisableShortcuts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disable_shortcuts", goArguments, "") - + godotCallVoidBool(o, "set_disable_shortcuts", disabled) log.Println(" Function successfully completed.") } @@ -52228,17 +34106,12 @@ func (o *Mesh) baseClass() string { func (o *Mesh) CreateConvexShape() *Shape { log.Println("Calling Mesh.CreateConvexShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_convex_shape", goArguments, "*Shape") - - returnValue := goRet.Interface().(*Shape) - + returnValue := godotCallObject(o, "create_convex_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape + ret.owner = returnValue.owner + return &ret } @@ -52248,18 +34121,12 @@ func (o *Mesh) CreateConvexShape() *Shape { func (o *Mesh) CreateOutline(margin float64) *Mesh { log.Println("Calling Mesh.CreateOutline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_outline", goArguments, "*Mesh") - - returnValue := goRet.Interface().(*Mesh) - + returnValue := godotCallObjectFloat(o, "create_outline", margin) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Mesh + ret.owner = returnValue.owner + return &ret } @@ -52269,17 +34136,12 @@ func (o *Mesh) CreateOutline(margin float64) *Mesh { func (o *Mesh) CreateTrimeshShape() *Shape { log.Println("Calling Mesh.CreateTrimeshShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_trimesh_shape", goArguments, "*Shape") - - returnValue := goRet.Interface().(*Shape) - + returnValue := godotCallObject(o, "create_trimesh_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape + ret.owner = returnValue.owner + return &ret } @@ -52289,17 +34151,12 @@ func (o *Mesh) CreateTrimeshShape() *Shape { func (o *Mesh) GenerateTriangleMesh() *TriangleMesh { log.Println("Calling Mesh.GenerateTriangleMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generate_triangle_mesh", goArguments, "*TriangleMesh") - - returnValue := goRet.Interface().(*TriangleMesh) - + returnValue := godotCallObject(o, "generate_triangle_mesh") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TriangleMesh + ret.owner = returnValue.owner + return &ret } @@ -52309,16 +34166,9 @@ func (o *Mesh) GenerateTriangleMesh() *TriangleMesh { func (o *Mesh) GetFaces() *PoolVector3Array { log.Println("Calling Mesh.GetFaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_faces", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "get_faces") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52329,16 +34179,9 @@ func (o *Mesh) GetFaces() *PoolVector3Array { func (o *Mesh) GetLightmapSizeHint() *Vector2 { log.Println("Calling Mesh.GetLightmapSizeHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lightmap_size_hint", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_lightmap_size_hint") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52349,14 +34192,7 @@ func (o *Mesh) GetLightmapSizeHint() *Vector2 { func (o *Mesh) SetLightmapSizeHint(size *Vector2) { log.Println("Calling Mesh.SetLightmapSizeHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lightmap_size_hint", goArguments, "") - + godotCallVoidVector2(o, "set_lightmap_size_hint", size) log.Println(" Function successfully completed.") } @@ -52385,13 +34221,7 @@ func (o *MeshDataTool) baseClass() string { func (o *MeshDataTool) Clear() { log.Println("Calling MeshDataTool.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -52402,17 +34232,9 @@ func (o *MeshDataTool) Clear() { func (o *MeshDataTool) CommitToSurface(mesh *ArrayMesh) int64 { log.Println("Calling MeshDataTool.CommitToSurface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "commit_to_surface", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "commit_to_surface", &mesh.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52423,18 +34245,9 @@ func (o *MeshDataTool) CommitToSurface(mesh *ArrayMesh) int64 { func (o *MeshDataTool) CreateFromSurface(mesh *ArrayMesh, surface int64) int64 { log.Println("Calling MeshDataTool.CreateFromSurface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_from_surface", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObjectInt(o, "create_from_surface", &mesh.Object, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52445,16 +34258,9 @@ func (o *MeshDataTool) CreateFromSurface(mesh *ArrayMesh, surface int64) int64 { func (o *MeshDataTool) GetEdgeCount() int64 { log.Println("Calling MeshDataTool.GetEdgeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_edge_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52465,17 +34271,9 @@ func (o *MeshDataTool) GetEdgeCount() int64 { func (o *MeshDataTool) GetEdgeFaces(idx int64) *PoolIntArray { log.Println("Calling MeshDataTool.GetEdgeFaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_faces", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_edge_faces", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52486,17 +34284,9 @@ func (o *MeshDataTool) GetEdgeFaces(idx int64) *PoolIntArray { func (o *MeshDataTool) GetEdgeMeta(idx int64) *Variant { log.Println("Calling MeshDataTool.GetEdgeMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_meta", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_edge_meta", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52507,18 +34297,9 @@ func (o *MeshDataTool) GetEdgeMeta(idx int64) *Variant { func (o *MeshDataTool) GetEdgeVertex(idx int64, vertex int64) int64 { log.Println("Calling MeshDataTool.GetEdgeVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(vertex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_vertex", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "get_edge_vertex", idx, vertex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52529,16 +34310,9 @@ func (o *MeshDataTool) GetEdgeVertex(idx int64, vertex int64) int64 { func (o *MeshDataTool) GetFaceCount() int64 { log.Println("Calling MeshDataTool.GetFaceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_face_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_face_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52549,18 +34323,9 @@ func (o *MeshDataTool) GetFaceCount() int64 { func (o *MeshDataTool) GetFaceEdge(idx int64, edge int64) int64 { log.Println("Calling MeshDataTool.GetFaceEdge()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(edge) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_face_edge", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "get_face_edge", idx, edge) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52571,17 +34336,9 @@ func (o *MeshDataTool) GetFaceEdge(idx int64, edge int64) int64 { func (o *MeshDataTool) GetFaceMeta(idx int64) *Variant { log.Println("Calling MeshDataTool.GetFaceMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_face_meta", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_face_meta", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52592,17 +34349,9 @@ func (o *MeshDataTool) GetFaceMeta(idx int64) *Variant { func (o *MeshDataTool) GetFaceNormal(idx int64) *Vector3 { log.Println("Calling MeshDataTool.GetFaceNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_face_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_face_normal", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52613,18 +34362,9 @@ func (o *MeshDataTool) GetFaceNormal(idx int64) *Vector3 { func (o *MeshDataTool) GetFaceVertex(idx int64, vertex int64) int64 { log.Println("Calling MeshDataTool.GetFaceVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(vertex) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_face_vertex", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "get_face_vertex", idx, vertex) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52635,16 +34375,9 @@ func (o *MeshDataTool) GetFaceVertex(idx int64, vertex int64) int64 { func (o *MeshDataTool) GetFormat() int64 { log.Println("Calling MeshDataTool.GetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52655,17 +34388,12 @@ func (o *MeshDataTool) GetFormat() int64 { func (o *MeshDataTool) GetMaterial() *Material { log.Println("Calling MeshDataTool.GetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_material") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -52675,17 +34403,9 @@ func (o *MeshDataTool) GetMaterial() *Material { func (o *MeshDataTool) GetVertex(idx int64) *Vector3 { log.Println("Calling MeshDataTool.GetVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_vertex", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52696,17 +34416,9 @@ func (o *MeshDataTool) GetVertex(idx int64) *Vector3 { func (o *MeshDataTool) GetVertexBones(idx int64) *PoolIntArray { log.Println("Calling MeshDataTool.GetVertexBones()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_bones", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_vertex_bones", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52717,17 +34429,9 @@ func (o *MeshDataTool) GetVertexBones(idx int64) *PoolIntArray { func (o *MeshDataTool) GetVertexColor(idx int64) *Color { log.Println("Calling MeshDataTool.GetVertexColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_vertex_color", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52738,16 +34442,9 @@ func (o *MeshDataTool) GetVertexColor(idx int64) *Color { func (o *MeshDataTool) GetVertexCount() int64 { log.Println("Calling MeshDataTool.GetVertexCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_vertex_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52758,17 +34455,9 @@ func (o *MeshDataTool) GetVertexCount() int64 { func (o *MeshDataTool) GetVertexEdges(idx int64) *PoolIntArray { log.Println("Calling MeshDataTool.GetVertexEdges()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_edges", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_vertex_edges", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52779,17 +34468,9 @@ func (o *MeshDataTool) GetVertexEdges(idx int64) *PoolIntArray { func (o *MeshDataTool) GetVertexFaces(idx int64) *PoolIntArray { log.Println("Calling MeshDataTool.GetVertexFaces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_faces", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_vertex_faces", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52800,17 +34481,9 @@ func (o *MeshDataTool) GetVertexFaces(idx int64) *PoolIntArray { func (o *MeshDataTool) GetVertexMeta(idx int64) *Variant { log.Println("Calling MeshDataTool.GetVertexMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_meta", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_vertex_meta", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52821,17 +34494,9 @@ func (o *MeshDataTool) GetVertexMeta(idx int64) *Variant { func (o *MeshDataTool) GetVertexNormal(idx int64) *Vector3 { log.Println("Calling MeshDataTool.GetVertexNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_vertex_normal", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52842,17 +34507,9 @@ func (o *MeshDataTool) GetVertexNormal(idx int64) *Vector3 { func (o *MeshDataTool) GetVertexTangent(idx int64) *Plane { log.Println("Calling MeshDataTool.GetVertexTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_tangent", goArguments, "*Plane") - - returnValue := goRet.Interface().(*Plane) - + returnValue := godotCallPlaneInt(o, "get_vertex_tangent", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52863,17 +34520,9 @@ func (o *MeshDataTool) GetVertexTangent(idx int64) *Plane { func (o *MeshDataTool) GetVertexUv(idx int64) *Vector2 { log.Println("Calling MeshDataTool.GetVertexUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_uv", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_vertex_uv", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52884,17 +34533,9 @@ func (o *MeshDataTool) GetVertexUv(idx int64) *Vector2 { func (o *MeshDataTool) GetVertexUv2(idx int64) *Vector2 { log.Println("Calling MeshDataTool.GetVertexUv2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_uv2", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_vertex_uv2", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52905,17 +34546,9 @@ func (o *MeshDataTool) GetVertexUv2(idx int64) *Vector2 { func (o *MeshDataTool) GetVertexWeights(idx int64) *PoolRealArray { log.Println("Calling MeshDataTool.GetVertexWeights()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_weights", goArguments, "*PoolRealArray") - - returnValue := goRet.Interface().(*PoolRealArray) - + returnValue := godotCallPoolRealArrayInt(o, "get_vertex_weights", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -52926,15 +34559,7 @@ func (o *MeshDataTool) GetVertexWeights(idx int64) *PoolRealArray { func (o *MeshDataTool) SetEdgeMeta(idx int64, meta *Variant) { log.Println("Calling MeshDataTool.SetEdgeMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(meta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edge_meta", goArguments, "") - + godotCallVoidIntVariant(o, "set_edge_meta", idx, meta) log.Println(" Function successfully completed.") } @@ -52945,15 +34570,7 @@ func (o *MeshDataTool) SetEdgeMeta(idx int64, meta *Variant) { func (o *MeshDataTool) SetFaceMeta(idx int64, meta *Variant) { log.Println("Calling MeshDataTool.SetFaceMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(meta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_face_meta", goArguments, "") - + godotCallVoidIntVariant(o, "set_face_meta", idx, meta) log.Println(" Function successfully completed.") } @@ -52964,14 +34581,7 @@ func (o *MeshDataTool) SetFaceMeta(idx int64, meta *Variant) { func (o *MeshDataTool) SetMaterial(material *Material) { log.Println("Calling MeshDataTool.SetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_material", goArguments, "") - + godotCallVoidObject(o, "set_material", &material.Object) log.Println(" Function successfully completed.") } @@ -52982,15 +34592,7 @@ func (o *MeshDataTool) SetMaterial(material *Material) { func (o *MeshDataTool) SetVertex(idx int64, vertex *Vector3) { log.Println("Calling MeshDataTool.SetVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(vertex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex", goArguments, "") - + godotCallVoidIntVector3(o, "set_vertex", idx, vertex) log.Println(" Function successfully completed.") } @@ -53001,15 +34603,7 @@ func (o *MeshDataTool) SetVertex(idx int64, vertex *Vector3) { func (o *MeshDataTool) SetVertexBones(idx int64, bones *PoolIntArray) { log.Println("Calling MeshDataTool.SetVertexBones()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(bones) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_bones", goArguments, "") - + godotCallVoidIntPoolIntArray(o, "set_vertex_bones", idx, bones) log.Println(" Function successfully completed.") } @@ -53020,15 +34614,7 @@ func (o *MeshDataTool) SetVertexBones(idx int64, bones *PoolIntArray) { func (o *MeshDataTool) SetVertexColor(idx int64, color *Color) { log.Println("Calling MeshDataTool.SetVertexColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_color", goArguments, "") - + godotCallVoidIntColor(o, "set_vertex_color", idx, color) log.Println(" Function successfully completed.") } @@ -53039,15 +34625,7 @@ func (o *MeshDataTool) SetVertexColor(idx int64, color *Color) { func (o *MeshDataTool) SetVertexMeta(idx int64, meta *Variant) { log.Println("Calling MeshDataTool.SetVertexMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(meta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_meta", goArguments, "") - + godotCallVoidIntVariant(o, "set_vertex_meta", idx, meta) log.Println(" Function successfully completed.") } @@ -53058,15 +34636,7 @@ func (o *MeshDataTool) SetVertexMeta(idx int64, meta *Variant) { func (o *MeshDataTool) SetVertexNormal(idx int64, normal *Vector3) { log.Println("Calling MeshDataTool.SetVertexNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(normal) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_normal", goArguments, "") - + godotCallVoidIntVector3(o, "set_vertex_normal", idx, normal) log.Println(" Function successfully completed.") } @@ -53077,15 +34647,7 @@ func (o *MeshDataTool) SetVertexNormal(idx int64, normal *Vector3) { func (o *MeshDataTool) SetVertexTangent(idx int64, tangent *Plane) { log.Println("Calling MeshDataTool.SetVertexTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(tangent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_tangent", goArguments, "") - + godotCallVoidIntPlane(o, "set_vertex_tangent", idx, tangent) log.Println(" Function successfully completed.") } @@ -53096,15 +34658,7 @@ func (o *MeshDataTool) SetVertexTangent(idx int64, tangent *Plane) { func (o *MeshDataTool) SetVertexUv(idx int64, uv *Vector2) { log.Println("Calling MeshDataTool.SetVertexUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(uv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_uv", goArguments, "") - + godotCallVoidIntVector2(o, "set_vertex_uv", idx, uv) log.Println(" Function successfully completed.") } @@ -53115,15 +34669,7 @@ func (o *MeshDataTool) SetVertexUv(idx int64, uv *Vector2) { func (o *MeshDataTool) SetVertexUv2(idx int64, uv2 *Vector2) { log.Println("Calling MeshDataTool.SetVertexUv2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(uv2) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_uv2", goArguments, "") - + godotCallVoidIntVector2(o, "set_vertex_uv2", idx, uv2) log.Println(" Function successfully completed.") } @@ -53134,15 +34680,7 @@ func (o *MeshDataTool) SetVertexUv2(idx int64, uv2 *Vector2) { func (o *MeshDataTool) SetVertexWeights(idx int64, weights *PoolRealArray) { log.Println("Calling MeshDataTool.SetVertexWeights()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(weights) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_weights", goArguments, "") - + godotCallVoidIntPoolRealArray(o, "set_vertex_weights", idx, weights) log.Println(" Function successfully completed.") } @@ -53171,13 +34709,7 @@ func (o *MeshInstance) baseClass() string { func (o *MeshInstance) X_MeshChanged() { log.Println("Calling MeshInstance.X_MeshChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_mesh_changed", goArguments, "") - + godotCallVoid(o, "_mesh_changed") log.Println(" Function successfully completed.") } @@ -53188,13 +34720,7 @@ func (o *MeshInstance) X_MeshChanged() { func (o *MeshInstance) CreateConvexCollision() { log.Println("Calling MeshInstance.CreateConvexCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_convex_collision", goArguments, "") - + godotCallVoid(o, "create_convex_collision") log.Println(" Function successfully completed.") } @@ -53205,13 +34731,7 @@ func (o *MeshInstance) CreateConvexCollision() { func (o *MeshInstance) CreateDebugTangents() { log.Println("Calling MeshInstance.CreateDebugTangents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_debug_tangents", goArguments, "") - + godotCallVoid(o, "create_debug_tangents") log.Println(" Function successfully completed.") } @@ -53222,13 +34742,7 @@ func (o *MeshInstance) CreateDebugTangents() { func (o *MeshInstance) CreateTrimeshCollision() { log.Println("Calling MeshInstance.CreateTrimeshCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_trimesh_collision", goArguments, "") - + godotCallVoid(o, "create_trimesh_collision") log.Println(" Function successfully completed.") } @@ -53239,17 +34753,12 @@ func (o *MeshInstance) CreateTrimeshCollision() { func (o *MeshInstance) GetMesh() *Mesh { log.Println("Calling MeshInstance.GetMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mesh", goArguments, "*Mesh") - - returnValue := goRet.Interface().(*Mesh) - + returnValue := godotCallObject(o, "get_mesh") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Mesh + ret.owner = returnValue.owner + return &ret } @@ -53259,16 +34768,9 @@ func (o *MeshInstance) GetMesh() *Mesh { func (o *MeshInstance) GetSkeletonPath() *NodePath { log.Println("Calling MeshInstance.GetSkeletonPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_skeleton_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_skeleton_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53279,18 +34781,12 @@ func (o *MeshInstance) GetSkeletonPath() *NodePath { func (o *MeshInstance) GetSurfaceMaterial(surface int64) *Material { log.Println("Calling MeshInstance.GetSurfaceMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_surface_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObjectInt(o, "get_surface_material", surface) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -53300,14 +34796,7 @@ func (o *MeshInstance) GetSurfaceMaterial(surface int64) *Material { func (o *MeshInstance) SetMesh(mesh *Mesh) { log.Println("Calling MeshInstance.SetMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mesh", goArguments, "") - + godotCallVoidObject(o, "set_mesh", &mesh.Object) log.Println(" Function successfully completed.") } @@ -53318,14 +34807,7 @@ func (o *MeshInstance) SetMesh(mesh *Mesh) { func (o *MeshInstance) SetSkeletonPath(skeletonPath *NodePath) { log.Println("Calling MeshInstance.SetSkeletonPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(skeletonPath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_skeleton_path", goArguments, "") - + godotCallVoidNodePath(o, "set_skeleton_path", skeletonPath) log.Println(" Function successfully completed.") } @@ -53336,15 +34818,7 @@ func (o *MeshInstance) SetSkeletonPath(skeletonPath *NodePath) { func (o *MeshInstance) SetSurfaceMaterial(surface int64, material *Material) { log.Println("Calling MeshInstance.SetSurfaceMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(surface) - goArguments[1] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_surface_material", goArguments, "") - + godotCallVoidIntObject(o, "set_surface_material", surface, &material.Object) log.Println(" Function successfully completed.") } @@ -53373,13 +34847,7 @@ func (o *MeshLibrary) baseClass() string { func (o *MeshLibrary) Clear() { log.Println("Calling MeshLibrary.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -53390,14 +34858,7 @@ func (o *MeshLibrary) Clear() { func (o *MeshLibrary) CreateItem(id int64) { log.Println("Calling MeshLibrary.CreateItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_item", goArguments, "") - + godotCallVoidInt(o, "create_item", id) log.Println(" Function successfully completed.") } @@ -53408,17 +34869,9 @@ func (o *MeshLibrary) CreateItem(id int64) { func (o *MeshLibrary) FindItemByName(name string) int64 { log.Println("Calling MeshLibrary.FindItemByName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_item_by_name", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "find_item_by_name", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53429,16 +34882,9 @@ func (o *MeshLibrary) FindItemByName(name string) int64 { func (o *MeshLibrary) GetItemList() *PoolIntArray { log.Println("Calling MeshLibrary.GetItemList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_list", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "get_item_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53449,18 +34895,12 @@ func (o *MeshLibrary) GetItemList() *PoolIntArray { func (o *MeshLibrary) GetItemMesh(id int64) *Mesh { log.Println("Calling MeshLibrary.GetItemMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_mesh", goArguments, "*Mesh") - - returnValue := goRet.Interface().(*Mesh) - + returnValue := godotCallObjectInt(o, "get_item_mesh", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Mesh + ret.owner = returnValue.owner + return &ret } @@ -53470,17 +34910,9 @@ func (o *MeshLibrary) GetItemMesh(id int64) *Mesh { func (o *MeshLibrary) GetItemName(id int64) string { log.Println("Calling MeshLibrary.GetItemName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_name", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53491,18 +34923,12 @@ func (o *MeshLibrary) GetItemName(id int64) string { func (o *MeshLibrary) GetItemNavmesh(id int64) *NavigationMesh { log.Println("Calling MeshLibrary.GetItemNavmesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_navmesh", goArguments, "*NavigationMesh") - - returnValue := goRet.Interface().(*NavigationMesh) - + returnValue := godotCallObjectInt(o, "get_item_navmesh", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret NavigationMesh + ret.owner = returnValue.owner + return &ret } @@ -53512,18 +34938,12 @@ func (o *MeshLibrary) GetItemNavmesh(id int64) *NavigationMesh { func (o *MeshLibrary) GetItemPreview(id int64) *Texture { log.Println("Calling MeshLibrary.GetItemPreview()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_preview", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_item_preview", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -53533,17 +34953,9 @@ func (o *MeshLibrary) GetItemPreview(id int64) *Texture { func (o *MeshLibrary) GetItemShapes(id int64) *Array { log.Println("Calling MeshLibrary.GetItemShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_shapes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_item_shapes", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53554,16 +34966,9 @@ func (o *MeshLibrary) GetItemShapes(id int64) *Array { func (o *MeshLibrary) GetLastUnusedItemId() int64 { log.Println("Calling MeshLibrary.GetLastUnusedItemId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_last_unused_item_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_last_unused_item_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53574,14 +34979,7 @@ func (o *MeshLibrary) GetLastUnusedItemId() int64 { func (o *MeshLibrary) RemoveItem(id int64) { log.Println("Calling MeshLibrary.RemoveItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_item", goArguments, "") - + godotCallVoidInt(o, "remove_item", id) log.Println(" Function successfully completed.") } @@ -53592,15 +34990,7 @@ func (o *MeshLibrary) RemoveItem(id int64) { func (o *MeshLibrary) SetItemMesh(id int64, mesh *Mesh) { log.Println("Calling MeshLibrary.SetItemMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_mesh", goArguments, "") - + godotCallVoidIntObject(o, "set_item_mesh", id, &mesh.Object) log.Println(" Function successfully completed.") } @@ -53611,15 +35001,7 @@ func (o *MeshLibrary) SetItemMesh(id int64, mesh *Mesh) { func (o *MeshLibrary) SetItemName(id int64, name string) { log.Println("Calling MeshLibrary.SetItemName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_name", goArguments, "") - + godotCallVoidIntString(o, "set_item_name", id, name) log.Println(" Function successfully completed.") } @@ -53630,15 +35012,7 @@ func (o *MeshLibrary) SetItemName(id int64, name string) { func (o *MeshLibrary) SetItemNavmesh(id int64, navmesh *NavigationMesh) { log.Println("Calling MeshLibrary.SetItemNavmesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(navmesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_navmesh", goArguments, "") - + godotCallVoidIntObject(o, "set_item_navmesh", id, &navmesh.Object) log.Println(" Function successfully completed.") } @@ -53649,15 +35023,7 @@ func (o *MeshLibrary) SetItemNavmesh(id int64, navmesh *NavigationMesh) { func (o *MeshLibrary) SetItemPreview(id int64, texture *Texture) { log.Println("Calling MeshLibrary.SetItemPreview()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_preview", goArguments, "") - + godotCallVoidIntObject(o, "set_item_preview", id, &texture.Object) log.Println(" Function successfully completed.") } @@ -53668,15 +35034,7 @@ func (o *MeshLibrary) SetItemPreview(id int64, texture *Texture) { func (o *MeshLibrary) SetItemShapes(id int64, shapes *Array) { log.Println("Calling MeshLibrary.SetItemShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_shapes", goArguments, "") - + godotCallVoidIntArray(o, "set_item_shapes", id, shapes) log.Println(" Function successfully completed.") } @@ -53705,16 +35063,9 @@ func (o *MobileVRInterface) baseClass() string { func (o *MobileVRInterface) GetDisplayToLens() float64 { log.Println("Calling MobileVRInterface.GetDisplayToLens()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_display_to_lens", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_display_to_lens") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53725,16 +35076,9 @@ func (o *MobileVRInterface) GetDisplayToLens() float64 { func (o *MobileVRInterface) GetDisplayWidth() float64 { log.Println("Calling MobileVRInterface.GetDisplayWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_display_width", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_display_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53745,16 +35089,9 @@ func (o *MobileVRInterface) GetDisplayWidth() float64 { func (o *MobileVRInterface) GetIod() float64 { log.Println("Calling MobileVRInterface.GetIod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_iod", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_iod") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53765,16 +35102,9 @@ func (o *MobileVRInterface) GetIod() float64 { func (o *MobileVRInterface) GetK1() float64 { log.Println("Calling MobileVRInterface.GetK1()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_k1", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_k1") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53785,16 +35115,9 @@ func (o *MobileVRInterface) GetK1() float64 { func (o *MobileVRInterface) GetK2() float64 { log.Println("Calling MobileVRInterface.GetK2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_k2", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_k2") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53805,16 +35128,9 @@ func (o *MobileVRInterface) GetK2() float64 { func (o *MobileVRInterface) GetOversample() float64 { log.Println("Calling MobileVRInterface.GetOversample()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_oversample", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_oversample") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53825,14 +35141,7 @@ func (o *MobileVRInterface) GetOversample() float64 { func (o *MobileVRInterface) SetDisplayToLens(displayToLens float64) { log.Println("Calling MobileVRInterface.SetDisplayToLens()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(displayToLens) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_display_to_lens", goArguments, "") - + godotCallVoidFloat(o, "set_display_to_lens", displayToLens) log.Println(" Function successfully completed.") } @@ -53843,14 +35152,7 @@ func (o *MobileVRInterface) SetDisplayToLens(displayToLens float64) { func (o *MobileVRInterface) SetDisplayWidth(displayWidth float64) { log.Println("Calling MobileVRInterface.SetDisplayWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(displayWidth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_display_width", goArguments, "") - + godotCallVoidFloat(o, "set_display_width", displayWidth) log.Println(" Function successfully completed.") } @@ -53861,14 +35163,7 @@ func (o *MobileVRInterface) SetDisplayWidth(displayWidth float64) { func (o *MobileVRInterface) SetIod(iod float64) { log.Println("Calling MobileVRInterface.SetIod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(iod) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_iod", goArguments, "") - + godotCallVoidFloat(o, "set_iod", iod) log.Println(" Function successfully completed.") } @@ -53879,14 +35174,7 @@ func (o *MobileVRInterface) SetIod(iod float64) { func (o *MobileVRInterface) SetK1(k float64) { log.Println("Calling MobileVRInterface.SetK1()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(k) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_k1", goArguments, "") - + godotCallVoidFloat(o, "set_k1", k) log.Println(" Function successfully completed.") } @@ -53897,14 +35185,7 @@ func (o *MobileVRInterface) SetK1(k float64) { func (o *MobileVRInterface) SetK2(k float64) { log.Println("Calling MobileVRInterface.SetK2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(k) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_k2", goArguments, "") - + godotCallVoidFloat(o, "set_k2", k) log.Println(" Function successfully completed.") } @@ -53915,14 +35196,7 @@ func (o *MobileVRInterface) SetK2(k float64) { func (o *MobileVRInterface) SetOversample(oversample float64) { log.Println("Calling MobileVRInterface.SetOversample()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(oversample) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_oversample", goArguments, "") - + godotCallVoidFloat(o, "set_oversample", oversample) log.Println(" Function successfully completed.") } @@ -53951,16 +35225,9 @@ func (o *MultiMesh) baseClass() string { func (o *MultiMesh) X_GetColorArray() *PoolColorArray { log.Println("Calling MultiMesh.X_GetColorArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_color_array", goArguments, "*PoolColorArray") - - returnValue := goRet.Interface().(*PoolColorArray) - + returnValue := godotCallPoolColorArray(o, "_get_color_array") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53971,16 +35238,9 @@ func (o *MultiMesh) X_GetColorArray() *PoolColorArray { func (o *MultiMesh) X_GetTransformArray() *PoolVector3Array { log.Println("Calling MultiMesh.X_GetTransformArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_transform_array", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "_get_transform_array") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -53991,14 +35251,7 @@ func (o *MultiMesh) X_GetTransformArray() *PoolVector3Array { func (o *MultiMesh) X_SetColorArray(arg0 *PoolColorArray) { log.Println("Calling MultiMesh.X_SetColorArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_color_array", goArguments, "") - + godotCallVoidPoolColorArray(o, "_set_color_array", arg0) log.Println(" Function successfully completed.") } @@ -54009,14 +35262,7 @@ func (o *MultiMesh) X_SetColorArray(arg0 *PoolColorArray) { func (o *MultiMesh) X_SetTransformArray(arg0 *PoolVector3Array) { log.Println("Calling MultiMesh.X_SetTransformArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_transform_array", goArguments, "") - + godotCallVoidPoolVector3Array(o, "_set_transform_array", arg0) log.Println(" Function successfully completed.") } @@ -54027,16 +35273,9 @@ func (o *MultiMesh) X_SetTransformArray(arg0 *PoolVector3Array) { func (o *MultiMesh) GetAabb() *AABB { log.Println("Calling MultiMesh.GetAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54047,16 +35286,9 @@ func (o *MultiMesh) GetAabb() *AABB { func (o *MultiMesh) GetColorFormat() int64 { log.Println("Calling MultiMesh.GetColorFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_color_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54067,17 +35299,9 @@ func (o *MultiMesh) GetColorFormat() int64 { func (o *MultiMesh) GetInstanceColor(instance int64) *Color { log.Println("Calling MultiMesh.GetInstanceColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(instance) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_instance_color", instance) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54088,16 +35312,9 @@ func (o *MultiMesh) GetInstanceColor(instance int64) *Color { func (o *MultiMesh) GetInstanceCount() int64 { log.Println("Calling MultiMesh.GetInstanceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_instance_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54108,17 +35325,9 @@ func (o *MultiMesh) GetInstanceCount() int64 { func (o *MultiMesh) GetInstanceTransform(instance int64) *Transform { log.Println("Calling MultiMesh.GetInstanceTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(instance) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_instance_transform", instance) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54129,17 +35338,12 @@ func (o *MultiMesh) GetInstanceTransform(instance int64) *Transform { func (o *MultiMesh) GetMesh() *Mesh { log.Println("Calling MultiMesh.GetMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mesh", goArguments, "*Mesh") - - returnValue := goRet.Interface().(*Mesh) - + returnValue := godotCallObject(o, "get_mesh") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Mesh + ret.owner = returnValue.owner + return &ret } @@ -54149,16 +35353,9 @@ func (o *MultiMesh) GetMesh() *Mesh { func (o *MultiMesh) GetTransformFormat() int64 { log.Println("Calling MultiMesh.GetTransformFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_transform_format") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54169,14 +35366,7 @@ func (o *MultiMesh) GetTransformFormat() int64 { func (o *MultiMesh) SetColorFormat(format int64) { log.Println("Calling MultiMesh.SetColorFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(format) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color_format", goArguments, "") - + godotCallVoidInt(o, "set_color_format", format) log.Println(" Function successfully completed.") } @@ -54187,15 +35377,7 @@ func (o *MultiMesh) SetColorFormat(format int64) { func (o *MultiMesh) SetInstanceColor(instance int64, color *Color) { log.Println("Calling MultiMesh.SetInstanceColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(instance) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_instance_color", goArguments, "") - + godotCallVoidIntColor(o, "set_instance_color", instance, color) log.Println(" Function successfully completed.") } @@ -54206,14 +35388,7 @@ func (o *MultiMesh) SetInstanceColor(instance int64, color *Color) { func (o *MultiMesh) SetInstanceCount(count int64) { log.Println("Calling MultiMesh.SetInstanceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(count) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_instance_count", goArguments, "") - + godotCallVoidInt(o, "set_instance_count", count) log.Println(" Function successfully completed.") } @@ -54224,15 +35399,7 @@ func (o *MultiMesh) SetInstanceCount(count int64) { func (o *MultiMesh) SetInstanceTransform(instance int64, transform *Transform) { log.Println("Calling MultiMesh.SetInstanceTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(instance) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_instance_transform", goArguments, "") - + godotCallVoidIntTransform(o, "set_instance_transform", instance, transform) log.Println(" Function successfully completed.") } @@ -54243,14 +35410,7 @@ func (o *MultiMesh) SetInstanceTransform(instance int64, transform *Transform) { func (o *MultiMesh) SetMesh(mesh *Mesh) { log.Println("Calling MultiMesh.SetMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mesh", goArguments, "") - + godotCallVoidObject(o, "set_mesh", &mesh.Object) log.Println(" Function successfully completed.") } @@ -54261,14 +35421,7 @@ func (o *MultiMesh) SetMesh(mesh *Mesh) { func (o *MultiMesh) SetTransformFormat(format int64) { log.Println("Calling MultiMesh.SetTransformFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(format) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform_format", goArguments, "") - + godotCallVoidInt(o, "set_transform_format", format) log.Println(" Function successfully completed.") } @@ -54297,17 +35450,12 @@ func (o *MultiMeshInstance) baseClass() string { func (o *MultiMeshInstance) GetMultimesh() *MultiMesh { log.Println("Calling MultiMeshInstance.GetMultimesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_multimesh", goArguments, "*MultiMesh") - - returnValue := goRet.Interface().(*MultiMesh) - + returnValue := godotCallObject(o, "get_multimesh") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret MultiMesh + ret.owner = returnValue.owner + return &ret } @@ -54317,14 +35465,7 @@ func (o *MultiMeshInstance) GetMultimesh() *MultiMesh { func (o *MultiMeshInstance) SetMultimesh(multimesh *MultiMesh) { log.Println("Calling MultiMeshInstance.SetMultimesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(multimesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_multimesh", goArguments, "") - + godotCallVoidObject(o, "set_multimesh", &multimesh.Object) log.Println(" Function successfully completed.") } @@ -54353,16 +35494,9 @@ func (o *NativeScript) baseClass() string { func (o *NativeScript) GetClassName() string { log.Println("Calling NativeScript.GetClassName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_class_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_class_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54373,17 +35507,12 @@ func (o *NativeScript) GetClassName() string { func (o *NativeScript) GetLibrary() *GDNativeLibrary { log.Println("Calling NativeScript.GetLibrary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_library", goArguments, "*GDNativeLibrary") - - returnValue := goRet.Interface().(*GDNativeLibrary) - + returnValue := godotCallObject(o, "get_library") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret GDNativeLibrary + ret.owner = returnValue.owner + return &ret } @@ -54393,17 +35522,12 @@ func (o *NativeScript) GetLibrary() *GDNativeLibrary { func (o *NativeScript) New() *Object { log.Println("Calling NativeScript.New()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "new", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "new") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -54413,14 +35537,7 @@ func (o *NativeScript) New() *Object { func (o *NativeScript) SetClassName(className string) { log.Println("Calling NativeScript.SetClassName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(className) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_class_name", goArguments, "") - + godotCallVoidString(o, "set_class_name", className) log.Println(" Function successfully completed.") } @@ -54431,14 +35548,7 @@ func (o *NativeScript) SetClassName(className string) { func (o *NativeScript) SetLibrary(library *GDNativeLibrary) { log.Println("Calling NativeScript.SetLibrary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(library) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_library", goArguments, "") - + godotCallVoidObject(o, "set_library", &library.Object) log.Println(" Function successfully completed.") } @@ -54467,17 +35577,9 @@ func (o *Navigation) baseClass() string { func (o *Navigation) GetClosestPoint(toPoint *Vector3) *Vector3 { log.Println("Calling Navigation.GetClosestPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "get_closest_point", toPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54488,17 +35590,9 @@ func (o *Navigation) GetClosestPoint(toPoint *Vector3) *Vector3 { func (o *Navigation) GetClosestPointNormal(toPoint *Vector3) *Vector3 { log.Println("Calling Navigation.GetClosestPointNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "get_closest_point_normal", toPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54509,18 +35603,12 @@ func (o *Navigation) GetClosestPointNormal(toPoint *Vector3) *Vector3 { func (o *Navigation) GetClosestPointOwner(toPoint *Vector3) *Object { log.Println("Calling Navigation.GetClosestPointOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point_owner", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectVector3(o, "get_closest_point_owner", toPoint) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -54530,19 +35618,9 @@ func (o *Navigation) GetClosestPointOwner(toPoint *Vector3) *Object { func (o *Navigation) GetClosestPointToSegment(start *Vector3, end *Vector3, useCollision bool) *Vector3 { log.Println("Calling Navigation.GetClosestPointToSegment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(start) - goArguments[1] = reflect.ValueOf(end) - goArguments[2] = reflect.ValueOf(useCollision) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point_to_segment", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3Vector3Bool(o, "get_closest_point_to_segment", start, end, useCollision) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54553,19 +35631,9 @@ func (o *Navigation) GetClosestPointToSegment(start *Vector3, end *Vector3, useC func (o *Navigation) GetSimplePath(start *Vector3, end *Vector3, optimize bool) *PoolVector3Array { log.Println("Calling Navigation.GetSimplePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(start) - goArguments[1] = reflect.ValueOf(end) - goArguments[2] = reflect.ValueOf(optimize) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_simple_path", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3ArrayVector3Vector3Bool(o, "get_simple_path", start, end, optimize) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54576,16 +35644,9 @@ func (o *Navigation) GetSimplePath(start *Vector3, end *Vector3, optimize bool) func (o *Navigation) GetUpVector() *Vector3 { log.Println("Calling Navigation.GetUpVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_up_vector", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_up_vector") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54596,19 +35657,9 @@ func (o *Navigation) GetUpVector() *Vector3 { func (o *Navigation) NavmeshAdd(mesh *NavigationMesh, xform *Transform, owner *Object) int64 { log.Println("Calling Navigation.NavmeshAdd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(xform) - goArguments[2] = reflect.ValueOf(owner) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "navmesh_add", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObjectTransformObject(o, "navmesh_add", &mesh.Object, xform, owner) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54619,14 +35670,7 @@ func (o *Navigation) NavmeshAdd(mesh *NavigationMesh, xform *Transform, owner *O func (o *Navigation) NavmeshRemove(id int64) { log.Println("Calling Navigation.NavmeshRemove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "navmesh_remove", goArguments, "") - + godotCallVoidInt(o, "navmesh_remove", id) log.Println(" Function successfully completed.") } @@ -54637,15 +35681,7 @@ func (o *Navigation) NavmeshRemove(id int64) { func (o *Navigation) NavmeshSetTransform(id int64, xform *Transform) { log.Println("Calling Navigation.NavmeshSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "navmesh_set_transform", goArguments, "") - + godotCallVoidIntTransform(o, "navmesh_set_transform", id, xform) log.Println(" Function successfully completed.") } @@ -54656,14 +35692,7 @@ func (o *Navigation) NavmeshSetTransform(id int64, xform *Transform) { func (o *Navigation) SetUpVector(up *Vector3) { log.Println("Calling Navigation.SetUpVector()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(up) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_up_vector", goArguments, "") - + godotCallVoidVector3(o, "set_up_vector", up) log.Println(" Function successfully completed.") } @@ -54692,17 +35721,9 @@ func (o *Navigation2D) baseClass() string { func (o *Navigation2D) GetClosestPoint(toPoint *Vector2) *Vector2 { log.Println("Calling Navigation2D.GetClosestPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "get_closest_point", toPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54713,18 +35734,12 @@ func (o *Navigation2D) GetClosestPoint(toPoint *Vector2) *Vector2 { func (o *Navigation2D) GetClosestPointOwner(toPoint *Vector2) *Object { log.Println("Calling Navigation2D.GetClosestPointOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point_owner", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectVector2(o, "get_closest_point_owner", toPoint) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -54734,19 +35749,9 @@ func (o *Navigation2D) GetClosestPointOwner(toPoint *Vector2) *Object { func (o *Navigation2D) GetSimplePath(start *Vector2, end *Vector2, optimize bool) *PoolVector2Array { log.Println("Calling Navigation2D.GetSimplePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(start) - goArguments[1] = reflect.ValueOf(end) - goArguments[2] = reflect.ValueOf(optimize) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_simple_path", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2ArrayVector2Vector2Bool(o, "get_simple_path", start, end, optimize) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54757,19 +35762,9 @@ func (o *Navigation2D) GetSimplePath(start *Vector2, end *Vector2, optimize bool func (o *Navigation2D) NavpolyAdd(mesh *NavigationPolygon, xform *Transform2D, owner *Object) int64 { log.Println("Calling Navigation2D.NavpolyAdd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(xform) - goArguments[2] = reflect.ValueOf(owner) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "navpoly_add", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObjectTransform2DObject(o, "navpoly_add", &mesh.Object, xform, owner) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54780,14 +35775,7 @@ func (o *Navigation2D) NavpolyAdd(mesh *NavigationPolygon, xform *Transform2D, o func (o *Navigation2D) NavpolyRemove(id int64) { log.Println("Calling Navigation2D.NavpolyRemove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "navpoly_remove", goArguments, "") - + godotCallVoidInt(o, "navpoly_remove", id) log.Println(" Function successfully completed.") } @@ -54798,15 +35786,7 @@ func (o *Navigation2D) NavpolyRemove(id int64) { func (o *Navigation2D) NavpolySetTransform(id int64, xform *Transform2D) { log.Println("Calling Navigation2D.NavpolySetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "navpoly_set_transform", goArguments, "") - + godotCallVoidIntTransform2D(o, "navpoly_set_transform", id, xform) log.Println(" Function successfully completed.") } @@ -54835,16 +35815,9 @@ func (o *NavigationMesh) baseClass() string { func (o *NavigationMesh) X_GetPolygons() *Array { log.Println("Calling NavigationMesh.X_GetPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_polygons", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_polygons") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54855,14 +35828,7 @@ func (o *NavigationMesh) X_GetPolygons() *Array { func (o *NavigationMesh) X_SetPolygons(polygons *Array) { log.Println("Calling NavigationMesh.X_SetPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygons) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_polygons", goArguments, "") - + godotCallVoidArray(o, "_set_polygons", polygons) log.Println(" Function successfully completed.") } @@ -54873,14 +35839,7 @@ func (o *NavigationMesh) X_SetPolygons(polygons *Array) { func (o *NavigationMesh) AddPolygon(polygon *PoolIntArray) { log.Println("Calling NavigationMesh.AddPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_polygon", goArguments, "") - + godotCallVoidPoolIntArray(o, "add_polygon", polygon) log.Println(" Function successfully completed.") } @@ -54891,13 +35850,7 @@ func (o *NavigationMesh) AddPolygon(polygon *PoolIntArray) { func (o *NavigationMesh) ClearPolygons() { log.Println("Calling NavigationMesh.ClearPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_polygons", goArguments, "") - + godotCallVoid(o, "clear_polygons") log.Println(" Function successfully completed.") } @@ -54908,14 +35861,7 @@ func (o *NavigationMesh) ClearPolygons() { func (o *NavigationMesh) CreateFromMesh(mesh *Mesh) { log.Println("Calling NavigationMesh.CreateFromMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_from_mesh", goArguments, "") - + godotCallVoidObject(o, "create_from_mesh", &mesh.Object) log.Println(" Function successfully completed.") } @@ -54926,16 +35872,9 @@ func (o *NavigationMesh) CreateFromMesh(mesh *Mesh) { func (o *NavigationMesh) GetAgentHeight() float64 { log.Println("Calling NavigationMesh.GetAgentHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_agent_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_agent_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54946,16 +35885,9 @@ func (o *NavigationMesh) GetAgentHeight() float64 { func (o *NavigationMesh) GetAgentMaxClimb() float64 { log.Println("Calling NavigationMesh.GetAgentMaxClimb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_agent_max_climb", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_agent_max_climb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54966,16 +35898,9 @@ func (o *NavigationMesh) GetAgentMaxClimb() float64 { func (o *NavigationMesh) GetAgentMaxSlope() float64 { log.Println("Calling NavigationMesh.GetAgentMaxSlope()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_agent_max_slope", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_agent_max_slope") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -54986,16 +35911,9 @@ func (o *NavigationMesh) GetAgentMaxSlope() float64 { func (o *NavigationMesh) GetAgentRadius() float64 { log.Println("Calling NavigationMesh.GetAgentRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_agent_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_agent_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55006,16 +35924,9 @@ func (o *NavigationMesh) GetAgentRadius() float64 { func (o *NavigationMesh) GetCellHeight() float64 { log.Println("Calling NavigationMesh.GetCellHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_cell_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55026,16 +35937,9 @@ func (o *NavigationMesh) GetCellHeight() float64 { func (o *NavigationMesh) GetCellSize() float64 { log.Println("Calling NavigationMesh.GetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55046,16 +35950,9 @@ func (o *NavigationMesh) GetCellSize() float64 { func (o *NavigationMesh) GetDetailSampleDistance() float64 { log.Println("Calling NavigationMesh.GetDetailSampleDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_detail_sample_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_detail_sample_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55066,16 +35963,9 @@ func (o *NavigationMesh) GetDetailSampleDistance() float64 { func (o *NavigationMesh) GetDetailSampleMaxError() float64 { log.Println("Calling NavigationMesh.GetDetailSampleMaxError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_detail_sample_max_error", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_detail_sample_max_error") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55086,16 +35976,9 @@ func (o *NavigationMesh) GetDetailSampleMaxError() float64 { func (o *NavigationMesh) GetEdgeMaxError() float64 { log.Println("Calling NavigationMesh.GetEdgeMaxError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_max_error", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_edge_max_error") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55106,16 +35989,9 @@ func (o *NavigationMesh) GetEdgeMaxError() float64 { func (o *NavigationMesh) GetEdgeMaxLength() float64 { log.Println("Calling NavigationMesh.GetEdgeMaxLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edge_max_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_edge_max_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55126,16 +36002,9 @@ func (o *NavigationMesh) GetEdgeMaxLength() float64 { func (o *NavigationMesh) GetFilterLedgeSpans() bool { log.Println("Calling NavigationMesh.GetFilterLedgeSpans()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filter_ledge_spans", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_filter_ledge_spans") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55146,16 +36015,9 @@ func (o *NavigationMesh) GetFilterLedgeSpans() bool { func (o *NavigationMesh) GetFilterLowHangingObstacles() bool { log.Println("Calling NavigationMesh.GetFilterLowHangingObstacles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filter_low_hanging_obstacles", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_filter_low_hanging_obstacles") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55166,16 +36028,9 @@ func (o *NavigationMesh) GetFilterLowHangingObstacles() bool { func (o *NavigationMesh) GetFilterWalkableLowHeightSpans() bool { log.Println("Calling NavigationMesh.GetFilterWalkableLowHeightSpans()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filter_walkable_low_height_spans", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_filter_walkable_low_height_spans") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55186,17 +36041,9 @@ func (o *NavigationMesh) GetFilterWalkableLowHeightSpans() bool { func (o *NavigationMesh) GetPolygon(idx int64) *PoolIntArray { log.Println("Calling NavigationMesh.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_polygon", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55207,16 +36054,9 @@ func (o *NavigationMesh) GetPolygon(idx int64) *PoolIntArray { func (o *NavigationMesh) GetPolygonCount() int64 { log.Println("Calling NavigationMesh.GetPolygonCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_polygon_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55227,16 +36067,9 @@ func (o *NavigationMesh) GetPolygonCount() int64 { func (o *NavigationMesh) GetRegionMergeSize() float64 { log.Println("Calling NavigationMesh.GetRegionMergeSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_merge_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_region_merge_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55247,16 +36080,9 @@ func (o *NavigationMesh) GetRegionMergeSize() float64 { func (o *NavigationMesh) GetRegionMinSize() float64 { log.Println("Calling NavigationMesh.GetRegionMinSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_min_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_region_min_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55267,16 +36093,9 @@ func (o *NavigationMesh) GetRegionMinSize() float64 { func (o *NavigationMesh) GetSamplePartitionType() int64 { log.Println("Calling NavigationMesh.GetSamplePartitionType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sample_partition_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_sample_partition_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55287,16 +36106,9 @@ func (o *NavigationMesh) GetSamplePartitionType() int64 { func (o *NavigationMesh) GetVertices() *PoolVector3Array { log.Println("Calling NavigationMesh.GetVertices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertices", goArguments, "*PoolVector3Array") - - returnValue := goRet.Interface().(*PoolVector3Array) - + returnValue := godotCallPoolVector3Array(o, "get_vertices") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55307,16 +36119,9 @@ func (o *NavigationMesh) GetVertices() *PoolVector3Array { func (o *NavigationMesh) GetVertsPerPoly() float64 { log.Println("Calling NavigationMesh.GetVertsPerPoly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_verts_per_poly", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_verts_per_poly") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55327,14 +36132,7 @@ func (o *NavigationMesh) GetVertsPerPoly() float64 { func (o *NavigationMesh) SetAgentHeight(agentHeight float64) { log.Println("Calling NavigationMesh.SetAgentHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(agentHeight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_agent_height", goArguments, "") - + godotCallVoidFloat(o, "set_agent_height", agentHeight) log.Println(" Function successfully completed.") } @@ -55345,14 +36143,7 @@ func (o *NavigationMesh) SetAgentHeight(agentHeight float64) { func (o *NavigationMesh) SetAgentMaxClimb(agentMaxClimb float64) { log.Println("Calling NavigationMesh.SetAgentMaxClimb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(agentMaxClimb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_agent_max_climb", goArguments, "") - + godotCallVoidFloat(o, "set_agent_max_climb", agentMaxClimb) log.Println(" Function successfully completed.") } @@ -55363,14 +36154,7 @@ func (o *NavigationMesh) SetAgentMaxClimb(agentMaxClimb float64) { func (o *NavigationMesh) SetAgentMaxSlope(agentMaxSlope float64) { log.Println("Calling NavigationMesh.SetAgentMaxSlope()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(agentMaxSlope) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_agent_max_slope", goArguments, "") - + godotCallVoidFloat(o, "set_agent_max_slope", agentMaxSlope) log.Println(" Function successfully completed.") } @@ -55381,14 +36165,7 @@ func (o *NavigationMesh) SetAgentMaxSlope(agentMaxSlope float64) { func (o *NavigationMesh) SetAgentRadius(agentRadius float64) { log.Println("Calling NavigationMesh.SetAgentRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(agentRadius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_agent_radius", goArguments, "") - + godotCallVoidFloat(o, "set_agent_radius", agentRadius) log.Println(" Function successfully completed.") } @@ -55399,14 +36176,7 @@ func (o *NavigationMesh) SetAgentRadius(agentRadius float64) { func (o *NavigationMesh) SetCellHeight(cellHeight float64) { log.Println("Calling NavigationMesh.SetCellHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cellHeight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_height", goArguments, "") - + godotCallVoidFloat(o, "set_cell_height", cellHeight) log.Println(" Function successfully completed.") } @@ -55417,14 +36187,7 @@ func (o *NavigationMesh) SetCellHeight(cellHeight float64) { func (o *NavigationMesh) SetCellSize(cellSize float64) { log.Println("Calling NavigationMesh.SetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cellSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_size", goArguments, "") - + godotCallVoidFloat(o, "set_cell_size", cellSize) log.Println(" Function successfully completed.") } @@ -55435,14 +36198,7 @@ func (o *NavigationMesh) SetCellSize(cellSize float64) { func (o *NavigationMesh) SetDetailSampleDistance(detailSampleDist float64) { log.Println("Calling NavigationMesh.SetDetailSampleDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detailSampleDist) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_detail_sample_distance", goArguments, "") - + godotCallVoidFloat(o, "set_detail_sample_distance", detailSampleDist) log.Println(" Function successfully completed.") } @@ -55453,14 +36209,7 @@ func (o *NavigationMesh) SetDetailSampleDistance(detailSampleDist float64) { func (o *NavigationMesh) SetDetailSampleMaxError(detailSampleMaxError float64) { log.Println("Calling NavigationMesh.SetDetailSampleMaxError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detailSampleMaxError) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_detail_sample_max_error", goArguments, "") - + godotCallVoidFloat(o, "set_detail_sample_max_error", detailSampleMaxError) log.Println(" Function successfully completed.") } @@ -55471,14 +36220,7 @@ func (o *NavigationMesh) SetDetailSampleMaxError(detailSampleMaxError float64) { func (o *NavigationMesh) SetEdgeMaxError(edgeMaxError float64) { log.Println("Calling NavigationMesh.SetEdgeMaxError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(edgeMaxError) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edge_max_error", goArguments, "") - + godotCallVoidFloat(o, "set_edge_max_error", edgeMaxError) log.Println(" Function successfully completed.") } @@ -55489,14 +36231,7 @@ func (o *NavigationMesh) SetEdgeMaxError(edgeMaxError float64) { func (o *NavigationMesh) SetEdgeMaxLength(edgeMaxLength float64) { log.Println("Calling NavigationMesh.SetEdgeMaxLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(edgeMaxLength) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edge_max_length", goArguments, "") - + godotCallVoidFloat(o, "set_edge_max_length", edgeMaxLength) log.Println(" Function successfully completed.") } @@ -55507,14 +36242,7 @@ func (o *NavigationMesh) SetEdgeMaxLength(edgeMaxLength float64) { func (o *NavigationMesh) SetFilterLedgeSpans(filterLedgeSpans bool) { log.Println("Calling NavigationMesh.SetFilterLedgeSpans()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filterLedgeSpans) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filter_ledge_spans", goArguments, "") - + godotCallVoidBool(o, "set_filter_ledge_spans", filterLedgeSpans) log.Println(" Function successfully completed.") } @@ -55525,14 +36253,7 @@ func (o *NavigationMesh) SetFilterLedgeSpans(filterLedgeSpans bool) { func (o *NavigationMesh) SetFilterLowHangingObstacles(filterLowHangingObstacles bool) { log.Println("Calling NavigationMesh.SetFilterLowHangingObstacles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filterLowHangingObstacles) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filter_low_hanging_obstacles", goArguments, "") - + godotCallVoidBool(o, "set_filter_low_hanging_obstacles", filterLowHangingObstacles) log.Println(" Function successfully completed.") } @@ -55543,14 +36264,7 @@ func (o *NavigationMesh) SetFilterLowHangingObstacles(filterLowHangingObstacles func (o *NavigationMesh) SetFilterWalkableLowHeightSpans(filterWalkableLowHeightSpans bool) { log.Println("Calling NavigationMesh.SetFilterWalkableLowHeightSpans()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filterWalkableLowHeightSpans) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filter_walkable_low_height_spans", goArguments, "") - + godotCallVoidBool(o, "set_filter_walkable_low_height_spans", filterWalkableLowHeightSpans) log.Println(" Function successfully completed.") } @@ -55561,14 +36275,7 @@ func (o *NavigationMesh) SetFilterWalkableLowHeightSpans(filterWalkableLowHeight func (o *NavigationMesh) SetRegionMergeSize(regionMergeSize float64) { log.Println("Calling NavigationMesh.SetRegionMergeSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(regionMergeSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_merge_size", goArguments, "") - + godotCallVoidFloat(o, "set_region_merge_size", regionMergeSize) log.Println(" Function successfully completed.") } @@ -55579,14 +36286,7 @@ func (o *NavigationMesh) SetRegionMergeSize(regionMergeSize float64) { func (o *NavigationMesh) SetRegionMinSize(regionMinSize float64) { log.Println("Calling NavigationMesh.SetRegionMinSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(regionMinSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_min_size", goArguments, "") - + godotCallVoidFloat(o, "set_region_min_size", regionMinSize) log.Println(" Function successfully completed.") } @@ -55597,14 +36297,7 @@ func (o *NavigationMesh) SetRegionMinSize(regionMinSize float64) { func (o *NavigationMesh) SetSamplePartitionType(samplePartitionType int64) { log.Println("Calling NavigationMesh.SetSamplePartitionType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(samplePartitionType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sample_partition_type", goArguments, "") - + godotCallVoidInt(o, "set_sample_partition_type", samplePartitionType) log.Println(" Function successfully completed.") } @@ -55615,14 +36308,7 @@ func (o *NavigationMesh) SetSamplePartitionType(samplePartitionType int64) { func (o *NavigationMesh) SetVertices(vertices *PoolVector3Array) { log.Println("Calling NavigationMesh.SetVertices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertices) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertices", goArguments, "") - + godotCallVoidPoolVector3Array(o, "set_vertices", vertices) log.Println(" Function successfully completed.") } @@ -55633,14 +36319,7 @@ func (o *NavigationMesh) SetVertices(vertices *PoolVector3Array) { func (o *NavigationMesh) SetVertsPerPoly(vertsPerPoly float64) { log.Println("Calling NavigationMesh.SetVertsPerPoly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertsPerPoly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_verts_per_poly", goArguments, "") - + godotCallVoidFloat(o, "set_verts_per_poly", vertsPerPoly) log.Println(" Function successfully completed.") } @@ -55669,17 +36348,12 @@ func (o *NavigationMeshInstance) baseClass() string { func (o *NavigationMeshInstance) GetNavigationMesh() *NavigationMesh { log.Println("Calling NavigationMeshInstance.GetNavigationMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_navigation_mesh", goArguments, "*NavigationMesh") - - returnValue := goRet.Interface().(*NavigationMesh) - + returnValue := godotCallObject(o, "get_navigation_mesh") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret NavigationMesh + ret.owner = returnValue.owner + return &ret } @@ -55689,16 +36363,9 @@ func (o *NavigationMeshInstance) GetNavigationMesh() *NavigationMesh { func (o *NavigationMeshInstance) IsEnabled() bool { log.Println("Calling NavigationMeshInstance.IsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55709,14 +36376,7 @@ func (o *NavigationMeshInstance) IsEnabled() bool { func (o *NavigationMeshInstance) SetEnabled(enabled bool) { log.Println("Calling NavigationMeshInstance.SetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled", goArguments, "") - + godotCallVoidBool(o, "set_enabled", enabled) log.Println(" Function successfully completed.") } @@ -55727,14 +36387,7 @@ func (o *NavigationMeshInstance) SetEnabled(enabled bool) { func (o *NavigationMeshInstance) SetNavigationMesh(navmesh *NavigationMesh) { log.Println("Calling NavigationMeshInstance.SetNavigationMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(navmesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_navigation_mesh", goArguments, "") - + godotCallVoidObject(o, "set_navigation_mesh", &navmesh.Object) log.Println(" Function successfully completed.") } @@ -55763,16 +36416,9 @@ func (o *NavigationPolygon) baseClass() string { func (o *NavigationPolygon) X_GetOutlines() *Array { log.Println("Calling NavigationPolygon.X_GetOutlines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_outlines", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_outlines") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55783,16 +36429,9 @@ func (o *NavigationPolygon) X_GetOutlines() *Array { func (o *NavigationPolygon) X_GetPolygons() *Array { log.Println("Calling NavigationPolygon.X_GetPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_polygons", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_polygons") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55803,14 +36442,7 @@ func (o *NavigationPolygon) X_GetPolygons() *Array { func (o *NavigationPolygon) X_SetOutlines(outlines *Array) { log.Println("Calling NavigationPolygon.X_SetOutlines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(outlines) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_outlines", goArguments, "") - + godotCallVoidArray(o, "_set_outlines", outlines) log.Println(" Function successfully completed.") } @@ -55821,14 +36453,7 @@ func (o *NavigationPolygon) X_SetOutlines(outlines *Array) { func (o *NavigationPolygon) X_SetPolygons(polygons *Array) { log.Println("Calling NavigationPolygon.X_SetPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygons) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_polygons", goArguments, "") - + godotCallVoidArray(o, "_set_polygons", polygons) log.Println(" Function successfully completed.") } @@ -55839,14 +36464,7 @@ func (o *NavigationPolygon) X_SetPolygons(polygons *Array) { func (o *NavigationPolygon) AddOutline(outline *PoolVector2Array) { log.Println("Calling NavigationPolygon.AddOutline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(outline) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_outline", goArguments, "") - + godotCallVoidPoolVector2Array(o, "add_outline", outline) log.Println(" Function successfully completed.") } @@ -55857,15 +36475,7 @@ func (o *NavigationPolygon) AddOutline(outline *PoolVector2Array) { func (o *NavigationPolygon) AddOutlineAtIndex(outline *PoolVector2Array, index int64) { log.Println("Calling NavigationPolygon.AddOutlineAtIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(outline) - goArguments[1] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_outline_at_index", goArguments, "") - + godotCallVoidPoolVector2ArrayInt(o, "add_outline_at_index", outline, index) log.Println(" Function successfully completed.") } @@ -55876,14 +36486,7 @@ func (o *NavigationPolygon) AddOutlineAtIndex(outline *PoolVector2Array, index i func (o *NavigationPolygon) AddPolygon(polygon *PoolIntArray) { log.Println("Calling NavigationPolygon.AddPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_polygon", goArguments, "") - + godotCallVoidPoolIntArray(o, "add_polygon", polygon) log.Println(" Function successfully completed.") } @@ -55894,13 +36497,7 @@ func (o *NavigationPolygon) AddPolygon(polygon *PoolIntArray) { func (o *NavigationPolygon) ClearOutlines() { log.Println("Calling NavigationPolygon.ClearOutlines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_outlines", goArguments, "") - + godotCallVoid(o, "clear_outlines") log.Println(" Function successfully completed.") } @@ -55911,13 +36508,7 @@ func (o *NavigationPolygon) ClearOutlines() { func (o *NavigationPolygon) ClearPolygons() { log.Println("Calling NavigationPolygon.ClearPolygons()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_polygons", goArguments, "") - + godotCallVoid(o, "clear_polygons") log.Println(" Function successfully completed.") } @@ -55928,17 +36519,9 @@ func (o *NavigationPolygon) ClearPolygons() { func (o *NavigationPolygon) GetOutline(idx int64) *PoolVector2Array { log.Println("Calling NavigationPolygon.GetOutline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_outline", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2ArrayInt(o, "get_outline", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55949,16 +36532,9 @@ func (o *NavigationPolygon) GetOutline(idx int64) *PoolVector2Array { func (o *NavigationPolygon) GetOutlineCount() int64 { log.Println("Calling NavigationPolygon.GetOutlineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_outline_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_outline_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55969,17 +36545,9 @@ func (o *NavigationPolygon) GetOutlineCount() int64 { func (o *NavigationPolygon) GetPolygon(idx int64) *PoolIntArray { log.Println("Calling NavigationPolygon.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayInt(o, "get_polygon", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -55990,16 +36558,9 @@ func (o *NavigationPolygon) GetPolygon(idx int64) *PoolIntArray { func (o *NavigationPolygon) GetPolygonCount() int64 { log.Println("Calling NavigationPolygon.GetPolygonCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_polygon_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56010,16 +36571,9 @@ func (o *NavigationPolygon) GetPolygonCount() int64 { func (o *NavigationPolygon) GetVertices() *PoolVector2Array { log.Println("Calling NavigationPolygon.GetVertices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertices", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_vertices") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56030,13 +36584,7 @@ func (o *NavigationPolygon) GetVertices() *PoolVector2Array { func (o *NavigationPolygon) MakePolygonsFromOutlines() { log.Println("Calling NavigationPolygon.MakePolygonsFromOutlines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "make_polygons_from_outlines", goArguments, "") - + godotCallVoid(o, "make_polygons_from_outlines") log.Println(" Function successfully completed.") } @@ -56047,14 +36595,7 @@ func (o *NavigationPolygon) MakePolygonsFromOutlines() { func (o *NavigationPolygon) RemoveOutline(idx int64) { log.Println("Calling NavigationPolygon.RemoveOutline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_outline", goArguments, "") - + godotCallVoidInt(o, "remove_outline", idx) log.Println(" Function successfully completed.") } @@ -56065,15 +36606,7 @@ func (o *NavigationPolygon) RemoveOutline(idx int64) { func (o *NavigationPolygon) SetOutline(idx int64, outline *PoolVector2Array) { log.Println("Calling NavigationPolygon.SetOutline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(outline) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_outline", goArguments, "") - + godotCallVoidIntPoolVector2Array(o, "set_outline", idx, outline) log.Println(" Function successfully completed.") } @@ -56084,14 +36617,7 @@ func (o *NavigationPolygon) SetOutline(idx int64, outline *PoolVector2Array) { func (o *NavigationPolygon) SetVertices(vertices *PoolVector2Array) { log.Println("Calling NavigationPolygon.SetVertices()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertices) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertices", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_vertices", vertices) log.Println(" Function successfully completed.") } @@ -56120,13 +36646,7 @@ func (o *NavigationPolygonInstance) baseClass() string { func (o *NavigationPolygonInstance) X_NavpolyChanged() { log.Println("Calling NavigationPolygonInstance.X_NavpolyChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_navpoly_changed", goArguments, "") - + godotCallVoid(o, "_navpoly_changed") log.Println(" Function successfully completed.") } @@ -56137,17 +36657,12 @@ func (o *NavigationPolygonInstance) X_NavpolyChanged() { func (o *NavigationPolygonInstance) GetNavigationPolygon() *NavigationPolygon { log.Println("Calling NavigationPolygonInstance.GetNavigationPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_navigation_polygon", goArguments, "*NavigationPolygon") - - returnValue := goRet.Interface().(*NavigationPolygon) - + returnValue := godotCallObject(o, "get_navigation_polygon") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret NavigationPolygon + ret.owner = returnValue.owner + return &ret } @@ -56157,16 +36672,9 @@ func (o *NavigationPolygonInstance) GetNavigationPolygon() *NavigationPolygon { func (o *NavigationPolygonInstance) IsEnabled() bool { log.Println("Calling NavigationPolygonInstance.IsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56177,14 +36685,7 @@ func (o *NavigationPolygonInstance) IsEnabled() bool { func (o *NavigationPolygonInstance) SetEnabled(enabled bool) { log.Println("Calling NavigationPolygonInstance.SetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled", goArguments, "") - + godotCallVoidBool(o, "set_enabled", enabled) log.Println(" Function successfully completed.") } @@ -56195,14 +36696,7 @@ func (o *NavigationPolygonInstance) SetEnabled(enabled bool) { func (o *NavigationPolygonInstance) SetNavigationPolygon(navpoly *NavigationPolygon) { log.Println("Calling NavigationPolygonInstance.SetNavigationPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(navpoly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_navigation_polygon", goArguments, "") - + godotCallVoidObject(o, "set_navigation_polygon", &navpoly.Object) log.Println(" Function successfully completed.") } @@ -56231,13 +36725,7 @@ func (o *NetworkedMultiplayerENet) baseClass() string { func (o *NetworkedMultiplayerENet) CloseConnection() { log.Println("Calling NetworkedMultiplayerENet.CloseConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "close_connection", goArguments, "") - + godotCallVoid(o, "close_connection") log.Println(" Function successfully completed.") } @@ -56248,20 +36736,9 @@ func (o *NetworkedMultiplayerENet) CloseConnection() { func (o *NetworkedMultiplayerENet) CreateClient(ip string, port int64, inBandwidth int64, outBandwidth int64) int64 { log.Println("Calling NetworkedMultiplayerENet.CreateClient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(ip) - goArguments[1] = reflect.ValueOf(port) - goArguments[2] = reflect.ValueOf(inBandwidth) - goArguments[3] = reflect.ValueOf(outBandwidth) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_client", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringIntIntInt(o, "create_client", ip, port, inBandwidth, outBandwidth) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56272,20 +36749,9 @@ func (o *NetworkedMultiplayerENet) CreateClient(ip string, port int64, inBandwid func (o *NetworkedMultiplayerENet) CreateServer(port int64, maxClients int64, inBandwidth int64, outBandwidth int64) int64 { log.Println("Calling NetworkedMultiplayerENet.CreateServer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(port) - goArguments[1] = reflect.ValueOf(maxClients) - goArguments[2] = reflect.ValueOf(inBandwidth) - goArguments[3] = reflect.ValueOf(outBandwidth) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_server", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntIntIntInt(o, "create_server", port, maxClients, inBandwidth, outBandwidth) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56296,16 +36762,9 @@ func (o *NetworkedMultiplayerENet) CreateServer(port int64, maxClients int64, in func (o *NetworkedMultiplayerENet) GetCompressionMode() int64 { log.Println("Calling NetworkedMultiplayerENet.GetCompressionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_compression_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_compression_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56316,14 +36775,7 @@ func (o *NetworkedMultiplayerENet) GetCompressionMode() int64 { func (o *NetworkedMultiplayerENet) SetBindIp(ip string) { log.Println("Calling NetworkedMultiplayerENet.SetBindIp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bind_ip", goArguments, "") - + godotCallVoidString(o, "set_bind_ip", ip) log.Println(" Function successfully completed.") } @@ -56334,14 +36786,7 @@ func (o *NetworkedMultiplayerENet) SetBindIp(ip string) { func (o *NetworkedMultiplayerENet) SetCompressionMode(mode int64) { log.Println("Calling NetworkedMultiplayerENet.SetCompressionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_compression_mode", goArguments, "") - + godotCallVoidInt(o, "set_compression_mode", mode) log.Println(" Function successfully completed.") } @@ -56370,16 +36815,9 @@ func (o *NetworkedMultiplayerPeer) baseClass() string { func (o *NetworkedMultiplayerPeer) GetConnectionStatus() int64 { log.Println("Calling NetworkedMultiplayerPeer.GetConnectionStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_connection_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56390,16 +36828,9 @@ func (o *NetworkedMultiplayerPeer) GetConnectionStatus() int64 { func (o *NetworkedMultiplayerPeer) GetPacketPeer() int64 { log.Println("Calling NetworkedMultiplayerPeer.GetPacketPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_packet_peer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_packet_peer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56410,16 +36841,9 @@ func (o *NetworkedMultiplayerPeer) GetPacketPeer() int64 { func (o *NetworkedMultiplayerPeer) GetTransferMode() int64 { log.Println("Calling NetworkedMultiplayerPeer.GetTransferMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transfer_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_transfer_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56430,16 +36854,9 @@ func (o *NetworkedMultiplayerPeer) GetTransferMode() int64 { func (o *NetworkedMultiplayerPeer) GetUniqueId() int64 { log.Println("Calling NetworkedMultiplayerPeer.GetUniqueId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unique_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_unique_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56450,16 +36867,9 @@ func (o *NetworkedMultiplayerPeer) GetUniqueId() int64 { func (o *NetworkedMultiplayerPeer) IsRefusingNewConnections() bool { log.Println("Calling NetworkedMultiplayerPeer.IsRefusingNewConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_refusing_new_connections", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_refusing_new_connections") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56470,13 +36880,7 @@ func (o *NetworkedMultiplayerPeer) IsRefusingNewConnections() bool { func (o *NetworkedMultiplayerPeer) Poll() { log.Println("Calling NetworkedMultiplayerPeer.Poll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "poll", goArguments, "") - + godotCallVoid(o, "poll") log.Println(" Function successfully completed.") } @@ -56487,14 +36891,7 @@ func (o *NetworkedMultiplayerPeer) Poll() { func (o *NetworkedMultiplayerPeer) SetRefuseNewConnections(enable bool) { log.Println("Calling NetworkedMultiplayerPeer.SetRefuseNewConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_refuse_new_connections", goArguments, "") - + godotCallVoidBool(o, "set_refuse_new_connections", enable) log.Println(" Function successfully completed.") } @@ -56505,14 +36902,7 @@ func (o *NetworkedMultiplayerPeer) SetRefuseNewConnections(enable bool) { func (o *NetworkedMultiplayerPeer) SetTargetPeer(id int64) { log.Println("Calling NetworkedMultiplayerPeer.SetTargetPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_target_peer", goArguments, "") - + godotCallVoidInt(o, "set_target_peer", id) log.Println(" Function successfully completed.") } @@ -56523,14 +36913,7 @@ func (o *NetworkedMultiplayerPeer) SetTargetPeer(id int64) { func (o *NetworkedMultiplayerPeer) SetTransferMode(mode int64) { log.Println("Calling NetworkedMultiplayerPeer.SetTransferMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transfer_mode", goArguments, "") - + godotCallVoidInt(o, "set_transfer_mode", mode) log.Println(" Function successfully completed.") } @@ -56559,16 +36942,9 @@ func (o *NinePatchRect) baseClass() string { func (o *NinePatchRect) GetHAxisStretchMode() int64 { log.Println("Calling NinePatchRect.GetHAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_axis_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_axis_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56579,17 +36955,9 @@ func (o *NinePatchRect) GetHAxisStretchMode() int64 { func (o *NinePatchRect) GetPatchMargin(margin int64) int64 { log.Println("Calling NinePatchRect.GetPatchMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_patch_margin", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_patch_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56600,16 +36968,9 @@ func (o *NinePatchRect) GetPatchMargin(margin int64) int64 { func (o *NinePatchRect) GetRegionRect() *Rect2 { log.Println("Calling NinePatchRect.GetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_region_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56620,17 +36981,12 @@ func (o *NinePatchRect) GetRegionRect() *Rect2 { func (o *NinePatchRect) GetTexture() *Texture { log.Println("Calling NinePatchRect.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -56640,16 +36996,9 @@ func (o *NinePatchRect) GetTexture() *Texture { func (o *NinePatchRect) GetVAxisStretchMode() int64 { log.Println("Calling NinePatchRect.GetVAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_axis_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_axis_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56660,16 +37009,9 @@ func (o *NinePatchRect) GetVAxisStretchMode() int64 { func (o *NinePatchRect) IsDrawCenterEnabled() bool { log.Println("Calling NinePatchRect.IsDrawCenterEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_draw_center_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_draw_center_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56680,14 +37022,7 @@ func (o *NinePatchRect) IsDrawCenterEnabled() bool { func (o *NinePatchRect) SetDrawCenter(drawCenter bool) { log.Println("Calling NinePatchRect.SetDrawCenter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(drawCenter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_center", goArguments, "") - + godotCallVoidBool(o, "set_draw_center", drawCenter) log.Println(" Function successfully completed.") } @@ -56698,14 +37033,7 @@ func (o *NinePatchRect) SetDrawCenter(drawCenter bool) { func (o *NinePatchRect) SetHAxisStretchMode(mode int64) { log.Println("Calling NinePatchRect.SetHAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_axis_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_h_axis_stretch_mode", mode) log.Println(" Function successfully completed.") } @@ -56716,15 +37044,7 @@ func (o *NinePatchRect) SetHAxisStretchMode(mode int64) { func (o *NinePatchRect) SetPatchMargin(margin int64, value int64) { log.Println("Calling NinePatchRect.SetPatchMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_patch_margin", goArguments, "") - + godotCallVoidIntInt(o, "set_patch_margin", margin, value) log.Println(" Function successfully completed.") } @@ -56735,14 +37055,7 @@ func (o *NinePatchRect) SetPatchMargin(margin int64, value int64) { func (o *NinePatchRect) SetRegionRect(rect *Rect2) { log.Println("Calling NinePatchRect.SetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_rect", goArguments, "") - + godotCallVoidRect2(o, "set_region_rect", rect) log.Println(" Function successfully completed.") } @@ -56753,14 +37066,7 @@ func (o *NinePatchRect) SetRegionRect(rect *Rect2) { func (o *NinePatchRect) SetTexture(texture *Texture) { log.Println("Calling NinePatchRect.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -56771,14 +37077,7 @@ func (o *NinePatchRect) SetTexture(texture *Texture) { func (o *NinePatchRect) SetVAxisStretchMode(mode int64) { log.Println("Calling NinePatchRect.SetVAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_axis_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_v_axis_stretch_mode", mode) log.Println(" Function successfully completed.") } @@ -56807,13 +37106,7 @@ func (o *Node) baseClass() string { func (o *Node) X_EnterTree() { log.Println("Calling Node.X_EnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_enter_tree", goArguments, "") - + godotCallVoid(o, "_enter_tree") log.Println(" Function successfully completed.") } @@ -56824,13 +37117,7 @@ func (o *Node) X_EnterTree() { func (o *Node) X_ExitTree() { log.Println("Calling Node.X_ExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_exit_tree", goArguments, "") - + godotCallVoid(o, "_exit_tree") log.Println(" Function successfully completed.") } @@ -56841,16 +37128,9 @@ func (o *Node) X_ExitTree() { func (o *Node) X_GetImportPath() *NodePath { log.Println("Calling Node.X_GetImportPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_import_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "_get_import_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -56861,14 +37141,7 @@ func (o *Node) X_GetImportPath() *NodePath { func (o *Node) X_Input(event *InputEvent) { log.Println("Calling Node.X_Input()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input", goArguments, "") - + godotCallVoidObject(o, "_input", &event.Object) log.Println(" Function successfully completed.") } @@ -56879,14 +37152,7 @@ func (o *Node) X_Input(event *InputEvent) { func (o *Node) X_PhysicsProcess(delta float64) { log.Println("Calling Node.X_PhysicsProcess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_physics_process", goArguments, "") - + godotCallVoidFloat(o, "_physics_process", delta) log.Println(" Function successfully completed.") } @@ -56897,14 +37163,7 @@ func (o *Node) X_PhysicsProcess(delta float64) { func (o *Node) X_Process(delta float64) { log.Println("Calling Node.X_Process()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(delta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_process", goArguments, "") - + godotCallVoidFloat(o, "_process", delta) log.Println(" Function successfully completed.") } @@ -56915,13 +37174,7 @@ func (o *Node) X_Process(delta float64) { func (o *Node) X_Ready() { log.Println("Calling Node.X_Ready()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_ready", goArguments, "") - + godotCallVoid(o, "_ready") log.Println(" Function successfully completed.") } @@ -56932,14 +37185,7 @@ func (o *Node) X_Ready() { func (o *Node) X_SetImportPath(importPath *NodePath) { log.Println("Calling Node.X_SetImportPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(importPath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_import_path", goArguments, "") - + godotCallVoidNodePath(o, "_set_import_path", importPath) log.Println(" Function successfully completed.") } @@ -56950,14 +37196,7 @@ func (o *Node) X_SetImportPath(importPath *NodePath) { func (o *Node) X_UnhandledInput(event *InputEvent) { log.Println("Calling Node.X_UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_input", &event.Object) log.Println(" Function successfully completed.") } @@ -56968,14 +37207,7 @@ func (o *Node) X_UnhandledInput(event *InputEvent) { func (o *Node) X_UnhandledKeyInput(event *InputEventKey) { log.Println("Calling Node.X_UnhandledKeyInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_key_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_key_input", &event.Object) log.Println(" Function successfully completed.") } @@ -56986,15 +37218,7 @@ func (o *Node) X_UnhandledKeyInput(event *InputEventKey) { func (o *Node) AddChild(node *Object, legibleUniqueName bool) { log.Println("Calling Node.AddChild()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(node) - goArguments[1] = reflect.ValueOf(legibleUniqueName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_child", goArguments, "") - + godotCallVoidObjectBool(o, "add_child", node, legibleUniqueName) log.Println(" Function successfully completed.") } @@ -57005,16 +37229,7 @@ func (o *Node) AddChild(node *Object, legibleUniqueName bool) { func (o *Node) AddChildBelowNode(node *Object, childNode *Object, legibleUniqueName bool) { log.Println("Calling Node.AddChildBelowNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(node) - goArguments[1] = reflect.ValueOf(childNode) - goArguments[2] = reflect.ValueOf(legibleUniqueName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_child_below_node", goArguments, "") - + godotCallVoidObjectObjectBool(o, "add_child_below_node", node, childNode, legibleUniqueName) log.Println(" Function successfully completed.") } @@ -57025,15 +37240,7 @@ func (o *Node) AddChildBelowNode(node *Object, childNode *Object, legibleUniqueN func (o *Node) AddToGroup(group string, persistent bool) { log.Println("Calling Node.AddToGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(group) - goArguments[1] = reflect.ValueOf(persistent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_to_group", goArguments, "") - + godotCallVoidStringBool(o, "add_to_group", group, persistent) log.Println(" Function successfully completed.") } @@ -57044,16 +37251,9 @@ func (o *Node) AddToGroup(group string, persistent bool) { func (o *Node) CanProcess() bool { log.Println("Calling Node.CanProcess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_process", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "can_process") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57064,18 +37264,12 @@ func (o *Node) CanProcess() bool { func (o *Node) Duplicate(flags int64) *Node { log.Println("Calling Node.Duplicate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "duplicate", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectInt(o, "duplicate", flags) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57085,20 +37279,12 @@ func (o *Node) Duplicate(flags int64) *Node { func (o *Node) FindNode(mask string, recursive bool, owned bool) *Node { log.Println("Calling Node.FindNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mask) - goArguments[1] = reflect.ValueOf(recursive) - goArguments[2] = reflect.ValueOf(owned) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_node", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectStringBoolBool(o, "find_node", mask, recursive, owned) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57108,18 +37294,12 @@ func (o *Node) FindNode(mask string, recursive bool, owned bool) *Node { func (o *Node) GetChild(idx int64) *Node { log.Println("Calling Node.GetChild()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_child", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectInt(o, "get_child", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57129,16 +37309,9 @@ func (o *Node) GetChild(idx int64) *Node { func (o *Node) GetChildCount() int64 { log.Println("Calling Node.GetChildCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_child_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_child_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57149,16 +37322,9 @@ func (o *Node) GetChildCount() int64 { func (o *Node) GetChildren() *Array { log.Println("Calling Node.GetChildren()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_children", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_children") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57169,16 +37335,9 @@ func (o *Node) GetChildren() *Array { func (o *Node) GetFilename() string { log.Println("Calling Node.GetFilename()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_filename", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_filename") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57189,16 +37348,9 @@ func (o *Node) GetFilename() string { func (o *Node) GetGroups() *Array { log.Println("Calling Node.GetGroups()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_groups", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_groups") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57209,16 +37361,9 @@ func (o *Node) GetGroups() *Array { func (o *Node) GetIndex() int64 { log.Println("Calling Node.GetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57229,16 +37374,9 @@ func (o *Node) GetIndex() int64 { func (o *Node) GetName() string { log.Println("Calling Node.GetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57249,16 +37387,9 @@ func (o *Node) GetName() string { func (o *Node) GetNetworkMaster() int64 { log.Println("Calling Node.GetNetworkMaster()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_network_master", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_network_master") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57269,18 +37400,12 @@ func (o *Node) GetNetworkMaster() int64 { func (o *Node) GetNode(path *NodePath) *Node { log.Println("Calling Node.GetNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectNodePath(o, "get_node", path) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57290,17 +37415,9 @@ func (o *Node) GetNode(path *NodePath) *Node { func (o *Node) GetNodeAndResource(path *NodePath) *Array { log.Println("Calling Node.GetNodeAndResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_and_resource", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayNodePath(o, "get_node_and_resource", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57311,17 +37428,12 @@ func (o *Node) GetNodeAndResource(path *NodePath) *Array { func (o *Node) GetOwner() *Node { log.Println("Calling Node.GetOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_owner", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_owner") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57331,17 +37443,12 @@ func (o *Node) GetOwner() *Node { func (o *Node) GetParent() *Node { log.Println("Calling Node.GetParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_parent") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -57351,16 +37458,9 @@ func (o *Node) GetParent() *Node { func (o *Node) GetPath() *NodePath { log.Println("Calling Node.GetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57371,17 +37471,9 @@ func (o *Node) GetPath() *NodePath { func (o *Node) GetPathTo(node *Object) *NodePath { log.Println("Calling Node.GetPathTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_path_to", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathObject(o, "get_path_to", node) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57392,16 +37484,9 @@ func (o *Node) GetPathTo(node *Object) *NodePath { func (o *Node) GetPauseMode() int64 { log.Println("Calling Node.GetPauseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pause_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_pause_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57412,16 +37497,9 @@ func (o *Node) GetPauseMode() int64 { func (o *Node) GetPhysicsProcessDeltaTime() float64 { log.Println("Calling Node.GetPhysicsProcessDeltaTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_physics_process_delta_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_physics_process_delta_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57432,16 +37510,9 @@ func (o *Node) GetPhysicsProcessDeltaTime() float64 { func (o *Node) GetPositionInParent() int64 { log.Println("Calling Node.GetPositionInParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position_in_parent", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_position_in_parent") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57452,16 +37523,9 @@ func (o *Node) GetPositionInParent() int64 { func (o *Node) GetProcessDeltaTime() float64 { log.Println("Calling Node.GetProcessDeltaTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_process_delta_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_process_delta_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57472,16 +37536,9 @@ func (o *Node) GetProcessDeltaTime() float64 { func (o *Node) GetSceneInstanceLoadPlaceholder() bool { log.Println("Calling Node.GetSceneInstanceLoadPlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scene_instance_load_placeholder", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_scene_instance_load_placeholder") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57492,17 +37549,12 @@ func (o *Node) GetSceneInstanceLoadPlaceholder() bool { func (o *Node) GetTree() *SceneTree { log.Println("Calling Node.GetTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tree", goArguments, "*SceneTree") - - returnValue := goRet.Interface().(*SceneTree) - + returnValue := godotCallObject(o, "get_tree") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SceneTree + ret.owner = returnValue.owner + return &ret } @@ -57512,17 +37564,12 @@ func (o *Node) GetTree() *SceneTree { func (o *Node) GetViewport() *Viewport { log.Println("Calling Node.GetViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_viewport", goArguments, "*Viewport") - - returnValue := goRet.Interface().(*Viewport) - + returnValue := godotCallObject(o, "get_viewport") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Viewport + ret.owner = returnValue.owner + return &ret } @@ -57532,17 +37579,9 @@ func (o *Node) GetViewport() *Viewport { func (o *Node) HasNode(path *NodePath) bool { log.Println("Calling Node.HasNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_node", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolNodePath(o, "has_node", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57553,17 +37592,9 @@ func (o *Node) HasNode(path *NodePath) bool { func (o *Node) HasNodeAndResource(path *NodePath) bool { log.Println("Calling Node.HasNodeAndResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_node_and_resource", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolNodePath(o, "has_node_and_resource", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57574,17 +37605,9 @@ func (o *Node) HasNodeAndResource(path *NodePath) bool { func (o *Node) IsAParentOf(node *Object) bool { log.Println("Calling Node.IsAParentOf()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_a_parent_of", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "is_a_parent_of", node) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57595,16 +37618,9 @@ func (o *Node) IsAParentOf(node *Object) bool { func (o *Node) IsDisplayedFolded() bool { log.Println("Calling Node.IsDisplayedFolded()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_displayed_folded", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_displayed_folded") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57615,17 +37631,9 @@ func (o *Node) IsDisplayedFolded() bool { func (o *Node) IsGreaterThan(node *Object) bool { log.Println("Calling Node.IsGreaterThan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_greater_than", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "is_greater_than", node) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57636,17 +37644,9 @@ func (o *Node) IsGreaterThan(node *Object) bool { func (o *Node) IsInGroup(group string) bool { log.Println("Calling Node.IsInGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(group) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_in_group", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_in_group", group) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57657,16 +37657,9 @@ func (o *Node) IsInGroup(group string) bool { func (o *Node) IsInsideTree() bool { log.Println("Calling Node.IsInsideTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_inside_tree", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_inside_tree") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57677,16 +37670,9 @@ func (o *Node) IsInsideTree() bool { func (o *Node) IsNetworkMaster() bool { log.Println("Calling Node.IsNetworkMaster()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_network_master", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_network_master") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57697,16 +37683,9 @@ func (o *Node) IsNetworkMaster() bool { func (o *Node) IsPhysicsProcessing() bool { log.Println("Calling Node.IsPhysicsProcessing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_physics_processing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_physics_processing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57717,16 +37696,9 @@ func (o *Node) IsPhysicsProcessing() bool { func (o *Node) IsPhysicsProcessingInternal() bool { log.Println("Calling Node.IsPhysicsProcessingInternal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_physics_processing_internal", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_physics_processing_internal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57737,16 +37709,9 @@ func (o *Node) IsPhysicsProcessingInternal() bool { func (o *Node) IsProcessing() bool { log.Println("Calling Node.IsProcessing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_processing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_processing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57757,16 +37722,9 @@ func (o *Node) IsProcessing() bool { func (o *Node) IsProcessingInput() bool { log.Println("Calling Node.IsProcessingInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_processing_input", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_processing_input") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57777,16 +37735,9 @@ func (o *Node) IsProcessingInput() bool { func (o *Node) IsProcessingInternal() bool { log.Println("Calling Node.IsProcessingInternal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_processing_internal", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_processing_internal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57797,16 +37748,9 @@ func (o *Node) IsProcessingInternal() bool { func (o *Node) IsProcessingUnhandledInput() bool { log.Println("Calling Node.IsProcessingUnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_processing_unhandled_input", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_processing_unhandled_input") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57817,16 +37761,9 @@ func (o *Node) IsProcessingUnhandledInput() bool { func (o *Node) IsProcessingUnhandledKeyInput() bool { log.Println("Calling Node.IsProcessingUnhandledKeyInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_processing_unhandled_key_input", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_processing_unhandled_key_input") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -57837,15 +37774,7 @@ func (o *Node) IsProcessingUnhandledKeyInput() bool { func (o *Node) MoveChild(childNode *Object, toPosition int64) { log.Println("Calling Node.MoveChild()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(childNode) - goArguments[1] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_child", goArguments, "") - + godotCallVoidObjectInt(o, "move_child", childNode, toPosition) log.Println(" Function successfully completed.") } @@ -57856,13 +37785,7 @@ func (o *Node) MoveChild(childNode *Object, toPosition int64) { func (o *Node) PrintStrayNodes() { log.Println("Calling Node.PrintStrayNodes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "print_stray_nodes", goArguments, "") - + godotCallVoid(o, "print_stray_nodes") log.Println(" Function successfully completed.") } @@ -57873,13 +37796,7 @@ func (o *Node) PrintStrayNodes() { func (o *Node) PrintTree() { log.Println("Calling Node.PrintTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "print_tree", goArguments, "") - + godotCallVoid(o, "print_tree") log.Println(" Function successfully completed.") } @@ -57890,16 +37807,7 @@ func (o *Node) PrintTree() { func (o *Node) PropagateCall(method string, args *Array, parentFirst bool) { log.Println("Calling Node.PropagateCall()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(method) - goArguments[1] = reflect.ValueOf(args) - goArguments[2] = reflect.ValueOf(parentFirst) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "propagate_call", goArguments, "") - + godotCallVoidStringArrayBool(o, "propagate_call", method, args, parentFirst) log.Println(" Function successfully completed.") } @@ -57910,14 +37818,7 @@ func (o *Node) PropagateCall(method string, args *Array, parentFirst bool) { func (o *Node) PropagateNotification(what int64) { log.Println("Calling Node.PropagateNotification()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(what) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "propagate_notification", goArguments, "") - + godotCallVoidInt(o, "propagate_notification", what) log.Println(" Function successfully completed.") } @@ -57928,13 +37829,7 @@ func (o *Node) PropagateNotification(what int64) { func (o *Node) QueueFree() { log.Println("Calling Node.QueueFree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_free", goArguments, "") - + godotCallVoid(o, "queue_free") log.Println(" Function successfully completed.") } @@ -57945,13 +37840,7 @@ func (o *Node) QueueFree() { func (o *Node) Raise() { log.Println("Calling Node.Raise()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "raise", goArguments, "") - + godotCallVoid(o, "raise") log.Println(" Function successfully completed.") } @@ -57962,13 +37851,7 @@ func (o *Node) Raise() { func (o *Node) RemoveAndSkip() { log.Println("Calling Node.RemoveAndSkip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_and_skip", goArguments, "") - + godotCallVoid(o, "remove_and_skip") log.Println(" Function successfully completed.") } @@ -57979,14 +37862,7 @@ func (o *Node) RemoveAndSkip() { func (o *Node) RemoveChild(node *Object) { log.Println("Calling Node.RemoveChild()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_child", goArguments, "") - + godotCallVoidObject(o, "remove_child", node) log.Println(" Function successfully completed.") } @@ -57997,14 +37873,7 @@ func (o *Node) RemoveChild(node *Object) { func (o *Node) RemoveFromGroup(group string) { log.Println("Calling Node.RemoveFromGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(group) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_from_group", goArguments, "") - + godotCallVoidString(o, "remove_from_group", group) log.Println(" Function successfully completed.") } @@ -58015,15 +37884,7 @@ func (o *Node) RemoveFromGroup(group string) { func (o *Node) ReplaceBy(node *Object, keepData bool) { log.Println("Calling Node.ReplaceBy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(node) - goArguments[1] = reflect.ValueOf(keepData) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "replace_by", goArguments, "") - + godotCallVoidObjectBool(o, "replace_by", node, keepData) log.Println(" Function successfully completed.") } @@ -58034,13 +37895,7 @@ func (o *Node) ReplaceBy(node *Object, keepData bool) { func (o *Node) RequestReady() { log.Println("Calling Node.RequestReady()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "request_ready", goArguments, "") - + godotCallVoid(o, "request_ready") log.Println(" Function successfully completed.") } @@ -58051,17 +37906,9 @@ func (o *Node) RequestReady() { func (o *Node) Rpc(method string) *Variant { log.Println("Calling Node.Rpc()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "rpc", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "rpc", method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58072,15 +37919,7 @@ func (o *Node) Rpc(method string) *Variant { func (o *Node) RpcConfig(method string, mode int64) { log.Println("Calling Node.RpcConfig()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(method) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rpc_config", goArguments, "") - + godotCallVoidStringInt(o, "rpc_config", method, mode) log.Println(" Function successfully completed.") } @@ -58091,18 +37930,9 @@ func (o *Node) RpcConfig(method string, mode int64) { func (o *Node) RpcId(peerId int64, method string) *Variant { log.Println("Calling Node.RpcId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(peerId) - goArguments[1] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "rpc_id", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantIntString(o, "rpc_id", peerId, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58113,20 +37943,12 @@ func (o *Node) RpcId(peerId int64, method string) *Variant { func (o *Node) RpcUnreliable(method string) *Variant { log.Println("Calling Node.RpcUnreliable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(method) - - // Call the parent method. + returnValue := godotCallVariantString(o, "rpc_unreliable", method) + log.Println(" Got return value: ", returnValue) - goRet := o.callParentMethod(o.baseClass(), "rpc_unreliable", goArguments, "*Variant") + return returnValue - returnValue := goRet.Interface().(*Variant) - - log.Println(" Got return value: ", returnValue) - return returnValue - -} +} /* Sends a [method rpc] to a specific peer identified by [i]peer_id[/i] using an unreliable protocol. @@ -58134,18 +37956,9 @@ func (o *Node) RpcUnreliable(method string) *Variant { func (o *Node) RpcUnreliableId(peerId int64, method string) *Variant { log.Println("Calling Node.RpcUnreliableId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(peerId) - goArguments[1] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "rpc_unreliable_id", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantIntString(o, "rpc_unreliable_id", peerId, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58156,15 +37969,7 @@ func (o *Node) RpcUnreliableId(peerId int64, method string) *Variant { func (o *Node) Rset(property string, value *Variant) { log.Println("Calling Node.Rset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rset", goArguments, "") - + godotCallVoidStringVariant(o, "rset", property, value) log.Println(" Function successfully completed.") } @@ -58175,15 +37980,7 @@ func (o *Node) Rset(property string, value *Variant) { func (o *Node) RsetConfig(property string, mode int64) { log.Println("Calling Node.RsetConfig()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rset_config", goArguments, "") - + godotCallVoidStringInt(o, "rset_config", property, mode) log.Println(" Function successfully completed.") } @@ -58194,16 +37991,7 @@ func (o *Node) RsetConfig(property string, mode int64) { func (o *Node) RsetId(peerId int64, property string, value *Variant) { log.Println("Calling Node.RsetId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(peerId) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rset_id", goArguments, "") - + godotCallVoidIntStringVariant(o, "rset_id", peerId, property, value) log.Println(" Function successfully completed.") } @@ -58214,15 +38002,7 @@ func (o *Node) RsetId(peerId int64, property string, value *Variant) { func (o *Node) RsetUnreliable(property string, value *Variant) { log.Println("Calling Node.RsetUnreliable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rset_unreliable", goArguments, "") - + godotCallVoidStringVariant(o, "rset_unreliable", property, value) log.Println(" Function successfully completed.") } @@ -58233,16 +38013,7 @@ func (o *Node) RsetUnreliable(property string, value *Variant) { func (o *Node) RsetUnreliableId(peerId int64, property string, value *Variant) { log.Println("Calling Node.RsetUnreliableId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(peerId) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rset_unreliable_id", goArguments, "") - + godotCallVoidIntStringVariant(o, "rset_unreliable_id", peerId, property, value) log.Println(" Function successfully completed.") } @@ -58253,14 +38024,7 @@ func (o *Node) RsetUnreliableId(peerId int64, property string, value *Variant) { func (o *Node) SetDisplayFolded(fold bool) { log.Println("Calling Node.SetDisplayFolded()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fold) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_display_folded", goArguments, "") - + godotCallVoidBool(o, "set_display_folded", fold) log.Println(" Function successfully completed.") } @@ -58271,14 +38035,7 @@ func (o *Node) SetDisplayFolded(fold bool) { func (o *Node) SetFilename(filename string) { log.Println("Calling Node.SetFilename()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(filename) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_filename", goArguments, "") - + godotCallVoidString(o, "set_filename", filename) log.Println(" Function successfully completed.") } @@ -58289,14 +38046,7 @@ func (o *Node) SetFilename(filename string) { func (o *Node) SetName(name string) { log.Println("Calling Node.SetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_name", goArguments, "") - + godotCallVoidString(o, "set_name", name) log.Println(" Function successfully completed.") } @@ -58307,15 +38057,7 @@ func (o *Node) SetName(name string) { func (o *Node) SetNetworkMaster(id int64, recursive bool) { log.Println("Calling Node.SetNetworkMaster()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(recursive) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_network_master", goArguments, "") - + godotCallVoidIntBool(o, "set_network_master", id, recursive) log.Println(" Function successfully completed.") } @@ -58326,14 +38068,7 @@ func (o *Node) SetNetworkMaster(id int64, recursive bool) { func (o *Node) SetOwner(owner *Object) { log.Println("Calling Node.SetOwner()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(owner) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_owner", goArguments, "") - + godotCallVoidObject(o, "set_owner", owner) log.Println(" Function successfully completed.") } @@ -58344,14 +38079,7 @@ func (o *Node) SetOwner(owner *Object) { func (o *Node) SetPauseMode(mode int64) { log.Println("Calling Node.SetPauseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pause_mode", goArguments, "") - + godotCallVoidInt(o, "set_pause_mode", mode) log.Println(" Function successfully completed.") } @@ -58362,14 +38090,7 @@ func (o *Node) SetPauseMode(mode int64) { func (o *Node) SetPhysicsProcess(enable bool) { log.Println("Calling Node.SetPhysicsProcess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_physics_process", goArguments, "") - + godotCallVoidBool(o, "set_physics_process", enable) log.Println(" Function successfully completed.") } @@ -58380,14 +38101,7 @@ func (o *Node) SetPhysicsProcess(enable bool) { func (o *Node) SetPhysicsProcessInternal(enable bool) { log.Println("Calling Node.SetPhysicsProcessInternal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_physics_process_internal", goArguments, "") - + godotCallVoidBool(o, "set_physics_process_internal", enable) log.Println(" Function successfully completed.") } @@ -58398,14 +38112,7 @@ func (o *Node) SetPhysicsProcessInternal(enable bool) { func (o *Node) SetProcess(enable bool) { log.Println("Calling Node.SetProcess()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process", goArguments, "") - + godotCallVoidBool(o, "set_process", enable) log.Println(" Function successfully completed.") } @@ -58416,14 +38123,7 @@ func (o *Node) SetProcess(enable bool) { func (o *Node) SetProcessInput(enable bool) { log.Println("Calling Node.SetProcessInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_input", goArguments, "") - + godotCallVoidBool(o, "set_process_input", enable) log.Println(" Function successfully completed.") } @@ -58434,14 +38134,7 @@ func (o *Node) SetProcessInput(enable bool) { func (o *Node) SetProcessInternal(enable bool) { log.Println("Calling Node.SetProcessInternal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_internal", goArguments, "") - + godotCallVoidBool(o, "set_process_internal", enable) log.Println(" Function successfully completed.") } @@ -58452,14 +38145,7 @@ func (o *Node) SetProcessInternal(enable bool) { func (o *Node) SetProcessUnhandledInput(enable bool) { log.Println("Calling Node.SetProcessUnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_unhandled_input", goArguments, "") - + godotCallVoidBool(o, "set_process_unhandled_input", enable) log.Println(" Function successfully completed.") } @@ -58470,14 +38156,7 @@ func (o *Node) SetProcessUnhandledInput(enable bool) { func (o *Node) SetProcessUnhandledKeyInput(enable bool) { log.Println("Calling Node.SetProcessUnhandledKeyInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_unhandled_key_input", goArguments, "") - + godotCallVoidBool(o, "set_process_unhandled_key_input", enable) log.Println(" Function successfully completed.") } @@ -58488,14 +38167,7 @@ func (o *Node) SetProcessUnhandledKeyInput(enable bool) { func (o *Node) SetSceneInstanceLoadPlaceholder(loadPlaceholder bool) { log.Println("Calling Node.SetSceneInstanceLoadPlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loadPlaceholder) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scene_instance_load_placeholder", goArguments, "") - + godotCallVoidBool(o, "set_scene_instance_load_placeholder", loadPlaceholder) log.Println(" Function successfully completed.") } @@ -58524,14 +38196,7 @@ func (o *Node2D) baseClass() string { func (o *Node2D) ApplyScale(ratio *Vector2) { log.Println("Calling Node2D.ApplyScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_scale", goArguments, "") - + godotCallVoidVector2(o, "apply_scale", ratio) log.Println(" Function successfully completed.") } @@ -58542,17 +38207,9 @@ func (o *Node2D) ApplyScale(ratio *Vector2) { func (o *Node2D) GetAngleTo(point *Vector2) float64 { log.Println("Calling Node2D.GetAngleTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angle_to", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatVector2(o, "get_angle_to", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58563,16 +38220,9 @@ func (o *Node2D) GetAngleTo(point *Vector2) float64 { func (o *Node2D) GetGlobalPosition() *Vector2 { log.Println("Calling Node2D.GetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_global_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58583,16 +38233,9 @@ func (o *Node2D) GetGlobalPosition() *Vector2 { func (o *Node2D) GetGlobalRotation() float64 { log.Println("Calling Node2D.GetGlobalRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_global_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58603,16 +38246,9 @@ func (o *Node2D) GetGlobalRotation() float64 { func (o *Node2D) GetGlobalRotationDegrees() float64 { log.Println("Calling Node2D.GetGlobalRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_rotation_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_global_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58623,16 +38259,9 @@ func (o *Node2D) GetGlobalRotationDegrees() float64 { func (o *Node2D) GetGlobalScale() *Vector2 { log.Println("Calling Node2D.GetGlobalScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_global_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58643,16 +38272,9 @@ func (o *Node2D) GetGlobalScale() *Vector2 { func (o *Node2D) GetPosition() *Vector2 { log.Println("Calling Node2D.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58663,17 +38285,9 @@ func (o *Node2D) GetPosition() *Vector2 { func (o *Node2D) GetRelativeTransformToParent(parent *Object) *Transform2D { log.Println("Calling Node2D.GetRelativeTransformToParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(parent) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_relative_transform_to_parent", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DObject(o, "get_relative_transform_to_parent", parent) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58684,16 +38298,9 @@ func (o *Node2D) GetRelativeTransformToParent(parent *Object) *Transform2D { func (o *Node2D) GetRotation() float64 { log.Println("Calling Node2D.GetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58704,16 +38311,9 @@ func (o *Node2D) GetRotation() float64 { func (o *Node2D) GetRotationDegrees() float64 { log.Println("Calling Node2D.GetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58724,16 +38324,9 @@ func (o *Node2D) GetRotationDegrees() float64 { func (o *Node2D) GetScale() *Vector2 { log.Println("Calling Node2D.GetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58744,16 +38337,9 @@ func (o *Node2D) GetScale() *Vector2 { func (o *Node2D) GetZIndex() int64 { log.Println("Calling Node2D.GetZIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_z_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_z_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58764,14 +38350,7 @@ func (o *Node2D) GetZIndex() int64 { func (o *Node2D) GlobalTranslate(offset *Vector2) { log.Println("Calling Node2D.GlobalTranslate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "global_translate", goArguments, "") - + godotCallVoidVector2(o, "global_translate", offset) log.Println(" Function successfully completed.") } @@ -58782,16 +38361,9 @@ func (o *Node2D) GlobalTranslate(offset *Vector2) { func (o *Node2D) IsZRelative() bool { log.Println("Calling Node2D.IsZRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_z_relative", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_z_relative") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -58802,14 +38374,7 @@ func (o *Node2D) IsZRelative() bool { func (o *Node2D) LookAt(point *Vector2) { log.Println("Calling Node2D.LookAt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "look_at", goArguments, "") - + godotCallVoidVector2(o, "look_at", point) log.Println(" Function successfully completed.") } @@ -58820,15 +38385,7 @@ func (o *Node2D) LookAt(point *Vector2) { func (o *Node2D) MoveLocalX(delta float64, scaled bool) { log.Println("Calling Node2D.MoveLocalX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(delta) - goArguments[1] = reflect.ValueOf(scaled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_local_x", goArguments, "") - + godotCallVoidFloatBool(o, "move_local_x", delta, scaled) log.Println(" Function successfully completed.") } @@ -58839,15 +38396,7 @@ func (o *Node2D) MoveLocalX(delta float64, scaled bool) { func (o *Node2D) MoveLocalY(delta float64, scaled bool) { log.Println("Calling Node2D.MoveLocalY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(delta) - goArguments[1] = reflect.ValueOf(scaled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_local_y", goArguments, "") - + godotCallVoidFloatBool(o, "move_local_y", delta, scaled) log.Println(" Function successfully completed.") } @@ -58858,14 +38407,7 @@ func (o *Node2D) MoveLocalY(delta float64, scaled bool) { func (o *Node2D) Rotate(radians float64) { log.Println("Calling Node2D.Rotate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radians) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate", goArguments, "") - + godotCallVoidFloat(o, "rotate", radians) log.Println(" Function successfully completed.") } @@ -58876,14 +38418,7 @@ func (o *Node2D) Rotate(radians float64) { func (o *Node2D) SetGlobalPosition(position *Vector2) { log.Println("Calling Node2D.SetGlobalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_position", goArguments, "") - + godotCallVoidVector2(o, "set_global_position", position) log.Println(" Function successfully completed.") } @@ -58894,14 +38429,7 @@ func (o *Node2D) SetGlobalPosition(position *Vector2) { func (o *Node2D) SetGlobalRotation(radians float64) { log.Println("Calling Node2D.SetGlobalRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radians) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_rotation", goArguments, "") - + godotCallVoidFloat(o, "set_global_rotation", radians) log.Println(" Function successfully completed.") } @@ -58912,14 +38440,7 @@ func (o *Node2D) SetGlobalRotation(radians float64) { func (o *Node2D) SetGlobalRotationDegrees(degrees float64) { log.Println("Calling Node2D.SetGlobalRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_rotation_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_global_rotation_degrees", degrees) log.Println(" Function successfully completed.") } @@ -58930,14 +38451,7 @@ func (o *Node2D) SetGlobalRotationDegrees(degrees float64) { func (o *Node2D) SetGlobalScale(scale *Vector2) { log.Println("Calling Node2D.SetGlobalScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_scale", goArguments, "") - + godotCallVoidVector2(o, "set_global_scale", scale) log.Println(" Function successfully completed.") } @@ -58948,14 +38462,7 @@ func (o *Node2D) SetGlobalScale(scale *Vector2) { func (o *Node2D) SetGlobalTransform(xform *Transform2D) { log.Println("Calling Node2D.SetGlobalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_global_transform", xform) log.Println(" Function successfully completed.") } @@ -58966,14 +38473,7 @@ func (o *Node2D) SetGlobalTransform(xform *Transform2D) { func (o *Node2D) SetPosition(position *Vector2) { log.Println("Calling Node2D.SetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_position", goArguments, "") - + godotCallVoidVector2(o, "set_position", position) log.Println(" Function successfully completed.") } @@ -58984,14 +38484,7 @@ func (o *Node2D) SetPosition(position *Vector2) { func (o *Node2D) SetRotation(radians float64) { log.Println("Calling Node2D.SetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radians) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation", goArguments, "") - + godotCallVoidFloat(o, "set_rotation", radians) log.Println(" Function successfully completed.") } @@ -59002,14 +38495,7 @@ func (o *Node2D) SetRotation(radians float64) { func (o *Node2D) SetRotationDegrees(degrees float64) { log.Println("Calling Node2D.SetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_rotation_degrees", degrees) log.Println(" Function successfully completed.") } @@ -59020,14 +38506,7 @@ func (o *Node2D) SetRotationDegrees(degrees float64) { func (o *Node2D) SetScale(scale *Vector2) { log.Println("Calling Node2D.SetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scale", goArguments, "") - + godotCallVoidVector2(o, "set_scale", scale) log.Println(" Function successfully completed.") } @@ -59038,14 +38517,7 @@ func (o *Node2D) SetScale(scale *Vector2) { func (o *Node2D) SetTransform(xform *Transform2D) { log.Println("Calling Node2D.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_transform", xform) log.Println(" Function successfully completed.") } @@ -59056,14 +38528,7 @@ func (o *Node2D) SetTransform(xform *Transform2D) { func (o *Node2D) SetZAsRelative(enable bool) { log.Println("Calling Node2D.SetZAsRelative()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_z_as_relative", goArguments, "") - + godotCallVoidBool(o, "set_z_as_relative", enable) log.Println(" Function successfully completed.") } @@ -59074,14 +38539,7 @@ func (o *Node2D) SetZAsRelative(enable bool) { func (o *Node2D) SetZIndex(zIndex int64) { log.Println("Calling Node2D.SetZIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(zIndex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_z_index", goArguments, "") - + godotCallVoidInt(o, "set_z_index", zIndex) log.Println(" Function successfully completed.") } @@ -59092,17 +38550,9 @@ func (o *Node2D) SetZIndex(zIndex int64) { func (o *Node2D) ToGlobal(localPoint *Vector2) *Vector2 { log.Println("Calling Node2D.ToGlobal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "to_global", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "to_global", localPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59113,17 +38563,9 @@ func (o *Node2D) ToGlobal(localPoint *Vector2) *Vector2 { func (o *Node2D) ToLocal(globalPoint *Vector2) *Vector2 { log.Println("Calling Node2D.ToLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(globalPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "to_local", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "to_local", globalPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59134,14 +38576,7 @@ func (o *Node2D) ToLocal(globalPoint *Vector2) *Vector2 { func (o *Node2D) Translate(offset *Vector2) { log.Println("Calling Node2D.Translate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "translate", goArguments, "") - + godotCallVoidVector2(o, "translate", offset) log.Println(" Function successfully completed.") } @@ -59170,14 +38605,7 @@ func (o *Object) baseClass() string { func (o *Object) X_Get(property string) { log.Println("Calling Object.X_Get()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_get", goArguments, "") - + godotCallVoidString(o, "_get", property) log.Println(" Function successfully completed.") } @@ -59188,16 +38616,9 @@ func (o *Object) X_Get(property string) { func (o *Object) X_GetPropertyList() *Array { log.Println("Calling Object.X_GetPropertyList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_property_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_property_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59208,13 +38629,7 @@ func (o *Object) X_GetPropertyList() *Array { func (o *Object) X_Init() { log.Println("Calling Object.X_Init()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_init", goArguments, "") - + godotCallVoid(o, "_init") log.Println(" Function successfully completed.") } @@ -59225,14 +38640,7 @@ func (o *Object) X_Init() { func (o *Object) X_Notification(what int64) { log.Println("Calling Object.X_Notification()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(what) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_notification", goArguments, "") - + godotCallVoidInt(o, "_notification", what) log.Println(" Function successfully completed.") } @@ -59243,18 +38651,9 @@ func (o *Object) X_Notification(what int64) { func (o *Object) X_Set(property string, value *Variant) bool { log.Println("Calling Object.X_Set()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_set", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringVariant(o, "_set", property, value) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59265,15 +38664,7 @@ func (o *Object) X_Set(property string, value *Variant) bool { func (o *Object) AddUserSignal(signal string, arguments *Array) { log.Println("Calling Object.AddUserSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(signal) - goArguments[1] = reflect.ValueOf(arguments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_user_signal", goArguments, "") - + godotCallVoidStringArray(o, "add_user_signal", signal, arguments) log.Println(" Function successfully completed.") } @@ -59284,17 +38675,9 @@ func (o *Object) AddUserSignal(signal string, arguments *Array) { func (o *Object) Call(method string) *Variant { log.Println("Calling Object.Call()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "call", method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59305,17 +38688,9 @@ func (o *Object) Call(method string) *Variant { func (o *Object) CallDeferred(method string) *Variant { log.Println("Calling Object.CallDeferred()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call_deferred", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "call_deferred", method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59326,18 +38701,9 @@ func (o *Object) CallDeferred(method string) *Variant { func (o *Object) Callv(method string, argArray *Array) *Variant { log.Println("Calling Object.Callv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(method) - goArguments[1] = reflect.ValueOf(argArray) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "callv", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantStringArray(o, "callv", method, argArray) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59348,16 +38714,9 @@ func (o *Object) Callv(method string, argArray *Array) *Variant { func (o *Object) CanTranslateMessages() bool { log.Println("Calling Object.CanTranslateMessages()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_translate_messages", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "can_translate_messages") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59368,21 +38727,9 @@ func (o *Object) CanTranslateMessages() bool { func (o *Object) Connect(signal string, target *Object, method string, binds *Array, flags int64) int64 { log.Println("Calling Object.Connect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(signal) - goArguments[1] = reflect.ValueOf(target) - goArguments[2] = reflect.ValueOf(method) - goArguments[3] = reflect.ValueOf(binds) - goArguments[4] = reflect.ValueOf(flags) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringObjectStringArrayInt(o, "connect", signal, target, method, binds, flags) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59393,16 +38740,7 @@ func (o *Object) Connect(signal string, target *Object, method string, binds *Ar func (o *Object) Disconnect(signal string, target *Object, method string) { log.Println("Calling Object.Disconnect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(signal) - goArguments[1] = reflect.ValueOf(target) - goArguments[2] = reflect.ValueOf(method) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect", goArguments, "") - + godotCallVoidStringObjectString(o, "disconnect", signal, target, method) log.Println(" Function successfully completed.") } @@ -59413,17 +38751,9 @@ func (o *Object) Disconnect(signal string, target *Object, method string) { func (o *Object) EmitSignal(signal string) *Variant { log.Println("Calling Object.EmitSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(signal) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "emit_signal", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "emit_signal", signal) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59434,13 +38764,7 @@ func (o *Object) EmitSignal(signal string) *Variant { func (o *Object) Free() { log.Println("Calling Object.Free()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "free", goArguments, "") - + godotCallVoid(o, "free") log.Println(" Function successfully completed.") } @@ -59451,17 +38775,9 @@ func (o *Object) Free() { func (o *Object) Get(property string) *Variant { log.Println("Calling Object.Get()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get", property) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59472,16 +38788,9 @@ func (o *Object) Get(property string) *Variant { func (o *Object) GetClass() string { log.Println("Calling Object.GetClass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_class", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_class") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59492,16 +38801,9 @@ func (o *Object) GetClass() string { func (o *Object) GetIncomingConnections() *Array { log.Println("Calling Object.GetIncomingConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_incoming_connections", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_incoming_connections") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59512,17 +38814,9 @@ func (o *Object) GetIncomingConnections() *Array { func (o *Object) GetIndexed(property *NodePath) *Variant { log.Println("Calling Object.GetIndexed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_indexed", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantNodePath(o, "get_indexed", property) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59533,16 +38827,9 @@ func (o *Object) GetIndexed(property *NodePath) *Variant { func (o *Object) GetInstanceId() int64 { log.Println("Calling Object.GetInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_instance_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59553,17 +38840,9 @@ func (o *Object) GetInstanceId() int64 { func (o *Object) GetMeta(name string) *Variant { log.Println("Calling Object.GetMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_meta", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get_meta", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59574,16 +38853,9 @@ func (o *Object) GetMeta(name string) *Variant { func (o *Object) GetMetaList() *PoolStringArray { log.Println("Calling Object.GetMetaList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_meta_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_meta_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59594,16 +38866,9 @@ func (o *Object) GetMetaList() *PoolStringArray { func (o *Object) GetMethodList() *Array { log.Println("Calling Object.GetMethodList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_method_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_method_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59614,16 +38879,9 @@ func (o *Object) GetMethodList() *Array { func (o *Object) GetPropertyList() *Array { log.Println("Calling Object.GetPropertyList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_property_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_property_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59634,17 +38892,12 @@ func (o *Object) GetPropertyList() *Array { func (o *Object) GetScript() *Reference { log.Println("Calling Object.GetScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_script", goArguments, "*Reference") - - returnValue := goRet.Interface().(*Reference) - + returnValue := godotCallObject(o, "get_script") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Reference + ret.owner = returnValue.owner + return &ret } @@ -59654,17 +38907,9 @@ func (o *Object) GetScript() *Reference { func (o *Object) GetSignalConnectionList(signal string) *Array { log.Println("Calling Object.GetSignalConnectionList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(signal) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_signal_connection_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayString(o, "get_signal_connection_list", signal) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59675,16 +38920,9 @@ func (o *Object) GetSignalConnectionList(signal string) *Array { func (o *Object) GetSignalList() *Array { log.Println("Calling Object.GetSignalList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_signal_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_signal_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59695,17 +38933,9 @@ func (o *Object) GetSignalList() *Array { func (o *Object) HasMeta(name string) bool { log.Println("Calling Object.HasMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_meta", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_meta", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59716,17 +38946,9 @@ func (o *Object) HasMeta(name string) bool { func (o *Object) HasMethod(method string) bool { log.Println("Calling Object.HasMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_method", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_method", method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59737,17 +38959,9 @@ func (o *Object) HasMethod(method string) bool { func (o *Object) HasUserSignal(signal string) bool { log.Println("Calling Object.HasUserSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(signal) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_user_signal", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_user_signal", signal) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59758,16 +38972,9 @@ func (o *Object) HasUserSignal(signal string) bool { func (o *Object) IsBlockingSignals() bool { log.Println("Calling Object.IsBlockingSignals()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_blocking_signals", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_blocking_signals") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59778,17 +38985,9 @@ func (o *Object) IsBlockingSignals() bool { func (o *Object) IsClass(aType string) bool { log.Println("Calling Object.IsClass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_class", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "is_class", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59799,19 +38998,9 @@ func (o *Object) IsClass(aType string) bool { func (o *Object) IsConnected(signal string, target *Object, method string) bool { log.Println("Calling Object.IsConnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(signal) - goArguments[1] = reflect.ValueOf(target) - goArguments[2] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_connected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringObjectString(o, "is_connected", signal, target, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59822,16 +39011,9 @@ func (o *Object) IsConnected(signal string, target *Object, method string) bool func (o *Object) IsQueuedForDeletion() bool { log.Println("Calling Object.IsQueuedForDeletion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_queued_for_deletion", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_queued_for_deletion") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -59842,15 +39024,7 @@ func (o *Object) IsQueuedForDeletion() bool { func (o *Object) Notification(what int64, reversed bool) { log.Println("Calling Object.Notification()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(what) - goArguments[1] = reflect.ValueOf(reversed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "notification", goArguments, "") - + godotCallVoidIntBool(o, "notification", what, reversed) log.Println(" Function successfully completed.") } @@ -59861,13 +39035,7 @@ func (o *Object) Notification(what int64, reversed bool) { func (o *Object) PropertyListChangedNotify() { log.Println("Calling Object.PropertyListChangedNotify()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "property_list_changed_notify", goArguments, "") - + godotCallVoid(o, "property_list_changed_notify") log.Println(" Function successfully completed.") } @@ -59878,15 +39046,7 @@ func (o *Object) PropertyListChangedNotify() { func (o *Object) Set(property string, value *Variant) { log.Println("Calling Object.Set()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set", goArguments, "") - + godotCallVoidStringVariant(o, "set", property, value) log.Println(" Function successfully completed.") } @@ -59897,14 +39057,7 @@ func (o *Object) Set(property string, value *Variant) { func (o *Object) SetBlockSignals(enable bool) { log.Println("Calling Object.SetBlockSignals()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_block_signals", goArguments, "") - + godotCallVoidBool(o, "set_block_signals", enable) log.Println(" Function successfully completed.") } @@ -59915,15 +39068,7 @@ func (o *Object) SetBlockSignals(enable bool) { func (o *Object) SetIndexed(property *NodePath, value *Variant) { log.Println("Calling Object.SetIndexed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(property) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_indexed", goArguments, "") - + godotCallVoidNodePathVariant(o, "set_indexed", property, value) log.Println(" Function successfully completed.") } @@ -59934,14 +39079,7 @@ func (o *Object) SetIndexed(property *NodePath, value *Variant) { func (o *Object) SetMessageTranslation(enable bool) { log.Println("Calling Object.SetMessageTranslation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_message_translation", goArguments, "") - + godotCallVoidBool(o, "set_message_translation", enable) log.Println(" Function successfully completed.") } @@ -59952,15 +39090,7 @@ func (o *Object) SetMessageTranslation(enable bool) { func (o *Object) SetMeta(name string, value *Variant) { log.Println("Calling Object.SetMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_meta", goArguments, "") - + godotCallVoidStringVariant(o, "set_meta", name, value) log.Println(" Function successfully completed.") } @@ -59971,14 +39101,7 @@ func (o *Object) SetMeta(name string, value *Variant) { func (o *Object) SetScript(script *Reference) { log.Println("Calling Object.SetScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(script) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_script", goArguments, "") - + godotCallVoidObject(o, "set_script", &script.Object) log.Println(" Function successfully completed.") } @@ -59989,17 +39112,9 @@ func (o *Object) SetScript(script *Reference) { func (o *Object) Tr(message string) string { log.Println("Calling Object.Tr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(message) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tr", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "tr", message) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60014,85 +39129,6 @@ func (o *Object) getOwner() *C.godot_object { return o.owner } -// callParentMethod will call this object's method with the given method name. -func (o *Object) callParentMethod(baseClass, methodName string, args []reflect.Value, returns string) reflect.Value { - log.Println("Calling parent method!") - - // Convert the base class and method names to C strings. - log.Println(" Using base class: ", baseClass) - classCString := C.CString(baseClass) - log.Println(" Using method name: ", methodName) - methodCString := C.CString(methodName) - - // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. - log.Println(" Using godot object owner:", o.getOwner()) - objectOwner := unsafe.Pointer(o.getOwner()) - - // Get the Godot method bind pointer so we can pass it to godot_method_bind_ptrcall. - var methodBind *C.godot_method_bind - methodBind = C.godot_method_bind_get_method(classCString, methodCString) - log.Println(" Using method bind pointer: ", methodBind) - - // Loop through the given arguments and see what type they are. When we know what - // type it is, we need to convert them to the correct godot objects. - // TODO: Probably pull this out into its own function? - variantArgs := []unsafe.Pointer{} - for _, arg := range args { - log.Println(" Argument type: ", arg.Type().String()) - - // Look up our conversion function in our map of conversion functions - // based on the Go type. This is essentially a more optimal case/switch - // statement on the type of Go object, so we can know how to convert it - // to a Godot object. - if convert, ok := goToGodotConversionMap[arg.Type().String()]; ok { - argValue := convert(arg.Interface()) - variantArgs = append(variantArgs, argValue) - } else { - err := "Unknown type of argument value when calling parent method: " + arg.Type().String() - Log.Error(err) - panic(err) - } - } - log.Println(" Built variant arguments: ", variantArgs) - - // Construct a C array that will contain pointers to our arguments. - log.Println(" Allocating argument array in C.") - cArgsArray := C.build_array(C.int(len(variantArgs))) - log.Println(" C Array: ", cArgsArray) - - // Loop through and add each argument to our C args array. - for i, arg := range variantArgs { - C.add_element(cArgsArray, arg, C.int(i)) - } - log.Println(" Built argument array from variant arguments: ", cArgsArray) - - // Construct our return object that will be populated by the method call. - // Here we're just using a CString - log.Println(" Building return value.") - ret := unsafe.Pointer(C.CString("")) - - // Call the parent method. "ret" will be populated with the return value. - log.Println(" Calling bind_ptrcall...") - C.godot_method_bind_ptrcall( - methodBind, - objectOwner, - cArgsArray, // void** - ret, // void* - ) - log.Println(" Finished calling method") - - // Convert the return value based on the type. - var retValue reflect.Value - if _, ok := godotToGoConversionMap[returns]; ok { - retValue = godotToGoConversionMap[returns](ret) - } else { - panic("Return type not found when calling parent method: " + returns) - } - - // Return the converted variant. - return retValue -} - /* ObjectImplementer is an interface for Object objects. */ @@ -60117,16 +39153,9 @@ func (o *OccluderPolygon2D) baseClass() string { func (o *OccluderPolygon2D) GetCullMode() int64 { log.Println("Calling OccluderPolygon2D.GetCullMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cull_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cull_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60137,16 +39166,9 @@ func (o *OccluderPolygon2D) GetCullMode() int64 { func (o *OccluderPolygon2D) GetPolygon() *PoolVector2Array { log.Println("Calling OccluderPolygon2D.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_polygon") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60157,16 +39179,9 @@ func (o *OccluderPolygon2D) GetPolygon() *PoolVector2Array { func (o *OccluderPolygon2D) IsClosed() bool { log.Println("Calling OccluderPolygon2D.IsClosed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_closed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_closed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60177,14 +39192,7 @@ func (o *OccluderPolygon2D) IsClosed() bool { func (o *OccluderPolygon2D) SetClosed(closed bool) { log.Println("Calling OccluderPolygon2D.SetClosed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(closed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_closed", goArguments, "") - + godotCallVoidBool(o, "set_closed", closed) log.Println(" Function successfully completed.") } @@ -60195,14 +39203,7 @@ func (o *OccluderPolygon2D) SetClosed(closed bool) { func (o *OccluderPolygon2D) SetCullMode(cullMode int64) { log.Println("Calling OccluderPolygon2D.SetCullMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cullMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cull_mode", goArguments, "") - + godotCallVoidInt(o, "set_cull_mode", cullMode) log.Println(" Function successfully completed.") } @@ -60213,14 +39214,7 @@ func (o *OccluderPolygon2D) SetCullMode(cullMode int64) { func (o *OccluderPolygon2D) SetPolygon(polygon *PoolVector2Array) { log.Println("Calling OccluderPolygon2D.SetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_polygon", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_polygon", polygon) log.Println(" Function successfully completed.") } @@ -60249,16 +39243,9 @@ func (o *OmniLight) baseClass() string { func (o *OmniLight) GetShadowDetail() int64 { log.Println("Calling OmniLight.GetShadowDetail()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_detail", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_detail") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60269,16 +39256,9 @@ func (o *OmniLight) GetShadowDetail() int64 { func (o *OmniLight) GetShadowMode() int64 { log.Println("Calling OmniLight.GetShadowMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60289,14 +39269,7 @@ func (o *OmniLight) GetShadowMode() int64 { func (o *OmniLight) SetShadowDetail(detail int64) { log.Println("Calling OmniLight.SetShadowDetail()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detail) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_detail", goArguments, "") - + godotCallVoidInt(o, "set_shadow_detail", detail) log.Println(" Function successfully completed.") } @@ -60307,14 +39280,7 @@ func (o *OmniLight) SetShadowDetail(detail int64) { func (o *OmniLight) SetShadowMode(mode int64) { log.Println("Calling OmniLight.SetShadowMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_mode", goArguments, "") - + godotCallVoidInt(o, "set_shadow_mode", mode) log.Println(" Function successfully completed.") } @@ -60343,16 +39309,9 @@ func (o *OptionButton) baseClass() string { func (o *OptionButton) X_GetItems() *Array { log.Println("Calling OptionButton.X_GetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_items", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_items") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60363,14 +39322,7 @@ func (o *OptionButton) X_GetItems() *Array { func (o *OptionButton) X_SelectInt(arg0 int64) { log.Println("Calling OptionButton.X_SelectInt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_select_int", goArguments, "") - + godotCallVoidInt(o, "_select_int", arg0) log.Println(" Function successfully completed.") } @@ -60381,14 +39333,7 @@ func (o *OptionButton) X_SelectInt(arg0 int64) { func (o *OptionButton) X_Selected(arg0 int64) { log.Println("Calling OptionButton.X_Selected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_selected", goArguments, "") - + godotCallVoidInt(o, "_selected", arg0) log.Println(" Function successfully completed.") } @@ -60399,14 +39344,7 @@ func (o *OptionButton) X_Selected(arg0 int64) { func (o *OptionButton) X_SetItems(arg0 *Array) { log.Println("Calling OptionButton.X_SetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_items", goArguments, "") - + godotCallVoidArray(o, "_set_items", arg0) log.Println(" Function successfully completed.") } @@ -60417,16 +39355,7 @@ func (o *OptionButton) X_SetItems(arg0 *Array) { func (o *OptionButton) AddIconItem(texture *Texture, label string, id int64) { log.Println("Calling OptionButton.AddIconItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(label) - goArguments[2] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_item", goArguments, "") - + godotCallVoidObjectStringInt(o, "add_icon_item", &texture.Object, label, id) log.Println(" Function successfully completed.") } @@ -60437,15 +39366,7 @@ func (o *OptionButton) AddIconItem(texture *Texture, label string, id int64) { func (o *OptionButton) AddItem(label string, id int64) { log.Println("Calling OptionButton.AddItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(label) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_item", goArguments, "") - + godotCallVoidStringInt(o, "add_item", label, id) log.Println(" Function successfully completed.") } @@ -60456,13 +39377,7 @@ func (o *OptionButton) AddItem(label string, id int64) { func (o *OptionButton) AddSeparator() { log.Println("Calling OptionButton.AddSeparator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_separator", goArguments, "") - + godotCallVoid(o, "add_separator") log.Println(" Function successfully completed.") } @@ -60473,13 +39388,7 @@ func (o *OptionButton) AddSeparator() { func (o *OptionButton) Clear() { log.Println("Calling OptionButton.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -60490,16 +39399,9 @@ func (o *OptionButton) Clear() { func (o *OptionButton) GetItemCount() int64 { log.Println("Calling OptionButton.GetItemCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_item_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60510,18 +39412,12 @@ func (o *OptionButton) GetItemCount() int64 { func (o *OptionButton) GetItemIcon(idx int64) *Texture { log.Println("Calling OptionButton.GetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_item_icon", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -60531,17 +39427,9 @@ func (o *OptionButton) GetItemIcon(idx int64) *Texture { func (o *OptionButton) GetItemId(idx int64) int64 { log.Println("Calling OptionButton.GetItemId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_item_id", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60552,17 +39440,9 @@ func (o *OptionButton) GetItemId(idx int64) int64 { func (o *OptionButton) GetItemMetadata(idx int64) *Variant { log.Println("Calling OptionButton.GetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_item_metadata", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60573,17 +39453,9 @@ func (o *OptionButton) GetItemMetadata(idx int64) *Variant { func (o *OptionButton) GetItemText(idx int64) string { log.Println("Calling OptionButton.GetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_text", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60594,17 +39466,12 @@ func (o *OptionButton) GetItemText(idx int64) string { func (o *OptionButton) GetPopup() *PopupMenu { log.Println("Calling OptionButton.GetPopup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_popup", goArguments, "*PopupMenu") - - returnValue := goRet.Interface().(*PopupMenu) - + returnValue := godotCallObject(o, "get_popup") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PopupMenu + ret.owner = returnValue.owner + return &ret } @@ -60614,16 +39481,9 @@ func (o *OptionButton) GetPopup() *PopupMenu { func (o *OptionButton) GetSelected() int64 { log.Println("Calling OptionButton.GetSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selected") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60634,16 +39494,9 @@ func (o *OptionButton) GetSelected() int64 { func (o *OptionButton) GetSelectedId() int64 { log.Println("Calling OptionButton.GetSelectedId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selected_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60654,16 +39507,9 @@ func (o *OptionButton) GetSelectedId() int64 { func (o *OptionButton) GetSelectedMetadata() *Variant { log.Println("Calling OptionButton.GetSelectedMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_selected_metadata") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60674,17 +39520,9 @@ func (o *OptionButton) GetSelectedMetadata() *Variant { func (o *OptionButton) IsItemDisabled(idx int64) bool { log.Println("Calling OptionButton.IsItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_disabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60695,14 +39533,7 @@ func (o *OptionButton) IsItemDisabled(idx int64) bool { func (o *OptionButton) RemoveItem(idx int64) { log.Println("Calling OptionButton.RemoveItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_item", goArguments, "") - + godotCallVoidInt(o, "remove_item", idx) log.Println(" Function successfully completed.") } @@ -60713,14 +39544,7 @@ func (o *OptionButton) RemoveItem(idx int64) { func (o *OptionButton) Select(idx int64) { log.Println("Calling OptionButton.Select()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select", goArguments, "") - + godotCallVoidInt(o, "select", idx) log.Println(" Function successfully completed.") } @@ -60731,15 +39555,7 @@ func (o *OptionButton) Select(idx int64) { func (o *OptionButton) SetItemDisabled(idx int64, disabled bool) { log.Println("Calling OptionButton.SetItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_disabled", goArguments, "") - + godotCallVoidIntBool(o, "set_item_disabled", idx, disabled) log.Println(" Function successfully completed.") } @@ -60750,15 +39566,7 @@ func (o *OptionButton) SetItemDisabled(idx int64, disabled bool) { func (o *OptionButton) SetItemIcon(idx int64, texture *Texture) { log.Println("Calling OptionButton.SetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_item_icon", idx, &texture.Object) log.Println(" Function successfully completed.") } @@ -60769,15 +39577,7 @@ func (o *OptionButton) SetItemIcon(idx int64, texture *Texture) { func (o *OptionButton) SetItemId(idx int64, id int64) { log.Println("Calling OptionButton.SetItemId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_id", goArguments, "") - + godotCallVoidIntInt(o, "set_item_id", idx, id) log.Println(" Function successfully completed.") } @@ -60788,15 +39588,7 @@ func (o *OptionButton) SetItemId(idx int64, id int64) { func (o *OptionButton) SetItemMetadata(idx int64, metadata *Variant) { log.Println("Calling OptionButton.SetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(metadata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_metadata", goArguments, "") - + godotCallVoidIntVariant(o, "set_item_metadata", idx, metadata) log.Println(" Function successfully completed.") } @@ -60807,15 +39599,7 @@ func (o *OptionButton) SetItemMetadata(idx int64, metadata *Variant) { func (o *OptionButton) SetItemText(idx int64, text string) { log.Println("Calling OptionButton.SetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_text", goArguments, "") - + godotCallVoidIntString(o, "set_item_text", idx, text) log.Println(" Function successfully completed.") } @@ -60844,18 +39628,9 @@ func (o *PCKPacker) baseClass() string { func (o *PCKPacker) AddFile(pckPath string, sourcePath string) int64 { log.Println("Calling PCKPacker.AddFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(pckPath) - goArguments[1] = reflect.ValueOf(sourcePath) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_file", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringString(o, "add_file", pckPath, sourcePath) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60866,17 +39641,9 @@ func (o *PCKPacker) AddFile(pckPath string, sourcePath string) int64 { func (o *PCKPacker) Flush(verbose bool) int64 { log.Println("Calling PCKPacker.Flush()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(verbose) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "flush", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntBool(o, "flush", verbose) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60887,18 +39654,9 @@ func (o *PCKPacker) Flush(verbose bool) int64 { func (o *PCKPacker) PckStart(pckName string, alignment int64) int64 { log.Println("Calling PCKPacker.PckStart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(pckName) - goArguments[1] = reflect.ValueOf(alignment) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pck_start", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringInt(o, "pck_start", pckName, alignment) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60927,14 +39685,7 @@ func (o *PHashTranslation) baseClass() string { func (o *PHashTranslation) Generate(from *Translation) { log.Println("Calling PHashTranslation.Generate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(from) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "generate", goArguments, "") - + godotCallVoidObject(o, "generate", &from.Object) log.Println(" Function successfully completed.") } @@ -60963,16 +39714,9 @@ func (o *PackedDataContainer) baseClass() string { func (o *PackedDataContainer) X_GetData() *PoolByteArray { log.Println("Calling PackedDataContainer.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -60983,17 +39727,9 @@ func (o *PackedDataContainer) X_GetData() *PoolByteArray { func (o *PackedDataContainer) X_IterGet(arg0 *Variant) *Variant { log.Println("Calling PackedDataContainer.X_IterGet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_get", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantVariant(o, "_iter_get", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61004,17 +39740,9 @@ func (o *PackedDataContainer) X_IterGet(arg0 *Variant) *Variant { func (o *PackedDataContainer) X_IterInit(arg0 *Array) *Variant { log.Println("Calling PackedDataContainer.X_IterInit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_init", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArray(o, "_iter_init", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61025,17 +39753,9 @@ func (o *PackedDataContainer) X_IterInit(arg0 *Array) *Variant { func (o *PackedDataContainer) X_IterNext(arg0 *Array) *Variant { log.Println("Calling PackedDataContainer.X_IterNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_next", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArray(o, "_iter_next", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61046,14 +39766,7 @@ func (o *PackedDataContainer) X_IterNext(arg0 *Array) *Variant { func (o *PackedDataContainer) X_SetData(arg0 *PoolByteArray) { log.Println("Calling PackedDataContainer.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidPoolByteArray(o, "_set_data", arg0) log.Println(" Function successfully completed.") } @@ -61064,17 +39777,9 @@ func (o *PackedDataContainer) X_SetData(arg0 *PoolByteArray) { func (o *PackedDataContainer) Pack(value *Variant) int64 { log.Println("Calling PackedDataContainer.Pack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pack", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVariant(o, "pack", value) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61085,16 +39790,9 @@ func (o *PackedDataContainer) Pack(value *Variant) int64 { func (o *PackedDataContainer) Size() int64 { log.Println("Calling PackedDataContainer.Size()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61123,16 +39821,9 @@ func (o *PackedDataContainerRef) baseClass() string { func (o *PackedDataContainerRef) X_IsDictionary() bool { log.Println("Calling PackedDataContainerRef.X_IsDictionary()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_dictionary", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_is_dictionary") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61143,17 +39834,9 @@ func (o *PackedDataContainerRef) X_IsDictionary() bool { func (o *PackedDataContainerRef) X_IterGet(arg0 *Variant) *Variant { log.Println("Calling PackedDataContainerRef.X_IterGet()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_get", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantVariant(o, "_iter_get", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61164,17 +39847,9 @@ func (o *PackedDataContainerRef) X_IterGet(arg0 *Variant) *Variant { func (o *PackedDataContainerRef) X_IterInit(arg0 *Array) *Variant { log.Println("Calling PackedDataContainerRef.X_IterInit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_init", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArray(o, "_iter_init", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61185,17 +39860,9 @@ func (o *PackedDataContainerRef) X_IterInit(arg0 *Array) *Variant { func (o *PackedDataContainerRef) X_IterNext(arg0 *Array) *Variant { log.Println("Calling PackedDataContainerRef.X_IterNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_iter_next", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArray(o, "_iter_next", arg0) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61206,16 +39873,9 @@ func (o *PackedDataContainerRef) X_IterNext(arg0 *Array) *Variant { func (o *PackedDataContainerRef) Size() int64 { log.Println("Calling PackedDataContainerRef.Size()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61244,16 +39904,9 @@ func (o *PackedScene) baseClass() string { func (o *PackedScene) X_GetBundledScene() *Dictionary { log.Println("Calling PackedScene.X_GetBundledScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_bundled_scene", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_bundled_scene") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61264,14 +39917,7 @@ func (o *PackedScene) X_GetBundledScene() *Dictionary { func (o *PackedScene) X_SetBundledScene(arg0 *Dictionary) { log.Println("Calling PackedScene.X_SetBundledScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_bundled_scene", goArguments, "") - + godotCallVoidDictionary(o, "_set_bundled_scene", arg0) log.Println(" Function successfully completed.") } @@ -61282,16 +39928,9 @@ func (o *PackedScene) X_SetBundledScene(arg0 *Dictionary) { func (o *PackedScene) CanInstance() bool { log.Println("Calling PackedScene.CanInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_instance", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "can_instance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61302,17 +39941,12 @@ func (o *PackedScene) CanInstance() bool { func (o *PackedScene) GetState() *SceneState { log.Println("Calling PackedScene.GetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_state", goArguments, "*SceneState") - - returnValue := goRet.Interface().(*SceneState) - + returnValue := godotCallObject(o, "get_state") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SceneState + ret.owner = returnValue.owner + return &ret } @@ -61322,18 +39956,12 @@ func (o *PackedScene) GetState() *SceneState { func (o *PackedScene) Instance(editState int64) *Node { log.Println("Calling PackedScene.Instance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(editState) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "instance", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObjectInt(o, "instance", editState) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -61343,17 +39971,9 @@ func (o *PackedScene) Instance(editState int64) *Node { func (o *PackedScene) Pack(path *Object) int64 { log.Println("Calling PackedScene.Pack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pack", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "pack", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61382,16 +40002,9 @@ func (o *PacketPeer) baseClass() string { func (o *PacketPeer) GetAvailablePacketCount() int64 { log.Println("Calling PacketPeer.GetAvailablePacketCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_available_packet_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_available_packet_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61402,16 +40015,9 @@ func (o *PacketPeer) GetAvailablePacketCount() int64 { func (o *PacketPeer) GetPacket() *PoolByteArray { log.Println("Calling PacketPeer.GetPacket()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_packet", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "get_packet") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61422,16 +40028,9 @@ func (o *PacketPeer) GetPacket() *PoolByteArray { func (o *PacketPeer) GetPacketError() int64 { log.Println("Calling PacketPeer.GetPacketError()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_packet_error", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_packet_error") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61442,16 +40041,9 @@ func (o *PacketPeer) GetPacketError() int64 { func (o *PacketPeer) GetVar() *Variant { log.Println("Calling PacketPeer.GetVar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_var") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61462,16 +40054,9 @@ func (o *PacketPeer) GetVar() *Variant { func (o *PacketPeer) IsObjectDecodingAllowed() bool { log.Println("Calling PacketPeer.IsObjectDecodingAllowed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_object_decoding_allowed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_object_decoding_allowed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61482,17 +40067,9 @@ func (o *PacketPeer) IsObjectDecodingAllowed() bool { func (o *PacketPeer) PutPacket(buffer *PoolByteArray) int64 { log.Println("Calling PacketPeer.PutPacket()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buffer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "put_packet", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntPoolByteArray(o, "put_packet", buffer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61503,17 +40080,9 @@ func (o *PacketPeer) PutPacket(buffer *PoolByteArray) int64 { func (o *PacketPeer) PutVar(variable *Variant) int64 { log.Println("Calling PacketPeer.PutVar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(variable) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "put_var", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVariant(o, "put_var", variable) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61524,14 +40093,7 @@ func (o *PacketPeer) PutVar(variable *Variant) int64 { func (o *PacketPeer) SetAllowObjectDecoding(enable bool) { log.Println("Calling PacketPeer.SetAllowObjectDecoding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_allow_object_decoding", goArguments, "") - + godotCallVoidBool(o, "set_allow_object_decoding", enable) log.Println(" Function successfully completed.") } @@ -61560,16 +40122,9 @@ func (o *PacketPeerStream) baseClass() string { func (o *PacketPeerStream) GetInputBufferMaxSize() int64 { log.Println("Calling PacketPeerStream.GetInputBufferMaxSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_input_buffer_max_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_input_buffer_max_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61580,16 +40135,9 @@ func (o *PacketPeerStream) GetInputBufferMaxSize() int64 { func (o *PacketPeerStream) GetOutputBufferMaxSize() int64 { log.Println("Calling PacketPeerStream.GetOutputBufferMaxSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_output_buffer_max_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_output_buffer_max_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61600,17 +40148,12 @@ func (o *PacketPeerStream) GetOutputBufferMaxSize() int64 { func (o *PacketPeerStream) GetStreamPeer() *StreamPeer { log.Println("Calling PacketPeerStream.GetStreamPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream_peer", goArguments, "*StreamPeer") - - returnValue := goRet.Interface().(*StreamPeer) - + returnValue := godotCallObject(o, "get_stream_peer") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StreamPeer + ret.owner = returnValue.owner + return &ret } @@ -61620,14 +40163,7 @@ func (o *PacketPeerStream) GetStreamPeer() *StreamPeer { func (o *PacketPeerStream) SetInputBufferMaxSize(maxSizeBytes int64) { log.Println("Calling PacketPeerStream.SetInputBufferMaxSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maxSizeBytes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_input_buffer_max_size", goArguments, "") - + godotCallVoidInt(o, "set_input_buffer_max_size", maxSizeBytes) log.Println(" Function successfully completed.") } @@ -61638,14 +40174,7 @@ func (o *PacketPeerStream) SetInputBufferMaxSize(maxSizeBytes int64) { func (o *PacketPeerStream) SetOutputBufferMaxSize(maxSizeBytes int64) { log.Println("Calling PacketPeerStream.SetOutputBufferMaxSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maxSizeBytes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_output_buffer_max_size", goArguments, "") - + godotCallVoidInt(o, "set_output_buffer_max_size", maxSizeBytes) log.Println(" Function successfully completed.") } @@ -61656,14 +40185,7 @@ func (o *PacketPeerStream) SetOutputBufferMaxSize(maxSizeBytes int64) { func (o *PacketPeerStream) SetStreamPeer(peer *StreamPeer) { log.Println("Calling PacketPeerStream.SetStreamPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(peer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream_peer", goArguments, "") - + godotCallVoidObject(o, "set_stream_peer", &peer.Object) log.Println(" Function successfully completed.") } @@ -61692,13 +40214,7 @@ func (o *PacketPeerUDP) baseClass() string { func (o *PacketPeerUDP) Close() { log.Println("Calling PacketPeerUDP.Close()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "close", goArguments, "") - + godotCallVoid(o, "close") log.Println(" Function successfully completed.") } @@ -61709,16 +40225,9 @@ func (o *PacketPeerUDP) Close() { func (o *PacketPeerUDP) GetPacketIp() string { log.Println("Calling PacketPeerUDP.GetPacketIp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_packet_ip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_packet_ip") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61729,16 +40238,9 @@ func (o *PacketPeerUDP) GetPacketIp() string { func (o *PacketPeerUDP) GetPacketPort() int64 { log.Println("Calling PacketPeerUDP.GetPacketPort()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_packet_port", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_packet_port") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61749,16 +40251,9 @@ func (o *PacketPeerUDP) GetPacketPort() int64 { func (o *PacketPeerUDP) IsListening() bool { log.Println("Calling PacketPeerUDP.IsListening()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_listening", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_listening") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61769,19 +40264,9 @@ func (o *PacketPeerUDP) IsListening() bool { func (o *PacketPeerUDP) Listen(port int64, bindAddress string, recvBufSize int64) int64 { log.Println("Calling PacketPeerUDP.Listen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(port) - goArguments[1] = reflect.ValueOf(bindAddress) - goArguments[2] = reflect.ValueOf(recvBufSize) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "listen", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntStringInt(o, "listen", port, bindAddress, recvBufSize) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61792,18 +40277,9 @@ func (o *PacketPeerUDP) Listen(port int64, bindAddress string, recvBufSize int64 func (o *PacketPeerUDP) SetDestAddress(host string, port int64) int64 { log.Println("Calling PacketPeerUDP.SetDestAddress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(host) - goArguments[1] = reflect.ValueOf(port) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "set_dest_address", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringInt(o, "set_dest_address", host, port) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61814,16 +40290,9 @@ func (o *PacketPeerUDP) SetDestAddress(host string, port int64) int64 { func (o *PacketPeerUDP) Wait() int64 { log.Println("Calling PacketPeerUDP.Wait()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "wait", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "wait") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61888,17 +40357,12 @@ func (o *PanoramaSky) baseClass() string { func (o *PanoramaSky) GetPanorama() *Texture { log.Println("Calling PanoramaSky.GetPanorama()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_panorama", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_panorama") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -61908,14 +40372,7 @@ func (o *PanoramaSky) GetPanorama() *Texture { func (o *PanoramaSky) SetPanorama(texture *Texture) { log.Println("Calling PanoramaSky.SetPanorama()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_panorama", goArguments, "") - + godotCallVoidObject(o, "set_panorama", &texture.Object) log.Println(" Function successfully completed.") } @@ -61944,15 +40401,7 @@ func (o *ParallaxBackground) baseClass() string { func (o *ParallaxBackground) X_CameraMoved(arg0 *Transform2D, arg1 *Vector2) { log.Println("Calling ParallaxBackground.X_CameraMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_camera_moved", goArguments, "") - + godotCallVoidTransform2DVector2(o, "_camera_moved", arg0, arg1) log.Println(" Function successfully completed.") } @@ -61963,16 +40412,9 @@ func (o *ParallaxBackground) X_CameraMoved(arg0 *Transform2D, arg1 *Vector2) { func (o *ParallaxBackground) GetLimitBegin() *Vector2 { log.Println("Calling ParallaxBackground.GetLimitBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_limit_begin", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_limit_begin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -61983,16 +40425,9 @@ func (o *ParallaxBackground) GetLimitBegin() *Vector2 { func (o *ParallaxBackground) GetLimitEnd() *Vector2 { log.Println("Calling ParallaxBackground.GetLimitEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_limit_end", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_limit_end") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62003,16 +40438,9 @@ func (o *ParallaxBackground) GetLimitEnd() *Vector2 { func (o *ParallaxBackground) GetScrollBaseOffset() *Vector2 { log.Println("Calling ParallaxBackground.GetScrollBaseOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scroll_base_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scroll_base_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62023,16 +40451,9 @@ func (o *ParallaxBackground) GetScrollBaseOffset() *Vector2 { func (o *ParallaxBackground) GetScrollBaseScale() *Vector2 { log.Println("Calling ParallaxBackground.GetScrollBaseScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scroll_base_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scroll_base_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62043,16 +40464,9 @@ func (o *ParallaxBackground) GetScrollBaseScale() *Vector2 { func (o *ParallaxBackground) GetScrollOffset() *Vector2 { log.Println("Calling ParallaxBackground.GetScrollOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scroll_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scroll_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62063,16 +40477,9 @@ func (o *ParallaxBackground) GetScrollOffset() *Vector2 { func (o *ParallaxBackground) IsIgnoreCameraZoom() bool { log.Println("Calling ParallaxBackground.IsIgnoreCameraZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ignore_camera_zoom", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ignore_camera_zoom") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62083,14 +40490,7 @@ func (o *ParallaxBackground) IsIgnoreCameraZoom() bool { func (o *ParallaxBackground) SetIgnoreCameraZoom(ignore bool) { log.Println("Calling ParallaxBackground.SetIgnoreCameraZoom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ignore) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ignore_camera_zoom", goArguments, "") - + godotCallVoidBool(o, "set_ignore_camera_zoom", ignore) log.Println(" Function successfully completed.") } @@ -62101,14 +40501,7 @@ func (o *ParallaxBackground) SetIgnoreCameraZoom(ignore bool) { func (o *ParallaxBackground) SetLimitBegin(ofs *Vector2) { log.Println("Calling ParallaxBackground.SetLimitBegin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_limit_begin", goArguments, "") - + godotCallVoidVector2(o, "set_limit_begin", ofs) log.Println(" Function successfully completed.") } @@ -62119,14 +40512,7 @@ func (o *ParallaxBackground) SetLimitBegin(ofs *Vector2) { func (o *ParallaxBackground) SetLimitEnd(ofs *Vector2) { log.Println("Calling ParallaxBackground.SetLimitEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_limit_end", goArguments, "") - + godotCallVoidVector2(o, "set_limit_end", ofs) log.Println(" Function successfully completed.") } @@ -62137,14 +40523,7 @@ func (o *ParallaxBackground) SetLimitEnd(ofs *Vector2) { func (o *ParallaxBackground) SetScrollBaseOffset(ofs *Vector2) { log.Println("Calling ParallaxBackground.SetScrollBaseOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_base_offset", goArguments, "") - + godotCallVoidVector2(o, "set_scroll_base_offset", ofs) log.Println(" Function successfully completed.") } @@ -62155,14 +40534,7 @@ func (o *ParallaxBackground) SetScrollBaseOffset(ofs *Vector2) { func (o *ParallaxBackground) SetScrollBaseScale(scale *Vector2) { log.Println("Calling ParallaxBackground.SetScrollBaseScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_base_scale", goArguments, "") - + godotCallVoidVector2(o, "set_scroll_base_scale", scale) log.Println(" Function successfully completed.") } @@ -62173,14 +40545,7 @@ func (o *ParallaxBackground) SetScrollBaseScale(scale *Vector2) { func (o *ParallaxBackground) SetScrollOffset(ofs *Vector2) { log.Println("Calling ParallaxBackground.SetScrollOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_offset", goArguments, "") - + godotCallVoidVector2(o, "set_scroll_offset", ofs) log.Println(" Function successfully completed.") } @@ -62209,16 +40574,9 @@ func (o *ParallaxLayer) baseClass() string { func (o *ParallaxLayer) GetMirroring() *Vector2 { log.Println("Calling ParallaxLayer.GetMirroring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mirroring", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_mirroring") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62229,16 +40587,9 @@ func (o *ParallaxLayer) GetMirroring() *Vector2 { func (o *ParallaxLayer) GetMotionOffset() *Vector2 { log.Println("Calling ParallaxLayer.GetMotionOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_motion_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_motion_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62249,16 +40600,9 @@ func (o *ParallaxLayer) GetMotionOffset() *Vector2 { func (o *ParallaxLayer) GetMotionScale() *Vector2 { log.Println("Calling ParallaxLayer.GetMotionScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_motion_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_motion_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62269,14 +40613,7 @@ func (o *ParallaxLayer) GetMotionScale() *Vector2 { func (o *ParallaxLayer) SetMirroring(mirror *Vector2) { log.Println("Calling ParallaxLayer.SetMirroring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mirror) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mirroring", goArguments, "") - + godotCallVoidVector2(o, "set_mirroring", mirror) log.Println(" Function successfully completed.") } @@ -62287,14 +40624,7 @@ func (o *ParallaxLayer) SetMirroring(mirror *Vector2) { func (o *ParallaxLayer) SetMotionOffset(offset *Vector2) { log.Println("Calling ParallaxLayer.SetMotionOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_motion_offset", goArguments, "") - + godotCallVoidVector2(o, "set_motion_offset", offset) log.Println(" Function successfully completed.") } @@ -62305,14 +40635,7 @@ func (o *ParallaxLayer) SetMotionOffset(offset *Vector2) { func (o *ParallaxLayer) SetMotionScale(scale *Vector2) { log.Println("Calling ParallaxLayer.SetMotionScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_motion_scale", goArguments, "") - + godotCallVoidVector2(o, "set_motion_scale", scale) log.Println(" Function successfully completed.") } @@ -62341,16 +40664,9 @@ func (o *Particles) baseClass() string { func (o *Particles) CaptureAabb() *AABB { log.Println("Calling Particles.CaptureAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "capture_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "capture_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62361,16 +40677,9 @@ func (o *Particles) CaptureAabb() *AABB { func (o *Particles) GetAmount() int64 { log.Println("Calling Particles.GetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_amount", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62381,16 +40690,9 @@ func (o *Particles) GetAmount() int64 { func (o *Particles) GetDrawOrder() int64 { log.Println("Calling Particles.GetDrawOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_order", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_draw_order") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62401,18 +40703,12 @@ func (o *Particles) GetDrawOrder() int64 { func (o *Particles) GetDrawPassMesh(pass int64) *Mesh { log.Println("Calling Particles.GetDrawPassMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pass) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_pass_mesh", goArguments, "*Mesh") - - returnValue := goRet.Interface().(*Mesh) - + returnValue := godotCallObjectInt(o, "get_draw_pass_mesh", pass) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Mesh + ret.owner = returnValue.owner + return &ret } @@ -62422,16 +40718,9 @@ func (o *Particles) GetDrawPassMesh(pass int64) *Mesh { func (o *Particles) GetDrawPasses() int64 { log.Println("Calling Particles.GetDrawPasses()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_passes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_draw_passes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62442,16 +40731,9 @@ func (o *Particles) GetDrawPasses() int64 { func (o *Particles) GetExplosivenessRatio() float64 { log.Println("Calling Particles.GetExplosivenessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_explosiveness_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_explosiveness_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62462,16 +40744,9 @@ func (o *Particles) GetExplosivenessRatio() float64 { func (o *Particles) GetFixedFps() int64 { log.Println("Calling Particles.GetFixedFps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fixed_fps", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_fixed_fps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62482,16 +40757,9 @@ func (o *Particles) GetFixedFps() int64 { func (o *Particles) GetFractionalDelta() bool { log.Println("Calling Particles.GetFractionalDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fractional_delta", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_fractional_delta") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62502,16 +40770,9 @@ func (o *Particles) GetFractionalDelta() bool { func (o *Particles) GetLifetime() float64 { log.Println("Calling Particles.GetLifetime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lifetime", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lifetime") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62522,16 +40783,9 @@ func (o *Particles) GetLifetime() float64 { func (o *Particles) GetOneShot() bool { log.Println("Calling Particles.GetOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_one_shot", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_one_shot") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62542,16 +40796,9 @@ func (o *Particles) GetOneShot() bool { func (o *Particles) GetPreProcessTime() float64 { log.Println("Calling Particles.GetPreProcessTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pre_process_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pre_process_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62562,17 +40809,12 @@ func (o *Particles) GetPreProcessTime() float64 { func (o *Particles) GetProcessMaterial() *Material { log.Println("Calling Particles.GetProcessMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_process_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_process_material") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -62582,16 +40824,9 @@ func (o *Particles) GetProcessMaterial() *Material { func (o *Particles) GetRandomnessRatio() float64 { log.Println("Calling Particles.GetRandomnessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_randomness_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_randomness_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62602,16 +40837,9 @@ func (o *Particles) GetRandomnessRatio() float64 { func (o *Particles) GetSpeedScale() float64 { log.Println("Calling Particles.GetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_speed_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62622,16 +40850,9 @@ func (o *Particles) GetSpeedScale() float64 { func (o *Particles) GetUseLocalCoordinates() bool { log.Println("Calling Particles.GetUseLocalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_local_coordinates", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_local_coordinates") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62642,16 +40863,9 @@ func (o *Particles) GetUseLocalCoordinates() bool { func (o *Particles) GetVisibilityAabb() *AABB { log.Println("Calling Particles.GetVisibilityAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visibility_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_visibility_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62662,16 +40876,9 @@ func (o *Particles) GetVisibilityAabb() *AABB { func (o *Particles) IsEmitting() bool { log.Println("Calling Particles.IsEmitting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_emitting", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_emitting") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -62682,13 +40889,7 @@ func (o *Particles) IsEmitting() bool { func (o *Particles) Restart() { log.Println("Calling Particles.Restart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "restart", goArguments, "") - + godotCallVoid(o, "restart") log.Println(" Function successfully completed.") } @@ -62699,14 +40900,7 @@ func (o *Particles) Restart() { func (o *Particles) SetAmount(amount int64) { log.Println("Calling Particles.SetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_amount", goArguments, "") - + godotCallVoidInt(o, "set_amount", amount) log.Println(" Function successfully completed.") } @@ -62717,14 +40911,7 @@ func (o *Particles) SetAmount(amount int64) { func (o *Particles) SetDrawOrder(order int64) { log.Println("Calling Particles.SetDrawOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(order) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_order", goArguments, "") - + godotCallVoidInt(o, "set_draw_order", order) log.Println(" Function successfully completed.") } @@ -62735,15 +40922,7 @@ func (o *Particles) SetDrawOrder(order int64) { func (o *Particles) SetDrawPassMesh(pass int64, mesh *Mesh) { log.Println("Calling Particles.SetDrawPassMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(pass) - goArguments[1] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_pass_mesh", goArguments, "") - + godotCallVoidIntObject(o, "set_draw_pass_mesh", pass, &mesh.Object) log.Println(" Function successfully completed.") } @@ -62754,14 +40933,7 @@ func (o *Particles) SetDrawPassMesh(pass int64, mesh *Mesh) { func (o *Particles) SetDrawPasses(passes int64) { log.Println("Calling Particles.SetDrawPasses()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(passes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_passes", goArguments, "") - + godotCallVoidInt(o, "set_draw_passes", passes) log.Println(" Function successfully completed.") } @@ -62772,14 +40944,7 @@ func (o *Particles) SetDrawPasses(passes int64) { func (o *Particles) SetEmitting(emitting bool) { log.Println("Calling Particles.SetEmitting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(emitting) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emitting", goArguments, "") - + godotCallVoidBool(o, "set_emitting", emitting) log.Println(" Function successfully completed.") } @@ -62790,14 +40955,7 @@ func (o *Particles) SetEmitting(emitting bool) { func (o *Particles) SetExplosivenessRatio(ratio float64) { log.Println("Calling Particles.SetExplosivenessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_explosiveness_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_explosiveness_ratio", ratio) log.Println(" Function successfully completed.") } @@ -62808,14 +40966,7 @@ func (o *Particles) SetExplosivenessRatio(ratio float64) { func (o *Particles) SetFixedFps(fps int64) { log.Println("Calling Particles.SetFixedFps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fps) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fixed_fps", goArguments, "") - + godotCallVoidInt(o, "set_fixed_fps", fps) log.Println(" Function successfully completed.") } @@ -62826,14 +40977,7 @@ func (o *Particles) SetFixedFps(fps int64) { func (o *Particles) SetFractionalDelta(enable bool) { log.Println("Calling Particles.SetFractionalDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fractional_delta", goArguments, "") - + godotCallVoidBool(o, "set_fractional_delta", enable) log.Println(" Function successfully completed.") } @@ -62844,14 +40988,7 @@ func (o *Particles) SetFractionalDelta(enable bool) { func (o *Particles) SetLifetime(secs float64) { log.Println("Calling Particles.SetLifetime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(secs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lifetime", goArguments, "") - + godotCallVoidFloat(o, "set_lifetime", secs) log.Println(" Function successfully completed.") } @@ -62862,14 +40999,7 @@ func (o *Particles) SetLifetime(secs float64) { func (o *Particles) SetOneShot(enable bool) { log.Println("Calling Particles.SetOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_one_shot", goArguments, "") - + godotCallVoidBool(o, "set_one_shot", enable) log.Println(" Function successfully completed.") } @@ -62880,14 +41010,7 @@ func (o *Particles) SetOneShot(enable bool) { func (o *Particles) SetPreProcessTime(secs float64) { log.Println("Calling Particles.SetPreProcessTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(secs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pre_process_time", goArguments, "") - + godotCallVoidFloat(o, "set_pre_process_time", secs) log.Println(" Function successfully completed.") } @@ -62898,14 +41021,7 @@ func (o *Particles) SetPreProcessTime(secs float64) { func (o *Particles) SetProcessMaterial(material *Material) { log.Println("Calling Particles.SetProcessMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_material", goArguments, "") - + godotCallVoidObject(o, "set_process_material", &material.Object) log.Println(" Function successfully completed.") } @@ -62916,14 +41032,7 @@ func (o *Particles) SetProcessMaterial(material *Material) { func (o *Particles) SetRandomnessRatio(ratio float64) { log.Println("Calling Particles.SetRandomnessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_randomness_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_randomness_ratio", ratio) log.Println(" Function successfully completed.") } @@ -62934,14 +41043,7 @@ func (o *Particles) SetRandomnessRatio(ratio float64) { func (o *Particles) SetSpeedScale(scale float64) { log.Println("Calling Particles.SetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed_scale", goArguments, "") - + godotCallVoidFloat(o, "set_speed_scale", scale) log.Println(" Function successfully completed.") } @@ -62952,14 +41054,7 @@ func (o *Particles) SetSpeedScale(scale float64) { func (o *Particles) SetUseLocalCoordinates(enable bool) { log.Println("Calling Particles.SetUseLocalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_local_coordinates", goArguments, "") - + godotCallVoidBool(o, "set_use_local_coordinates", enable) log.Println(" Function successfully completed.") } @@ -62970,14 +41065,7 @@ func (o *Particles) SetUseLocalCoordinates(enable bool) { func (o *Particles) SetVisibilityAabb(aabb *AABB) { log.Println("Calling Particles.SetVisibilityAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aabb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visibility_aabb", goArguments, "") - + godotCallVoidAabb(o, "set_visibility_aabb", aabb) log.Println(" Function successfully completed.") } @@ -63006,16 +41094,9 @@ func (o *Particles2D) baseClass() string { func (o *Particles2D) CaptureRect() *Rect2 { log.Println("Calling Particles2D.CaptureRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "capture_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "capture_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63026,16 +41107,9 @@ func (o *Particles2D) CaptureRect() *Rect2 { func (o *Particles2D) GetAmount() int64 { log.Println("Calling Particles2D.GetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_amount", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_amount") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63046,16 +41120,9 @@ func (o *Particles2D) GetAmount() int64 { func (o *Particles2D) GetDrawOrder() int64 { log.Println("Calling Particles2D.GetDrawOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_order", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_draw_order") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63066,16 +41133,9 @@ func (o *Particles2D) GetDrawOrder() int64 { func (o *Particles2D) GetExplosivenessRatio() float64 { log.Println("Calling Particles2D.GetExplosivenessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_explosiveness_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_explosiveness_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63086,16 +41146,9 @@ func (o *Particles2D) GetExplosivenessRatio() float64 { func (o *Particles2D) GetFixedFps() int64 { log.Println("Calling Particles2D.GetFixedFps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fixed_fps", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_fixed_fps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63106,16 +41159,9 @@ func (o *Particles2D) GetFixedFps() int64 { func (o *Particles2D) GetFractionalDelta() bool { log.Println("Calling Particles2D.GetFractionalDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fractional_delta", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_fractional_delta") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63126,16 +41172,9 @@ func (o *Particles2D) GetFractionalDelta() bool { func (o *Particles2D) GetHFrames() int64 { log.Println("Calling Particles2D.GetHFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_frames", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_frames") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63146,16 +41185,9 @@ func (o *Particles2D) GetHFrames() int64 { func (o *Particles2D) GetLifetime() float64 { log.Println("Calling Particles2D.GetLifetime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lifetime", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lifetime") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63166,17 +41198,12 @@ func (o *Particles2D) GetLifetime() float64 { func (o *Particles2D) GetNormalMap() *Texture { log.Println("Calling Particles2D.GetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_map", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_normal_map") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63186,16 +41213,9 @@ func (o *Particles2D) GetNormalMap() *Texture { func (o *Particles2D) GetOneShot() bool { log.Println("Calling Particles2D.GetOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_one_shot", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_one_shot") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63206,16 +41226,9 @@ func (o *Particles2D) GetOneShot() bool { func (o *Particles2D) GetPreProcessTime() float64 { log.Println("Calling Particles2D.GetPreProcessTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pre_process_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pre_process_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63226,17 +41239,12 @@ func (o *Particles2D) GetPreProcessTime() float64 { func (o *Particles2D) GetProcessMaterial() *Material { log.Println("Calling Particles2D.GetProcessMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_process_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_process_material") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -63246,16 +41254,9 @@ func (o *Particles2D) GetProcessMaterial() *Material { func (o *Particles2D) GetRandomnessRatio() float64 { log.Println("Calling Particles2D.GetRandomnessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_randomness_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_randomness_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63266,16 +41267,9 @@ func (o *Particles2D) GetRandomnessRatio() float64 { func (o *Particles2D) GetSpeedScale() float64 { log.Println("Calling Particles2D.GetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_speed_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63286,17 +41280,12 @@ func (o *Particles2D) GetSpeedScale() float64 { func (o *Particles2D) GetTexture() *Texture { log.Println("Calling Particles2D.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63306,16 +41295,9 @@ func (o *Particles2D) GetTexture() *Texture { func (o *Particles2D) GetUseLocalCoordinates() bool { log.Println("Calling Particles2D.GetUseLocalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_local_coordinates", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_local_coordinates") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63326,16 +41308,9 @@ func (o *Particles2D) GetUseLocalCoordinates() bool { func (o *Particles2D) GetVFrames() int64 { log.Println("Calling Particles2D.GetVFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_frames", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_frames") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63346,16 +41321,9 @@ func (o *Particles2D) GetVFrames() int64 { func (o *Particles2D) GetVisibilityRect() *Rect2 { log.Println("Calling Particles2D.GetVisibilityRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visibility_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_visibility_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63366,16 +41334,9 @@ func (o *Particles2D) GetVisibilityRect() *Rect2 { func (o *Particles2D) IsEmitting() bool { log.Println("Calling Particles2D.IsEmitting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_emitting", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_emitting") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63386,13 +41347,7 @@ func (o *Particles2D) IsEmitting() bool { func (o *Particles2D) Restart() { log.Println("Calling Particles2D.Restart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "restart", goArguments, "") - + godotCallVoid(o, "restart") log.Println(" Function successfully completed.") } @@ -63403,14 +41358,7 @@ func (o *Particles2D) Restart() { func (o *Particles2D) SetAmount(amount int64) { log.Println("Calling Particles2D.SetAmount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_amount", goArguments, "") - + godotCallVoidInt(o, "set_amount", amount) log.Println(" Function successfully completed.") } @@ -63421,14 +41369,7 @@ func (o *Particles2D) SetAmount(amount int64) { func (o *Particles2D) SetDrawOrder(order int64) { log.Println("Calling Particles2D.SetDrawOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(order) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_order", goArguments, "") - + godotCallVoidInt(o, "set_draw_order", order) log.Println(" Function successfully completed.") } @@ -63439,14 +41380,7 @@ func (o *Particles2D) SetDrawOrder(order int64) { func (o *Particles2D) SetEmitting(emitting bool) { log.Println("Calling Particles2D.SetEmitting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(emitting) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emitting", goArguments, "") - + godotCallVoidBool(o, "set_emitting", emitting) log.Println(" Function successfully completed.") } @@ -63457,14 +41391,7 @@ func (o *Particles2D) SetEmitting(emitting bool) { func (o *Particles2D) SetExplosivenessRatio(ratio float64) { log.Println("Calling Particles2D.SetExplosivenessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_explosiveness_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_explosiveness_ratio", ratio) log.Println(" Function successfully completed.") } @@ -63475,14 +41402,7 @@ func (o *Particles2D) SetExplosivenessRatio(ratio float64) { func (o *Particles2D) SetFixedFps(fps int64) { log.Println("Calling Particles2D.SetFixedFps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(fps) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fixed_fps", goArguments, "") - + godotCallVoidInt(o, "set_fixed_fps", fps) log.Println(" Function successfully completed.") } @@ -63493,14 +41413,7 @@ func (o *Particles2D) SetFixedFps(fps int64) { func (o *Particles2D) SetFractionalDelta(enable bool) { log.Println("Calling Particles2D.SetFractionalDelta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fractional_delta", goArguments, "") - + godotCallVoidBool(o, "set_fractional_delta", enable) log.Println(" Function successfully completed.") } @@ -63511,14 +41424,7 @@ func (o *Particles2D) SetFractionalDelta(enable bool) { func (o *Particles2D) SetHFrames(frames int64) { log.Println("Calling Particles2D.SetHFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_frames", goArguments, "") - + godotCallVoidInt(o, "set_h_frames", frames) log.Println(" Function successfully completed.") } @@ -63529,14 +41435,7 @@ func (o *Particles2D) SetHFrames(frames int64) { func (o *Particles2D) SetLifetime(secs float64) { log.Println("Calling Particles2D.SetLifetime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(secs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lifetime", goArguments, "") - + godotCallVoidFloat(o, "set_lifetime", secs) log.Println(" Function successfully completed.") } @@ -63547,14 +41446,7 @@ func (o *Particles2D) SetLifetime(secs float64) { func (o *Particles2D) SetNormalMap(texture *Texture) { log.Println("Calling Particles2D.SetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_map", goArguments, "") - + godotCallVoidObject(o, "set_normal_map", &texture.Object) log.Println(" Function successfully completed.") } @@ -63565,14 +41457,7 @@ func (o *Particles2D) SetNormalMap(texture *Texture) { func (o *Particles2D) SetOneShot(secs bool) { log.Println("Calling Particles2D.SetOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(secs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_one_shot", goArguments, "") - + godotCallVoidBool(o, "set_one_shot", secs) log.Println(" Function successfully completed.") } @@ -63583,14 +41468,7 @@ func (o *Particles2D) SetOneShot(secs bool) { func (o *Particles2D) SetPreProcessTime(secs float64) { log.Println("Calling Particles2D.SetPreProcessTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(secs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pre_process_time", goArguments, "") - + godotCallVoidFloat(o, "set_pre_process_time", secs) log.Println(" Function successfully completed.") } @@ -63601,14 +41479,7 @@ func (o *Particles2D) SetPreProcessTime(secs float64) { func (o *Particles2D) SetProcessMaterial(material *Material) { log.Println("Calling Particles2D.SetProcessMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_process_material", goArguments, "") - + godotCallVoidObject(o, "set_process_material", &material.Object) log.Println(" Function successfully completed.") } @@ -63619,14 +41490,7 @@ func (o *Particles2D) SetProcessMaterial(material *Material) { func (o *Particles2D) SetRandomnessRatio(ratio float64) { log.Println("Calling Particles2D.SetRandomnessRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_randomness_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_randomness_ratio", ratio) log.Println(" Function successfully completed.") } @@ -63637,14 +41501,7 @@ func (o *Particles2D) SetRandomnessRatio(ratio float64) { func (o *Particles2D) SetSpeedScale(scale float64) { log.Println("Calling Particles2D.SetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed_scale", goArguments, "") - + godotCallVoidFloat(o, "set_speed_scale", scale) log.Println(" Function successfully completed.") } @@ -63655,14 +41512,7 @@ func (o *Particles2D) SetSpeedScale(scale float64) { func (o *Particles2D) SetTexture(texture *Texture) { log.Println("Calling Particles2D.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -63673,14 +41523,7 @@ func (o *Particles2D) SetTexture(texture *Texture) { func (o *Particles2D) SetUseLocalCoordinates(enable bool) { log.Println("Calling Particles2D.SetUseLocalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_local_coordinates", goArguments, "") - + godotCallVoidBool(o, "set_use_local_coordinates", enable) log.Println(" Function successfully completed.") } @@ -63691,14 +41534,7 @@ func (o *Particles2D) SetUseLocalCoordinates(enable bool) { func (o *Particles2D) SetVFrames(frames int64) { log.Println("Calling Particles2D.SetVFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_frames", goArguments, "") - + godotCallVoidInt(o, "set_v_frames", frames) log.Println(" Function successfully completed.") } @@ -63709,14 +41545,7 @@ func (o *Particles2D) SetVFrames(frames int64) { func (o *Particles2D) SetVisibilityRect(aabb *Rect2) { log.Println("Calling Particles2D.SetVisibilityRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aabb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visibility_rect", goArguments, "") - + godotCallVoidRect2(o, "set_visibility_rect", aabb) log.Println(" Function successfully completed.") } @@ -63745,16 +41574,9 @@ func (o *ParticlesMaterial) baseClass() string { func (o *ParticlesMaterial) GetColor() *Color { log.Println("Calling ParticlesMaterial.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63765,17 +41587,12 @@ func (o *ParticlesMaterial) GetColor() *Color { func (o *ParticlesMaterial) GetColorRamp() *Texture { log.Println("Calling ParticlesMaterial.GetColorRamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color_ramp", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_color_ramp") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63785,16 +41602,9 @@ func (o *ParticlesMaterial) GetColorRamp() *Texture { func (o *ParticlesMaterial) GetEmissionBoxExtents() *Vector3 { log.Println("Calling ParticlesMaterial.GetEmissionBoxExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_box_extents", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_emission_box_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63805,17 +41615,12 @@ func (o *ParticlesMaterial) GetEmissionBoxExtents() *Vector3 { func (o *ParticlesMaterial) GetEmissionColorTexture() *Texture { log.Println("Calling ParticlesMaterial.GetEmissionColorTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_color_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_emission_color_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63825,17 +41630,12 @@ func (o *ParticlesMaterial) GetEmissionColorTexture() *Texture { func (o *ParticlesMaterial) GetEmissionNormalTexture() *Texture { log.Println("Calling ParticlesMaterial.GetEmissionNormalTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_normal_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_emission_normal_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63845,16 +41645,9 @@ func (o *ParticlesMaterial) GetEmissionNormalTexture() *Texture { func (o *ParticlesMaterial) GetEmissionPointCount() int64 { log.Println("Calling ParticlesMaterial.GetEmissionPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_point_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_emission_point_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63865,17 +41658,12 @@ func (o *ParticlesMaterial) GetEmissionPointCount() int64 { func (o *ParticlesMaterial) GetEmissionPointTexture() *Texture { log.Println("Calling ParticlesMaterial.GetEmissionPointTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_point_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_emission_point_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -63885,16 +41673,9 @@ func (o *ParticlesMaterial) GetEmissionPointTexture() *Texture { func (o *ParticlesMaterial) GetEmissionShape() int64 { log.Println("Calling ParticlesMaterial.GetEmissionShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_emission_shape") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63905,16 +41686,9 @@ func (o *ParticlesMaterial) GetEmissionShape() int64 { func (o *ParticlesMaterial) GetEmissionSphereRadius() float64 { log.Println("Calling ParticlesMaterial.GetEmissionSphereRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_sphere_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_emission_sphere_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63925,17 +41699,9 @@ func (o *ParticlesMaterial) GetEmissionSphereRadius() float64 { func (o *ParticlesMaterial) GetFlag(flag int64) bool { log.Println("Calling ParticlesMaterial.GetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63946,16 +41712,9 @@ func (o *ParticlesMaterial) GetFlag(flag int64) bool { func (o *ParticlesMaterial) GetFlatness() float64 { log.Println("Calling ParticlesMaterial.GetFlatness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flatness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_flatness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63966,16 +41725,9 @@ func (o *ParticlesMaterial) GetFlatness() float64 { func (o *ParticlesMaterial) GetGravity() *Vector3 { log.Println("Calling ParticlesMaterial.GetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -63986,17 +41738,9 @@ func (o *ParticlesMaterial) GetGravity() *Vector3 { func (o *ParticlesMaterial) GetParam(param int64) float64 { log.Println("Calling ParticlesMaterial.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64007,17 +41751,9 @@ func (o *ParticlesMaterial) GetParam(param int64) float64 { func (o *ParticlesMaterial) GetParamRandomness(param int64) float64 { log.Println("Calling ParticlesMaterial.GetParamRandomness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param_randomness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param_randomness", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64028,18 +41764,12 @@ func (o *ParticlesMaterial) GetParamRandomness(param int64) float64 { func (o *ParticlesMaterial) GetParamTexture(param int64) *Texture { log.Println("Calling ParticlesMaterial.GetParamTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_param_texture", param) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -64049,16 +41779,9 @@ func (o *ParticlesMaterial) GetParamTexture(param int64) *Texture { func (o *ParticlesMaterial) GetSpread() float64 { log.Println("Calling ParticlesMaterial.GetSpread()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_spread", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_spread") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64069,17 +41792,12 @@ func (o *ParticlesMaterial) GetSpread() float64 { func (o *ParticlesMaterial) GetTrailColorModifier() *GradientTexture { log.Println("Calling ParticlesMaterial.GetTrailColorModifier()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_trail_color_modifier", goArguments, "*GradientTexture") - - returnValue := goRet.Interface().(*GradientTexture) - + returnValue := godotCallObject(o, "get_trail_color_modifier") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret GradientTexture + ret.owner = returnValue.owner + return &ret } @@ -64089,16 +41807,9 @@ func (o *ParticlesMaterial) GetTrailColorModifier() *GradientTexture { func (o *ParticlesMaterial) GetTrailDivisor() int64 { log.Println("Calling ParticlesMaterial.GetTrailDivisor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_trail_divisor", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_trail_divisor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64109,17 +41820,12 @@ func (o *ParticlesMaterial) GetTrailDivisor() int64 { func (o *ParticlesMaterial) GetTrailSizeModifier() *CurveTexture { log.Println("Calling ParticlesMaterial.GetTrailSizeModifier()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_trail_size_modifier", goArguments, "*CurveTexture") - - returnValue := goRet.Interface().(*CurveTexture) - + returnValue := godotCallObject(o, "get_trail_size_modifier") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret CurveTexture + ret.owner = returnValue.owner + return &ret } @@ -64129,14 +41835,7 @@ func (o *ParticlesMaterial) GetTrailSizeModifier() *CurveTexture { func (o *ParticlesMaterial) SetColor(color *Color) { log.Println("Calling ParticlesMaterial.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -64147,14 +41846,7 @@ func (o *ParticlesMaterial) SetColor(color *Color) { func (o *ParticlesMaterial) SetColorRamp(ramp *Texture) { log.Println("Calling ParticlesMaterial.SetColorRamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ramp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color_ramp", goArguments, "") - + godotCallVoidObject(o, "set_color_ramp", &ramp.Object) log.Println(" Function successfully completed.") } @@ -64165,14 +41857,7 @@ func (o *ParticlesMaterial) SetColorRamp(ramp *Texture) { func (o *ParticlesMaterial) SetEmissionBoxExtents(extents *Vector3) { log.Println("Calling ParticlesMaterial.SetEmissionBoxExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_box_extents", goArguments, "") - + godotCallVoidVector3(o, "set_emission_box_extents", extents) log.Println(" Function successfully completed.") } @@ -64183,14 +41868,7 @@ func (o *ParticlesMaterial) SetEmissionBoxExtents(extents *Vector3) { func (o *ParticlesMaterial) SetEmissionColorTexture(texture *Texture) { log.Println("Calling ParticlesMaterial.SetEmissionColorTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_color_texture", goArguments, "") - + godotCallVoidObject(o, "set_emission_color_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -64201,14 +41879,7 @@ func (o *ParticlesMaterial) SetEmissionColorTexture(texture *Texture) { func (o *ParticlesMaterial) SetEmissionNormalTexture(texture *Texture) { log.Println("Calling ParticlesMaterial.SetEmissionNormalTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_normal_texture", goArguments, "") - + godotCallVoidObject(o, "set_emission_normal_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -64219,14 +41890,7 @@ func (o *ParticlesMaterial) SetEmissionNormalTexture(texture *Texture) { func (o *ParticlesMaterial) SetEmissionPointCount(pointCount int64) { log.Println("Calling ParticlesMaterial.SetEmissionPointCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pointCount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_point_count", goArguments, "") - + godotCallVoidInt(o, "set_emission_point_count", pointCount) log.Println(" Function successfully completed.") } @@ -64237,14 +41901,7 @@ func (o *ParticlesMaterial) SetEmissionPointCount(pointCount int64) { func (o *ParticlesMaterial) SetEmissionPointTexture(texture *Texture) { log.Println("Calling ParticlesMaterial.SetEmissionPointTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_point_texture", goArguments, "") - + godotCallVoidObject(o, "set_emission_point_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -64255,14 +41912,7 @@ func (o *ParticlesMaterial) SetEmissionPointTexture(texture *Texture) { func (o *ParticlesMaterial) SetEmissionShape(shape int64) { log.Println("Calling ParticlesMaterial.SetEmissionShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_shape", goArguments, "") - + godotCallVoidInt(o, "set_emission_shape", shape) log.Println(" Function successfully completed.") } @@ -64273,14 +41923,7 @@ func (o *ParticlesMaterial) SetEmissionShape(shape int64) { func (o *ParticlesMaterial) SetEmissionSphereRadius(radius float64) { log.Println("Calling ParticlesMaterial.SetEmissionSphereRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_sphere_radius", goArguments, "") - + godotCallVoidFloat(o, "set_emission_sphere_radius", radius) log.Println(" Function successfully completed.") } @@ -64291,15 +41934,7 @@ func (o *ParticlesMaterial) SetEmissionSphereRadius(radius float64) { func (o *ParticlesMaterial) SetFlag(flag int64, enable bool) { log.Println("Calling ParticlesMaterial.SetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag", goArguments, "") - + godotCallVoidIntBool(o, "set_flag", flag, enable) log.Println(" Function successfully completed.") } @@ -64310,14 +41945,7 @@ func (o *ParticlesMaterial) SetFlag(flag int64, enable bool) { func (o *ParticlesMaterial) SetFlatness(amount float64) { log.Println("Calling ParticlesMaterial.SetFlatness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flatness", goArguments, "") - + godotCallVoidFloat(o, "set_flatness", amount) log.Println(" Function successfully completed.") } @@ -64328,14 +41956,7 @@ func (o *ParticlesMaterial) SetFlatness(amount float64) { func (o *ParticlesMaterial) SetGravity(accelVec *Vector3) { log.Println("Calling ParticlesMaterial.SetGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(accelVec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity", goArguments, "") - + godotCallVoidVector3(o, "set_gravity", accelVec) log.Println(" Function successfully completed.") } @@ -64346,15 +41967,7 @@ func (o *ParticlesMaterial) SetGravity(accelVec *Vector3) { func (o *ParticlesMaterial) SetParam(param int64, value float64) { log.Println("Calling ParticlesMaterial.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -64365,15 +41978,7 @@ func (o *ParticlesMaterial) SetParam(param int64, value float64) { func (o *ParticlesMaterial) SetParamRandomness(param int64, randomness float64) { log.Println("Calling ParticlesMaterial.SetParamRandomness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(randomness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param_randomness", goArguments, "") - + godotCallVoidIntFloat(o, "set_param_randomness", param, randomness) log.Println(" Function successfully completed.") } @@ -64384,15 +41989,7 @@ func (o *ParticlesMaterial) SetParamRandomness(param int64, randomness float64) func (o *ParticlesMaterial) SetParamTexture(param int64, texture *Texture) { log.Println("Calling ParticlesMaterial.SetParamTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param_texture", goArguments, "") - + godotCallVoidIntObject(o, "set_param_texture", param, &texture.Object) log.Println(" Function successfully completed.") } @@ -64403,14 +42000,7 @@ func (o *ParticlesMaterial) SetParamTexture(param int64, texture *Texture) { func (o *ParticlesMaterial) SetSpread(degrees float64) { log.Println("Calling ParticlesMaterial.SetSpread()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_spread", goArguments, "") - + godotCallVoidFloat(o, "set_spread", degrees) log.Println(" Function successfully completed.") } @@ -64421,14 +42011,7 @@ func (o *ParticlesMaterial) SetSpread(degrees float64) { func (o *ParticlesMaterial) SetTrailColorModifier(texture *GradientTexture) { log.Println("Calling ParticlesMaterial.SetTrailColorModifier()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_trail_color_modifier", goArguments, "") - + godotCallVoidObject(o, "set_trail_color_modifier", &texture.Object) log.Println(" Function successfully completed.") } @@ -64439,14 +42022,7 @@ func (o *ParticlesMaterial) SetTrailColorModifier(texture *GradientTexture) { func (o *ParticlesMaterial) SetTrailDivisor(divisor int64) { log.Println("Calling ParticlesMaterial.SetTrailDivisor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(divisor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_trail_divisor", goArguments, "") - + godotCallVoidInt(o, "set_trail_divisor", divisor) log.Println(" Function successfully completed.") } @@ -64457,14 +42033,7 @@ func (o *ParticlesMaterial) SetTrailDivisor(divisor int64) { func (o *ParticlesMaterial) SetTrailSizeModifier(texture *CurveTexture) { log.Println("Calling ParticlesMaterial.SetTrailSizeModifier()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_trail_size_modifier", goArguments, "") - + godotCallVoidObject(o, "set_trail_size_modifier", &texture.Object) log.Println(" Function successfully completed.") } @@ -64493,13 +42062,7 @@ func (o *Path) baseClass() string { func (o *Path) X_CurveChanged() { log.Println("Calling Path.X_CurveChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_curve_changed", goArguments, "") - + godotCallVoid(o, "_curve_changed") log.Println(" Function successfully completed.") } @@ -64510,17 +42073,12 @@ func (o *Path) X_CurveChanged() { func (o *Path) GetCurve() *Curve3D { log.Println("Calling Path.GetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_curve", goArguments, "*Curve3D") - - returnValue := goRet.Interface().(*Curve3D) - + returnValue := godotCallObject(o, "get_curve") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Curve3D + ret.owner = returnValue.owner + return &ret } @@ -64530,14 +42088,7 @@ func (o *Path) GetCurve() *Curve3D { func (o *Path) SetCurve(curve *Curve3D) { log.Println("Calling Path.SetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_curve", goArguments, "") - + godotCallVoidObject(o, "set_curve", &curve.Object) log.Println(" Function successfully completed.") } @@ -64566,13 +42117,7 @@ func (o *Path2D) baseClass() string { func (o *Path2D) X_CurveChanged() { log.Println("Calling Path2D.X_CurveChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_curve_changed", goArguments, "") - + godotCallVoid(o, "_curve_changed") log.Println(" Function successfully completed.") } @@ -64583,17 +42128,12 @@ func (o *Path2D) X_CurveChanged() { func (o *Path2D) GetCurve() *Curve2D { log.Println("Calling Path2D.GetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_curve", goArguments, "*Curve2D") - - returnValue := goRet.Interface().(*Curve2D) - + returnValue := godotCallObject(o, "get_curve") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Curve2D + ret.owner = returnValue.owner + return &ret } @@ -64603,14 +42143,7 @@ func (o *Path2D) GetCurve() *Curve2D { func (o *Path2D) SetCurve(curve *Curve2D) { log.Println("Calling Path2D.SetCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_curve", goArguments, "") - + godotCallVoidObject(o, "set_curve", &curve.Object) log.Println(" Function successfully completed.") } @@ -64639,16 +42172,9 @@ func (o *PathFollow) baseClass() string { func (o *PathFollow) GetCubicInterpolation() bool { log.Println("Calling PathFollow.GetCubicInterpolation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cubic_interpolation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_cubic_interpolation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64659,16 +42185,9 @@ func (o *PathFollow) GetCubicInterpolation() bool { func (o *PathFollow) GetHOffset() float64 { log.Println("Calling PathFollow.GetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_h_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64679,16 +42198,9 @@ func (o *PathFollow) GetHOffset() float64 { func (o *PathFollow) GetOffset() float64 { log.Println("Calling PathFollow.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64699,16 +42211,9 @@ func (o *PathFollow) GetOffset() float64 { func (o *PathFollow) GetRotationMode() int64 { log.Println("Calling PathFollow.GetRotationMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rotation_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64719,16 +42224,9 @@ func (o *PathFollow) GetRotationMode() int64 { func (o *PathFollow) GetUnitOffset() float64 { log.Println("Calling PathFollow.GetUnitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unit_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_unit_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64739,16 +42237,9 @@ func (o *PathFollow) GetUnitOffset() float64 { func (o *PathFollow) GetVOffset() float64 { log.Println("Calling PathFollow.GetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_v_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64759,16 +42250,9 @@ func (o *PathFollow) GetVOffset() float64 { func (o *PathFollow) HasLoop() bool { log.Println("Calling PathFollow.HasLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_loop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_loop") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64779,14 +42263,7 @@ func (o *PathFollow) HasLoop() bool { func (o *PathFollow) SetCubicInterpolation(enable bool) { log.Println("Calling PathFollow.SetCubicInterpolation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cubic_interpolation", goArguments, "") - + godotCallVoidBool(o, "set_cubic_interpolation", enable) log.Println(" Function successfully completed.") } @@ -64797,14 +42274,7 @@ func (o *PathFollow) SetCubicInterpolation(enable bool) { func (o *PathFollow) SetHOffset(hOffset float64) { log.Println("Calling PathFollow.SetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_offset", goArguments, "") - + godotCallVoidFloat(o, "set_h_offset", hOffset) log.Println(" Function successfully completed.") } @@ -64815,14 +42285,7 @@ func (o *PathFollow) SetHOffset(hOffset float64) { func (o *PathFollow) SetLoop(loop bool) { log.Println("Calling PathFollow.SetLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loop) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop", goArguments, "") - + godotCallVoidBool(o, "set_loop", loop) log.Println(" Function successfully completed.") } @@ -64833,14 +42296,7 @@ func (o *PathFollow) SetLoop(loop bool) { func (o *PathFollow) SetOffset(offset float64) { log.Println("Calling PathFollow.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidFloat(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -64851,14 +42307,7 @@ func (o *PathFollow) SetOffset(offset float64) { func (o *PathFollow) SetRotationMode(rotationMode int64) { log.Println("Calling PathFollow.SetRotationMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rotationMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation_mode", goArguments, "") - + godotCallVoidInt(o, "set_rotation_mode", rotationMode) log.Println(" Function successfully completed.") } @@ -64869,14 +42318,7 @@ func (o *PathFollow) SetRotationMode(rotationMode int64) { func (o *PathFollow) SetUnitOffset(unitOffset float64) { log.Println("Calling PathFollow.SetUnitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(unitOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_unit_offset", goArguments, "") - + godotCallVoidFloat(o, "set_unit_offset", unitOffset) log.Println(" Function successfully completed.") } @@ -64887,14 +42329,7 @@ func (o *PathFollow) SetUnitOffset(unitOffset float64) { func (o *PathFollow) SetVOffset(vOffset float64) { log.Println("Calling PathFollow.SetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_offset", goArguments, "") - + godotCallVoidFloat(o, "set_v_offset", vOffset) log.Println(" Function successfully completed.") } @@ -64923,16 +42358,9 @@ func (o *PathFollow2D) baseClass() string { func (o *PathFollow2D) GetCubicInterpolation() bool { log.Println("Calling PathFollow2D.GetCubicInterpolation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cubic_interpolation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_cubic_interpolation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64943,16 +42371,9 @@ func (o *PathFollow2D) GetCubicInterpolation() bool { func (o *PathFollow2D) GetHOffset() float64 { log.Println("Calling PathFollow2D.GetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_h_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64963,16 +42384,9 @@ func (o *PathFollow2D) GetHOffset() float64 { func (o *PathFollow2D) GetLookahead() float64 { log.Println("Calling PathFollow2D.GetLookahead()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_lookahead", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_lookahead") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -64983,16 +42397,9 @@ func (o *PathFollow2D) GetLookahead() float64 { func (o *PathFollow2D) GetOffset() float64 { log.Println("Calling PathFollow2D.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65003,16 +42410,9 @@ func (o *PathFollow2D) GetOffset() float64 { func (o *PathFollow2D) GetUnitOffset() float64 { log.Println("Calling PathFollow2D.GetUnitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_unit_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_unit_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65023,16 +42423,9 @@ func (o *PathFollow2D) GetUnitOffset() float64 { func (o *PathFollow2D) GetVOffset() float64 { log.Println("Calling PathFollow2D.GetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_offset", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_v_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65043,16 +42436,9 @@ func (o *PathFollow2D) GetVOffset() float64 { func (o *PathFollow2D) HasLoop() bool { log.Println("Calling PathFollow2D.HasLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_loop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_loop") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65063,16 +42449,9 @@ func (o *PathFollow2D) HasLoop() bool { func (o *PathFollow2D) IsRotating() bool { log.Println("Calling PathFollow2D.IsRotating()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_rotating", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_rotating") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65083,14 +42462,7 @@ func (o *PathFollow2D) IsRotating() bool { func (o *PathFollow2D) SetCubicInterpolation(enable bool) { log.Println("Calling PathFollow2D.SetCubicInterpolation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cubic_interpolation", goArguments, "") - + godotCallVoidBool(o, "set_cubic_interpolation", enable) log.Println(" Function successfully completed.") } @@ -65101,14 +42473,7 @@ func (o *PathFollow2D) SetCubicInterpolation(enable bool) { func (o *PathFollow2D) SetHOffset(hOffset float64) { log.Println("Calling PathFollow2D.SetHOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_offset", goArguments, "") - + godotCallVoidFloat(o, "set_h_offset", hOffset) log.Println(" Function successfully completed.") } @@ -65119,14 +42484,7 @@ func (o *PathFollow2D) SetHOffset(hOffset float64) { func (o *PathFollow2D) SetLookahead(lookahead float64) { log.Println("Calling PathFollow2D.SetLookahead()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lookahead) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_lookahead", goArguments, "") - + godotCallVoidFloat(o, "set_lookahead", lookahead) log.Println(" Function successfully completed.") } @@ -65137,14 +42495,7 @@ func (o *PathFollow2D) SetLookahead(lookahead float64) { func (o *PathFollow2D) SetLoop(loop bool) { log.Println("Calling PathFollow2D.SetLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(loop) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_loop", goArguments, "") - + godotCallVoidBool(o, "set_loop", loop) log.Println(" Function successfully completed.") } @@ -65155,14 +42506,7 @@ func (o *PathFollow2D) SetLoop(loop bool) { func (o *PathFollow2D) SetOffset(offset float64) { log.Println("Calling PathFollow2D.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidFloat(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -65173,14 +42517,7 @@ func (o *PathFollow2D) SetOffset(offset float64) { func (o *PathFollow2D) SetRotate(enable bool) { log.Println("Calling PathFollow2D.SetRotate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotate", goArguments, "") - + godotCallVoidBool(o, "set_rotate", enable) log.Println(" Function successfully completed.") } @@ -65191,14 +42528,7 @@ func (o *PathFollow2D) SetRotate(enable bool) { func (o *PathFollow2D) SetUnitOffset(unitOffset float64) { log.Println("Calling PathFollow2D.SetUnitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(unitOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_unit_offset", goArguments, "") - + godotCallVoidFloat(o, "set_unit_offset", unitOffset) log.Println(" Function successfully completed.") } @@ -65209,14 +42539,7 @@ func (o *PathFollow2D) SetUnitOffset(unitOffset float64) { func (o *PathFollow2D) SetVOffset(vOffset float64) { log.Println("Calling PathFollow2D.SetVOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_offset", goArguments, "") - + godotCallVoidFloat(o, "set_v_offset", vOffset) log.Println(" Function successfully completed.") } @@ -65230,7 +42553,9 @@ type PathFollow2DImplementer interface { func newSingletonPerformance() *performance { obj := &performance{} - ptr := C.godot_global_get_singleton(C.CString("Performance")) + name := C.CString("Performance") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -65257,17 +42582,9 @@ func (o *performance) baseClass() string { func (o *performance) GetMonitor(monitor int64) float64 { log.Println("Calling Performance.GetMonitor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(monitor) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_monitor", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_monitor", monitor) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65289,16 +42606,9 @@ func (o *Physics2DDirectBodyState) baseClass() string { func (o *Physics2DDirectBodyState) GetAngularVelocity() float64 { log.Println("Calling Physics2DDirectBodyState.GetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_velocity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65309,17 +42619,9 @@ func (o *Physics2DDirectBodyState) GetAngularVelocity() float64 { func (o *Physics2DDirectBodyState) GetContactCollider(contactIdx int64) *RID { log.Println("Calling Physics2DDirectBodyState.GetContactCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "get_contact_collider", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65330,17 +42632,9 @@ func (o *Physics2DDirectBodyState) GetContactCollider(contactIdx int64) *RID { func (o *Physics2DDirectBodyState) GetContactColliderId(contactIdx int64) int64 { log.Println("Calling Physics2DDirectBodyState.GetContactColliderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_collider_id", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65351,18 +42645,12 @@ func (o *Physics2DDirectBodyState) GetContactColliderId(contactIdx int64) int64 func (o *Physics2DDirectBodyState) GetContactColliderObject(contactIdx int64) *Object { log.Println("Calling Physics2DDirectBodyState.GetContactColliderObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_object", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "get_contact_collider_object", contactIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -65372,17 +42660,9 @@ func (o *Physics2DDirectBodyState) GetContactColliderObject(contactIdx int64) *O func (o *Physics2DDirectBodyState) GetContactColliderPosition(contactIdx int64) *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetContactColliderPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_contact_collider_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65393,17 +42673,9 @@ func (o *Physics2DDirectBodyState) GetContactColliderPosition(contactIdx int64) func (o *Physics2DDirectBodyState) GetContactColliderShape(contactIdx int64) int64 { log.Println("Calling Physics2DDirectBodyState.GetContactColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_collider_shape", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65414,17 +42686,9 @@ func (o *Physics2DDirectBodyState) GetContactColliderShape(contactIdx int64) int func (o *Physics2DDirectBodyState) GetContactColliderShapeMetadata(contactIdx int64) *Variant { log.Println("Calling Physics2DDirectBodyState.GetContactColliderShapeMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_shape_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_contact_collider_shape_metadata", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65435,17 +42699,9 @@ func (o *Physics2DDirectBodyState) GetContactColliderShapeMetadata(contactIdx in func (o *Physics2DDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx int64) *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetContactColliderVelocityAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_velocity_at_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_contact_collider_velocity_at_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65456,16 +42712,9 @@ func (o *Physics2DDirectBodyState) GetContactColliderVelocityAtPosition(contactI func (o *Physics2DDirectBodyState) GetContactCount() int64 { log.Println("Calling Physics2DDirectBodyState.GetContactCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_contact_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65476,17 +42725,9 @@ func (o *Physics2DDirectBodyState) GetContactCount() int64 { func (o *Physics2DDirectBodyState) GetContactLocalNormal(contactIdx int64) *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetContactLocalNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_normal", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_contact_local_normal", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65497,17 +42738,9 @@ func (o *Physics2DDirectBodyState) GetContactLocalNormal(contactIdx int64) *Vect func (o *Physics2DDirectBodyState) GetContactLocalPosition(contactIdx int64) *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetContactLocalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "get_contact_local_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65518,17 +42751,9 @@ func (o *Physics2DDirectBodyState) GetContactLocalPosition(contactIdx int64) *Ve func (o *Physics2DDirectBodyState) GetContactLocalShape(contactIdx int64) int64 { log.Println("Calling Physics2DDirectBodyState.GetContactLocalShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_local_shape", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65539,16 +42764,9 @@ func (o *Physics2DDirectBodyState) GetContactLocalShape(contactIdx int64) int64 func (o *Physics2DDirectBodyState) GetInverseInertia() float64 { log.Println("Calling Physics2DDirectBodyState.GetInverseInertia()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_inverse_inertia", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_inverse_inertia") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65559,16 +42777,9 @@ func (o *Physics2DDirectBodyState) GetInverseInertia() float64 { func (o *Physics2DDirectBodyState) GetInverseMass() float64 { log.Println("Calling Physics2DDirectBodyState.GetInverseMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_inverse_mass", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_inverse_mass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65579,16 +42790,9 @@ func (o *Physics2DDirectBodyState) GetInverseMass() float64 { func (o *Physics2DDirectBodyState) GetLinearVelocity() *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65599,17 +42803,12 @@ func (o *Physics2DDirectBodyState) GetLinearVelocity() *Vector2 { func (o *Physics2DDirectBodyState) GetSpaceState() *Physics2DDirectSpaceState { log.Println("Calling Physics2DDirectBodyState.GetSpaceState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space_state", goArguments, "*Physics2DDirectSpaceState") - - returnValue := goRet.Interface().(*Physics2DDirectSpaceState) - + returnValue := godotCallObject(o, "get_space_state") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Physics2DDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -65619,16 +42818,9 @@ func (o *Physics2DDirectBodyState) GetSpaceState() *Physics2DDirectSpaceState { func (o *Physics2DDirectBodyState) GetStep() float64 { log.Println("Calling Physics2DDirectBodyState.GetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_step", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65639,16 +42831,9 @@ func (o *Physics2DDirectBodyState) GetStep() float64 { func (o *Physics2DDirectBodyState) GetTotalAngularDamp() float64 { log.Println("Calling Physics2DDirectBodyState.GetTotalAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_total_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65659,16 +42844,9 @@ func (o *Physics2DDirectBodyState) GetTotalAngularDamp() float64 { func (o *Physics2DDirectBodyState) GetTotalGravity() *Vector2 { log.Println("Calling Physics2DDirectBodyState.GetTotalGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_gravity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_total_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65679,16 +42857,9 @@ func (o *Physics2DDirectBodyState) GetTotalGravity() *Vector2 { func (o *Physics2DDirectBodyState) GetTotalLinearDamp() float64 { log.Println("Calling Physics2DDirectBodyState.GetTotalLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_total_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65699,16 +42870,9 @@ func (o *Physics2DDirectBodyState) GetTotalLinearDamp() float64 { func (o *Physics2DDirectBodyState) GetTransform() *Transform2D { log.Println("Calling Physics2DDirectBodyState.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65719,13 +42883,7 @@ func (o *Physics2DDirectBodyState) GetTransform() *Transform2D { func (o *Physics2DDirectBodyState) IntegrateForces() { log.Println("Calling Physics2DDirectBodyState.IntegrateForces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "integrate_forces", goArguments, "") - + godotCallVoid(o, "integrate_forces") log.Println(" Function successfully completed.") } @@ -65736,16 +42894,9 @@ func (o *Physics2DDirectBodyState) IntegrateForces() { func (o *Physics2DDirectBodyState) IsSleeping() bool { log.Println("Calling Physics2DDirectBodyState.IsSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_sleeping", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_sleeping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65756,14 +42907,7 @@ func (o *Physics2DDirectBodyState) IsSleeping() bool { func (o *Physics2DDirectBodyState) SetAngularVelocity(velocity float64) { log.Println("Calling Physics2DDirectBodyState.SetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(velocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_velocity", goArguments, "") - + godotCallVoidFloat(o, "set_angular_velocity", velocity) log.Println(" Function successfully completed.") } @@ -65774,14 +42918,7 @@ func (o *Physics2DDirectBodyState) SetAngularVelocity(velocity float64) { func (o *Physics2DDirectBodyState) SetLinearVelocity(velocity *Vector2) { log.Println("Calling Physics2DDirectBodyState.SetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(velocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_velocity", goArguments, "") - + godotCallVoidVector2(o, "set_linear_velocity", velocity) log.Println(" Function successfully completed.") } @@ -65792,14 +42929,7 @@ func (o *Physics2DDirectBodyState) SetLinearVelocity(velocity *Vector2) { func (o *Physics2DDirectBodyState) SetSleepState(enabled bool) { log.Println("Calling Physics2DDirectBodyState.SetSleepState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sleep_state", goArguments, "") - + godotCallVoidBool(o, "set_sleep_state", enabled) log.Println(" Function successfully completed.") } @@ -65810,14 +42940,7 @@ func (o *Physics2DDirectBodyState) SetSleepState(enabled bool) { func (o *Physics2DDirectBodyState) SetTransform(transform *Transform2D) { log.Println("Calling Physics2DDirectBodyState.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_transform", transform) log.Println(" Function successfully completed.") } @@ -65864,17 +42987,9 @@ func (o *Physics2DDirectSpaceState) baseClass() string { func (o *Physics2DDirectSpaceState) CastMotion(shape *Physics2DShapeQueryParameters) *Array { log.Println("Calling Physics2DDirectSpaceState.CastMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cast_motion", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObject(o, "cast_motion", &shape.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65885,18 +43000,9 @@ func (o *Physics2DDirectSpaceState) CastMotion(shape *Physics2DShapeQueryParamet func (o *Physics2DDirectSpaceState) CollideShape(shape *Physics2DShapeQueryParameters, maxResults int64) *Array { log.Println("Calling Physics2DDirectSpaceState.CollideShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(maxResults) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide_shape", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObjectInt(o, "collide_shape", &shape.Object, maxResults) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65907,17 +43013,9 @@ func (o *Physics2DDirectSpaceState) CollideShape(shape *Physics2DShapeQueryParam func (o *Physics2DDirectSpaceState) GetRestInfo(shape *Physics2DShapeQueryParameters) *Dictionary { log.Println("Calling Physics2DDirectSpaceState.GetRestInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rest_info", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryObject(o, "get_rest_info", &shape.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65928,20 +43026,9 @@ func (o *Physics2DDirectSpaceState) GetRestInfo(shape *Physics2DShapeQueryParame func (o *Physics2DDirectSpaceState) IntersectPoint(point *Vector2, maxResults int64, exclude *Array, collisionLayer int64) *Array { log.Println("Calling Physics2DDirectSpaceState.IntersectPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(maxResults) - goArguments[2] = reflect.ValueOf(exclude) - goArguments[3] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "intersect_point", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayVector2IntArrayInt(o, "intersect_point", point, maxResults, exclude, collisionLayer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65952,20 +43039,9 @@ func (o *Physics2DDirectSpaceState) IntersectPoint(point *Vector2, maxResults in func (o *Physics2DDirectSpaceState) IntersectRay(from *Vector2, to *Vector2, exclude *Array, collisionLayer int64) *Dictionary { log.Println("Calling Physics2DDirectSpaceState.IntersectRay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - goArguments[2] = reflect.ValueOf(exclude) - goArguments[3] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "intersect_ray", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryVector2Vector2ArrayInt(o, "intersect_ray", from, to, exclude, collisionLayer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -65976,18 +43052,9 @@ func (o *Physics2DDirectSpaceState) IntersectRay(from *Vector2, to *Vector2, exc func (o *Physics2DDirectSpaceState) IntersectShape(shape *Physics2DShapeQueryParameters, maxResults int64) *Array { log.Println("Calling Physics2DDirectSpaceState.IntersectShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(maxResults) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "intersect_shape", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObjectInt(o, "intersect_shape", &shape.Object, maxResults) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66001,7 +43068,9 @@ type Physics2DDirectSpaceStateImplementer interface { func newSingletonPhysics2DServer() *physics2DServer { obj := &physics2DServer{} - ptr := C.godot_global_get_singleton(C.CString("Physics2DServer")) + name := C.CString("Physics2DServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -66028,16 +43097,7 @@ func (o *physics2DServer) baseClass() string { func (o *physics2DServer) AreaAddShape(area *RID, shape *RID, transform *Transform2D) { log.Println("Calling Physics2DServer.AreaAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_add_shape", goArguments, "") - + godotCallVoidRidRidTransform2D(o, "area_add_shape", area, shape, transform) log.Println(" Function successfully completed.") } @@ -66048,15 +43108,7 @@ func (o *physics2DServer) AreaAddShape(area *RID, shape *RID, transform *Transfo func (o *physics2DServer) AreaAttachObjectInstanceId(area *RID, id int64) { log.Println("Calling Physics2DServer.AreaAttachObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_attach_object_instance_id", goArguments, "") - + godotCallVoidRidInt(o, "area_attach_object_instance_id", area, id) log.Println(" Function successfully completed.") } @@ -66067,14 +43119,7 @@ func (o *physics2DServer) AreaAttachObjectInstanceId(area *RID, id int64) { func (o *physics2DServer) AreaClearShapes(area *RID) { log.Println("Calling Physics2DServer.AreaClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_clear_shapes", goArguments, "") - + godotCallVoidRid(o, "area_clear_shapes", area) log.Println(" Function successfully completed.") } @@ -66085,16 +43130,9 @@ func (o *physics2DServer) AreaClearShapes(area *RID) { func (o *physics2DServer) AreaCreate() *RID { log.Println("Calling Physics2DServer.AreaCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "area_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66105,17 +43143,9 @@ func (o *physics2DServer) AreaCreate() *RID { func (o *physics2DServer) AreaGetObjectInstanceId(area *RID) int64 { log.Println("Calling Physics2DServer.AreaGetObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_object_instance_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_object_instance_id", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66126,18 +43156,9 @@ func (o *physics2DServer) AreaGetObjectInstanceId(area *RID) int64 { func (o *physics2DServer) AreaGetParam(area *RID, param int64) *Variant { log.Println("Calling Physics2DServer.AreaGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_param", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidInt(o, "area_get_param", area, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66148,18 +43169,9 @@ func (o *physics2DServer) AreaGetParam(area *RID, param int64) *Variant { func (o *physics2DServer) AreaGetShape(area *RID, shapeIdx int64) *RID { log.Println("Calling Physics2DServer.AreaGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidInt(o, "area_get_shape", area, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66170,17 +43182,9 @@ func (o *physics2DServer) AreaGetShape(area *RID, shapeIdx int64) *RID { func (o *physics2DServer) AreaGetShapeCount(area *RID) int64 { log.Println("Calling Physics2DServer.AreaGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_shape_count", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66191,18 +43195,9 @@ func (o *physics2DServer) AreaGetShapeCount(area *RID) int64 { func (o *physics2DServer) AreaGetShapeTransform(area *RID, shapeIdx int64) *Transform2D { log.Println("Calling Physics2DServer.AreaGetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DRidInt(o, "area_get_shape_transform", area, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66213,17 +43208,9 @@ func (o *physics2DServer) AreaGetShapeTransform(area *RID, shapeIdx int64) *Tran func (o *physics2DServer) AreaGetSpace(area *RID) *RID { log.Println("Calling Physics2DServer.AreaGetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "area_get_space", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66234,17 +43221,9 @@ func (o *physics2DServer) AreaGetSpace(area *RID) *RID { func (o *physics2DServer) AreaGetSpaceOverrideMode(area *RID) int64 { log.Println("Calling Physics2DServer.AreaGetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_space_override_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_space_override_mode", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66255,17 +43234,9 @@ func (o *physics2DServer) AreaGetSpaceOverrideMode(area *RID) int64 { func (o *physics2DServer) AreaGetTransform(area *RID) *Transform2D { log.Println("Calling Physics2DServer.AreaGetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DRid(o, "area_get_transform", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66276,15 +43247,7 @@ func (o *physics2DServer) AreaGetTransform(area *RID) *Transform2D { func (o *physics2DServer) AreaRemoveShape(area *RID, shapeIdx int64) { log.Println("Calling Physics2DServer.AreaRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_remove_shape", goArguments, "") - + godotCallVoidRidInt(o, "area_remove_shape", area, shapeIdx) log.Println(" Function successfully completed.") } @@ -66295,15 +43258,7 @@ func (o *physics2DServer) AreaRemoveShape(area *RID, shapeIdx int64) { func (o *physics2DServer) AreaSetCollisionLayer(area *RID, layer int64) { log.Println("Calling Physics2DServer.AreaSetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_collision_layer", goArguments, "") - + godotCallVoidRidInt(o, "area_set_collision_layer", area, layer) log.Println(" Function successfully completed.") } @@ -66314,15 +43269,7 @@ func (o *physics2DServer) AreaSetCollisionLayer(area *RID, layer int64) { func (o *physics2DServer) AreaSetCollisionMask(area *RID, mask int64) { log.Println("Calling Physics2DServer.AreaSetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_collision_mask", goArguments, "") - + godotCallVoidRidInt(o, "area_set_collision_mask", area, mask) log.Println(" Function successfully completed.") } @@ -66333,16 +43280,7 @@ func (o *physics2DServer) AreaSetCollisionMask(area *RID, mask int64) { func (o *physics2DServer) AreaSetMonitorCallback(area *RID, receiver *Object, method string) { log.Println("Calling Physics2DServer.AreaSetMonitorCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(method) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_monitor_callback", goArguments, "") - + godotCallVoidRidObjectString(o, "area_set_monitor_callback", area, receiver, method) log.Println(" Function successfully completed.") } @@ -66353,16 +43291,7 @@ func (o *physics2DServer) AreaSetMonitorCallback(area *RID, receiver *Object, me func (o *physics2DServer) AreaSetParam(area *RID, param int64, value *Variant) { log.Println("Calling Physics2DServer.AreaSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_param", goArguments, "") - + godotCallVoidRidIntVariant(o, "area_set_param", area, param, value) log.Println(" Function successfully completed.") } @@ -66373,16 +43302,7 @@ func (o *physics2DServer) AreaSetParam(area *RID, param int64, value *Variant) { func (o *physics2DServer) AreaSetShape(area *RID, shapeIdx int64, shape *RID) { log.Println("Calling Physics2DServer.AreaSetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_shape", goArguments, "") - + godotCallVoidRidIntRid(o, "area_set_shape", area, shapeIdx, shape) log.Println(" Function successfully completed.") } @@ -66393,16 +43313,7 @@ func (o *physics2DServer) AreaSetShape(area *RID, shapeIdx int64, shape *RID) { func (o *physics2DServer) AreaSetShapeDisabled(area *RID, shapeIdx int64, disable bool) { log.Println("Calling Physics2DServer.AreaSetShapeDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_shape_disabled", goArguments, "") - + godotCallVoidRidIntBool(o, "area_set_shape_disabled", area, shapeIdx, disable) log.Println(" Function successfully completed.") } @@ -66413,16 +43324,7 @@ func (o *physics2DServer) AreaSetShapeDisabled(area *RID, shapeIdx int64, disabl func (o *physics2DServer) AreaSetShapeTransform(area *RID, shapeIdx int64, transform *Transform2D) { log.Println("Calling Physics2DServer.AreaSetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_shape_transform", goArguments, "") - + godotCallVoidRidIntTransform2D(o, "area_set_shape_transform", area, shapeIdx, transform) log.Println(" Function successfully completed.") } @@ -66433,15 +43335,7 @@ func (o *physics2DServer) AreaSetShapeTransform(area *RID, shapeIdx int64, trans func (o *physics2DServer) AreaSetSpace(area *RID, space *RID) { log.Println("Calling Physics2DServer.AreaSetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(space) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_space", goArguments, "") - + godotCallVoidRidRid(o, "area_set_space", area, space) log.Println(" Function successfully completed.") } @@ -66452,15 +43346,7 @@ func (o *physics2DServer) AreaSetSpace(area *RID, space *RID) { func (o *physics2DServer) AreaSetSpaceOverrideMode(area *RID, mode int64) { log.Println("Calling Physics2DServer.AreaSetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_space_override_mode", goArguments, "") - + godotCallVoidRidInt(o, "area_set_space_override_mode", area, mode) log.Println(" Function successfully completed.") } @@ -66471,15 +43357,7 @@ func (o *physics2DServer) AreaSetSpaceOverrideMode(area *RID, mode int64) { func (o *physics2DServer) AreaSetTransform(area *RID, transform *Transform2D) { log.Println("Calling Physics2DServer.AreaSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "area_set_transform", area, transform) log.Println(" Function successfully completed.") } @@ -66490,15 +43368,7 @@ func (o *physics2DServer) AreaSetTransform(area *RID, transform *Transform2D) { func (o *physics2DServer) BodyAddCollisionException(body *RID, exceptedBody *RID) { log.Println("Calling Physics2DServer.BodyAddCollisionException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(exceptedBody) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_add_collision_exception", goArguments, "") - + godotCallVoidRidRid(o, "body_add_collision_exception", body, exceptedBody) log.Println(" Function successfully completed.") } @@ -66509,16 +43379,7 @@ func (o *physics2DServer) BodyAddCollisionException(body *RID, exceptedBody *RID func (o *physics2DServer) BodyAddForce(body *RID, offset *Vector2, force *Vector2) { log.Println("Calling Physics2DServer.BodyAddForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(offset) - goArguments[2] = reflect.ValueOf(force) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_add_force", goArguments, "") - + godotCallVoidRidVector2Vector2(o, "body_add_force", body, offset, force) log.Println(" Function successfully completed.") } @@ -66529,16 +43390,7 @@ func (o *physics2DServer) BodyAddForce(body *RID, offset *Vector2, force *Vector func (o *physics2DServer) BodyAddShape(body *RID, shape *RID, transform *Transform2D) { log.Println("Calling Physics2DServer.BodyAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_add_shape", goArguments, "") - + godotCallVoidRidRidTransform2D(o, "body_add_shape", body, shape, transform) log.Println(" Function successfully completed.") } @@ -66549,16 +43401,7 @@ func (o *physics2DServer) BodyAddShape(body *RID, shape *RID, transform *Transfo func (o *physics2DServer) BodyApplyImpulse(body *RID, position *Vector2, impulse *Vector2) { log.Println("Calling Physics2DServer.BodyApplyImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(impulse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_apply_impulse", goArguments, "") - + godotCallVoidRidVector2Vector2(o, "body_apply_impulse", body, position, impulse) log.Println(" Function successfully completed.") } @@ -66569,15 +43412,7 @@ func (o *physics2DServer) BodyApplyImpulse(body *RID, position *Vector2, impulse func (o *physics2DServer) BodyAttachObjectInstanceId(body *RID, id int64) { log.Println("Calling Physics2DServer.BodyAttachObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_attach_object_instance_id", goArguments, "") - + godotCallVoidRidInt(o, "body_attach_object_instance_id", body, id) log.Println(" Function successfully completed.") } @@ -66588,14 +43423,7 @@ func (o *physics2DServer) BodyAttachObjectInstanceId(body *RID, id int64) { func (o *physics2DServer) BodyClearShapes(body *RID) { log.Println("Calling Physics2DServer.BodyClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_clear_shapes", goArguments, "") - + godotCallVoidRid(o, "body_clear_shapes", body) log.Println(" Function successfully completed.") } @@ -66606,16 +43434,9 @@ func (o *physics2DServer) BodyClearShapes(body *RID) { func (o *physics2DServer) BodyCreate() *RID { log.Println("Calling Physics2DServer.BodyCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "body_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66626,17 +43447,9 @@ func (o *physics2DServer) BodyCreate() *RID { func (o *physics2DServer) BodyGetCollisionLayer(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_collision_layer", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66647,17 +43460,9 @@ func (o *physics2DServer) BodyGetCollisionLayer(body *RID) int64 { func (o *physics2DServer) BodyGetCollisionMask(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_collision_mask", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66668,17 +43473,9 @@ func (o *physics2DServer) BodyGetCollisionMask(body *RID) int64 { func (o *physics2DServer) BodyGetContinuousCollisionDetectionMode(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetContinuousCollisionDetectionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_continuous_collision_detection_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_continuous_collision_detection_mode", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66689,18 +43486,12 @@ func (o *physics2DServer) BodyGetContinuousCollisionDetectionMode(body *RID) int func (o *physics2DServer) BodyGetDirectState(body *RID) *Physics2DDirectBodyState { log.Println("Calling Physics2DServer.BodyGetDirectState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_direct_state", goArguments, "*Physics2DDirectBodyState") - - returnValue := goRet.Interface().(*Physics2DDirectBodyState) - + returnValue := godotCallObjectRid(o, "body_get_direct_state", body) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Physics2DDirectBodyState + ret.owner = returnValue.owner + return &ret } @@ -66710,17 +43501,9 @@ func (o *physics2DServer) BodyGetDirectState(body *RID) *Physics2DDirectBodyStat func (o *physics2DServer) BodyGetMaxContactsReported(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_max_contacts_reported", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_max_contacts_reported", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66731,17 +43514,9 @@ func (o *physics2DServer) BodyGetMaxContactsReported(body *RID) int64 { func (o *physics2DServer) BodyGetMode(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_mode", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66752,17 +43527,9 @@ func (o *physics2DServer) BodyGetMode(body *RID) int64 { func (o *physics2DServer) BodyGetObjectInstanceId(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_object_instance_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_object_instance_id", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66773,18 +43540,9 @@ func (o *physics2DServer) BodyGetObjectInstanceId(body *RID) int64 { func (o *physics2DServer) BodyGetParam(body *RID, param int64) float64 { log.Println("Calling Physics2DServer.BodyGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "body_get_param", body, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66795,18 +43553,9 @@ func (o *physics2DServer) BodyGetParam(body *RID, param int64) float64 { func (o *physics2DServer) BodyGetShape(body *RID, shapeIdx int64) *RID { log.Println("Calling Physics2DServer.BodyGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidInt(o, "body_get_shape", body, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66817,17 +43566,9 @@ func (o *physics2DServer) BodyGetShape(body *RID, shapeIdx int64) *RID { func (o *physics2DServer) BodyGetShapeCount(body *RID) int64 { log.Println("Calling Physics2DServer.BodyGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_shape_count", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66838,18 +43579,9 @@ func (o *physics2DServer) BodyGetShapeCount(body *RID) int64 { func (o *physics2DServer) BodyGetShapeMetadata(body *RID, shapeIdx int64) *Variant { log.Println("Calling Physics2DServer.BodyGetShapeMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidInt(o, "body_get_shape_metadata", body, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66860,18 +43592,9 @@ func (o *physics2DServer) BodyGetShapeMetadata(body *RID, shapeIdx int64) *Varia func (o *physics2DServer) BodyGetShapeTransform(body *RID, shapeIdx int64) *Transform2D { log.Println("Calling Physics2DServer.BodyGetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DRidInt(o, "body_get_shape_transform", body, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66882,17 +43605,9 @@ func (o *physics2DServer) BodyGetShapeTransform(body *RID, shapeIdx int64) *Tran func (o *physics2DServer) BodyGetSpace(body *RID) *RID { log.Println("Calling Physics2DServer.BodyGetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "body_get_space", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66903,18 +43618,9 @@ func (o *physics2DServer) BodyGetSpace(body *RID) *RID { func (o *physics2DServer) BodyGetState(body *RID, state int64) *Variant { log.Println("Calling Physics2DServer.BodyGetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(state) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_state", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidInt(o, "body_get_state", body, state) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66925,17 +43631,9 @@ func (o *physics2DServer) BodyGetState(body *RID, state int64) *Variant { func (o *physics2DServer) BodyIsOmittingForceIntegration(body *RID) bool { log.Println("Calling Physics2DServer.BodyIsOmittingForceIntegration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_is_omitting_force_integration", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "body_is_omitting_force_integration", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -66946,15 +43644,7 @@ func (o *physics2DServer) BodyIsOmittingForceIntegration(body *RID) bool { func (o *physics2DServer) BodyRemoveCollisionException(body *RID, exceptedBody *RID) { log.Println("Calling Physics2DServer.BodyRemoveCollisionException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(exceptedBody) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_remove_collision_exception", goArguments, "") - + godotCallVoidRidRid(o, "body_remove_collision_exception", body, exceptedBody) log.Println(" Function successfully completed.") } @@ -66965,15 +43655,7 @@ func (o *physics2DServer) BodyRemoveCollisionException(body *RID, exceptedBody * func (o *physics2DServer) BodyRemoveShape(body *RID, shapeIdx int64) { log.Println("Calling Physics2DServer.BodyRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_remove_shape", goArguments, "") - + godotCallVoidRidInt(o, "body_remove_shape", body, shapeIdx) log.Println(" Function successfully completed.") } @@ -66984,15 +43666,7 @@ func (o *physics2DServer) BodyRemoveShape(body *RID, shapeIdx int64) { func (o *physics2DServer) BodySetAxisVelocity(body *RID, axisVelocity *Vector2) { log.Println("Calling Physics2DServer.BodySetAxisVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(axisVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_axis_velocity", goArguments, "") - + godotCallVoidRidVector2(o, "body_set_axis_velocity", body, axisVelocity) log.Println(" Function successfully completed.") } @@ -67003,15 +43677,7 @@ func (o *physics2DServer) BodySetAxisVelocity(body *RID, axisVelocity *Vector2) func (o *physics2DServer) BodySetCollisionLayer(body *RID, layer int64) { log.Println("Calling Physics2DServer.BodySetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_collision_layer", goArguments, "") - + godotCallVoidRidInt(o, "body_set_collision_layer", body, layer) log.Println(" Function successfully completed.") } @@ -67022,15 +43688,7 @@ func (o *physics2DServer) BodySetCollisionLayer(body *RID, layer int64) { func (o *physics2DServer) BodySetCollisionMask(body *RID, mask int64) { log.Println("Calling Physics2DServer.BodySetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_collision_mask", goArguments, "") - + godotCallVoidRidInt(o, "body_set_collision_mask", body, mask) log.Println(" Function successfully completed.") } @@ -67041,15 +43699,7 @@ func (o *physics2DServer) BodySetCollisionMask(body *RID, mask int64) { func (o *physics2DServer) BodySetContinuousCollisionDetectionMode(body *RID, mode int64) { log.Println("Calling Physics2DServer.BodySetContinuousCollisionDetectionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_continuous_collision_detection_mode", goArguments, "") - + godotCallVoidRidInt(o, "body_set_continuous_collision_detection_mode", body, mode) log.Println(" Function successfully completed.") } @@ -67060,17 +43710,7 @@ func (o *physics2DServer) BodySetContinuousCollisionDetectionMode(body *RID, mod func (o *physics2DServer) BodySetForceIntegrationCallback(body *RID, receiver *Object, method string, userdata *Variant) { log.Println("Calling Physics2DServer.BodySetForceIntegrationCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(method) - goArguments[3] = reflect.ValueOf(userdata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_force_integration_callback", goArguments, "") - + godotCallVoidRidObjectStringVariant(o, "body_set_force_integration_callback", body, receiver, method, userdata) log.Println(" Function successfully completed.") } @@ -67081,15 +43721,7 @@ func (o *physics2DServer) BodySetForceIntegrationCallback(body *RID, receiver *O func (o *physics2DServer) BodySetMaxContactsReported(body *RID, amount int64) { log.Println("Calling Physics2DServer.BodySetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_max_contacts_reported", goArguments, "") - + godotCallVoidRidInt(o, "body_set_max_contacts_reported", body, amount) log.Println(" Function successfully completed.") } @@ -67100,15 +43732,7 @@ func (o *physics2DServer) BodySetMaxContactsReported(body *RID, amount int64) { func (o *physics2DServer) BodySetMode(body *RID, mode int64) { log.Println("Calling Physics2DServer.BodySetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_mode", goArguments, "") - + godotCallVoidRidInt(o, "body_set_mode", body, mode) log.Println(" Function successfully completed.") } @@ -67119,15 +43743,7 @@ func (o *physics2DServer) BodySetMode(body *RID, mode int64) { func (o *physics2DServer) BodySetOmitForceIntegration(body *RID, enable bool) { log.Println("Calling Physics2DServer.BodySetOmitForceIntegration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_omit_force_integration", goArguments, "") - + godotCallVoidRidBool(o, "body_set_omit_force_integration", body, enable) log.Println(" Function successfully completed.") } @@ -67138,16 +43754,7 @@ func (o *physics2DServer) BodySetOmitForceIntegration(body *RID, enable bool) { func (o *physics2DServer) BodySetParam(body *RID, param int64, value float64) { log.Println("Calling Physics2DServer.BodySetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "body_set_param", body, param, value) log.Println(" Function successfully completed.") } @@ -67158,16 +43765,7 @@ func (o *physics2DServer) BodySetParam(body *RID, param int64, value float64) { func (o *physics2DServer) BodySetShape(body *RID, shapeIdx int64, shape *RID) { log.Println("Calling Physics2DServer.BodySetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape", goArguments, "") - + godotCallVoidRidIntRid(o, "body_set_shape", body, shapeIdx, shape) log.Println(" Function successfully completed.") } @@ -67178,16 +43776,7 @@ func (o *physics2DServer) BodySetShape(body *RID, shapeIdx int64, shape *RID) { func (o *physics2DServer) BodySetShapeAsOneWayCollision(body *RID, shapeIdx int64, enable bool) { log.Println("Calling Physics2DServer.BodySetShapeAsOneWayCollision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape_as_one_way_collision", goArguments, "") - + godotCallVoidRidIntBool(o, "body_set_shape_as_one_way_collision", body, shapeIdx, enable) log.Println(" Function successfully completed.") } @@ -67198,16 +43787,7 @@ func (o *physics2DServer) BodySetShapeAsOneWayCollision(body *RID, shapeIdx int6 func (o *physics2DServer) BodySetShapeDisabled(body *RID, shapeIdx int64, disable bool) { log.Println("Calling Physics2DServer.BodySetShapeDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape_disabled", goArguments, "") - + godotCallVoidRidIntBool(o, "body_set_shape_disabled", body, shapeIdx, disable) log.Println(" Function successfully completed.") } @@ -67218,16 +43798,7 @@ func (o *physics2DServer) BodySetShapeDisabled(body *RID, shapeIdx int64, disabl func (o *physics2DServer) BodySetShapeMetadata(body *RID, shapeIdx int64, metadata *Variant) { log.Println("Calling Physics2DServer.BodySetShapeMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(metadata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape_metadata", goArguments, "") - + godotCallVoidRidIntVariant(o, "body_set_shape_metadata", body, shapeIdx, metadata) log.Println(" Function successfully completed.") } @@ -67238,16 +43809,7 @@ func (o *physics2DServer) BodySetShapeMetadata(body *RID, shapeIdx int64, metada func (o *physics2DServer) BodySetShapeTransform(body *RID, shapeIdx int64, transform *Transform2D) { log.Println("Calling Physics2DServer.BodySetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape_transform", goArguments, "") - + godotCallVoidRidIntTransform2D(o, "body_set_shape_transform", body, shapeIdx, transform) log.Println(" Function successfully completed.") } @@ -67258,15 +43820,7 @@ func (o *physics2DServer) BodySetShapeTransform(body *RID, shapeIdx int64, trans func (o *physics2DServer) BodySetSpace(body *RID, space *RID) { log.Println("Calling Physics2DServer.BodySetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(space) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_space", goArguments, "") - + godotCallVoidRidRid(o, "body_set_space", body, space) log.Println(" Function successfully completed.") } @@ -67277,16 +43831,7 @@ func (o *physics2DServer) BodySetSpace(body *RID, space *RID) { func (o *physics2DServer) BodySetState(body *RID, state int64, value *Variant) { log.Println("Calling Physics2DServer.BodySetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(state) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_state", goArguments, "") - + godotCallVoidRidIntVariant(o, "body_set_state", body, state, value) log.Println(" Function successfully completed.") } @@ -67297,21 +43842,9 @@ func (o *physics2DServer) BodySetState(body *RID, state int64, value *Variant) { func (o *physics2DServer) BodyTestMotion(body *RID, from *Transform2D, motion *Vector2, margin float64, result *Physics2DTestMotionResult) bool { log.Println("Calling Physics2DServer.BodyTestMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(from) - goArguments[2] = reflect.ValueOf(motion) - goArguments[3] = reflect.ValueOf(margin) - goArguments[4] = reflect.ValueOf(result) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_test_motion", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRidTransform2DVector2FloatObject(o, "body_test_motion", body, from, motion, margin, &result.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67322,16 +43855,9 @@ func (o *physics2DServer) BodyTestMotion(body *RID, from *Transform2D, motion *V func (o *physics2DServer) CapsuleShapeCreate() *RID { log.Println("Calling Physics2DServer.CapsuleShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "capsule_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "capsule_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67342,16 +43868,9 @@ func (o *physics2DServer) CapsuleShapeCreate() *RID { func (o *physics2DServer) CircleShapeCreate() *RID { log.Println("Calling Physics2DServer.CircleShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "circle_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "circle_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67362,16 +43881,9 @@ func (o *physics2DServer) CircleShapeCreate() *RID { func (o *physics2DServer) ConcavePolygonShapeCreate() *RID { log.Println("Calling Physics2DServer.ConcavePolygonShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "concave_polygon_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "concave_polygon_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67382,16 +43894,9 @@ func (o *physics2DServer) ConcavePolygonShapeCreate() *RID { func (o *physics2DServer) ConvexPolygonShapeCreate() *RID { log.Println("Calling Physics2DServer.ConvexPolygonShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "convex_polygon_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "convex_polygon_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67402,20 +43907,9 @@ func (o *physics2DServer) ConvexPolygonShapeCreate() *RID { func (o *physics2DServer) DampedSpringJointCreate(anchorA *Vector2, anchorB *Vector2, bodyA *RID, bodyB *RID) *RID { log.Println("Calling Physics2DServer.DampedSpringJointCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(anchorA) - goArguments[1] = reflect.ValueOf(anchorB) - goArguments[2] = reflect.ValueOf(bodyA) - goArguments[3] = reflect.ValueOf(bodyB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "damped_spring_joint_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidVector2Vector2RidRid(o, "damped_spring_joint_create", anchorA, anchorB, bodyA, bodyB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67426,18 +43920,9 @@ func (o *physics2DServer) DampedSpringJointCreate(anchorA *Vector2, anchorB *Vec func (o *physics2DServer) DampedStringJointGetParam(joint *RID, param int64) float64 { log.Println("Calling Physics2DServer.DampedStringJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "damped_string_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "damped_string_joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67448,16 +43933,7 @@ func (o *physics2DServer) DampedStringJointGetParam(joint *RID, param int64) flo func (o *physics2DServer) DampedStringJointSetParam(joint *RID, param int64, value float64) { log.Println("Calling Physics2DServer.DampedStringJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "damped_string_joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "damped_string_joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -67468,14 +43944,7 @@ func (o *physics2DServer) DampedStringJointSetParam(joint *RID, param int64, val func (o *physics2DServer) FreeRid(rid *RID) { log.Println("Calling Physics2DServer.FreeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "free_rid", goArguments, "") - + godotCallVoidRid(o, "free_rid", rid) log.Println(" Function successfully completed.") } @@ -67486,17 +43955,9 @@ func (o *physics2DServer) FreeRid(rid *RID) { func (o *physics2DServer) GetProcessInfo(processInfo int64) int64 { log.Println("Calling Physics2DServer.GetProcessInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(processInfo) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_process_info", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_process_info", processInfo) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67507,21 +43968,9 @@ func (o *physics2DServer) GetProcessInfo(processInfo int64) int64 { func (o *physics2DServer) GrooveJointCreate(groove1A *Vector2, groove2A *Vector2, anchorB *Vector2, bodyA *RID, bodyB *RID) *RID { log.Println("Calling Physics2DServer.GrooveJointCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(groove1A) - goArguments[1] = reflect.ValueOf(groove2A) - goArguments[2] = reflect.ValueOf(anchorB) - goArguments[3] = reflect.ValueOf(bodyA) - goArguments[4] = reflect.ValueOf(bodyB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "groove_joint_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidVector2Vector2Vector2RidRid(o, "groove_joint_create", groove1A, groove2A, anchorB, bodyA, bodyB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67532,18 +43981,9 @@ func (o *physics2DServer) GrooveJointCreate(groove1A *Vector2, groove2A *Vector2 func (o *physics2DServer) JointGetParam(joint *RID, param int64) float64 { log.Println("Calling Physics2DServer.JointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67554,17 +43994,9 @@ func (o *physics2DServer) JointGetParam(joint *RID, param int64) float64 { func (o *physics2DServer) JointGetType(joint *RID) int64 { log.Println("Calling Physics2DServer.JointGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "joint_get_type", joint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67575,16 +44007,7 @@ func (o *physics2DServer) JointGetType(joint *RID) int64 { func (o *physics2DServer) JointSetParam(joint *RID, param int64, value float64) { log.Println("Calling Physics2DServer.JointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -67595,16 +44018,9 @@ func (o *physics2DServer) JointSetParam(joint *RID, param int64, value float64) func (o *physics2DServer) LineShapeCreate() *RID { log.Println("Calling Physics2DServer.LineShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "line_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "line_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67615,19 +44031,9 @@ func (o *physics2DServer) LineShapeCreate() *RID { func (o *physics2DServer) PinJointCreate(anchor *Vector2, bodyA *RID, bodyB *RID) *RID { log.Println("Calling Physics2DServer.PinJointCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(anchor) - goArguments[1] = reflect.ValueOf(bodyA) - goArguments[2] = reflect.ValueOf(bodyB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pin_joint_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidVector2RidRid(o, "pin_joint_create", anchor, bodyA, bodyB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67638,16 +44044,9 @@ func (o *physics2DServer) PinJointCreate(anchor *Vector2, bodyA *RID, bodyB *RID func (o *physics2DServer) RayShapeCreate() *RID { log.Println("Calling Physics2DServer.RayShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "ray_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "ray_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67658,16 +44057,9 @@ func (o *physics2DServer) RayShapeCreate() *RID { func (o *physics2DServer) RectangleShapeCreate() *RID { log.Println("Calling Physics2DServer.RectangleShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "rectangle_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "rectangle_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67678,16 +44070,9 @@ func (o *physics2DServer) RectangleShapeCreate() *RID { func (o *physics2DServer) SegmentShapeCreate() *RID { log.Println("Calling Physics2DServer.SegmentShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "segment_shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "segment_shape_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67698,14 +44083,7 @@ func (o *physics2DServer) SegmentShapeCreate() *RID { func (o *physics2DServer) SetActive(active bool) { log.Println("Calling Physics2DServer.SetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_active", goArguments, "") - + godotCallVoidBool(o, "set_active", active) log.Println(" Function successfully completed.") } @@ -67716,17 +44094,9 @@ func (o *physics2DServer) SetActive(active bool) { func (o *physics2DServer) ShapeGetData(shape *RID) *Variant { log.Println("Calling Physics2DServer.ShapeGetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_get_data", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRid(o, "shape_get_data", shape) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67737,17 +44107,9 @@ func (o *physics2DServer) ShapeGetData(shape *RID) *Variant { func (o *physics2DServer) ShapeGetType(shape *RID) int64 { log.Println("Calling Physics2DServer.ShapeGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "shape_get_type", shape) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67758,15 +44120,7 @@ func (o *physics2DServer) ShapeGetType(shape *RID) int64 { func (o *physics2DServer) ShapeSetData(shape *RID, data *Variant) { log.Println("Calling Physics2DServer.ShapeSetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_set_data", goArguments, "") - + godotCallVoidRidVariant(o, "shape_set_data", shape, data) log.Println(" Function successfully completed.") } @@ -67777,16 +44131,9 @@ func (o *physics2DServer) ShapeSetData(shape *RID, data *Variant) { func (o *physics2DServer) SpaceCreate() *RID { log.Println("Calling Physics2DServer.SpaceCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "space_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67797,18 +44144,12 @@ func (o *physics2DServer) SpaceCreate() *RID { func (o *physics2DServer) SpaceGetDirectState(space *RID) *Physics2DDirectSpaceState { log.Println("Calling Physics2DServer.SpaceGetDirectState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(space) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_get_direct_state", goArguments, "*Physics2DDirectSpaceState") - - returnValue := goRet.Interface().(*Physics2DDirectSpaceState) - + returnValue := godotCallObjectRid(o, "space_get_direct_state", space) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Physics2DDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -67818,18 +44159,9 @@ func (o *physics2DServer) SpaceGetDirectState(space *RID) *Physics2DDirectSpaceS func (o *physics2DServer) SpaceGetParam(space *RID, param int64) float64 { log.Println("Calling Physics2DServer.SpaceGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "space_get_param", space, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67840,17 +44172,9 @@ func (o *physics2DServer) SpaceGetParam(space *RID, param int64) float64 { func (o *physics2DServer) SpaceIsActive(space *RID) bool { log.Println("Calling Physics2DServer.SpaceIsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(space) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "space_is_active", space) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67861,15 +44185,7 @@ func (o *physics2DServer) SpaceIsActive(space *RID) bool { func (o *physics2DServer) SpaceSetActive(space *RID, active bool) { log.Println("Calling Physics2DServer.SpaceSetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "space_set_active", goArguments, "") - + godotCallVoidRidBool(o, "space_set_active", space, active) log.Println(" Function successfully completed.") } @@ -67880,16 +44196,7 @@ func (o *physics2DServer) SpaceSetActive(space *RID, active bool) { func (o *physics2DServer) SpaceSetParam(space *RID, param int64, value float64) { log.Println("Calling Physics2DServer.SpaceSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "space_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "space_set_param", space, param, value) log.Println(" Function successfully completed.") } @@ -67929,16 +44236,9 @@ func (o *Physics2DShapeQueryParameters) baseClass() string { func (o *Physics2DShapeQueryParameters) GetCollisionLayer() int64 { log.Println("Calling Physics2DShapeQueryParameters.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67949,16 +44249,9 @@ func (o *Physics2DShapeQueryParameters) GetCollisionLayer() int64 { func (o *Physics2DShapeQueryParameters) GetExclude() *Array { log.Println("Calling Physics2DShapeQueryParameters.GetExclude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_exclude") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67969,16 +44262,9 @@ func (o *Physics2DShapeQueryParameters) GetExclude() *Array { func (o *Physics2DShapeQueryParameters) GetMargin() float64 { log.Println("Calling Physics2DShapeQueryParameters.GetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -67989,16 +44275,9 @@ func (o *Physics2DShapeQueryParameters) GetMargin() float64 { func (o *Physics2DShapeQueryParameters) GetMotion() *Vector2 { log.Println("Calling Physics2DShapeQueryParameters.GetMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_motion", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_motion") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68009,16 +44288,9 @@ func (o *Physics2DShapeQueryParameters) GetMotion() *Vector2 { func (o *Physics2DShapeQueryParameters) GetShapeRid() *RID { log.Println("Calling Physics2DShapeQueryParameters.GetShapeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_shape_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68029,16 +44301,9 @@ func (o *Physics2DShapeQueryParameters) GetShapeRid() *RID { func (o *Physics2DShapeQueryParameters) GetTransform() *Transform2D { log.Println("Calling Physics2DShapeQueryParameters.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68049,14 +44314,7 @@ func (o *Physics2DShapeQueryParameters) GetTransform() *Transform2D { func (o *Physics2DShapeQueryParameters) SetCollisionLayer(collisionLayer int64) { log.Println("Calling Physics2DShapeQueryParameters.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", collisionLayer) log.Println(" Function successfully completed.") } @@ -68067,14 +44325,7 @@ func (o *Physics2DShapeQueryParameters) SetCollisionLayer(collisionLayer int64) func (o *Physics2DShapeQueryParameters) SetExclude(exclude *Array) { log.Println("Calling Physics2DShapeQueryParameters.SetExclude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exclude) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude", goArguments, "") - + godotCallVoidArray(o, "set_exclude", exclude) log.Println(" Function successfully completed.") } @@ -68085,14 +44336,7 @@ func (o *Physics2DShapeQueryParameters) SetExclude(exclude *Array) { func (o *Physics2DShapeQueryParameters) SetMargin(margin float64) { log.Println("Calling Physics2DShapeQueryParameters.SetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin", goArguments, "") - + godotCallVoidFloat(o, "set_margin", margin) log.Println(" Function successfully completed.") } @@ -68103,14 +44347,7 @@ func (o *Physics2DShapeQueryParameters) SetMargin(margin float64) { func (o *Physics2DShapeQueryParameters) SetMotion(motion *Vector2) { log.Println("Calling Physics2DShapeQueryParameters.SetMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(motion) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_motion", goArguments, "") - + godotCallVoidVector2(o, "set_motion", motion) log.Println(" Function successfully completed.") } @@ -68121,14 +44358,7 @@ func (o *Physics2DShapeQueryParameters) SetMotion(motion *Vector2) { func (o *Physics2DShapeQueryParameters) SetShape(shape *Resource) { log.Println("Calling Physics2DShapeQueryParameters.SetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape", goArguments, "") - + godotCallVoidObject(o, "set_shape", &shape.Object) log.Println(" Function successfully completed.") } @@ -68139,14 +44369,7 @@ func (o *Physics2DShapeQueryParameters) SetShape(shape *Resource) { func (o *Physics2DShapeQueryParameters) SetShapeRid(shape *RID) { log.Println("Calling Physics2DShapeQueryParameters.SetShapeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape_rid", goArguments, "") - + godotCallVoidRid(o, "set_shape_rid", shape) log.Println(" Function successfully completed.") } @@ -68157,14 +44380,7 @@ func (o *Physics2DShapeQueryParameters) SetShapeRid(shape *RID) { func (o *Physics2DShapeQueryParameters) SetTransform(transform *Transform2D) { log.Println("Calling Physics2DShapeQueryParameters.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_transform", transform) log.Println(" Function successfully completed.") } @@ -68193,16 +44409,9 @@ func (o *Physics2DShapeQueryResult) baseClass() string { func (o *Physics2DShapeQueryResult) GetResultCount() int64 { log.Println("Calling Physics2DShapeQueryResult.GetResultCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_result_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68213,18 +44422,12 @@ func (o *Physics2DShapeQueryResult) GetResultCount() int64 { func (o *Physics2DShapeQueryResult) GetResultObject(idx int64) *Object { log.Println("Calling Physics2DShapeQueryResult.GetResultObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "get_result_object", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -68234,17 +44437,9 @@ func (o *Physics2DShapeQueryResult) GetResultObject(idx int64) *Object { func (o *Physics2DShapeQueryResult) GetResultObjectId(idx int64) int64 { log.Println("Calling Physics2DShapeQueryResult.GetResultObjectId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_result_object_id", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68255,17 +44450,9 @@ func (o *Physics2DShapeQueryResult) GetResultObjectId(idx int64) int64 { func (o *Physics2DShapeQueryResult) GetResultObjectShape(idx int64) int64 { log.Println("Calling Physics2DShapeQueryResult.GetResultObjectShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_result_object_shape", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68276,17 +44463,9 @@ func (o *Physics2DShapeQueryResult) GetResultObjectShape(idx int64) int64 { func (o *Physics2DShapeQueryResult) GetResultRid(idx int64) *RID { log.Println("Calling Physics2DShapeQueryResult.GetResultRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "get_result_rid", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68315,17 +44494,12 @@ func (o *Physics2DTestMotionResult) baseClass() string { func (o *Physics2DTestMotionResult) GetCollider() *Object { log.Println("Calling Physics2DTestMotionResult.GetCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -68335,16 +44509,9 @@ func (o *Physics2DTestMotionResult) GetCollider() *Object { func (o *Physics2DTestMotionResult) GetColliderId() int64 { log.Println("Calling Physics2DTestMotionResult.GetColliderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68355,16 +44522,9 @@ func (o *Physics2DTestMotionResult) GetColliderId() int64 { func (o *Physics2DTestMotionResult) GetColliderRid() *RID { log.Println("Calling Physics2DTestMotionResult.GetColliderRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_collider_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68375,16 +44535,9 @@ func (o *Physics2DTestMotionResult) GetColliderRid() *RID { func (o *Physics2DTestMotionResult) GetColliderShape() int64 { log.Println("Calling Physics2DTestMotionResult.GetColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_shape") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68395,16 +44548,9 @@ func (o *Physics2DTestMotionResult) GetColliderShape() int64 { func (o *Physics2DTestMotionResult) GetColliderVelocity() *Vector2 { log.Println("Calling Physics2DTestMotionResult.GetColliderVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collider_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68415,16 +44561,9 @@ func (o *Physics2DTestMotionResult) GetColliderVelocity() *Vector2 { func (o *Physics2DTestMotionResult) GetCollisionNormal() *Vector2 { log.Println("Calling Physics2DTestMotionResult.GetCollisionNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_normal", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collision_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68435,16 +44574,9 @@ func (o *Physics2DTestMotionResult) GetCollisionNormal() *Vector2 { func (o *Physics2DTestMotionResult) GetCollisionPoint() *Vector2 { log.Println("Calling Physics2DTestMotionResult.GetCollisionPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_point", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collision_point") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68455,16 +44587,9 @@ func (o *Physics2DTestMotionResult) GetCollisionPoint() *Vector2 { func (o *Physics2DTestMotionResult) GetMotion() *Vector2 { log.Println("Calling Physics2DTestMotionResult.GetMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_motion", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_motion") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68475,16 +44600,9 @@ func (o *Physics2DTestMotionResult) GetMotion() *Vector2 { func (o *Physics2DTestMotionResult) GetMotionRemainder() *Vector2 { log.Println("Calling Physics2DTestMotionResult.GetMotionRemainder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_motion_remainder", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_motion_remainder") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68513,16 +44631,9 @@ func (o *PhysicsBody) baseClass() string { func (o *PhysicsBody) X_GetLayers() int64 { log.Println("Calling PhysicsBody.X_GetLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_layers", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_layers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68533,14 +44644,7 @@ func (o *PhysicsBody) X_GetLayers() int64 { func (o *PhysicsBody) X_SetLayers(mask int64) { log.Println("Calling PhysicsBody.X_SetLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_layers", goArguments, "") - + godotCallVoidInt(o, "_set_layers", mask) log.Println(" Function successfully completed.") } @@ -68551,14 +44655,7 @@ func (o *PhysicsBody) X_SetLayers(mask int64) { func (o *PhysicsBody) AddCollisionExceptionWith(body *Object) { log.Println("Calling PhysicsBody.AddCollisionExceptionWith()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_collision_exception_with", goArguments, "") - + godotCallVoidObject(o, "add_collision_exception_with", body) log.Println(" Function successfully completed.") } @@ -68569,16 +44666,9 @@ func (o *PhysicsBody) AddCollisionExceptionWith(body *Object) { func (o *PhysicsBody) GetCollisionLayer() int64 { log.Println("Calling PhysicsBody.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68589,17 +44679,9 @@ func (o *PhysicsBody) GetCollisionLayer() int64 { func (o *PhysicsBody) GetCollisionLayerBit(bit int64) bool { log.Println("Calling PhysicsBody.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68610,16 +44692,9 @@ func (o *PhysicsBody) GetCollisionLayerBit(bit int64) bool { func (o *PhysicsBody) GetCollisionMask() int64 { log.Println("Calling PhysicsBody.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68630,17 +44705,9 @@ func (o *PhysicsBody) GetCollisionMask() int64 { func (o *PhysicsBody) GetCollisionMaskBit(bit int64) bool { log.Println("Calling PhysicsBody.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68651,14 +44718,7 @@ func (o *PhysicsBody) GetCollisionMaskBit(bit int64) bool { func (o *PhysicsBody) RemoveCollisionExceptionWith(body *Object) { log.Println("Calling PhysicsBody.RemoveCollisionExceptionWith()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_collision_exception_with", goArguments, "") - + godotCallVoidObject(o, "remove_collision_exception_with", body) log.Println(" Function successfully completed.") } @@ -68669,14 +44729,7 @@ func (o *PhysicsBody) RemoveCollisionExceptionWith(body *Object) { func (o *PhysicsBody) SetCollisionLayer(layer int64) { log.Println("Calling PhysicsBody.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", layer) log.Println(" Function successfully completed.") } @@ -68687,15 +44740,7 @@ func (o *PhysicsBody) SetCollisionLayer(layer int64) { func (o *PhysicsBody) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling PhysicsBody.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -68706,14 +44751,7 @@ func (o *PhysicsBody) SetCollisionLayerBit(bit int64, value bool) { func (o *PhysicsBody) SetCollisionMask(mask int64) { log.Println("Calling PhysicsBody.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -68724,15 +44762,7 @@ func (o *PhysicsBody) SetCollisionMask(mask int64) { func (o *PhysicsBody) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling PhysicsBody.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -68761,16 +44791,9 @@ func (o *PhysicsBody2D) baseClass() string { func (o *PhysicsBody2D) X_GetLayers() int64 { log.Println("Calling PhysicsBody2D.X_GetLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_layers", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_layers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68781,14 +44804,7 @@ func (o *PhysicsBody2D) X_GetLayers() int64 { func (o *PhysicsBody2D) X_SetLayers(mask int64) { log.Println("Calling PhysicsBody2D.X_SetLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_layers", goArguments, "") - + godotCallVoidInt(o, "_set_layers", mask) log.Println(" Function successfully completed.") } @@ -68799,14 +44815,7 @@ func (o *PhysicsBody2D) X_SetLayers(mask int64) { func (o *PhysicsBody2D) AddCollisionExceptionWith(body *Object) { log.Println("Calling PhysicsBody2D.AddCollisionExceptionWith()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_collision_exception_with", goArguments, "") - + godotCallVoidObject(o, "add_collision_exception_with", body) log.Println(" Function successfully completed.") } @@ -68817,16 +44826,9 @@ func (o *PhysicsBody2D) AddCollisionExceptionWith(body *Object) { func (o *PhysicsBody2D) GetCollisionLayer() int64 { log.Println("Calling PhysicsBody2D.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68837,17 +44839,9 @@ func (o *PhysicsBody2D) GetCollisionLayer() int64 { func (o *PhysicsBody2D) GetCollisionLayerBit(bit int64) bool { log.Println("Calling PhysicsBody2D.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68858,16 +44852,9 @@ func (o *PhysicsBody2D) GetCollisionLayerBit(bit int64) bool { func (o *PhysicsBody2D) GetCollisionMask() int64 { log.Println("Calling PhysicsBody2D.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68878,17 +44865,9 @@ func (o *PhysicsBody2D) GetCollisionMask() int64 { func (o *PhysicsBody2D) GetCollisionMaskBit(bit int64) bool { log.Println("Calling PhysicsBody2D.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -68899,14 +44878,7 @@ func (o *PhysicsBody2D) GetCollisionMaskBit(bit int64) bool { func (o *PhysicsBody2D) RemoveCollisionExceptionWith(body *Object) { log.Println("Calling PhysicsBody2D.RemoveCollisionExceptionWith()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_collision_exception_with", goArguments, "") - + godotCallVoidObject(o, "remove_collision_exception_with", body) log.Println(" Function successfully completed.") } @@ -68917,14 +44889,7 @@ func (o *PhysicsBody2D) RemoveCollisionExceptionWith(body *Object) { func (o *PhysicsBody2D) SetCollisionLayer(layer int64) { log.Println("Calling PhysicsBody2D.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", layer) log.Println(" Function successfully completed.") } @@ -68935,15 +44900,7 @@ func (o *PhysicsBody2D) SetCollisionLayer(layer int64) { func (o *PhysicsBody2D) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling PhysicsBody2D.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -68954,14 +44911,7 @@ func (o *PhysicsBody2D) SetCollisionLayerBit(bit int64, value bool) { func (o *PhysicsBody2D) SetCollisionMask(mask int64) { log.Println("Calling PhysicsBody2D.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -68972,15 +44922,7 @@ func (o *PhysicsBody2D) SetCollisionMask(mask int64) { func (o *PhysicsBody2D) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling PhysicsBody2D.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -69009,15 +44951,7 @@ func (o *PhysicsDirectBodyState) baseClass() string { func (o *PhysicsDirectBodyState) AddForce(force *Vector3, position *Vector3) { log.Println("Calling PhysicsDirectBodyState.AddForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(force) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_force", goArguments, "") - + godotCallVoidVector3Vector3(o, "add_force", force, position) log.Println(" Function successfully completed.") } @@ -69028,15 +44962,7 @@ func (o *PhysicsDirectBodyState) AddForce(force *Vector3, position *Vector3) { func (o *PhysicsDirectBodyState) ApplyImpulse(position *Vector3, j *Vector3) { log.Println("Calling PhysicsDirectBodyState.ApplyImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(j) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_impulse", goArguments, "") - + godotCallVoidVector3Vector3(o, "apply_impulse", position, j) log.Println(" Function successfully completed.") } @@ -69047,14 +44973,7 @@ func (o *PhysicsDirectBodyState) ApplyImpulse(position *Vector3, j *Vector3) { func (o *PhysicsDirectBodyState) ApplyTorqeImpulse(j *Vector3) { log.Println("Calling PhysicsDirectBodyState.ApplyTorqeImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(j) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_torqe_impulse", goArguments, "") - + godotCallVoidVector3(o, "apply_torqe_impulse", j) log.Println(" Function successfully completed.") } @@ -69065,16 +44984,9 @@ func (o *PhysicsDirectBodyState) ApplyTorqeImpulse(j *Vector3) { func (o *PhysicsDirectBodyState) GetAngularVelocity() *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69085,16 +44997,9 @@ func (o *PhysicsDirectBodyState) GetAngularVelocity() *Vector3 { func (o *PhysicsDirectBodyState) GetCenterOfMass() *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetCenterOfMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_center_of_mass", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_center_of_mass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69105,17 +45010,9 @@ func (o *PhysicsDirectBodyState) GetCenterOfMass() *Vector3 { func (o *PhysicsDirectBodyState) GetContactCollider(contactIdx int64) *RID { log.Println("Calling PhysicsDirectBodyState.GetContactCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "get_contact_collider", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69126,17 +45023,9 @@ func (o *PhysicsDirectBodyState) GetContactCollider(contactIdx int64) *RID { func (o *PhysicsDirectBodyState) GetContactColliderId(contactIdx int64) int64 { log.Println("Calling PhysicsDirectBodyState.GetContactColliderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_collider_id", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69147,18 +45036,12 @@ func (o *PhysicsDirectBodyState) GetContactColliderId(contactIdx int64) int64 { func (o *PhysicsDirectBodyState) GetContactColliderObject(contactIdx int64) *Object { log.Println("Calling PhysicsDirectBodyState.GetContactColliderObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_object", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "get_contact_collider_object", contactIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -69168,17 +45051,9 @@ func (o *PhysicsDirectBodyState) GetContactColliderObject(contactIdx int64) *Obj func (o *PhysicsDirectBodyState) GetContactColliderPosition(contactIdx int64) *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetContactColliderPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_contact_collider_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69189,17 +45064,9 @@ func (o *PhysicsDirectBodyState) GetContactColliderPosition(contactIdx int64) *V func (o *PhysicsDirectBodyState) GetContactColliderShape(contactIdx int64) int64 { log.Println("Calling PhysicsDirectBodyState.GetContactColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_collider_shape", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69210,17 +45077,9 @@ func (o *PhysicsDirectBodyState) GetContactColliderShape(contactIdx int64) int64 func (o *PhysicsDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx int64) *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetContactColliderVelocityAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_collider_velocity_at_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_contact_collider_velocity_at_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69231,16 +45090,9 @@ func (o *PhysicsDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx func (o *PhysicsDirectBodyState) GetContactCount() int64 { log.Println("Calling PhysicsDirectBodyState.GetContactCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_contact_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69251,17 +45103,9 @@ func (o *PhysicsDirectBodyState) GetContactCount() int64 { func (o *PhysicsDirectBodyState) GetContactLocalNormal(contactIdx int64) *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetContactLocalNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_contact_local_normal", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69272,17 +45116,9 @@ func (o *PhysicsDirectBodyState) GetContactLocalNormal(contactIdx int64) *Vector func (o *PhysicsDirectBodyState) GetContactLocalPosition(contactIdx int64) *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetContactLocalPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_position", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Int(o, "get_contact_local_position", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69293,17 +45129,9 @@ func (o *PhysicsDirectBodyState) GetContactLocalPosition(contactIdx int64) *Vect func (o *PhysicsDirectBodyState) GetContactLocalShape(contactIdx int64) int64 { log.Println("Calling PhysicsDirectBodyState.GetContactLocalShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(contactIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_contact_local_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_contact_local_shape", contactIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69314,16 +45142,9 @@ func (o *PhysicsDirectBodyState) GetContactLocalShape(contactIdx int64) int64 { func (o *PhysicsDirectBodyState) GetInverseInertia() *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetInverseInertia()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_inverse_inertia", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_inverse_inertia") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69334,16 +45155,9 @@ func (o *PhysicsDirectBodyState) GetInverseInertia() *Vector3 { func (o *PhysicsDirectBodyState) GetInverseMass() float64 { log.Println("Calling PhysicsDirectBodyState.GetInverseMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_inverse_mass", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_inverse_mass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69354,16 +45168,9 @@ func (o *PhysicsDirectBodyState) GetInverseMass() float64 { func (o *PhysicsDirectBodyState) GetLinearVelocity() *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69374,16 +45181,9 @@ func (o *PhysicsDirectBodyState) GetLinearVelocity() *Vector3 { func (o *PhysicsDirectBodyState) GetPrincipalInertiaAxes() *Basis { log.Println("Calling PhysicsDirectBodyState.GetPrincipalInertiaAxes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_principal_inertia_axes", goArguments, "*Basis") - - returnValue := goRet.Interface().(*Basis) - + returnValue := godotCallBasis(o, "get_principal_inertia_axes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69394,17 +45194,12 @@ func (o *PhysicsDirectBodyState) GetPrincipalInertiaAxes() *Basis { func (o *PhysicsDirectBodyState) GetSpaceState() *PhysicsDirectSpaceState { log.Println("Calling PhysicsDirectBodyState.GetSpaceState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space_state", goArguments, "*PhysicsDirectSpaceState") - - returnValue := goRet.Interface().(*PhysicsDirectSpaceState) - + returnValue := godotCallObject(o, "get_space_state") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PhysicsDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -69414,16 +45209,9 @@ func (o *PhysicsDirectBodyState) GetSpaceState() *PhysicsDirectSpaceState { func (o *PhysicsDirectBodyState) GetStep() float64 { log.Println("Calling PhysicsDirectBodyState.GetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_step", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69434,16 +45222,9 @@ func (o *PhysicsDirectBodyState) GetStep() float64 { func (o *PhysicsDirectBodyState) GetTotalAngularDamp() float64 { log.Println("Calling PhysicsDirectBodyState.GetTotalAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_total_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69454,16 +45235,9 @@ func (o *PhysicsDirectBodyState) GetTotalAngularDamp() float64 { func (o *PhysicsDirectBodyState) GetTotalGravity() *Vector3 { log.Println("Calling PhysicsDirectBodyState.GetTotalGravity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_gravity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_total_gravity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69474,16 +45248,9 @@ func (o *PhysicsDirectBodyState) GetTotalGravity() *Vector3 { func (o *PhysicsDirectBodyState) GetTotalLinearDamp() float64 { log.Println("Calling PhysicsDirectBodyState.GetTotalLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_total_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69494,16 +45261,9 @@ func (o *PhysicsDirectBodyState) GetTotalLinearDamp() float64 { func (o *PhysicsDirectBodyState) GetTransform() *Transform { log.Println("Calling PhysicsDirectBodyState.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69514,13 +45274,7 @@ func (o *PhysicsDirectBodyState) GetTransform() *Transform { func (o *PhysicsDirectBodyState) IntegrateForces() { log.Println("Calling PhysicsDirectBodyState.IntegrateForces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "integrate_forces", goArguments, "") - + godotCallVoid(o, "integrate_forces") log.Println(" Function successfully completed.") } @@ -69531,16 +45285,9 @@ func (o *PhysicsDirectBodyState) IntegrateForces() { func (o *PhysicsDirectBodyState) IsSleeping() bool { log.Println("Calling PhysicsDirectBodyState.IsSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_sleeping", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_sleeping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69551,14 +45298,7 @@ func (o *PhysicsDirectBodyState) IsSleeping() bool { func (o *PhysicsDirectBodyState) SetAngularVelocity(velocity *Vector3) { log.Println("Calling PhysicsDirectBodyState.SetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(velocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_angular_velocity", velocity) log.Println(" Function successfully completed.") } @@ -69569,14 +45309,7 @@ func (o *PhysicsDirectBodyState) SetAngularVelocity(velocity *Vector3) { func (o *PhysicsDirectBodyState) SetLinearVelocity(velocity *Vector3) { log.Println("Calling PhysicsDirectBodyState.SetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(velocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_linear_velocity", velocity) log.Println(" Function successfully completed.") } @@ -69587,14 +45320,7 @@ func (o *PhysicsDirectBodyState) SetLinearVelocity(velocity *Vector3) { func (o *PhysicsDirectBodyState) SetSleepState(enabled bool) { log.Println("Calling PhysicsDirectBodyState.SetSleepState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sleep_state", goArguments, "") - + godotCallVoidBool(o, "set_sleep_state", enabled) log.Println(" Function successfully completed.") } @@ -69605,14 +45331,7 @@ func (o *PhysicsDirectBodyState) SetSleepState(enabled bool) { func (o *PhysicsDirectBodyState) SetTransform(transform *Transform) { log.Println("Calling PhysicsDirectBodyState.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform(o, "set_transform", transform) log.Println(" Function successfully completed.") } @@ -69641,18 +45360,9 @@ func (o *PhysicsDirectSpaceState) baseClass() string { func (o *PhysicsDirectSpaceState) CastMotion(shape *PhysicsShapeQueryParameters, motion *Vector3) *Array { log.Println("Calling PhysicsDirectSpaceState.CastMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(motion) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cast_motion", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObjectVector3(o, "cast_motion", &shape.Object, motion) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69663,18 +45373,9 @@ func (o *PhysicsDirectSpaceState) CastMotion(shape *PhysicsShapeQueryParameters, func (o *PhysicsDirectSpaceState) CollideShape(shape *PhysicsShapeQueryParameters, maxResults int64) *Array { log.Println("Calling PhysicsDirectSpaceState.CollideShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(maxResults) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide_shape", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObjectInt(o, "collide_shape", &shape.Object, maxResults) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69685,17 +45386,9 @@ func (o *PhysicsDirectSpaceState) CollideShape(shape *PhysicsShapeQueryParameter func (o *PhysicsDirectSpaceState) GetRestInfo(shape *PhysicsShapeQueryParameters) *Dictionary { log.Println("Calling PhysicsDirectSpaceState.GetRestInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rest_info", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryObject(o, "get_rest_info", &shape.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69706,20 +45399,9 @@ func (o *PhysicsDirectSpaceState) GetRestInfo(shape *PhysicsShapeQueryParameters func (o *PhysicsDirectSpaceState) IntersectRay(from *Vector3, to *Vector3, exclude *Array, collisionLayer int64) *Dictionary { log.Println("Calling PhysicsDirectSpaceState.IntersectRay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - goArguments[2] = reflect.ValueOf(exclude) - goArguments[3] = reflect.ValueOf(collisionLayer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "intersect_ray", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryVector3Vector3ArrayInt(o, "intersect_ray", from, to, exclude, collisionLayer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69730,18 +45412,9 @@ func (o *PhysicsDirectSpaceState) IntersectRay(from *Vector3, to *Vector3, exclu func (o *PhysicsDirectSpaceState) IntersectShape(shape *PhysicsShapeQueryParameters, maxResults int64) *Array { log.Println("Calling PhysicsDirectSpaceState.IntersectShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(maxResults) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "intersect_shape", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayObjectInt(o, "intersect_shape", &shape.Object, maxResults) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69755,7 +45428,9 @@ type PhysicsDirectSpaceStateImplementer interface { func newSingletonPhysicsServer() *physicsServer { obj := &physicsServer{} - ptr := C.godot_global_get_singleton(C.CString("PhysicsServer")) + name := C.CString("PhysicsServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -69782,16 +45457,7 @@ func (o *physicsServer) baseClass() string { func (o *physicsServer) AreaAddShape(area *RID, shape *RID, transform *Transform) { log.Println("Calling PhysicsServer.AreaAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_add_shape", goArguments, "") - + godotCallVoidRidRidTransform(o, "area_add_shape", area, shape, transform) log.Println(" Function successfully completed.") } @@ -69802,15 +45468,7 @@ func (o *physicsServer) AreaAddShape(area *RID, shape *RID, transform *Transform func (o *physicsServer) AreaAttachObjectInstanceId(area *RID, id int64) { log.Println("Calling PhysicsServer.AreaAttachObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_attach_object_instance_id", goArguments, "") - + godotCallVoidRidInt(o, "area_attach_object_instance_id", area, id) log.Println(" Function successfully completed.") } @@ -69821,14 +45479,7 @@ func (o *physicsServer) AreaAttachObjectInstanceId(area *RID, id int64) { func (o *physicsServer) AreaClearShapes(area *RID) { log.Println("Calling PhysicsServer.AreaClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_clear_shapes", goArguments, "") - + godotCallVoidRid(o, "area_clear_shapes", area) log.Println(" Function successfully completed.") } @@ -69839,16 +45490,9 @@ func (o *physicsServer) AreaClearShapes(area *RID) { func (o *physicsServer) AreaCreate() *RID { log.Println("Calling PhysicsServer.AreaCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "area_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69859,17 +45503,9 @@ func (o *physicsServer) AreaCreate() *RID { func (o *physicsServer) AreaGetObjectInstanceId(area *RID) int64 { log.Println("Calling PhysicsServer.AreaGetObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_object_instance_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_object_instance_id", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69880,18 +45516,9 @@ func (o *physicsServer) AreaGetObjectInstanceId(area *RID) int64 { func (o *physicsServer) AreaGetParam(area *RID, param int64) *Variant { log.Println("Calling PhysicsServer.AreaGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_param", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidInt(o, "area_get_param", area, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69902,18 +45529,9 @@ func (o *physicsServer) AreaGetParam(area *RID, param int64) *Variant { func (o *physicsServer) AreaGetShape(area *RID, shapeIdx int64) *RID { log.Println("Calling PhysicsServer.AreaGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidInt(o, "area_get_shape", area, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69924,17 +45542,9 @@ func (o *physicsServer) AreaGetShape(area *RID, shapeIdx int64) *RID { func (o *physicsServer) AreaGetShapeCount(area *RID) int64 { log.Println("Calling PhysicsServer.AreaGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_shape_count", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69945,18 +45555,9 @@ func (o *physicsServer) AreaGetShapeCount(area *RID) int64 { func (o *physicsServer) AreaGetShapeTransform(area *RID, shapeIdx int64) *Transform { log.Println("Calling PhysicsServer.AreaGetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_shape_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformRidInt(o, "area_get_shape_transform", area, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69967,17 +45568,9 @@ func (o *physicsServer) AreaGetShapeTransform(area *RID, shapeIdx int64) *Transf func (o *physicsServer) AreaGetSpace(area *RID) *RID { log.Println("Calling PhysicsServer.AreaGetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "area_get_space", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -69988,17 +45581,9 @@ func (o *physicsServer) AreaGetSpace(area *RID) *RID { func (o *physicsServer) AreaGetSpaceOverrideMode(area *RID) int64 { log.Println("Calling PhysicsServer.AreaGetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_space_override_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "area_get_space_override_mode", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70009,17 +45594,9 @@ func (o *physicsServer) AreaGetSpaceOverrideMode(area *RID) int64 { func (o *physicsServer) AreaGetTransform(area *RID) *Transform { log.Println("Calling PhysicsServer.AreaGetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformRid(o, "area_get_transform", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70030,17 +45607,9 @@ func (o *physicsServer) AreaGetTransform(area *RID) *Transform { func (o *physicsServer) AreaIsRayPickable(area *RID) bool { log.Println("Calling PhysicsServer.AreaIsRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(area) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "area_is_ray_pickable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "area_is_ray_pickable", area) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70051,15 +45620,7 @@ func (o *physicsServer) AreaIsRayPickable(area *RID) bool { func (o *physicsServer) AreaRemoveShape(area *RID, shapeIdx int64) { log.Println("Calling PhysicsServer.AreaRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_remove_shape", goArguments, "") - + godotCallVoidRidInt(o, "area_remove_shape", area, shapeIdx) log.Println(" Function successfully completed.") } @@ -70070,15 +45631,7 @@ func (o *physicsServer) AreaRemoveShape(area *RID, shapeIdx int64) { func (o *physicsServer) AreaSetCollisionLayer(area *RID, layer int64) { log.Println("Calling PhysicsServer.AreaSetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_collision_layer", goArguments, "") - + godotCallVoidRidInt(o, "area_set_collision_layer", area, layer) log.Println(" Function successfully completed.") } @@ -70089,15 +45642,7 @@ func (o *physicsServer) AreaSetCollisionLayer(area *RID, layer int64) { func (o *physicsServer) AreaSetCollisionMask(area *RID, mask int64) { log.Println("Calling PhysicsServer.AreaSetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_collision_mask", goArguments, "") - + godotCallVoidRidInt(o, "area_set_collision_mask", area, mask) log.Println(" Function successfully completed.") } @@ -70108,16 +45653,7 @@ func (o *physicsServer) AreaSetCollisionMask(area *RID, mask int64) { func (o *physicsServer) AreaSetMonitorCallback(area *RID, receiver *Object, method string) { log.Println("Calling PhysicsServer.AreaSetMonitorCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(method) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_monitor_callback", goArguments, "") - + godotCallVoidRidObjectString(o, "area_set_monitor_callback", area, receiver, method) log.Println(" Function successfully completed.") } @@ -70128,16 +45664,7 @@ func (o *physicsServer) AreaSetMonitorCallback(area *RID, receiver *Object, meth func (o *physicsServer) AreaSetParam(area *RID, param int64, value *Variant) { log.Println("Calling PhysicsServer.AreaSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_param", goArguments, "") - + godotCallVoidRidIntVariant(o, "area_set_param", area, param, value) log.Println(" Function successfully completed.") } @@ -70148,15 +45675,7 @@ func (o *physicsServer) AreaSetParam(area *RID, param int64, value *Variant) { func (o *physicsServer) AreaSetRayPickable(area *RID, enable bool) { log.Println("Calling PhysicsServer.AreaSetRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_ray_pickable", goArguments, "") - + godotCallVoidRidBool(o, "area_set_ray_pickable", area, enable) log.Println(" Function successfully completed.") } @@ -70167,16 +45686,7 @@ func (o *physicsServer) AreaSetRayPickable(area *RID, enable bool) { func (o *physicsServer) AreaSetShape(area *RID, shapeIdx int64, shape *RID) { log.Println("Calling PhysicsServer.AreaSetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_shape", goArguments, "") - + godotCallVoidRidIntRid(o, "area_set_shape", area, shapeIdx, shape) log.Println(" Function successfully completed.") } @@ -70187,16 +45697,7 @@ func (o *physicsServer) AreaSetShape(area *RID, shapeIdx int64, shape *RID) { func (o *physicsServer) AreaSetShapeTransform(area *RID, shapeIdx int64, transform *Transform) { log.Println("Calling PhysicsServer.AreaSetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_shape_transform", goArguments, "") - + godotCallVoidRidIntTransform(o, "area_set_shape_transform", area, shapeIdx, transform) log.Println(" Function successfully completed.") } @@ -70207,15 +45708,7 @@ func (o *physicsServer) AreaSetShapeTransform(area *RID, shapeIdx int64, transfo func (o *physicsServer) AreaSetSpace(area *RID, space *RID) { log.Println("Calling PhysicsServer.AreaSetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(space) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_space", goArguments, "") - + godotCallVoidRidRid(o, "area_set_space", area, space) log.Println(" Function successfully completed.") } @@ -70226,15 +45719,7 @@ func (o *physicsServer) AreaSetSpace(area *RID, space *RID) { func (o *physicsServer) AreaSetSpaceOverrideMode(area *RID, mode int64) { log.Println("Calling PhysicsServer.AreaSetSpaceOverrideMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_space_override_mode", goArguments, "") - + godotCallVoidRidInt(o, "area_set_space_override_mode", area, mode) log.Println(" Function successfully completed.") } @@ -70245,15 +45730,7 @@ func (o *physicsServer) AreaSetSpaceOverrideMode(area *RID, mode int64) { func (o *physicsServer) AreaSetTransform(area *RID, transform *Transform) { log.Println("Calling PhysicsServer.AreaSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(area) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "area_set_transform", goArguments, "") - + godotCallVoidRidTransform(o, "area_set_transform", area, transform) log.Println(" Function successfully completed.") } @@ -70264,15 +45741,7 @@ func (o *physicsServer) AreaSetTransform(area *RID, transform *Transform) { func (o *physicsServer) BodyAddCollisionException(body *RID, exceptedBody *RID) { log.Println("Calling PhysicsServer.BodyAddCollisionException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(exceptedBody) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_add_collision_exception", goArguments, "") - + godotCallVoidRidRid(o, "body_add_collision_exception", body, exceptedBody) log.Println(" Function successfully completed.") } @@ -70283,16 +45752,7 @@ func (o *physicsServer) BodyAddCollisionException(body *RID, exceptedBody *RID) func (o *physicsServer) BodyAddShape(body *RID, shape *RID, transform *Transform) { log.Println("Calling PhysicsServer.BodyAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_add_shape", goArguments, "") - + godotCallVoidRidRidTransform(o, "body_add_shape", body, shape, transform) log.Println(" Function successfully completed.") } @@ -70303,16 +45763,7 @@ func (o *physicsServer) BodyAddShape(body *RID, shape *RID, transform *Transform func (o *physicsServer) BodyApplyImpulse(body *RID, position *Vector3, impulse *Vector3) { log.Println("Calling PhysicsServer.BodyApplyImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(impulse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_apply_impulse", goArguments, "") - + godotCallVoidRidVector3Vector3(o, "body_apply_impulse", body, position, impulse) log.Println(" Function successfully completed.") } @@ -70323,15 +45774,7 @@ func (o *physicsServer) BodyApplyImpulse(body *RID, position *Vector3, impulse * func (o *physicsServer) BodyApplyTorqueImpulse(body *RID, impulse *Vector3) { log.Println("Calling PhysicsServer.BodyApplyTorqueImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(impulse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_apply_torque_impulse", goArguments, "") - + godotCallVoidRidVector3(o, "body_apply_torque_impulse", body, impulse) log.Println(" Function successfully completed.") } @@ -70342,15 +45785,7 @@ func (o *physicsServer) BodyApplyTorqueImpulse(body *RID, impulse *Vector3) { func (o *physicsServer) BodyAttachObjectInstanceId(body *RID, id int64) { log.Println("Calling PhysicsServer.BodyAttachObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_attach_object_instance_id", goArguments, "") - + godotCallVoidRidInt(o, "body_attach_object_instance_id", body, id) log.Println(" Function successfully completed.") } @@ -70361,14 +45796,7 @@ func (o *physicsServer) BodyAttachObjectInstanceId(body *RID, id int64) { func (o *physicsServer) BodyClearShapes(body *RID) { log.Println("Calling PhysicsServer.BodyClearShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_clear_shapes", goArguments, "") - + godotCallVoidRid(o, "body_clear_shapes", body) log.Println(" Function successfully completed.") } @@ -70379,18 +45807,9 @@ func (o *physicsServer) BodyClearShapes(body *RID) { func (o *physicsServer) BodyCreate(mode int64, initSleeping bool) *RID { log.Println("Calling PhysicsServer.BodyCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mode) - goArguments[1] = reflect.ValueOf(initSleeping) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidIntBool(o, "body_create", mode, initSleeping) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70401,17 +45820,9 @@ func (o *physicsServer) BodyCreate(mode int64, initSleeping bool) *RID { func (o *physicsServer) BodyGetCollisionLayer(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_collision_layer", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70423,17 +45834,9 @@ func (o *physicsServer) BodyGetCollisionLayer(body *RID) int64 { func (o *physicsServer) BodyGetCollisionMask(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_collision_mask", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70444,18 +45847,12 @@ func (o *physicsServer) BodyGetCollisionMask(body *RID) int64 { func (o *physicsServer) BodyGetDirectState(body *RID) *PhysicsDirectBodyState { log.Println("Calling PhysicsServer.BodyGetDirectState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_direct_state", goArguments, "*PhysicsDirectBodyState") - - returnValue := goRet.Interface().(*PhysicsDirectBodyState) - + returnValue := godotCallObjectRid(o, "body_get_direct_state", body) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PhysicsDirectBodyState + ret.owner = returnValue.owner + return &ret } @@ -70465,17 +45862,9 @@ func (o *physicsServer) BodyGetDirectState(body *RID) *PhysicsDirectBodyState { func (o *physicsServer) BodyGetKinematicSafeMargin(body *RID) float64 { log.Println("Calling PhysicsServer.BodyGetKinematicSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_kinematic_safe_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRid(o, "body_get_kinematic_safe_margin", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70486,17 +45875,9 @@ func (o *physicsServer) BodyGetKinematicSafeMargin(body *RID) float64 { func (o *physicsServer) BodyGetMaxContactsReported(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_max_contacts_reported", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_max_contacts_reported", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70507,17 +45888,9 @@ func (o *physicsServer) BodyGetMaxContactsReported(body *RID) int64 { func (o *physicsServer) BodyGetMode(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_mode", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70528,17 +45901,9 @@ func (o *physicsServer) BodyGetMode(body *RID) int64 { func (o *physicsServer) BodyGetObjectInstanceId(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetObjectInstanceId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_object_instance_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_object_instance_id", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70549,18 +45914,9 @@ func (o *physicsServer) BodyGetObjectInstanceId(body *RID) int64 { func (o *physicsServer) BodyGetParam(body *RID, param int64) float64 { log.Println("Calling PhysicsServer.BodyGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "body_get_param", body, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70571,18 +45927,9 @@ func (o *physicsServer) BodyGetParam(body *RID, param int64) float64 { func (o *physicsServer) BodyGetShape(body *RID, shapeIdx int64) *RID { log.Println("Calling PhysicsServer.BodyGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidInt(o, "body_get_shape", body, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70593,17 +45940,9 @@ func (o *physicsServer) BodyGetShape(body *RID, shapeIdx int64) *RID { func (o *physicsServer) BodyGetShapeCount(body *RID) int64 { log.Println("Calling PhysicsServer.BodyGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "body_get_shape_count", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70614,18 +45953,9 @@ func (o *physicsServer) BodyGetShapeCount(body *RID) int64 { func (o *physicsServer) BodyGetShapeTransform(body *RID, shapeIdx int64) *Transform { log.Println("Calling PhysicsServer.BodyGetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_shape_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformRidInt(o, "body_get_shape_transform", body, shapeIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70636,17 +45966,9 @@ func (o *physicsServer) BodyGetShapeTransform(body *RID, shapeIdx int64) *Transf func (o *physicsServer) BodyGetSpace(body *RID) *RID { log.Println("Calling PhysicsServer.BodyGetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "body_get_space", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70657,18 +45979,9 @@ func (o *physicsServer) BodyGetSpace(body *RID) *RID { func (o *physicsServer) BodyGetState(body *RID, state int64) *Variant { log.Println("Calling PhysicsServer.BodyGetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(state) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_get_state", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidInt(o, "body_get_state", body, state) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70679,18 +45992,9 @@ func (o *physicsServer) BodyGetState(body *RID, state int64) *Variant { func (o *physicsServer) BodyIsAxisLocked(body *RID, axis int64) bool { log.Println("Calling PhysicsServer.BodyIsAxisLocked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_is_axis_locked", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRidInt(o, "body_is_axis_locked", body, axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70701,17 +46005,9 @@ func (o *physicsServer) BodyIsAxisLocked(body *RID, axis int64) bool { func (o *physicsServer) BodyIsContinuousCollisionDetectionEnabled(body *RID) bool { log.Println("Calling PhysicsServer.BodyIsContinuousCollisionDetectionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_is_continuous_collision_detection_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "body_is_continuous_collision_detection_enabled", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70722,17 +46018,9 @@ func (o *physicsServer) BodyIsContinuousCollisionDetectionEnabled(body *RID) boo func (o *physicsServer) BodyIsOmittingForceIntegration(body *RID) bool { log.Println("Calling PhysicsServer.BodyIsOmittingForceIntegration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_is_omitting_force_integration", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "body_is_omitting_force_integration", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70743,17 +46031,9 @@ func (o *physicsServer) BodyIsOmittingForceIntegration(body *RID) bool { func (o *physicsServer) BodyIsRayPickable(body *RID) bool { log.Println("Calling PhysicsServer.BodyIsRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(body) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "body_is_ray_pickable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "body_is_ray_pickable", body) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -70764,15 +46044,7 @@ func (o *physicsServer) BodyIsRayPickable(body *RID) bool { func (o *physicsServer) BodyRemoveCollisionException(body *RID, exceptedBody *RID) { log.Println("Calling PhysicsServer.BodyRemoveCollisionException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(exceptedBody) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_remove_collision_exception", goArguments, "") - + godotCallVoidRidRid(o, "body_remove_collision_exception", body, exceptedBody) log.Println(" Function successfully completed.") } @@ -70783,15 +46055,7 @@ func (o *physicsServer) BodyRemoveCollisionException(body *RID, exceptedBody *RI func (o *physicsServer) BodyRemoveShape(body *RID, shapeIdx int64) { log.Println("Calling PhysicsServer.BodyRemoveShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_remove_shape", goArguments, "") - + godotCallVoidRidInt(o, "body_remove_shape", body, shapeIdx) log.Println(" Function successfully completed.") } @@ -70802,16 +46066,7 @@ func (o *physicsServer) BodyRemoveShape(body *RID, shapeIdx int64) { func (o *physicsServer) BodySetAxisLock(body *RID, axis int64, lock bool) { log.Println("Calling PhysicsServer.BodySetAxisLock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(axis) - goArguments[2] = reflect.ValueOf(lock) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_axis_lock", goArguments, "") - + godotCallVoidRidIntBool(o, "body_set_axis_lock", body, axis, lock) log.Println(" Function successfully completed.") } @@ -70822,15 +46077,7 @@ func (o *physicsServer) BodySetAxisLock(body *RID, axis int64, lock bool) { func (o *physicsServer) BodySetAxisVelocity(body *RID, axisVelocity *Vector3) { log.Println("Calling PhysicsServer.BodySetAxisVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(axisVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_axis_velocity", goArguments, "") - + godotCallVoidRidVector3(o, "body_set_axis_velocity", body, axisVelocity) log.Println(" Function successfully completed.") } @@ -70841,15 +46088,7 @@ func (o *physicsServer) BodySetAxisVelocity(body *RID, axisVelocity *Vector3) { func (o *physicsServer) BodySetCollisionLayer(body *RID, layer int64) { log.Println("Calling PhysicsServer.BodySetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_collision_layer", goArguments, "") - + godotCallVoidRidInt(o, "body_set_collision_layer", body, layer) log.Println(" Function successfully completed.") } @@ -70860,15 +46099,7 @@ func (o *physicsServer) BodySetCollisionLayer(body *RID, layer int64) { func (o *physicsServer) BodySetCollisionMask(body *RID, mask int64) { log.Println("Calling PhysicsServer.BodySetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_collision_mask", goArguments, "") - + godotCallVoidRidInt(o, "body_set_collision_mask", body, mask) log.Println(" Function successfully completed.") } @@ -70879,15 +46110,7 @@ func (o *physicsServer) BodySetCollisionMask(body *RID, mask int64) { func (o *physicsServer) BodySetEnableContinuousCollisionDetection(body *RID, enable bool) { log.Println("Calling PhysicsServer.BodySetEnableContinuousCollisionDetection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_enable_continuous_collision_detection", goArguments, "") - + godotCallVoidRidBool(o, "body_set_enable_continuous_collision_detection", body, enable) log.Println(" Function successfully completed.") } @@ -70898,17 +46121,7 @@ func (o *physicsServer) BodySetEnableContinuousCollisionDetection(body *RID, ena func (o *physicsServer) BodySetForceIntegrationCallback(body *RID, receiver *Object, method string, userdata *Variant) { log.Println("Calling PhysicsServer.BodySetForceIntegrationCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(receiver) - goArguments[2] = reflect.ValueOf(method) - goArguments[3] = reflect.ValueOf(userdata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_force_integration_callback", goArguments, "") - + godotCallVoidRidObjectStringVariant(o, "body_set_force_integration_callback", body, receiver, method, userdata) log.Println(" Function successfully completed.") } @@ -70919,15 +46132,7 @@ func (o *physicsServer) BodySetForceIntegrationCallback(body *RID, receiver *Obj func (o *physicsServer) BodySetKinematicSafeMargin(body *RID, margin float64) { log.Println("Calling PhysicsServer.BodySetKinematicSafeMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_kinematic_safe_margin", goArguments, "") - + godotCallVoidRidFloat(o, "body_set_kinematic_safe_margin", body, margin) log.Println(" Function successfully completed.") } @@ -70938,15 +46143,7 @@ func (o *physicsServer) BodySetKinematicSafeMargin(body *RID, margin float64) { func (o *physicsServer) BodySetMaxContactsReported(body *RID, amount int64) { log.Println("Calling PhysicsServer.BodySetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_max_contacts_reported", goArguments, "") - + godotCallVoidRidInt(o, "body_set_max_contacts_reported", body, amount) log.Println(" Function successfully completed.") } @@ -70957,15 +46154,7 @@ func (o *physicsServer) BodySetMaxContactsReported(body *RID, amount int64) { func (o *physicsServer) BodySetMode(body *RID, mode int64) { log.Println("Calling PhysicsServer.BodySetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_mode", goArguments, "") - + godotCallVoidRidInt(o, "body_set_mode", body, mode) log.Println(" Function successfully completed.") } @@ -70976,15 +46165,7 @@ func (o *physicsServer) BodySetMode(body *RID, mode int64) { func (o *physicsServer) BodySetOmitForceIntegration(body *RID, enable bool) { log.Println("Calling PhysicsServer.BodySetOmitForceIntegration()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_omit_force_integration", goArguments, "") - + godotCallVoidRidBool(o, "body_set_omit_force_integration", body, enable) log.Println(" Function successfully completed.") } @@ -70995,16 +46176,7 @@ func (o *physicsServer) BodySetOmitForceIntegration(body *RID, enable bool) { func (o *physicsServer) BodySetParam(body *RID, param int64, value float64) { log.Println("Calling PhysicsServer.BodySetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "body_set_param", body, param, value) log.Println(" Function successfully completed.") } @@ -71015,15 +46187,7 @@ func (o *physicsServer) BodySetParam(body *RID, param int64, value float64) { func (o *physicsServer) BodySetRayPickable(body *RID, enable bool) { log.Println("Calling PhysicsServer.BodySetRayPickable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_ray_pickable", goArguments, "") - + godotCallVoidRidBool(o, "body_set_ray_pickable", body, enable) log.Println(" Function successfully completed.") } @@ -71034,16 +46198,7 @@ func (o *physicsServer) BodySetRayPickable(body *RID, enable bool) { func (o *physicsServer) BodySetShape(body *RID, shapeIdx int64, shape *RID) { log.Println("Calling PhysicsServer.BodySetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape", goArguments, "") - + godotCallVoidRidIntRid(o, "body_set_shape", body, shapeIdx, shape) log.Println(" Function successfully completed.") } @@ -71054,16 +46209,7 @@ func (o *physicsServer) BodySetShape(body *RID, shapeIdx int64, shape *RID) { func (o *physicsServer) BodySetShapeTransform(body *RID, shapeIdx int64, transform *Transform) { log.Println("Calling PhysicsServer.BodySetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(shapeIdx) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_shape_transform", goArguments, "") - + godotCallVoidRidIntTransform(o, "body_set_shape_transform", body, shapeIdx, transform) log.Println(" Function successfully completed.") } @@ -71074,15 +46220,7 @@ func (o *physicsServer) BodySetShapeTransform(body *RID, shapeIdx int64, transfo func (o *physicsServer) BodySetSpace(body *RID, space *RID) { log.Println("Calling PhysicsServer.BodySetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(space) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_space", goArguments, "") - + godotCallVoidRidRid(o, "body_set_space", body, space) log.Println(" Function successfully completed.") } @@ -71093,16 +46231,7 @@ func (o *physicsServer) BodySetSpace(body *RID, space *RID) { func (o *physicsServer) BodySetState(body *RID, state int64, value *Variant) { log.Println("Calling PhysicsServer.BodySetState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(body) - goArguments[1] = reflect.ValueOf(state) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "body_set_state", goArguments, "") - + godotCallVoidRidIntVariant(o, "body_set_state", body, state, value) log.Println(" Function successfully completed.") } @@ -71113,18 +46242,9 @@ func (o *physicsServer) BodySetState(body *RID, state int64, value *Variant) { func (o *physicsServer) ConeTwistJointGetParam(joint *RID, param int64) float64 { log.Println("Calling PhysicsServer.ConeTwistJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cone_twist_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "cone_twist_joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71135,16 +46255,7 @@ func (o *physicsServer) ConeTwistJointGetParam(joint *RID, param int64) float64 func (o *physicsServer) ConeTwistJointSetParam(joint *RID, param int64, value float64) { log.Println("Calling PhysicsServer.ConeTwistJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cone_twist_joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "cone_twist_joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -71155,14 +46266,7 @@ func (o *physicsServer) ConeTwistJointSetParam(joint *RID, param int64, value fl func (o *physicsServer) FreeRid(rid *RID) { log.Println("Calling PhysicsServer.FreeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "free_rid", goArguments, "") - + godotCallVoidRid(o, "free_rid", rid) log.Println(" Function successfully completed.") } @@ -71173,19 +46277,9 @@ func (o *physicsServer) FreeRid(rid *RID) { func (o *physicsServer) Generic6DofJointGetFlag(joint *RID, axis int64, flag int64) bool { log.Println("Calling PhysicsServer.Generic6DofJointGetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(axis) - goArguments[2] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generic_6dof_joint_get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRidIntInt(o, "generic_6dof_joint_get_flag", joint, axis, flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71196,19 +46290,9 @@ func (o *physicsServer) Generic6DofJointGetFlag(joint *RID, axis int64, flag int func (o *physicsServer) Generic6DofJointGetParam(joint *RID, axis int64, param int64) float64 { log.Println("Calling PhysicsServer.Generic6DofJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(axis) - goArguments[2] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "generic_6dof_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidIntInt(o, "generic_6dof_joint_get_param", joint, axis, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71219,17 +46303,7 @@ func (o *physicsServer) Generic6DofJointGetParam(joint *RID, axis int64, param i func (o *physicsServer) Generic6DofJointSetFlag(joint *RID, axis int64, flag int64, enable bool) { log.Println("Calling PhysicsServer.Generic6DofJointSetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(axis) - goArguments[2] = reflect.ValueOf(flag) - goArguments[3] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "generic_6dof_joint_set_flag", goArguments, "") - + godotCallVoidRidIntIntBool(o, "generic_6dof_joint_set_flag", joint, axis, flag, enable) log.Println(" Function successfully completed.") } @@ -71240,17 +46314,7 @@ func (o *physicsServer) Generic6DofJointSetFlag(joint *RID, axis int64, flag int func (o *physicsServer) Generic6DofJointSetParam(joint *RID, axis int64, param int64, value float64) { log.Println("Calling PhysicsServer.Generic6DofJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(axis) - goArguments[2] = reflect.ValueOf(param) - goArguments[3] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "generic_6dof_joint_set_param", goArguments, "") - + godotCallVoidRidIntIntFloat(o, "generic_6dof_joint_set_param", joint, axis, param, value) log.Println(" Function successfully completed.") } @@ -71261,17 +46325,9 @@ func (o *physicsServer) Generic6DofJointSetParam(joint *RID, axis int64, param i func (o *physicsServer) GetProcessInfo(processInfo int64) int64 { log.Println("Calling PhysicsServer.GetProcessInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(processInfo) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_process_info", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_process_info", processInfo) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71282,18 +46338,9 @@ func (o *physicsServer) GetProcessInfo(processInfo int64) int64 { func (o *physicsServer) HingeJointGetFlag(joint *RID, flag int64) bool { log.Println("Calling PhysicsServer.HingeJointGetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "hinge_joint_get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRidInt(o, "hinge_joint_get_flag", joint, flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71304,18 +46351,9 @@ func (o *physicsServer) HingeJointGetFlag(joint *RID, flag int64) bool { func (o *physicsServer) HingeJointGetParam(joint *RID, param int64) float64 { log.Println("Calling PhysicsServer.HingeJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "hinge_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "hinge_joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71326,16 +46364,7 @@ func (o *physicsServer) HingeJointGetParam(joint *RID, param int64) float64 { func (o *physicsServer) HingeJointSetFlag(joint *RID, flag int64, enabled bool) { log.Println("Calling PhysicsServer.HingeJointSetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(flag) - goArguments[2] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "hinge_joint_set_flag", goArguments, "") - + godotCallVoidRidIntBool(o, "hinge_joint_set_flag", joint, flag, enabled) log.Println(" Function successfully completed.") } @@ -71346,16 +46375,7 @@ func (o *physicsServer) HingeJointSetFlag(joint *RID, flag int64, enabled bool) func (o *physicsServer) HingeJointSetParam(joint *RID, param int64, value float64) { log.Println("Calling PhysicsServer.HingeJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "hinge_joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "hinge_joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -71366,20 +46386,9 @@ func (o *physicsServer) HingeJointSetParam(joint *RID, param int64, value float6 func (o *physicsServer) JointCreateConeTwist(bodyA *RID, localRefA *Transform, bodyB *RID, localRefB *Transform) *RID { log.Println("Calling PhysicsServer.JointCreateConeTwist()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(bodyA) - goArguments[1] = reflect.ValueOf(localRefA) - goArguments[2] = reflect.ValueOf(bodyB) - goArguments[3] = reflect.ValueOf(localRefB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_create_cone_twist", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidTransformRidTransform(o, "joint_create_cone_twist", bodyA, localRefA, bodyB, localRefB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71390,20 +46399,9 @@ func (o *physicsServer) JointCreateConeTwist(bodyA *RID, localRefA *Transform, b func (o *physicsServer) JointCreateGeneric6Dof(bodyA *RID, localRefA *Transform, bodyB *RID, localRefB *Transform) *RID { log.Println("Calling PhysicsServer.JointCreateGeneric6Dof()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(bodyA) - goArguments[1] = reflect.ValueOf(localRefA) - goArguments[2] = reflect.ValueOf(bodyB) - goArguments[3] = reflect.ValueOf(localRefB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_create_generic_6dof", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidTransformRidTransform(o, "joint_create_generic_6dof", bodyA, localRefA, bodyB, localRefB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71414,20 +46412,9 @@ func (o *physicsServer) JointCreateGeneric6Dof(bodyA *RID, localRefA *Transform, func (o *physicsServer) JointCreateHinge(bodyA *RID, hingeA *Transform, bodyB *RID, hingeB *Transform) *RID { log.Println("Calling PhysicsServer.JointCreateHinge()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(bodyA) - goArguments[1] = reflect.ValueOf(hingeA) - goArguments[2] = reflect.ValueOf(bodyB) - goArguments[3] = reflect.ValueOf(hingeB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_create_hinge", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidTransformRidTransform(o, "joint_create_hinge", bodyA, hingeA, bodyB, hingeB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71438,20 +46425,9 @@ func (o *physicsServer) JointCreateHinge(bodyA *RID, hingeA *Transform, bodyB *R func (o *physicsServer) JointCreatePin(bodyA *RID, localA *Vector3, bodyB *RID, localB *Vector3) *RID { log.Println("Calling PhysicsServer.JointCreatePin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(bodyA) - goArguments[1] = reflect.ValueOf(localA) - goArguments[2] = reflect.ValueOf(bodyB) - goArguments[3] = reflect.ValueOf(localB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_create_pin", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidVector3RidVector3(o, "joint_create_pin", bodyA, localA, bodyB, localB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71462,20 +46438,9 @@ func (o *physicsServer) JointCreatePin(bodyA *RID, localA *Vector3, bodyB *RID, func (o *physicsServer) JointCreateSlider(bodyA *RID, localRefA *Transform, bodyB *RID, localRefB *Transform) *RID { log.Println("Calling PhysicsServer.JointCreateSlider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(bodyA) - goArguments[1] = reflect.ValueOf(localRefA) - goArguments[2] = reflect.ValueOf(bodyB) - goArguments[3] = reflect.ValueOf(localRefB) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_create_slider", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidTransformRidTransform(o, "joint_create_slider", bodyA, localRefA, bodyB, localRefB) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71486,17 +46451,9 @@ func (o *physicsServer) JointCreateSlider(bodyA *RID, localRefA *Transform, body func (o *physicsServer) JointGetSolverPriority(joint *RID) int64 { log.Println("Calling PhysicsServer.JointGetSolverPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_get_solver_priority", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "joint_get_solver_priority", joint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71507,17 +46464,9 @@ func (o *physicsServer) JointGetSolverPriority(joint *RID) int64 { func (o *physicsServer) JointGetType(joint *RID) int64 { log.Println("Calling PhysicsServer.JointGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "joint_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "joint_get_type", joint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71528,15 +46477,7 @@ func (o *physicsServer) JointGetType(joint *RID) int64 { func (o *physicsServer) JointSetSolverPriority(joint *RID, priority int64) { log.Println("Calling PhysicsServer.JointSetSolverPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "joint_set_solver_priority", goArguments, "") - + godotCallVoidRidInt(o, "joint_set_solver_priority", joint, priority) log.Println(" Function successfully completed.") } @@ -71547,17 +46488,9 @@ func (o *physicsServer) JointSetSolverPriority(joint *RID, priority int64) { func (o *physicsServer) PinJointGetLocalA(joint *RID) *Vector3 { log.Println("Calling PhysicsServer.PinJointGetLocalA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pin_joint_get_local_a", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Rid(o, "pin_joint_get_local_a", joint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71568,17 +46501,9 @@ func (o *physicsServer) PinJointGetLocalA(joint *RID) *Vector3 { func (o *physicsServer) PinJointGetLocalB(joint *RID) *Vector3 { log.Println("Calling PhysicsServer.PinJointGetLocalB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(joint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pin_joint_get_local_b", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Rid(o, "pin_joint_get_local_b", joint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71589,18 +46514,9 @@ func (o *physicsServer) PinJointGetLocalB(joint *RID) *Vector3 { func (o *physicsServer) PinJointGetParam(joint *RID, param int64) float64 { log.Println("Calling PhysicsServer.PinJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "pin_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "pin_joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71611,15 +46527,7 @@ func (o *physicsServer) PinJointGetParam(joint *RID, param int64) float64 { func (o *physicsServer) PinJointSetLocalA(joint *RID, localA *Vector3) { log.Println("Calling PhysicsServer.PinJointSetLocalA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(localA) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "pin_joint_set_local_a", goArguments, "") - + godotCallVoidRidVector3(o, "pin_joint_set_local_a", joint, localA) log.Println(" Function successfully completed.") } @@ -71630,15 +46538,7 @@ func (o *physicsServer) PinJointSetLocalA(joint *RID, localA *Vector3) { func (o *physicsServer) PinJointSetLocalB(joint *RID, localB *Vector3) { log.Println("Calling PhysicsServer.PinJointSetLocalB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(localB) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "pin_joint_set_local_b", goArguments, "") - + godotCallVoidRidVector3(o, "pin_joint_set_local_b", joint, localB) log.Println(" Function successfully completed.") } @@ -71649,16 +46549,7 @@ func (o *physicsServer) PinJointSetLocalB(joint *RID, localB *Vector3) { func (o *physicsServer) PinJointSetParam(joint *RID, param int64, value float64) { log.Println("Calling PhysicsServer.PinJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "pin_joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "pin_joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -71669,14 +46560,7 @@ func (o *physicsServer) PinJointSetParam(joint *RID, param int64, value float64) func (o *physicsServer) SetActive(active bool) { log.Println("Calling PhysicsServer.SetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_active", goArguments, "") - + godotCallVoidBool(o, "set_active", active) log.Println(" Function successfully completed.") } @@ -71687,17 +46571,9 @@ func (o *physicsServer) SetActive(active bool) { func (o *physicsServer) ShapeCreate(aType int64) *RID { log.Println("Calling PhysicsServer.ShapeCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "shape_create", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71708,17 +46584,9 @@ func (o *physicsServer) ShapeCreate(aType int64) *RID { func (o *physicsServer) ShapeGetData(shape *RID) *Variant { log.Println("Calling PhysicsServer.ShapeGetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_get_data", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRid(o, "shape_get_data", shape) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71729,17 +46597,9 @@ func (o *physicsServer) ShapeGetData(shape *RID) *Variant { func (o *physicsServer) ShapeGetType(shape *RID) int64 { log.Println("Calling PhysicsServer.ShapeGetType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shape_get_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "shape_get_type", shape) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71750,15 +46610,7 @@ func (o *physicsServer) ShapeGetType(shape *RID) int64 { func (o *physicsServer) ShapeSetData(shape *RID, data *Variant) { log.Println("Calling PhysicsServer.ShapeSetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shape) - goArguments[1] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shape_set_data", goArguments, "") - + godotCallVoidRidVariant(o, "shape_set_data", shape, data) log.Println(" Function successfully completed.") } @@ -71769,18 +46621,9 @@ func (o *physicsServer) ShapeSetData(shape *RID, data *Variant) { func (o *physicsServer) SliderJointGetParam(joint *RID, param int64) float64 { log.Println("Calling PhysicsServer.SliderJointGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "slider_joint_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "slider_joint_get_param", joint, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71791,16 +46634,7 @@ func (o *physicsServer) SliderJointGetParam(joint *RID, param int64) float64 { func (o *physicsServer) SliderJointSetParam(joint *RID, param int64, value float64) { log.Println("Calling PhysicsServer.SliderJointSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(joint) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "slider_joint_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "slider_joint_set_param", joint, param, value) log.Println(" Function successfully completed.") } @@ -71811,16 +46645,9 @@ func (o *physicsServer) SliderJointSetParam(joint *RID, param int64, value float func (o *physicsServer) SpaceCreate() *RID { log.Println("Calling PhysicsServer.SpaceCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "space_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71831,18 +46658,12 @@ func (o *physicsServer) SpaceCreate() *RID { func (o *physicsServer) SpaceGetDirectState(space *RID) *PhysicsDirectSpaceState { log.Println("Calling PhysicsServer.SpaceGetDirectState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(space) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_get_direct_state", goArguments, "*PhysicsDirectSpaceState") - - returnValue := goRet.Interface().(*PhysicsDirectSpaceState) - + returnValue := godotCallObjectRid(o, "space_get_direct_state", space) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PhysicsDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -71852,18 +46673,9 @@ func (o *physicsServer) SpaceGetDirectState(space *RID) *PhysicsDirectSpaceState func (o *physicsServer) SpaceGetParam(space *RID, param int64) float64 { log.Println("Calling PhysicsServer.SpaceGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatRidInt(o, "space_get_param", space, param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71874,17 +46686,9 @@ func (o *physicsServer) SpaceGetParam(space *RID, param int64) float64 { func (o *physicsServer) SpaceIsActive(space *RID) bool { log.Println("Calling PhysicsServer.SpaceIsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(space) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "space_is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolRid(o, "space_is_active", space) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71895,15 +46699,7 @@ func (o *physicsServer) SpaceIsActive(space *RID) bool { func (o *physicsServer) SpaceSetActive(space *RID, active bool) { log.Println("Calling PhysicsServer.SpaceSetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "space_set_active", goArguments, "") - + godotCallVoidRidBool(o, "space_set_active", space, active) log.Println(" Function successfully completed.") } @@ -71914,16 +46710,7 @@ func (o *physicsServer) SpaceSetActive(space *RID, active bool) { func (o *physicsServer) SpaceSetParam(space *RID, param int64, value float64) { log.Println("Calling PhysicsServer.SpaceSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(space) - goArguments[1] = reflect.ValueOf(param) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "space_set_param", goArguments, "") - + godotCallVoidRidIntFloat(o, "space_set_param", space, param, value) log.Println(" Function successfully completed.") } @@ -71945,16 +46732,9 @@ func (o *PhysicsShapeQueryParameters) baseClass() string { func (o *PhysicsShapeQueryParameters) GetCollisionMask() int64 { log.Println("Calling PhysicsShapeQueryParameters.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71965,16 +46745,9 @@ func (o *PhysicsShapeQueryParameters) GetCollisionMask() int64 { func (o *PhysicsShapeQueryParameters) GetExclude() *Array { log.Println("Calling PhysicsShapeQueryParameters.GetExclude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_exclude") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -71985,16 +46758,9 @@ func (o *PhysicsShapeQueryParameters) GetExclude() *Array { func (o *PhysicsShapeQueryParameters) GetMargin() float64 { log.Println("Calling PhysicsShapeQueryParameters.GetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_margin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72005,16 +46771,9 @@ func (o *PhysicsShapeQueryParameters) GetMargin() float64 { func (o *PhysicsShapeQueryParameters) GetShapeRid() *RID { log.Println("Calling PhysicsShapeQueryParameters.GetShapeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_shape_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72025,16 +46784,9 @@ func (o *PhysicsShapeQueryParameters) GetShapeRid() *RID { func (o *PhysicsShapeQueryParameters) GetTransform() *Transform { log.Println("Calling PhysicsShapeQueryParameters.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72045,14 +46797,7 @@ func (o *PhysicsShapeQueryParameters) GetTransform() *Transform { func (o *PhysicsShapeQueryParameters) SetCollisionMask(collisionMask int64) { log.Println("Calling PhysicsShapeQueryParameters.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collisionMask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", collisionMask) log.Println(" Function successfully completed.") } @@ -72063,14 +46808,7 @@ func (o *PhysicsShapeQueryParameters) SetCollisionMask(collisionMask int64) { func (o *PhysicsShapeQueryParameters) SetExclude(exclude *Array) { log.Println("Calling PhysicsShapeQueryParameters.SetExclude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(exclude) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude", goArguments, "") - + godotCallVoidArray(o, "set_exclude", exclude) log.Println(" Function successfully completed.") } @@ -72081,14 +46819,7 @@ func (o *PhysicsShapeQueryParameters) SetExclude(exclude *Array) { func (o *PhysicsShapeQueryParameters) SetMargin(margin float64) { log.Println("Calling PhysicsShapeQueryParameters.SetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin", goArguments, "") - + godotCallVoidFloat(o, "set_margin", margin) log.Println(" Function successfully completed.") } @@ -72099,14 +46830,7 @@ func (o *PhysicsShapeQueryParameters) SetMargin(margin float64) { func (o *PhysicsShapeQueryParameters) SetShape(shape *Resource) { log.Println("Calling PhysicsShapeQueryParameters.SetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape", goArguments, "") - + godotCallVoidObject(o, "set_shape", &shape.Object) log.Println(" Function successfully completed.") } @@ -72117,14 +46841,7 @@ func (o *PhysicsShapeQueryParameters) SetShape(shape *Resource) { func (o *PhysicsShapeQueryParameters) SetShapeRid(shape *RID) { log.Println("Calling PhysicsShapeQueryParameters.SetShapeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape_rid", goArguments, "") - + godotCallVoidRid(o, "set_shape_rid", shape) log.Println(" Function successfully completed.") } @@ -72135,14 +46852,7 @@ func (o *PhysicsShapeQueryParameters) SetShapeRid(shape *RID) { func (o *PhysicsShapeQueryParameters) SetTransform(transform *Transform) { log.Println("Calling PhysicsShapeQueryParameters.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform(o, "set_transform", transform) log.Println(" Function successfully completed.") } @@ -72171,16 +46881,9 @@ func (o *PhysicsShapeQueryResult) baseClass() string { func (o *PhysicsShapeQueryResult) GetResultCount() int64 { log.Println("Calling PhysicsShapeQueryResult.GetResultCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_result_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72191,18 +46894,12 @@ func (o *PhysicsShapeQueryResult) GetResultCount() int64 { func (o *PhysicsShapeQueryResult) GetResultObject(idx int64) *Object { log.Println("Calling PhysicsShapeQueryResult.GetResultObject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectInt(o, "get_result_object", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -72212,17 +46909,9 @@ func (o *PhysicsShapeQueryResult) GetResultObject(idx int64) *Object { func (o *PhysicsShapeQueryResult) GetResultObjectId(idx int64) int64 { log.Println("Calling PhysicsShapeQueryResult.GetResultObjectId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_result_object_id", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72233,17 +46922,9 @@ func (o *PhysicsShapeQueryResult) GetResultObjectId(idx int64) int64 { func (o *PhysicsShapeQueryResult) GetResultObjectShape(idx int64) int64 { log.Println("Calling PhysicsShapeQueryResult.GetResultObjectShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_object_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_result_object_shape", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72254,17 +46935,9 @@ func (o *PhysicsShapeQueryResult) GetResultObjectShape(idx int64) int64 { func (o *PhysicsShapeQueryResult) GetResultRid(idx int64) *RID { log.Println("Calling PhysicsShapeQueryResult.GetResultRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_result_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidInt(o, "get_result_rid", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72293,17 +46966,9 @@ func (o *PinJoint) baseClass() string { func (o *PinJoint) GetParam(param int64) float64 { log.Println("Calling PinJoint.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72314,15 +46979,7 @@ func (o *PinJoint) GetParam(param int64) float64 { func (o *PinJoint) SetParam(param int64, value float64) { log.Println("Calling PinJoint.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -72351,16 +47008,9 @@ func (o *PinJoint2D) baseClass() string { func (o *PinJoint2D) GetSoftness() float64 { log.Println("Calling PinJoint2D.GetSoftness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_softness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_softness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72371,14 +47021,7 @@ func (o *PinJoint2D) GetSoftness() float64 { func (o *PinJoint2D) SetSoftness(softness float64) { log.Println("Calling PinJoint2D.SetSoftness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(softness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_softness", goArguments, "") - + godotCallVoidFloat(o, "set_softness", softness) log.Println(" Function successfully completed.") } @@ -72407,16 +47050,9 @@ func (o *PlaneMesh) baseClass() string { func (o *PlaneMesh) GetSize() *Vector2 { log.Println("Calling PlaneMesh.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72427,16 +47063,9 @@ func (o *PlaneMesh) GetSize() *Vector2 { func (o *PlaneMesh) GetSubdivideDepth() int64 { log.Println("Calling PlaneMesh.GetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_depth", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_depth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72447,16 +47076,9 @@ func (o *PlaneMesh) GetSubdivideDepth() int64 { func (o *PlaneMesh) GetSubdivideWidth() int64 { log.Println("Calling PlaneMesh.GetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72467,14 +47089,7 @@ func (o *PlaneMesh) GetSubdivideWidth() int64 { func (o *PlaneMesh) SetSize(size *Vector2) { log.Println("Calling PlaneMesh.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -72485,14 +47100,7 @@ func (o *PlaneMesh) SetSize(size *Vector2) { func (o *PlaneMesh) SetSubdivideDepth(subdivide int64) { log.Println("Calling PlaneMesh.SetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(subdivide) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_depth", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_depth", subdivide) log.Println(" Function successfully completed.") } @@ -72503,14 +47111,7 @@ func (o *PlaneMesh) SetSubdivideDepth(subdivide int64) { func (o *PlaneMesh) SetSubdivideWidth(subdivide int64) { log.Println("Calling PlaneMesh.SetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(subdivide) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_width", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_width", subdivide) log.Println(" Function successfully completed.") } @@ -72539,16 +47140,9 @@ func (o *PlaneShape) baseClass() string { func (o *PlaneShape) GetPlane() *Plane { log.Println("Calling PlaneShape.GetPlane()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_plane", goArguments, "*Plane") - - returnValue := goRet.Interface().(*Plane) - + returnValue := godotCallPlane(o, "get_plane") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72559,14 +47153,7 @@ func (o *PlaneShape) GetPlane() *Plane { func (o *PlaneShape) SetPlane(plane *Plane) { log.Println("Calling PlaneShape.SetPlane()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(plane) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_plane", goArguments, "") - + godotCallVoidPlane(o, "set_plane", plane) log.Println(" Function successfully completed.") } @@ -72613,16 +47200,9 @@ func (o *Polygon2D) baseClass() string { func (o *Polygon2D) GetAntialiased() bool { log.Println("Calling Polygon2D.GetAntialiased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_antialiased", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_antialiased") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72633,16 +47213,9 @@ func (o *Polygon2D) GetAntialiased() bool { func (o *Polygon2D) GetColor() *Color { log.Println("Calling Polygon2D.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72653,16 +47226,9 @@ func (o *Polygon2D) GetColor() *Color { func (o *Polygon2D) GetInvert() bool { log.Println("Calling Polygon2D.GetInvert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_invert", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_invert") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72673,16 +47239,9 @@ func (o *Polygon2D) GetInvert() bool { func (o *Polygon2D) GetInvertBorder() float64 { log.Println("Calling Polygon2D.GetInvertBorder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_invert_border", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_invert_border") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72693,16 +47252,9 @@ func (o *Polygon2D) GetInvertBorder() float64 { func (o *Polygon2D) GetOffset() *Vector2 { log.Println("Calling Polygon2D.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72713,16 +47265,9 @@ func (o *Polygon2D) GetOffset() *Vector2 { func (o *Polygon2D) GetPolygon() *PoolVector2Array { log.Println("Calling Polygon2D.GetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_polygon", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_polygon") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72733,17 +47278,12 @@ func (o *Polygon2D) GetPolygon() *PoolVector2Array { func (o *Polygon2D) GetTexture() *Texture { log.Println("Calling Polygon2D.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -72753,16 +47293,9 @@ func (o *Polygon2D) GetTexture() *Texture { func (o *Polygon2D) GetTextureOffset() *Vector2 { log.Println("Calling Polygon2D.GetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_texture_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72773,16 +47306,9 @@ func (o *Polygon2D) GetTextureOffset() *Vector2 { func (o *Polygon2D) GetTextureRotation() float64 { log.Println("Calling Polygon2D.GetTextureRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_rotation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_texture_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72793,16 +47319,9 @@ func (o *Polygon2D) GetTextureRotation() float64 { func (o *Polygon2D) GetTextureRotationDegrees() float64 { log.Println("Calling Polygon2D.GetTextureRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_rotation_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_texture_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72813,16 +47332,9 @@ func (o *Polygon2D) GetTextureRotationDegrees() float64 { func (o *Polygon2D) GetTextureScale() *Vector2 { log.Println("Calling Polygon2D.GetTextureScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_scale", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_texture_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72833,16 +47345,9 @@ func (o *Polygon2D) GetTextureScale() *Vector2 { func (o *Polygon2D) GetUv() *PoolVector2Array { log.Println("Calling Polygon2D.GetUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2Array(o, "get_uv") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72853,16 +47358,9 @@ func (o *Polygon2D) GetUv() *PoolVector2Array { func (o *Polygon2D) GetVertexColors() *PoolColorArray { log.Println("Calling Polygon2D.GetVertexColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vertex_colors", goArguments, "*PoolColorArray") - - returnValue := goRet.Interface().(*PoolColorArray) - + returnValue := godotCallPoolColorArray(o, "get_vertex_colors") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -72873,14 +47371,7 @@ func (o *Polygon2D) GetVertexColors() *PoolColorArray { func (o *Polygon2D) SetAntialiased(antialiased bool) { log.Println("Calling Polygon2D.SetAntialiased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_antialiased", goArguments, "") - + godotCallVoidBool(o, "set_antialiased", antialiased) log.Println(" Function successfully completed.") } @@ -72891,14 +47382,7 @@ func (o *Polygon2D) SetAntialiased(antialiased bool) { func (o *Polygon2D) SetColor(color *Color) { log.Println("Calling Polygon2D.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -72909,14 +47393,7 @@ func (o *Polygon2D) SetColor(color *Color) { func (o *Polygon2D) SetInvert(invert bool) { log.Println("Calling Polygon2D.SetInvert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(invert) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_invert", goArguments, "") - + godotCallVoidBool(o, "set_invert", invert) log.Println(" Function successfully completed.") } @@ -72927,14 +47404,7 @@ func (o *Polygon2D) SetInvert(invert bool) { func (o *Polygon2D) SetInvertBorder(invertBorder float64) { log.Println("Calling Polygon2D.SetInvertBorder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(invertBorder) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_invert_border", goArguments, "") - + godotCallVoidFloat(o, "set_invert_border", invertBorder) log.Println(" Function successfully completed.") } @@ -72945,14 +47415,7 @@ func (o *Polygon2D) SetInvertBorder(invertBorder float64) { func (o *Polygon2D) SetOffset(offset *Vector2) { log.Println("Calling Polygon2D.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -72963,14 +47426,7 @@ func (o *Polygon2D) SetOffset(offset *Vector2) { func (o *Polygon2D) SetPolygon(polygon *PoolVector2Array) { log.Println("Calling Polygon2D.SetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_polygon", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_polygon", polygon) log.Println(" Function successfully completed.") } @@ -72981,14 +47437,7 @@ func (o *Polygon2D) SetPolygon(polygon *PoolVector2Array) { func (o *Polygon2D) SetTexture(texture *Texture) { log.Println("Calling Polygon2D.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -72999,14 +47448,7 @@ func (o *Polygon2D) SetTexture(texture *Texture) { func (o *Polygon2D) SetTextureOffset(textureOffset *Vector2) { log.Println("Calling Polygon2D.SetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_offset", goArguments, "") - + godotCallVoidVector2(o, "set_texture_offset", textureOffset) log.Println(" Function successfully completed.") } @@ -73017,14 +47459,7 @@ func (o *Polygon2D) SetTextureOffset(textureOffset *Vector2) { func (o *Polygon2D) SetTextureRotation(textureRotation float64) { log.Println("Calling Polygon2D.SetTextureRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureRotation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_rotation", goArguments, "") - + godotCallVoidFloat(o, "set_texture_rotation", textureRotation) log.Println(" Function successfully completed.") } @@ -73035,14 +47470,7 @@ func (o *Polygon2D) SetTextureRotation(textureRotation float64) { func (o *Polygon2D) SetTextureRotationDegrees(textureRotation float64) { log.Println("Calling Polygon2D.SetTextureRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureRotation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_rotation_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_texture_rotation_degrees", textureRotation) log.Println(" Function successfully completed.") } @@ -73053,14 +47481,7 @@ func (o *Polygon2D) SetTextureRotationDegrees(textureRotation float64) { func (o *Polygon2D) SetTextureScale(textureScale *Vector2) { log.Println("Calling Polygon2D.SetTextureScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(textureScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_scale", goArguments, "") - + godotCallVoidVector2(o, "set_texture_scale", textureScale) log.Println(" Function successfully completed.") } @@ -73071,14 +47492,7 @@ func (o *Polygon2D) SetTextureScale(textureScale *Vector2) { func (o *Polygon2D) SetUv(uv *PoolVector2Array) { log.Println("Calling Polygon2D.SetUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(uv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv", goArguments, "") - + godotCallVoidPoolVector2Array(o, "set_uv", uv) log.Println(" Function successfully completed.") } @@ -73089,14 +47503,7 @@ func (o *Polygon2D) SetUv(uv *PoolVector2Array) { func (o *Polygon2D) SetVertexColors(vertexColors *PoolColorArray) { log.Println("Calling Polygon2D.SetVertexColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertexColors) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertex_colors", goArguments, "") - + godotCallVoidPoolColorArray(o, "set_vertex_colors", vertexColors) log.Println(" Function successfully completed.") } @@ -73125,16 +47532,9 @@ func (o *PolygonPathFinder) baseClass() string { func (o *PolygonPathFinder) X_GetData() *Dictionary { log.Println("Calling PolygonPathFinder.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73145,14 +47545,7 @@ func (o *PolygonPathFinder) X_GetData() *Dictionary { func (o *PolygonPathFinder) X_SetData(arg0 *Dictionary) { log.Println("Calling PolygonPathFinder.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", arg0) log.Println(" Function successfully completed.") } @@ -73163,18 +47556,9 @@ func (o *PolygonPathFinder) X_SetData(arg0 *Dictionary) { func (o *PolygonPathFinder) FindPath(from *Vector2, to *Vector2) *PoolVector2Array { log.Println("Calling PolygonPathFinder.FindPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_path", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2ArrayVector2Vector2(o, "find_path", from, to) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73185,16 +47569,9 @@ func (o *PolygonPathFinder) FindPath(from *Vector2, to *Vector2) *PoolVector2Arr func (o *PolygonPathFinder) GetBounds() *Rect2 { log.Println("Calling PolygonPathFinder.GetBounds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounds", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_bounds") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73205,17 +47582,9 @@ func (o *PolygonPathFinder) GetBounds() *Rect2 { func (o *PolygonPathFinder) GetClosestPoint(point *Vector2) *Vector2 { log.Println("Calling PolygonPathFinder.GetClosestPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_closest_point", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "get_closest_point", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73226,18 +47595,9 @@ func (o *PolygonPathFinder) GetClosestPoint(point *Vector2) *Vector2 { func (o *PolygonPathFinder) GetIntersections(from *Vector2, to *Vector2) *PoolVector2Array { log.Println("Calling PolygonPathFinder.GetIntersections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_intersections", goArguments, "*PoolVector2Array") - - returnValue := goRet.Interface().(*PoolVector2Array) - + returnValue := godotCallPoolVector2ArrayVector2Vector2(o, "get_intersections", from, to) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73248,17 +47608,9 @@ func (o *PolygonPathFinder) GetIntersections(from *Vector2, to *Vector2) *PoolVe func (o *PolygonPathFinder) GetPointPenalty(idx int64) float64 { log.Println("Calling PolygonPathFinder.GetPointPenalty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_penalty", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_point_penalty", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73269,17 +47621,9 @@ func (o *PolygonPathFinder) GetPointPenalty(idx int64) float64 { func (o *PolygonPathFinder) IsPointInside(point *Vector2) bool { log.Println("Calling PolygonPathFinder.IsPointInside()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(point) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_point_inside", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2(o, "is_point_inside", point) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73290,15 +47634,7 @@ func (o *PolygonPathFinder) IsPointInside(point *Vector2) bool { func (o *PolygonPathFinder) SetPointPenalty(idx int64, penalty float64) { log.Println("Calling PolygonPathFinder.SetPointPenalty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(penalty) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_penalty", goArguments, "") - + godotCallVoidIntFloat(o, "set_point_penalty", idx, penalty) log.Println(" Function successfully completed.") } @@ -73309,15 +47645,7 @@ func (o *PolygonPathFinder) SetPointPenalty(idx int64, penalty float64) { func (o *PolygonPathFinder) Setup(points *PoolVector2Array, connections *PoolIntArray) { log.Println("Calling PolygonPathFinder.Setup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(points) - goArguments[1] = reflect.ValueOf(connections) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "setup", goArguments, "") - + godotCallVoidPoolVector2ArrayPoolIntArray(o, "setup", points, connections) log.Println(" Function successfully completed.") } @@ -73346,16 +47674,9 @@ func (o *Popup) baseClass() string { func (o *Popup) IsExclusive() bool { log.Println("Calling Popup.IsExclusive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_exclusive", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_exclusive") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73366,14 +47687,7 @@ func (o *Popup) IsExclusive() bool { func (o *Popup) Popup(bounds *Rect2) { log.Println("Calling Popup.Popup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounds) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "popup", goArguments, "") - + godotCallVoidRect2(o, "popup", bounds) log.Println(" Function successfully completed.") } @@ -73384,14 +47698,7 @@ func (o *Popup) Popup(bounds *Rect2) { func (o *Popup) PopupCentered(size *Vector2) { log.Println("Calling Popup.PopupCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "popup_centered", goArguments, "") - + godotCallVoidVector2(o, "popup_centered", size) log.Println(" Function successfully completed.") } @@ -73402,14 +47709,7 @@ func (o *Popup) PopupCentered(size *Vector2) { func (o *Popup) PopupCenteredMinsize(minsize *Vector2) { log.Println("Calling Popup.PopupCenteredMinsize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(minsize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "popup_centered_minsize", goArguments, "") - + godotCallVoidVector2(o, "popup_centered_minsize", minsize) log.Println(" Function successfully completed.") } @@ -73420,14 +47720,7 @@ func (o *Popup) PopupCenteredMinsize(minsize *Vector2) { func (o *Popup) PopupCenteredRatio(ratio float64) { log.Println("Calling Popup.PopupCenteredRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "popup_centered_ratio", goArguments, "") - + godotCallVoidFloat(o, "popup_centered_ratio", ratio) log.Println(" Function successfully completed.") } @@ -73438,14 +47731,7 @@ func (o *Popup) PopupCenteredRatio(ratio float64) { func (o *Popup) SetExclusive(enable bool) { log.Println("Calling Popup.SetExclusive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclusive", goArguments, "") - + godotCallVoidBool(o, "set_exclusive", enable) log.Println(" Function successfully completed.") } @@ -73492,16 +47778,9 @@ func (o *PopupMenu) baseClass() string { func (o *PopupMenu) X_GetItems() *Array { log.Println("Calling PopupMenu.X_GetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_items", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_items") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73512,14 +47791,7 @@ func (o *PopupMenu) X_GetItems() *Array { func (o *PopupMenu) X_GuiInput(arg0 *InputEvent) { log.Println("Calling PopupMenu.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -73530,14 +47802,7 @@ func (o *PopupMenu) X_GuiInput(arg0 *InputEvent) { func (o *PopupMenu) X_SetItems(arg0 *Array) { log.Println("Calling PopupMenu.X_SetItems()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_items", goArguments, "") - + godotCallVoidArray(o, "_set_items", arg0) log.Println(" Function successfully completed.") } @@ -73548,13 +47813,7 @@ func (o *PopupMenu) X_SetItems(arg0 *Array) { func (o *PopupMenu) X_SubmenuTimeout() { log.Println("Calling PopupMenu.X_SubmenuTimeout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_submenu_timeout", goArguments, "") - + godotCallVoid(o, "_submenu_timeout") log.Println(" Function successfully completed.") } @@ -73565,16 +47824,7 @@ func (o *PopupMenu) X_SubmenuTimeout() { func (o *PopupMenu) AddCheckItem(label string, id int64, accel int64) { log.Println("Calling PopupMenu.AddCheckItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(label) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(accel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_check_item", goArguments, "") - + godotCallVoidStringIntInt(o, "add_check_item", label, id, accel) log.Println(" Function successfully completed.") } @@ -73585,16 +47835,7 @@ func (o *PopupMenu) AddCheckItem(label string, id int64, accel int64) { func (o *PopupMenu) AddCheckShortcut(shortcut *ShortCut, id int64, global bool) { log.Println("Calling PopupMenu.AddCheckShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(shortcut) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_check_shortcut", goArguments, "") - + godotCallVoidObjectIntBool(o, "add_check_shortcut", &shortcut.Object, id, global) log.Println(" Function successfully completed.") } @@ -73605,17 +47846,7 @@ func (o *PopupMenu) AddCheckShortcut(shortcut *ShortCut, id int64, global bool) func (o *PopupMenu) AddIconCheckItem(texture *Texture, label string, id int64, accel int64) { log.Println("Calling PopupMenu.AddIconCheckItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(label) - goArguments[2] = reflect.ValueOf(id) - goArguments[3] = reflect.ValueOf(accel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_check_item", goArguments, "") - + godotCallVoidObjectStringIntInt(o, "add_icon_check_item", &texture.Object, label, id, accel) log.Println(" Function successfully completed.") } @@ -73626,17 +47857,7 @@ func (o *PopupMenu) AddIconCheckItem(texture *Texture, label string, id int64, a func (o *PopupMenu) AddIconCheckShortcut(texture *Texture, shortcut *ShortCut, id int64, global bool) { log.Println("Calling PopupMenu.AddIconCheckShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(shortcut) - goArguments[2] = reflect.ValueOf(id) - goArguments[3] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_check_shortcut", goArguments, "") - + godotCallVoidObjectObjectIntBool(o, "add_icon_check_shortcut", &texture.Object, &shortcut.Object, id, global) log.Println(" Function successfully completed.") } @@ -73647,17 +47868,7 @@ func (o *PopupMenu) AddIconCheckShortcut(texture *Texture, shortcut *ShortCut, i func (o *PopupMenu) AddIconItem(texture *Texture, label string, id int64, accel int64) { log.Println("Calling PopupMenu.AddIconItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(label) - goArguments[2] = reflect.ValueOf(id) - goArguments[3] = reflect.ValueOf(accel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_item", goArguments, "") - + godotCallVoidObjectStringIntInt(o, "add_icon_item", &texture.Object, label, id, accel) log.Println(" Function successfully completed.") } @@ -73668,17 +47879,7 @@ func (o *PopupMenu) AddIconItem(texture *Texture, label string, id int64, accel func (o *PopupMenu) AddIconShortcut(texture *Texture, shortcut *ShortCut, id int64, global bool) { log.Println("Calling PopupMenu.AddIconShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(shortcut) - goArguments[2] = reflect.ValueOf(id) - goArguments[3] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_icon_shortcut", goArguments, "") - + godotCallVoidObjectObjectIntBool(o, "add_icon_shortcut", &texture.Object, &shortcut.Object, id, global) log.Println(" Function successfully completed.") } @@ -73689,16 +47890,7 @@ func (o *PopupMenu) AddIconShortcut(texture *Texture, shortcut *ShortCut, id int func (o *PopupMenu) AddItem(label string, id int64, accel int64) { log.Println("Calling PopupMenu.AddItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(label) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(accel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_item", goArguments, "") - + godotCallVoidStringIntInt(o, "add_item", label, id, accel) log.Println(" Function successfully completed.") } @@ -73709,13 +47901,7 @@ func (o *PopupMenu) AddItem(label string, id int64, accel int64) { func (o *PopupMenu) AddSeparator() { log.Println("Calling PopupMenu.AddSeparator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_separator", goArguments, "") - + godotCallVoid(o, "add_separator") log.Println(" Function successfully completed.") } @@ -73726,16 +47912,7 @@ func (o *PopupMenu) AddSeparator() { func (o *PopupMenu) AddShortcut(shortcut *ShortCut, id int64, global bool) { log.Println("Calling PopupMenu.AddShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(shortcut) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_shortcut", goArguments, "") - + godotCallVoidObjectIntBool(o, "add_shortcut", &shortcut.Object, id, global) log.Println(" Function successfully completed.") } @@ -73746,16 +47923,7 @@ func (o *PopupMenu) AddShortcut(shortcut *ShortCut, id int64, global bool) { func (o *PopupMenu) AddSubmenuItem(label string, submenu string, id int64) { log.Println("Calling PopupMenu.AddSubmenuItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(label) - goArguments[1] = reflect.ValueOf(submenu) - goArguments[2] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_submenu_item", goArguments, "") - + godotCallVoidStringStringInt(o, "add_submenu_item", label, submenu, id) log.Println(" Function successfully completed.") } @@ -73766,13 +47934,7 @@ func (o *PopupMenu) AddSubmenuItem(label string, submenu string, id int64) { func (o *PopupMenu) Clear() { log.Println("Calling PopupMenu.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -73783,17 +47945,9 @@ func (o *PopupMenu) Clear() { func (o *PopupMenu) GetItemAccelerator(idx int64) int64 { log.Println("Calling PopupMenu.GetItemAccelerator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_accelerator", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_item_accelerator", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73804,16 +47958,9 @@ func (o *PopupMenu) GetItemAccelerator(idx int64) int64 { func (o *PopupMenu) GetItemCount() int64 { log.Println("Calling PopupMenu.GetItemCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_item_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73824,18 +47971,12 @@ func (o *PopupMenu) GetItemCount() int64 { func (o *PopupMenu) GetItemIcon(idx int64) *Texture { log.Println("Calling PopupMenu.GetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_item_icon", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -73845,17 +47986,9 @@ func (o *PopupMenu) GetItemIcon(idx int64) *Texture { func (o *PopupMenu) GetItemId(idx int64) int64 { log.Println("Calling PopupMenu.GetItemId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_item_id", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73866,17 +47999,9 @@ func (o *PopupMenu) GetItemId(idx int64) int64 { func (o *PopupMenu) GetItemIndex(id int64) int64 { log.Println("Calling PopupMenu.GetItemIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_item_index", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73887,17 +48012,9 @@ func (o *PopupMenu) GetItemIndex(id int64) int64 { func (o *PopupMenu) GetItemMetadata(idx int64) *Variant { log.Println("Calling PopupMenu.GetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_item_metadata", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73908,18 +48025,12 @@ func (o *PopupMenu) GetItemMetadata(idx int64) *Variant { func (o *PopupMenu) GetItemShortcut(idx int64) *ShortCut { log.Println("Calling PopupMenu.GetItemShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_shortcut", goArguments, "*ShortCut") - - returnValue := goRet.Interface().(*ShortCut) - + returnValue := godotCallObjectInt(o, "get_item_shortcut", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ShortCut + ret.owner = returnValue.owner + return &ret } @@ -73929,17 +48040,9 @@ func (o *PopupMenu) GetItemShortcut(idx int64) *ShortCut { func (o *PopupMenu) GetItemSubmenu(idx int64) string { log.Println("Calling PopupMenu.GetItemSubmenu()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_submenu", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_submenu", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73950,17 +48053,9 @@ func (o *PopupMenu) GetItemSubmenu(idx int64) string { func (o *PopupMenu) GetItemText(idx int64) string { log.Println("Calling PopupMenu.GetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_text", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73971,17 +48066,9 @@ func (o *PopupMenu) GetItemText(idx int64) string { func (o *PopupMenu) GetItemTooltip(idx int64) string { log.Println("Calling PopupMenu.GetItemTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_item_tooltip", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -73992,16 +48079,9 @@ func (o *PopupMenu) GetItemTooltip(idx int64) string { func (o *PopupMenu) IsHideOnCheckableItemSelection() bool { log.Println("Calling PopupMenu.IsHideOnCheckableItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hide_on_checkable_item_selection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_hide_on_checkable_item_selection") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74012,16 +48092,9 @@ func (o *PopupMenu) IsHideOnCheckableItemSelection() bool { func (o *PopupMenu) IsHideOnItemSelection() bool { log.Println("Calling PopupMenu.IsHideOnItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hide_on_item_selection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_hide_on_item_selection") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74032,16 +48105,9 @@ func (o *PopupMenu) IsHideOnItemSelection() bool { func (o *PopupMenu) IsHideOnStateItemSelection() bool { log.Println("Calling PopupMenu.IsHideOnStateItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hide_on_state_item_selection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_hide_on_state_item_selection") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74052,17 +48118,9 @@ func (o *PopupMenu) IsHideOnStateItemSelection() bool { func (o *PopupMenu) IsItemCheckable(idx int64) bool { log.Println("Calling PopupMenu.IsItemCheckable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_checkable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_checkable", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74073,17 +48131,9 @@ func (o *PopupMenu) IsItemCheckable(idx int64) bool { func (o *PopupMenu) IsItemChecked(idx int64) bool { log.Println("Calling PopupMenu.IsItemChecked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_checked", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_checked", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74094,17 +48144,9 @@ func (o *PopupMenu) IsItemChecked(idx int64) bool { func (o *PopupMenu) IsItemDisabled(idx int64) bool { log.Println("Calling PopupMenu.IsItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_disabled", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74115,17 +48157,9 @@ func (o *PopupMenu) IsItemDisabled(idx int64) bool { func (o *PopupMenu) IsItemSeparator(idx int64) bool { log.Println("Calling PopupMenu.IsItemSeparator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_item_separator", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_item_separator", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74136,14 +48170,7 @@ func (o *PopupMenu) IsItemSeparator(idx int64) bool { func (o *PopupMenu) RemoveItem(idx int64) { log.Println("Calling PopupMenu.RemoveItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_item", goArguments, "") - + godotCallVoidInt(o, "remove_item", idx) log.Println(" Function successfully completed.") } @@ -74154,14 +48181,7 @@ func (o *PopupMenu) RemoveItem(idx int64) { func (o *PopupMenu) SetHideOnCheckableItemSelection(enable bool) { log.Println("Calling PopupMenu.SetHideOnCheckableItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_on_checkable_item_selection", goArguments, "") - + godotCallVoidBool(o, "set_hide_on_checkable_item_selection", enable) log.Println(" Function successfully completed.") } @@ -74172,14 +48192,7 @@ func (o *PopupMenu) SetHideOnCheckableItemSelection(enable bool) { func (o *PopupMenu) SetHideOnItemSelection(enable bool) { log.Println("Calling PopupMenu.SetHideOnItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_on_item_selection", goArguments, "") - + godotCallVoidBool(o, "set_hide_on_item_selection", enable) log.Println(" Function successfully completed.") } @@ -74190,14 +48203,7 @@ func (o *PopupMenu) SetHideOnItemSelection(enable bool) { func (o *PopupMenu) SetHideOnStateItemSelection(enable bool) { log.Println("Calling PopupMenu.SetHideOnStateItemSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_on_state_item_selection", goArguments, "") - + godotCallVoidBool(o, "set_hide_on_state_item_selection", enable) log.Println(" Function successfully completed.") } @@ -74208,15 +48214,7 @@ func (o *PopupMenu) SetHideOnStateItemSelection(enable bool) { func (o *PopupMenu) SetItemAccelerator(idx int64, accel int64) { log.Println("Calling PopupMenu.SetItemAccelerator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(accel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_accelerator", goArguments, "") - + godotCallVoidIntInt(o, "set_item_accelerator", idx, accel) log.Println(" Function successfully completed.") } @@ -74227,15 +48225,7 @@ func (o *PopupMenu) SetItemAccelerator(idx int64, accel int64) { func (o *PopupMenu) SetItemAsCheckable(idx int64, enable bool) { log.Println("Calling PopupMenu.SetItemAsCheckable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_as_checkable", goArguments, "") - + godotCallVoidIntBool(o, "set_item_as_checkable", idx, enable) log.Println(" Function successfully completed.") } @@ -74246,15 +48236,7 @@ func (o *PopupMenu) SetItemAsCheckable(idx int64, enable bool) { func (o *PopupMenu) SetItemAsSeparator(idx int64, enable bool) { log.Println("Calling PopupMenu.SetItemAsSeparator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_as_separator", goArguments, "") - + godotCallVoidIntBool(o, "set_item_as_separator", idx, enable) log.Println(" Function successfully completed.") } @@ -74265,15 +48247,7 @@ func (o *PopupMenu) SetItemAsSeparator(idx int64, enable bool) { func (o *PopupMenu) SetItemChecked(idx int64, checked bool) { log.Println("Calling PopupMenu.SetItemChecked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(checked) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_checked", goArguments, "") - + godotCallVoidIntBool(o, "set_item_checked", idx, checked) log.Println(" Function successfully completed.") } @@ -74284,15 +48258,7 @@ func (o *PopupMenu) SetItemChecked(idx int64, checked bool) { func (o *PopupMenu) SetItemDisabled(idx int64, disabled bool) { log.Println("Calling PopupMenu.SetItemDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_disabled", goArguments, "") - + godotCallVoidIntBool(o, "set_item_disabled", idx, disabled) log.Println(" Function successfully completed.") } @@ -74303,15 +48269,7 @@ func (o *PopupMenu) SetItemDisabled(idx int64, disabled bool) { func (o *PopupMenu) SetItemIcon(idx int64, icon *Texture) { log.Println("Calling PopupMenu.SetItemIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_item_icon", idx, &icon.Object) log.Println(" Function successfully completed.") } @@ -74322,15 +48280,7 @@ func (o *PopupMenu) SetItemIcon(idx int64, icon *Texture) { func (o *PopupMenu) SetItemId(idx int64, id int64) { log.Println("Calling PopupMenu.SetItemId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_id", goArguments, "") - + godotCallVoidIntInt(o, "set_item_id", idx, id) log.Println(" Function successfully completed.") } @@ -74341,15 +48291,7 @@ func (o *PopupMenu) SetItemId(idx int64, id int64) { func (o *PopupMenu) SetItemMetadata(idx int64, metadata *Variant) { log.Println("Calling PopupMenu.SetItemMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(metadata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_metadata", goArguments, "") - + godotCallVoidIntVariant(o, "set_item_metadata", idx, metadata) log.Println(" Function successfully completed.") } @@ -74360,15 +48302,7 @@ func (o *PopupMenu) SetItemMetadata(idx int64, metadata *Variant) { func (o *PopupMenu) SetItemMultistate(idx int64, state int64) { log.Println("Calling PopupMenu.SetItemMultistate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(state) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_multistate", goArguments, "") - + godotCallVoidIntInt(o, "set_item_multistate", idx, state) log.Println(" Function successfully completed.") } @@ -74379,16 +48313,7 @@ func (o *PopupMenu) SetItemMultistate(idx int64, state int64) { func (o *PopupMenu) SetItemShortcut(idx int64, shortcut *ShortCut, global bool) { log.Println("Calling PopupMenu.SetItemShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(shortcut) - goArguments[2] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_shortcut", goArguments, "") - + godotCallVoidIntObjectBool(o, "set_item_shortcut", idx, &shortcut.Object, global) log.Println(" Function successfully completed.") } @@ -74399,15 +48324,7 @@ func (o *PopupMenu) SetItemShortcut(idx int64, shortcut *ShortCut, global bool) func (o *PopupMenu) SetItemSubmenu(idx int64, submenu string) { log.Println("Calling PopupMenu.SetItemSubmenu()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(submenu) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_submenu", goArguments, "") - + godotCallVoidIntString(o, "set_item_submenu", idx, submenu) log.Println(" Function successfully completed.") } @@ -74418,15 +48335,7 @@ func (o *PopupMenu) SetItemSubmenu(idx int64, submenu string) { func (o *PopupMenu) SetItemText(idx int64, text string) { log.Println("Calling PopupMenu.SetItemText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_text", goArguments, "") - + godotCallVoidIntString(o, "set_item_text", idx, text) log.Println(" Function successfully completed.") } @@ -74437,15 +48346,7 @@ func (o *PopupMenu) SetItemText(idx int64, text string) { func (o *PopupMenu) SetItemTooltip(idx int64, tooltip string) { log.Println("Calling PopupMenu.SetItemTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(tooltip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_item_tooltip", goArguments, "") - + godotCallVoidIntString(o, "set_item_tooltip", idx, tooltip) log.Println(" Function successfully completed.") } @@ -74456,14 +48357,7 @@ func (o *PopupMenu) SetItemTooltip(idx int64, tooltip string) { func (o *PopupMenu) ToggleItemChecked(idx int64) { log.Println("Calling PopupMenu.ToggleItemChecked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "toggle_item_checked", goArguments, "") - + godotCallVoidInt(o, "toggle_item_checked", idx) log.Println(" Function successfully completed.") } @@ -74474,14 +48368,7 @@ func (o *PopupMenu) ToggleItemChecked(idx int64) { func (o *PopupMenu) ToggleItemMultistate(idx int64) { log.Println("Calling PopupMenu.ToggleItemMultistate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "toggle_item_multistate", goArguments, "") - + godotCallVoidInt(o, "toggle_item_multistate", idx) log.Println(" Function successfully completed.") } @@ -74564,13 +48451,7 @@ func (o *PrimitiveMesh) baseClass() string { func (o *PrimitiveMesh) X_Update() { log.Println("Calling PrimitiveMesh.X_Update()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update", goArguments, "") - + godotCallVoid(o, "_update") log.Println(" Function successfully completed.") } @@ -74581,17 +48462,12 @@ func (o *PrimitiveMesh) X_Update() { func (o *PrimitiveMesh) GetMaterial() *Material { log.Println("Calling PrimitiveMesh.GetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_material", goArguments, "*Material") - - returnValue := goRet.Interface().(*Material) - + returnValue := godotCallObject(o, "get_material") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Material + ret.owner = returnValue.owner + return &ret } @@ -74601,16 +48477,9 @@ func (o *PrimitiveMesh) GetMaterial() *Material { func (o *PrimitiveMesh) GetMeshArrays() *Array { log.Println("Calling PrimitiveMesh.GetMeshArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mesh_arrays", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_mesh_arrays") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74621,14 +48490,7 @@ func (o *PrimitiveMesh) GetMeshArrays() *Array { func (o *PrimitiveMesh) SetMaterial(material *Material) { log.Println("Calling PrimitiveMesh.SetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_material", goArguments, "") - + godotCallVoidObject(o, "set_material", &material.Object) log.Println(" Function successfully completed.") } @@ -74657,16 +48519,9 @@ func (o *PrismMesh) baseClass() string { func (o *PrismMesh) GetLeftToRight() float64 { log.Println("Calling PrismMesh.GetLeftToRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_left_to_right", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_left_to_right") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74677,16 +48532,9 @@ func (o *PrismMesh) GetLeftToRight() float64 { func (o *PrismMesh) GetSize() *Vector3 { log.Println("Calling PrismMesh.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74697,16 +48545,9 @@ func (o *PrismMesh) GetSize() *Vector3 { func (o *PrismMesh) GetSubdivideDepth() int64 { log.Println("Calling PrismMesh.GetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_depth", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_depth") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74717,16 +48558,9 @@ func (o *PrismMesh) GetSubdivideDepth() int64 { func (o *PrismMesh) GetSubdivideHeight() int64 { log.Println("Calling PrismMesh.GetSubdivideHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74737,16 +48571,9 @@ func (o *PrismMesh) GetSubdivideHeight() int64 { func (o *PrismMesh) GetSubdivideWidth() int64 { log.Println("Calling PrismMesh.GetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subdivide_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_subdivide_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74757,14 +48584,7 @@ func (o *PrismMesh) GetSubdivideWidth() int64 { func (o *PrismMesh) SetLeftToRight(leftToRight float64) { log.Println("Calling PrismMesh.SetLeftToRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(leftToRight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_left_to_right", goArguments, "") - + godotCallVoidFloat(o, "set_left_to_right", leftToRight) log.Println(" Function successfully completed.") } @@ -74775,14 +48595,7 @@ func (o *PrismMesh) SetLeftToRight(leftToRight float64) { func (o *PrismMesh) SetSize(size *Vector3) { log.Println("Calling PrismMesh.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector3(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -74793,14 +48606,7 @@ func (o *PrismMesh) SetSize(size *Vector3) { func (o *PrismMesh) SetSubdivideDepth(segments int64) { log.Println("Calling PrismMesh.SetSubdivideDepth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_depth", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_depth", segments) log.Println(" Function successfully completed.") } @@ -74811,14 +48617,7 @@ func (o *PrismMesh) SetSubdivideDepth(segments int64) { func (o *PrismMesh) SetSubdivideHeight(segments int64) { log.Println("Calling PrismMesh.SetSubdivideHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_height", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_height", segments) log.Println(" Function successfully completed.") } @@ -74829,14 +48628,7 @@ func (o *PrismMesh) SetSubdivideHeight(segments int64) { func (o *PrismMesh) SetSubdivideWidth(segments int64) { log.Println("Calling PrismMesh.SetSubdivideWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(segments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subdivide_width", goArguments, "") - + godotCallVoidInt(o, "set_subdivide_width", segments) log.Println(" Function successfully completed.") } @@ -74865,14 +48657,7 @@ func (o *ProceduralSky) baseClass() string { func (o *ProceduralSky) X_ThreadDone(image *Image) { log.Println("Calling ProceduralSky.X_ThreadDone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(image) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_thread_done", goArguments, "") - + godotCallVoidObject(o, "_thread_done", &image.Object) log.Println(" Function successfully completed.") } @@ -74883,13 +48668,7 @@ func (o *ProceduralSky) X_ThreadDone(image *Image) { func (o *ProceduralSky) X_UpdateSky() { log.Println("Calling ProceduralSky.X_UpdateSky()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_sky", goArguments, "") - + godotCallVoid(o, "_update_sky") log.Println(" Function successfully completed.") } @@ -74900,16 +48679,9 @@ func (o *ProceduralSky) X_UpdateSky() { func (o *ProceduralSky) GetGroundBottomColor() *Color { log.Println("Calling ProceduralSky.GetGroundBottomColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ground_bottom_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_ground_bottom_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74920,16 +48692,9 @@ func (o *ProceduralSky) GetGroundBottomColor() *Color { func (o *ProceduralSky) GetGroundCurve() float64 { log.Println("Calling ProceduralSky.GetGroundCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ground_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ground_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74940,16 +48705,9 @@ func (o *ProceduralSky) GetGroundCurve() float64 { func (o *ProceduralSky) GetGroundEnergy() float64 { log.Println("Calling ProceduralSky.GetGroundEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ground_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ground_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74960,16 +48718,9 @@ func (o *ProceduralSky) GetGroundEnergy() float64 { func (o *ProceduralSky) GetGroundHorizonColor() *Color { log.Println("Calling ProceduralSky.GetGroundHorizonColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ground_horizon_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_ground_horizon_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -74980,16 +48731,9 @@ func (o *ProceduralSky) GetGroundHorizonColor() *Color { func (o *ProceduralSky) GetSkyCurve() float64 { log.Println("Calling ProceduralSky.GetSkyCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sky_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75000,16 +48744,9 @@ func (o *ProceduralSky) GetSkyCurve() float64 { func (o *ProceduralSky) GetSkyEnergy() float64 { log.Println("Calling ProceduralSky.GetSkyEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sky_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75020,16 +48757,9 @@ func (o *ProceduralSky) GetSkyEnergy() float64 { func (o *ProceduralSky) GetSkyHorizonColor() *Color { log.Println("Calling ProceduralSky.GetSkyHorizonColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky_horizon_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_sky_horizon_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75040,16 +48770,9 @@ func (o *ProceduralSky) GetSkyHorizonColor() *Color { func (o *ProceduralSky) GetSkyTopColor() *Color { log.Println("Calling ProceduralSky.GetSkyTopColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sky_top_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_sky_top_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75060,16 +48783,9 @@ func (o *ProceduralSky) GetSkyTopColor() *Color { func (o *ProceduralSky) GetSunAngleMax() float64 { log.Println("Calling ProceduralSky.GetSunAngleMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_angle_max", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_angle_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75080,16 +48796,9 @@ func (o *ProceduralSky) GetSunAngleMax() float64 { func (o *ProceduralSky) GetSunAngleMin() float64 { log.Println("Calling ProceduralSky.GetSunAngleMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_angle_min", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_angle_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75100,16 +48809,9 @@ func (o *ProceduralSky) GetSunAngleMin() float64 { func (o *ProceduralSky) GetSunColor() *Color { log.Println("Calling ProceduralSky.GetSunColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_sun_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75120,16 +48822,9 @@ func (o *ProceduralSky) GetSunColor() *Color { func (o *ProceduralSky) GetSunCurve() float64 { log.Println("Calling ProceduralSky.GetSunCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_curve", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_curve") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75140,16 +48835,9 @@ func (o *ProceduralSky) GetSunCurve() float64 { func (o *ProceduralSky) GetSunEnergy() float64 { log.Println("Calling ProceduralSky.GetSunEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75160,16 +48848,9 @@ func (o *ProceduralSky) GetSunEnergy() float64 { func (o *ProceduralSky) GetSunLatitude() float64 { log.Println("Calling ProceduralSky.GetSunLatitude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_latitude", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_latitude") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75180,16 +48861,9 @@ func (o *ProceduralSky) GetSunLatitude() float64 { func (o *ProceduralSky) GetSunLongitude() float64 { log.Println("Calling ProceduralSky.GetSunLongitude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_sun_longitude", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_sun_longitude") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75200,16 +48874,9 @@ func (o *ProceduralSky) GetSunLongitude() float64 { func (o *ProceduralSky) GetTextureSize() int64 { log.Println("Calling ProceduralSky.GetTextureSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_texture_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75220,14 +48887,7 @@ func (o *ProceduralSky) GetTextureSize() int64 { func (o *ProceduralSky) SetGroundBottomColor(color *Color) { log.Println("Calling ProceduralSky.SetGroundBottomColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ground_bottom_color", goArguments, "") - + godotCallVoidColor(o, "set_ground_bottom_color", color) log.Println(" Function successfully completed.") } @@ -75238,14 +48898,7 @@ func (o *ProceduralSky) SetGroundBottomColor(color *Color) { func (o *ProceduralSky) SetGroundCurve(curve float64) { log.Println("Calling ProceduralSky.SetGroundCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ground_curve", goArguments, "") - + godotCallVoidFloat(o, "set_ground_curve", curve) log.Println(" Function successfully completed.") } @@ -75256,14 +48909,7 @@ func (o *ProceduralSky) SetGroundCurve(curve float64) { func (o *ProceduralSky) SetGroundEnergy(energy float64) { log.Println("Calling ProceduralSky.SetGroundEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ground_energy", goArguments, "") - + godotCallVoidFloat(o, "set_ground_energy", energy) log.Println(" Function successfully completed.") } @@ -75274,14 +48920,7 @@ func (o *ProceduralSky) SetGroundEnergy(energy float64) { func (o *ProceduralSky) SetGroundHorizonColor(color *Color) { log.Println("Calling ProceduralSky.SetGroundHorizonColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ground_horizon_color", goArguments, "") - + godotCallVoidColor(o, "set_ground_horizon_color", color) log.Println(" Function successfully completed.") } @@ -75292,14 +48931,7 @@ func (o *ProceduralSky) SetGroundHorizonColor(color *Color) { func (o *ProceduralSky) SetSkyCurve(curve float64) { log.Println("Calling ProceduralSky.SetSkyCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky_curve", goArguments, "") - + godotCallVoidFloat(o, "set_sky_curve", curve) log.Println(" Function successfully completed.") } @@ -75310,14 +48942,7 @@ func (o *ProceduralSky) SetSkyCurve(curve float64) { func (o *ProceduralSky) SetSkyEnergy(energy float64) { log.Println("Calling ProceduralSky.SetSkyEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky_energy", goArguments, "") - + godotCallVoidFloat(o, "set_sky_energy", energy) log.Println(" Function successfully completed.") } @@ -75328,14 +48953,7 @@ func (o *ProceduralSky) SetSkyEnergy(energy float64) { func (o *ProceduralSky) SetSkyHorizonColor(color *Color) { log.Println("Calling ProceduralSky.SetSkyHorizonColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky_horizon_color", goArguments, "") - + godotCallVoidColor(o, "set_sky_horizon_color", color) log.Println(" Function successfully completed.") } @@ -75346,14 +48964,7 @@ func (o *ProceduralSky) SetSkyHorizonColor(color *Color) { func (o *ProceduralSky) SetSkyTopColor(color *Color) { log.Println("Calling ProceduralSky.SetSkyTopColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sky_top_color", goArguments, "") - + godotCallVoidColor(o, "set_sky_top_color", color) log.Println(" Function successfully completed.") } @@ -75364,14 +48975,7 @@ func (o *ProceduralSky) SetSkyTopColor(color *Color) { func (o *ProceduralSky) SetSunAngleMax(degrees float64) { log.Println("Calling ProceduralSky.SetSunAngleMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_angle_max", goArguments, "") - + godotCallVoidFloat(o, "set_sun_angle_max", degrees) log.Println(" Function successfully completed.") } @@ -75382,14 +48986,7 @@ func (o *ProceduralSky) SetSunAngleMax(degrees float64) { func (o *ProceduralSky) SetSunAngleMin(degrees float64) { log.Println("Calling ProceduralSky.SetSunAngleMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_angle_min", goArguments, "") - + godotCallVoidFloat(o, "set_sun_angle_min", degrees) log.Println(" Function successfully completed.") } @@ -75400,14 +48997,7 @@ func (o *ProceduralSky) SetSunAngleMin(degrees float64) { func (o *ProceduralSky) SetSunColor(color *Color) { log.Println("Calling ProceduralSky.SetSunColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_color", goArguments, "") - + godotCallVoidColor(o, "set_sun_color", color) log.Println(" Function successfully completed.") } @@ -75418,14 +49008,7 @@ func (o *ProceduralSky) SetSunColor(color *Color) { func (o *ProceduralSky) SetSunCurve(curve float64) { log.Println("Calling ProceduralSky.SetSunCurve()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(curve) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_curve", goArguments, "") - + godotCallVoidFloat(o, "set_sun_curve", curve) log.Println(" Function successfully completed.") } @@ -75436,14 +49019,7 @@ func (o *ProceduralSky) SetSunCurve(curve float64) { func (o *ProceduralSky) SetSunEnergy(energy float64) { log.Println("Calling ProceduralSky.SetSunEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_energy", goArguments, "") - + godotCallVoidFloat(o, "set_sun_energy", energy) log.Println(" Function successfully completed.") } @@ -75454,14 +49030,7 @@ func (o *ProceduralSky) SetSunEnergy(energy float64) { func (o *ProceduralSky) SetSunLatitude(degrees float64) { log.Println("Calling ProceduralSky.SetSunLatitude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_latitude", goArguments, "") - + godotCallVoidFloat(o, "set_sun_latitude", degrees) log.Println(" Function successfully completed.") } @@ -75472,14 +49041,7 @@ func (o *ProceduralSky) SetSunLatitude(degrees float64) { func (o *ProceduralSky) SetSunLongitude(degrees float64) { log.Println("Calling ProceduralSky.SetSunLongitude()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(degrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sun_longitude", goArguments, "") - + godotCallVoidFloat(o, "set_sun_longitude", degrees) log.Println(" Function successfully completed.") } @@ -75490,14 +49052,7 @@ func (o *ProceduralSky) SetSunLongitude(degrees float64) { func (o *ProceduralSky) SetTextureSize(size int64) { log.Println("Calling ProceduralSky.SetTextureSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_size", goArguments, "") - + godotCallVoidInt(o, "set_texture_size", size) log.Println(" Function successfully completed.") } @@ -75526,16 +49081,9 @@ func (o *ProgressBar) baseClass() string { func (o *ProgressBar) IsPercentVisible() bool { log.Println("Calling ProgressBar.IsPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_percent_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_percent_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75546,14 +49094,7 @@ func (o *ProgressBar) IsPercentVisible() bool { func (o *ProgressBar) SetPercentVisible(visible bool) { log.Println("Calling ProgressBar.SetPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_percent_visible", goArguments, "") - + godotCallVoidBool(o, "set_percent_visible", visible) log.Println(" Function successfully completed.") } @@ -75567,7 +49108,9 @@ type ProgressBarImplementer interface { func newSingletonProjectSettings() *projectSettings { obj := &projectSettings{} - ptr := C.godot_global_get_singleton(C.CString("ProjectSettings")) + name := C.CString("ProjectSettings") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -75594,14 +49137,7 @@ func (o *projectSettings) baseClass() string { func (o *projectSettings) AddPropertyInfo(hint *Dictionary) { log.Println("Calling ProjectSettings.AddPropertyInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hint) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_property_info", goArguments, "") - + godotCallVoidDictionary(o, "add_property_info", hint) log.Println(" Function successfully completed.") } @@ -75612,14 +49148,7 @@ func (o *projectSettings) AddPropertyInfo(hint *Dictionary) { func (o *projectSettings) Clear(name string) { log.Println("Calling ProjectSettings.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoidString(o, "clear", name) log.Println(" Function successfully completed.") } @@ -75630,17 +49159,9 @@ func (o *projectSettings) Clear(name string) { func (o *projectSettings) GetOrder(name string) int64 { log.Println("Calling ProjectSettings.GetOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_order", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_order", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75651,17 +49172,9 @@ func (o *projectSettings) GetOrder(name string) int64 { func (o *projectSettings) GetSetting(name string) *Variant { log.Println("Calling ProjectSettings.GetSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_setting", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get_setting", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75672,17 +49185,9 @@ func (o *projectSettings) GetSetting(name string) *Variant { func (o *projectSettings) GlobalizePath(path string) string { log.Println("Calling ProjectSettings.GlobalizePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "globalize_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "globalize_path", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75693,17 +49198,9 @@ func (o *projectSettings) GlobalizePath(path string) string { func (o *projectSettings) HasSetting(name string) bool { log.Println("Calling ProjectSettings.HasSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_setting", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_setting", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75714,17 +49211,9 @@ func (o *projectSettings) HasSetting(name string) bool { func (o *projectSettings) LoadResourcePack(pack string) bool { log.Println("Calling ProjectSettings.LoadResourcePack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pack) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load_resource_pack", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "load_resource_pack", pack) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75735,17 +49224,9 @@ func (o *projectSettings) LoadResourcePack(pack string) bool { func (o *projectSettings) LocalizePath(path string) string { log.Println("Calling ProjectSettings.LocalizePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "localize_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "localize_path", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75756,17 +49237,9 @@ func (o *projectSettings) LocalizePath(path string) string { func (o *projectSettings) PropertyCanRevert(name string) bool { log.Println("Calling ProjectSettings.PropertyCanRevert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "property_can_revert", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "property_can_revert", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75777,17 +49250,9 @@ func (o *projectSettings) PropertyCanRevert(name string) bool { func (o *projectSettings) PropertyGetRevert(name string) *Variant { log.Println("Calling ProjectSettings.PropertyGetRevert()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "property_get_revert", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "property_get_revert", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75798,16 +49263,9 @@ func (o *projectSettings) PropertyGetRevert(name string) *Variant { func (o *projectSettings) Save() int64 { log.Println("Calling ProjectSettings.Save()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "save", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "save") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75818,17 +49276,9 @@ func (o *projectSettings) Save() int64 { func (o *projectSettings) SaveCustom(file string) int64 { log.Println("Calling ProjectSettings.SaveCustom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "save_custom", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "save_custom", file) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75839,15 +49289,7 @@ func (o *projectSettings) SaveCustom(file string) int64 { func (o *projectSettings) SetInitialValue(name string, value *Variant) { log.Println("Calling ProjectSettings.SetInitialValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_initial_value", goArguments, "") - + godotCallVoidStringVariant(o, "set_initial_value", name, value) log.Println(" Function successfully completed.") } @@ -75858,15 +49300,7 @@ func (o *projectSettings) SetInitialValue(name string, value *Variant) { func (o *projectSettings) SetOrder(name string, position int64) { log.Println("Calling ProjectSettings.SetOrder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_order", goArguments, "") - + godotCallVoidStringInt(o, "set_order", name, position) log.Println(" Function successfully completed.") } @@ -75877,15 +49311,7 @@ func (o *projectSettings) SetOrder(name string, position int64) { func (o *projectSettings) SetSetting(name string, value *Variant) { log.Println("Calling ProjectSettings.SetSetting()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_setting", goArguments, "") - + godotCallVoidStringVariant(o, "set_setting", name, value) log.Println(" Function successfully completed.") } @@ -75907,15 +49333,7 @@ func (o *ProximityGroup) baseClass() string { func (o *ProximityGroup) X_ProximityGroupBroadcast(name string, params *Variant) { log.Println("Calling ProximityGroup.X_ProximityGroupBroadcast()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(params) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_proximity_group_broadcast", goArguments, "") - + godotCallVoidStringVariant(o, "_proximity_group_broadcast", name, params) log.Println(" Function successfully completed.") } @@ -75926,15 +49344,7 @@ func (o *ProximityGroup) X_ProximityGroupBroadcast(name string, params *Variant) func (o *ProximityGroup) Broadcast(name string, parameters *Variant) { log.Println("Calling ProximityGroup.Broadcast()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(parameters) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "broadcast", goArguments, "") - + godotCallVoidStringVariant(o, "broadcast", name, parameters) log.Println(" Function successfully completed.") } @@ -75945,16 +49355,9 @@ func (o *ProximityGroup) Broadcast(name string, parameters *Variant) { func (o *ProximityGroup) GetDispatchMode() int64 { log.Println("Calling ProximityGroup.GetDispatchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dispatch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dispatch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75965,16 +49368,9 @@ func (o *ProximityGroup) GetDispatchMode() int64 { func (o *ProximityGroup) GetGridRadius() *Vector3 { log.Println("Calling ProximityGroup.GetGridRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_grid_radius", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_grid_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -75985,16 +49381,9 @@ func (o *ProximityGroup) GetGridRadius() *Vector3 { func (o *ProximityGroup) GetGroupName() string { log.Println("Calling ProximityGroup.GetGroupName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_group_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_group_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76005,14 +49394,7 @@ func (o *ProximityGroup) GetGroupName() string { func (o *ProximityGroup) SetDispatchMode(mode int64) { log.Println("Calling ProximityGroup.SetDispatchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dispatch_mode", goArguments, "") - + godotCallVoidInt(o, "set_dispatch_mode", mode) log.Println(" Function successfully completed.") } @@ -76023,14 +49405,7 @@ func (o *ProximityGroup) SetDispatchMode(mode int64) { func (o *ProximityGroup) SetGridRadius(radius *Vector3) { log.Println("Calling ProximityGroup.SetGridRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_grid_radius", goArguments, "") - + godotCallVoidVector3(o, "set_grid_radius", radius) log.Println(" Function successfully completed.") } @@ -76041,14 +49416,7 @@ func (o *ProximityGroup) SetGridRadius(radius *Vector3) { func (o *ProximityGroup) SetGroupName(name string) { log.Println("Calling ProximityGroup.SetGroupName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_group_name", goArguments, "") - + godotCallVoidString(o, "set_group_name", name) log.Println(" Function successfully completed.") } @@ -76077,17 +49445,12 @@ func (o *ProxyTexture) baseClass() string { func (o *ProxyTexture) GetBase() *Texture { log.Println("Calling ProxyTexture.GetBase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_base") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -76097,14 +49460,7 @@ func (o *ProxyTexture) GetBase() *Texture { func (o *ProxyTexture) SetBase(base *Texture) { log.Println("Calling ProxyTexture.SetBase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(base) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base", goArguments, "") - + godotCallVoidObject(o, "set_base", &base.Object) log.Println(" Function successfully completed.") } @@ -76133,16 +49489,9 @@ func (o *QuadMesh) baseClass() string { func (o *QuadMesh) GetSize() *Vector2 { log.Println("Calling QuadMesh.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76153,14 +49502,7 @@ func (o *QuadMesh) GetSize() *Vector2 { func (o *QuadMesh) SetSize(size *Vector2) { log.Println("Calling QuadMesh.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -76189,16 +49531,9 @@ func (o *Range) baseClass() string { func (o *Range) GetAsRatio() float64 { log.Println("Calling Range.GetAsRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_as_ratio", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_as_ratio") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76209,16 +49544,9 @@ func (o *Range) GetAsRatio() float64 { func (o *Range) GetMax() float64 { log.Println("Calling Range.GetMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76229,16 +49557,9 @@ func (o *Range) GetMax() float64 { func (o *Range) GetMin() float64 { log.Println("Calling Range.GetMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_min", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76249,16 +49570,9 @@ func (o *Range) GetMin() float64 { func (o *Range) GetPage() float64 { log.Println("Calling Range.GetPage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_page", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_page") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76269,16 +49583,9 @@ func (o *Range) GetPage() float64 { func (o *Range) GetStep() float64 { log.Println("Calling Range.GetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_step", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76289,16 +49596,9 @@ func (o *Range) GetStep() float64 { func (o *Range) GetValue() float64 { log.Println("Calling Range.GetValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_value", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_value") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76309,16 +49609,9 @@ func (o *Range) GetValue() float64 { func (o *Range) IsRatioExp() bool { log.Println("Calling Range.IsRatioExp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_ratio_exp", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_ratio_exp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76329,16 +49622,9 @@ func (o *Range) IsRatioExp() bool { func (o *Range) IsUsingRoundedValues() bool { log.Println("Calling Range.IsUsingRoundedValues()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_rounded_values", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_rounded_values") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76349,14 +49635,7 @@ func (o *Range) IsUsingRoundedValues() bool { func (o *Range) SetAsRatio(value float64) { log.Println("Calling Range.SetAsRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_ratio", goArguments, "") - + godotCallVoidFloat(o, "set_as_ratio", value) log.Println(" Function successfully completed.") } @@ -76367,14 +49646,7 @@ func (o *Range) SetAsRatio(value float64) { func (o *Range) SetExpRatio(enabled bool) { log.Println("Calling Range.SetExpRatio()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exp_ratio", goArguments, "") - + godotCallVoidBool(o, "set_exp_ratio", enabled) log.Println(" Function successfully completed.") } @@ -76385,14 +49657,7 @@ func (o *Range) SetExpRatio(enabled bool) { func (o *Range) SetMax(maximum float64) { log.Println("Calling Range.SetMax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maximum) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max", goArguments, "") - + godotCallVoidFloat(o, "set_max", maximum) log.Println(" Function successfully completed.") } @@ -76403,14 +49668,7 @@ func (o *Range) SetMax(maximum float64) { func (o *Range) SetMin(minimum float64) { log.Println("Calling Range.SetMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(minimum) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_min", goArguments, "") - + godotCallVoidFloat(o, "set_min", minimum) log.Println(" Function successfully completed.") } @@ -76421,14 +49679,7 @@ func (o *Range) SetMin(minimum float64) { func (o *Range) SetPage(pagesize float64) { log.Println("Calling Range.SetPage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pagesize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_page", goArguments, "") - + godotCallVoidFloat(o, "set_page", pagesize) log.Println(" Function successfully completed.") } @@ -76439,14 +49690,7 @@ func (o *Range) SetPage(pagesize float64) { func (o *Range) SetStep(step float64) { log.Println("Calling Range.SetStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(step) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_step", goArguments, "") - + godotCallVoidFloat(o, "set_step", step) log.Println(" Function successfully completed.") } @@ -76457,14 +49701,7 @@ func (o *Range) SetStep(step float64) { func (o *Range) SetUseRoundedValues(enabled bool) { log.Println("Calling Range.SetUseRoundedValues()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_rounded_values", goArguments, "") - + godotCallVoidBool(o, "set_use_rounded_values", enabled) log.Println(" Function successfully completed.") } @@ -76475,14 +49712,7 @@ func (o *Range) SetUseRoundedValues(enabled bool) { func (o *Range) SetValue(value float64) { log.Println("Calling Range.SetValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_value", goArguments, "") - + godotCallVoidFloat(o, "set_value", value) log.Println(" Function successfully completed.") } @@ -76493,14 +49723,7 @@ func (o *Range) SetValue(value float64) { func (o *Range) Share(with *Object) { log.Println("Calling Range.Share()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(with) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "share", goArguments, "") - + godotCallVoidObject(o, "share", with) log.Println(" Function successfully completed.") } @@ -76511,13 +49734,7 @@ func (o *Range) Share(with *Object) { func (o *Range) Unshare() { log.Println("Calling Range.Unshare()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unshare", goArguments, "") - + godotCallVoid(o, "unshare") log.Println(" Function successfully completed.") } @@ -76546,14 +49763,7 @@ func (o *RayCast) baseClass() string { func (o *RayCast) AddException(node *Object) { log.Println("Calling RayCast.AddException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_exception", goArguments, "") - + godotCallVoidObject(o, "add_exception", node) log.Println(" Function successfully completed.") } @@ -76564,14 +49774,7 @@ func (o *RayCast) AddException(node *Object) { func (o *RayCast) AddExceptionRid(rid *RID) { log.Println("Calling RayCast.AddExceptionRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_exception_rid", goArguments, "") - + godotCallVoidRid(o, "add_exception_rid", rid) log.Println(" Function successfully completed.") } @@ -76582,13 +49785,7 @@ func (o *RayCast) AddExceptionRid(rid *RID) { func (o *RayCast) ClearExceptions() { log.Println("Calling RayCast.ClearExceptions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_exceptions", goArguments, "") - + godotCallVoid(o, "clear_exceptions") log.Println(" Function successfully completed.") } @@ -76599,13 +49796,7 @@ func (o *RayCast) ClearExceptions() { func (o *RayCast) ForceRaycastUpdate() { log.Println("Calling RayCast.ForceRaycastUpdate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_raycast_update", goArguments, "") - + godotCallVoid(o, "force_raycast_update") log.Println(" Function successfully completed.") } @@ -76616,16 +49807,9 @@ func (o *RayCast) ForceRaycastUpdate() { func (o *RayCast) GetCastTo() *Vector3 { log.Println("Calling RayCast.GetCastTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cast_to", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_cast_to") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76636,17 +49820,12 @@ func (o *RayCast) GetCastTo() *Vector3 { func (o *RayCast) GetCollider() *Object { log.Println("Calling RayCast.GetCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -76656,16 +49835,9 @@ func (o *RayCast) GetCollider() *Object { func (o *RayCast) GetColliderShape() int64 { log.Println("Calling RayCast.GetColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_shape") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76676,16 +49848,9 @@ func (o *RayCast) GetColliderShape() int64 { func (o *RayCast) GetCollisionMask() int64 { log.Println("Calling RayCast.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76696,17 +49861,9 @@ func (o *RayCast) GetCollisionMask() int64 { func (o *RayCast) GetCollisionMaskBit(bit int64) bool { log.Println("Calling RayCast.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76717,16 +49874,9 @@ func (o *RayCast) GetCollisionMaskBit(bit int64) bool { func (o *RayCast) GetCollisionNormal() *Vector3 { log.Println("Calling RayCast.GetCollisionNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_normal", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_collision_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76737,16 +49887,9 @@ func (o *RayCast) GetCollisionNormal() *Vector3 { func (o *RayCast) GetCollisionPoint() *Vector3 { log.Println("Calling RayCast.GetCollisionPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_point", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_collision_point") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76757,16 +49900,9 @@ func (o *RayCast) GetCollisionPoint() *Vector3 { func (o *RayCast) GetExcludeParentBody() bool { log.Println("Calling RayCast.GetExcludeParentBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude_parent_body", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_exclude_parent_body") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76777,16 +49913,9 @@ func (o *RayCast) GetExcludeParentBody() bool { func (o *RayCast) IsColliding() bool { log.Println("Calling RayCast.IsColliding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_colliding", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_colliding") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76797,16 +49926,9 @@ func (o *RayCast) IsColliding() bool { func (o *RayCast) IsEnabled() bool { log.Println("Calling RayCast.IsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -76817,14 +49939,7 @@ func (o *RayCast) IsEnabled() bool { func (o *RayCast) RemoveException(node *Object) { log.Println("Calling RayCast.RemoveException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_exception", goArguments, "") - + godotCallVoidObject(o, "remove_exception", node) log.Println(" Function successfully completed.") } @@ -76835,14 +49950,7 @@ func (o *RayCast) RemoveException(node *Object) { func (o *RayCast) RemoveExceptionRid(rid *RID) { log.Println("Calling RayCast.RemoveExceptionRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_exception_rid", goArguments, "") - + godotCallVoidRid(o, "remove_exception_rid", rid) log.Println(" Function successfully completed.") } @@ -76853,14 +49961,7 @@ func (o *RayCast) RemoveExceptionRid(rid *RID) { func (o *RayCast) SetCastTo(localPoint *Vector3) { log.Println("Calling RayCast.SetCastTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localPoint) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cast_to", goArguments, "") - + godotCallVoidVector3(o, "set_cast_to", localPoint) log.Println(" Function successfully completed.") } @@ -76871,14 +49972,7 @@ func (o *RayCast) SetCastTo(localPoint *Vector3) { func (o *RayCast) SetCollisionMask(mask int64) { log.Println("Calling RayCast.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -76889,15 +49983,7 @@ func (o *RayCast) SetCollisionMask(mask int64) { func (o *RayCast) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling RayCast.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -76908,14 +49994,7 @@ func (o *RayCast) SetCollisionMaskBit(bit int64, value bool) { func (o *RayCast) SetEnabled(enabled bool) { log.Println("Calling RayCast.SetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled", goArguments, "") - + godotCallVoidBool(o, "set_enabled", enabled) log.Println(" Function successfully completed.") } @@ -76926,14 +50005,7 @@ func (o *RayCast) SetEnabled(enabled bool) { func (o *RayCast) SetExcludeParentBody(mask bool) { log.Println("Calling RayCast.SetExcludeParentBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude_parent_body", goArguments, "") - + godotCallVoidBool(o, "set_exclude_parent_body", mask) log.Println(" Function successfully completed.") } @@ -76962,14 +50034,7 @@ func (o *RayCast2D) baseClass() string { func (o *RayCast2D) AddException(node *Object) { log.Println("Calling RayCast2D.AddException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_exception", goArguments, "") - + godotCallVoidObject(o, "add_exception", node) log.Println(" Function successfully completed.") } @@ -76980,14 +50045,7 @@ func (o *RayCast2D) AddException(node *Object) { func (o *RayCast2D) AddExceptionRid(rid *RID) { log.Println("Calling RayCast2D.AddExceptionRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_exception_rid", goArguments, "") - + godotCallVoidRid(o, "add_exception_rid", rid) log.Println(" Function successfully completed.") } @@ -76998,13 +50056,7 @@ func (o *RayCast2D) AddExceptionRid(rid *RID) { func (o *RayCast2D) ClearExceptions() { log.Println("Calling RayCast2D.ClearExceptions()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_exceptions", goArguments, "") - + godotCallVoid(o, "clear_exceptions") log.Println(" Function successfully completed.") } @@ -77015,13 +50067,7 @@ func (o *RayCast2D) ClearExceptions() { func (o *RayCast2D) ForceRaycastUpdate() { log.Println("Calling RayCast2D.ForceRaycastUpdate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_raycast_update", goArguments, "") - + godotCallVoid(o, "force_raycast_update") log.Println(" Function successfully completed.") } @@ -77032,16 +50078,9 @@ func (o *RayCast2D) ForceRaycastUpdate() { func (o *RayCast2D) GetCastTo() *Vector2 { log.Println("Calling RayCast2D.GetCastTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cast_to", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_cast_to") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77052,17 +50091,12 @@ func (o *RayCast2D) GetCastTo() *Vector2 { func (o *RayCast2D) GetCollider() *Object { log.Println("Calling RayCast2D.GetCollider()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObject(o, "get_collider") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -77072,16 +50106,9 @@ func (o *RayCast2D) GetCollider() *Object { func (o *RayCast2D) GetColliderShape() int64 { log.Println("Calling RayCast2D.GetColliderShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collider_shape", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collider_shape") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77092,16 +50119,9 @@ func (o *RayCast2D) GetColliderShape() int64 { func (o *RayCast2D) GetCollisionMask() int64 { log.Println("Calling RayCast2D.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77112,17 +50132,9 @@ func (o *RayCast2D) GetCollisionMask() int64 { func (o *RayCast2D) GetCollisionMaskBit(bit int64) bool { log.Println("Calling RayCast2D.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77133,16 +50145,9 @@ func (o *RayCast2D) GetCollisionMaskBit(bit int64) bool { func (o *RayCast2D) GetCollisionNormal() *Vector2 { log.Println("Calling RayCast2D.GetCollisionNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_normal", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collision_normal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77153,16 +50158,9 @@ func (o *RayCast2D) GetCollisionNormal() *Vector2 { func (o *RayCast2D) GetCollisionPoint() *Vector2 { log.Println("Calling RayCast2D.GetCollisionPoint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_point", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_collision_point") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77173,16 +50171,9 @@ func (o *RayCast2D) GetCollisionPoint() *Vector2 { func (o *RayCast2D) GetExcludeParentBody() bool { log.Println("Calling RayCast2D.GetExcludeParentBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_exclude_parent_body", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_exclude_parent_body") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77193,16 +50184,9 @@ func (o *RayCast2D) GetExcludeParentBody() bool { func (o *RayCast2D) IsColliding() bool { log.Println("Calling RayCast2D.IsColliding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_colliding", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_colliding") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77213,16 +50197,9 @@ func (o *RayCast2D) IsColliding() bool { func (o *RayCast2D) IsEnabled() bool { log.Println("Calling RayCast2D.IsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77233,14 +50210,7 @@ func (o *RayCast2D) IsEnabled() bool { func (o *RayCast2D) RemoveException(node *Object) { log.Println("Calling RayCast2D.RemoveException()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_exception", goArguments, "") - + godotCallVoidObject(o, "remove_exception", node) log.Println(" Function successfully completed.") } @@ -77251,14 +50221,7 @@ func (o *RayCast2D) RemoveException(node *Object) { func (o *RayCast2D) RemoveExceptionRid(rid *RID) { log.Println("Calling RayCast2D.RemoveExceptionRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_exception_rid", goArguments, "") - + godotCallVoidRid(o, "remove_exception_rid", rid) log.Println(" Function successfully completed.") } @@ -77269,14 +50232,7 @@ func (o *RayCast2D) RemoveExceptionRid(rid *RID) { func (o *RayCast2D) SetCastTo(localPoint *Vector2) { log.Println("Calling RayCast2D.SetCastTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localPoint) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cast_to", goArguments, "") - + godotCallVoidVector2(o, "set_cast_to", localPoint) log.Println(" Function successfully completed.") } @@ -77287,14 +50243,7 @@ func (o *RayCast2D) SetCastTo(localPoint *Vector2) { func (o *RayCast2D) SetCollisionMask(mask int64) { log.Println("Calling RayCast2D.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -77305,15 +50254,7 @@ func (o *RayCast2D) SetCollisionMask(mask int64) { func (o *RayCast2D) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling RayCast2D.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -77324,14 +50265,7 @@ func (o *RayCast2D) SetCollisionMaskBit(bit int64, value bool) { func (o *RayCast2D) SetEnabled(enabled bool) { log.Println("Calling RayCast2D.SetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabled", goArguments, "") - + godotCallVoidBool(o, "set_enabled", enabled) log.Println(" Function successfully completed.") } @@ -77342,14 +50276,7 @@ func (o *RayCast2D) SetEnabled(enabled bool) { func (o *RayCast2D) SetExcludeParentBody(mask bool) { log.Println("Calling RayCast2D.SetExcludeParentBody()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_exclude_parent_body", goArguments, "") - + godotCallVoidBool(o, "set_exclude_parent_body", mask) log.Println(" Function successfully completed.") } @@ -77378,16 +50305,9 @@ func (o *RayShape) baseClass() string { func (o *RayShape) GetLength() float64 { log.Println("Calling RayShape.GetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77398,14 +50318,7 @@ func (o *RayShape) GetLength() float64 { func (o *RayShape) SetLength(length float64) { log.Println("Calling RayShape.SetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_length", goArguments, "") - + godotCallVoidFloat(o, "set_length", length) log.Println(" Function successfully completed.") } @@ -77434,16 +50347,9 @@ func (o *RayShape2D) baseClass() string { func (o *RayShape2D) GetLength() float64 { log.Println("Calling RayShape2D.GetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77454,14 +50360,7 @@ func (o *RayShape2D) GetLength() float64 { func (o *RayShape2D) SetLength(length float64) { log.Println("Calling RayShape2D.SetLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_length", goArguments, "") - + godotCallVoidFloat(o, "set_length", length) log.Println(" Function successfully completed.") } @@ -77490,16 +50389,9 @@ func (o *RectangleShape2D) baseClass() string { func (o *RectangleShape2D) GetExtents() *Vector2 { log.Println("Calling RectangleShape2D.GetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extents", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77510,14 +50402,7 @@ func (o *RectangleShape2D) GetExtents() *Vector2 { func (o *RectangleShape2D) SetExtents(extents *Vector2) { log.Println("Calling RectangleShape2D.SetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extents", goArguments, "") - + godotCallVoidVector2(o, "set_extents", extents) log.Println(" Function successfully completed.") } @@ -77546,16 +50431,9 @@ func (o *Reference) baseClass() string { func (o *Reference) InitRef() bool { log.Println("Calling Reference.InitRef()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "init_ref", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "init_ref") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77566,16 +50444,9 @@ func (o *Reference) InitRef() bool { func (o *Reference) Reference() bool { log.Println("Calling Reference.Reference()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "reference", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "reference") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77586,16 +50457,9 @@ func (o *Reference) Reference() bool { func (o *Reference) Unreference() bool { log.Println("Calling Reference.Unreference()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "unreference", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "unreference") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77642,16 +50506,9 @@ func (o *ReflectionProbe) baseClass() string { func (o *ReflectionProbe) AreShadowsEnabled() bool { log.Println("Calling ReflectionProbe.AreShadowsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "are_shadows_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "are_shadows_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77662,16 +50519,9 @@ func (o *ReflectionProbe) AreShadowsEnabled() bool { func (o *ReflectionProbe) GetCullMask() int64 { log.Println("Calling ReflectionProbe.GetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cull_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cull_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77682,16 +50532,9 @@ func (o *ReflectionProbe) GetCullMask() int64 { func (o *ReflectionProbe) GetExtents() *Vector3 { log.Println("Calling ReflectionProbe.GetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_extents", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_extents") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77702,16 +50545,9 @@ func (o *ReflectionProbe) GetExtents() *Vector3 { func (o *ReflectionProbe) GetIntensity() float64 { log.Println("Calling ReflectionProbe.GetIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_intensity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_intensity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77722,16 +50558,9 @@ func (o *ReflectionProbe) GetIntensity() float64 { func (o *ReflectionProbe) GetInteriorAmbient() *Color { log.Println("Calling ReflectionProbe.GetInteriorAmbient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interior_ambient", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_interior_ambient") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77742,16 +50571,9 @@ func (o *ReflectionProbe) GetInteriorAmbient() *Color { func (o *ReflectionProbe) GetInteriorAmbientEnergy() float64 { log.Println("Calling ReflectionProbe.GetInteriorAmbientEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interior_ambient_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_interior_ambient_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77762,16 +50584,9 @@ func (o *ReflectionProbe) GetInteriorAmbientEnergy() float64 { func (o *ReflectionProbe) GetInteriorAmbientProbeContribution() float64 { log.Println("Calling ReflectionProbe.GetInteriorAmbientProbeContribution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_interior_ambient_probe_contribution", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_interior_ambient_probe_contribution") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77782,16 +50597,9 @@ func (o *ReflectionProbe) GetInteriorAmbientProbeContribution() float64 { func (o *ReflectionProbe) GetMaxDistance() float64 { log.Println("Calling ReflectionProbe.GetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_max_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77802,16 +50610,9 @@ func (o *ReflectionProbe) GetMaxDistance() float64 { func (o *ReflectionProbe) GetOriginOffset() *Vector3 { log.Println("Calling ReflectionProbe.GetOriginOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_origin_offset", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_origin_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77822,16 +50623,9 @@ func (o *ReflectionProbe) GetOriginOffset() *Vector3 { func (o *ReflectionProbe) GetUpdateMode() int64 { log.Println("Calling ReflectionProbe.GetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_update_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77842,16 +50636,9 @@ func (o *ReflectionProbe) GetUpdateMode() int64 { func (o *ReflectionProbe) IsBoxProjectionEnabled() bool { log.Println("Calling ReflectionProbe.IsBoxProjectionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_box_projection_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_box_projection_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77862,16 +50649,9 @@ func (o *ReflectionProbe) IsBoxProjectionEnabled() bool { func (o *ReflectionProbe) IsSetAsInterior() bool { log.Println("Calling ReflectionProbe.IsSetAsInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_set_as_interior", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_set_as_interior") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -77882,14 +50662,7 @@ func (o *ReflectionProbe) IsSetAsInterior() bool { func (o *ReflectionProbe) SetAsInterior(enable bool) { log.Println("Calling ReflectionProbe.SetAsInterior()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_interior", goArguments, "") - + godotCallVoidBool(o, "set_as_interior", enable) log.Println(" Function successfully completed.") } @@ -77900,14 +50673,7 @@ func (o *ReflectionProbe) SetAsInterior(enable bool) { func (o *ReflectionProbe) SetCullMask(layers int64) { log.Println("Calling ReflectionProbe.SetCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layers) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cull_mask", goArguments, "") - + godotCallVoidInt(o, "set_cull_mask", layers) log.Println(" Function successfully completed.") } @@ -77918,14 +50684,7 @@ func (o *ReflectionProbe) SetCullMask(layers int64) { func (o *ReflectionProbe) SetEnableBoxProjection(enable bool) { log.Println("Calling ReflectionProbe.SetEnableBoxProjection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_box_projection", goArguments, "") - + godotCallVoidBool(o, "set_enable_box_projection", enable) log.Println(" Function successfully completed.") } @@ -77936,14 +50695,7 @@ func (o *ReflectionProbe) SetEnableBoxProjection(enable bool) { func (o *ReflectionProbe) SetEnableShadows(enable bool) { log.Println("Calling ReflectionProbe.SetEnableShadows()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_shadows", goArguments, "") - + godotCallVoidBool(o, "set_enable_shadows", enable) log.Println(" Function successfully completed.") } @@ -77954,14 +50706,7 @@ func (o *ReflectionProbe) SetEnableShadows(enable bool) { func (o *ReflectionProbe) SetExtents(extents *Vector3) { log.Println("Calling ReflectionProbe.SetExtents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(extents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_extents", goArguments, "") - + godotCallVoidVector3(o, "set_extents", extents) log.Println(" Function successfully completed.") } @@ -77972,14 +50717,7 @@ func (o *ReflectionProbe) SetExtents(extents *Vector3) { func (o *ReflectionProbe) SetIntensity(intensity float64) { log.Println("Calling ReflectionProbe.SetIntensity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(intensity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_intensity", goArguments, "") - + godotCallVoidFloat(o, "set_intensity", intensity) log.Println(" Function successfully completed.") } @@ -77990,14 +50728,7 @@ func (o *ReflectionProbe) SetIntensity(intensity float64) { func (o *ReflectionProbe) SetInteriorAmbient(ambient *Color) { log.Println("Calling ReflectionProbe.SetInteriorAmbient()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ambient) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interior_ambient", goArguments, "") - + godotCallVoidColor(o, "set_interior_ambient", ambient) log.Println(" Function successfully completed.") } @@ -78008,14 +50739,7 @@ func (o *ReflectionProbe) SetInteriorAmbient(ambient *Color) { func (o *ReflectionProbe) SetInteriorAmbientEnergy(ambientEnergy float64) { log.Println("Calling ReflectionProbe.SetInteriorAmbientEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ambientEnergy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interior_ambient_energy", goArguments, "") - + godotCallVoidFloat(o, "set_interior_ambient_energy", ambientEnergy) log.Println(" Function successfully completed.") } @@ -78026,14 +50750,7 @@ func (o *ReflectionProbe) SetInteriorAmbientEnergy(ambientEnergy float64) { func (o *ReflectionProbe) SetInteriorAmbientProbeContribution(ambientProbeContribution float64) { log.Println("Calling ReflectionProbe.SetInteriorAmbientProbeContribution()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ambientProbeContribution) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_interior_ambient_probe_contribution", goArguments, "") - + godotCallVoidFloat(o, "set_interior_ambient_probe_contribution", ambientProbeContribution) log.Println(" Function successfully completed.") } @@ -78044,14 +50761,7 @@ func (o *ReflectionProbe) SetInteriorAmbientProbeContribution(ambientProbeContri func (o *ReflectionProbe) SetMaxDistance(maxDistance float64) { log.Println("Calling ReflectionProbe.SetMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(maxDistance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_distance", goArguments, "") - + godotCallVoidFloat(o, "set_max_distance", maxDistance) log.Println(" Function successfully completed.") } @@ -78062,14 +50772,7 @@ func (o *ReflectionProbe) SetMaxDistance(maxDistance float64) { func (o *ReflectionProbe) SetOriginOffset(originOffset *Vector3) { log.Println("Calling ReflectionProbe.SetOriginOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(originOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_origin_offset", goArguments, "") - + godotCallVoidVector3(o, "set_origin_offset", originOffset) log.Println(" Function successfully completed.") } @@ -78080,14 +50783,7 @@ func (o *ReflectionProbe) SetOriginOffset(originOffset *Vector3) { func (o *ReflectionProbe) SetUpdateMode(mode int64) { log.Println("Calling ReflectionProbe.SetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_mode", goArguments, "") - + godotCallVoidInt(o, "set_update_mode", mode) log.Println(" Function successfully completed.") } @@ -78116,13 +50812,7 @@ func (o *RegEx) baseClass() string { func (o *RegEx) Clear() { log.Println("Calling RegEx.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -78133,17 +50823,9 @@ func (o *RegEx) Clear() { func (o *RegEx) Compile(pattern string) int64 { log.Println("Calling RegEx.Compile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pattern) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "compile", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "compile", pattern) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78154,16 +50836,9 @@ func (o *RegEx) Compile(pattern string) int64 { func (o *RegEx) GetGroupCount() int64 { log.Println("Calling RegEx.GetGroupCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_group_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_group_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78174,16 +50849,9 @@ func (o *RegEx) GetGroupCount() int64 { func (o *RegEx) GetNames() *Array { log.Println("Calling RegEx.GetNames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_names", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_names") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78194,16 +50862,9 @@ func (o *RegEx) GetNames() *Array { func (o *RegEx) GetPattern() string { log.Println("Calling RegEx.GetPattern()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pattern", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_pattern") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78214,16 +50875,9 @@ func (o *RegEx) GetPattern() string { func (o *RegEx) IsValid() bool { log.Println("Calling RegEx.IsValid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_valid", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_valid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78234,20 +50888,12 @@ func (o *RegEx) IsValid() bool { func (o *RegEx) Search(subject string, offset int64, end int64) *RegExMatch { log.Println("Calling RegEx.Search()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(subject) - goArguments[1] = reflect.ValueOf(offset) - goArguments[2] = reflect.ValueOf(end) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "search", goArguments, "*RegExMatch") - - returnValue := goRet.Interface().(*RegExMatch) - + returnValue := godotCallObjectStringIntInt(o, "search", subject, offset, end) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret RegExMatch + ret.owner = returnValue.owner + return &ret } @@ -78257,19 +50903,9 @@ func (o *RegEx) Search(subject string, offset int64, end int64) *RegExMatch { func (o *RegEx) SearchAll(subject string, offset int64, end int64) *Array { log.Println("Calling RegEx.SearchAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(subject) - goArguments[1] = reflect.ValueOf(offset) - goArguments[2] = reflect.ValueOf(end) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "search_all", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayStringIntInt(o, "search_all", subject, offset, end) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78280,21 +50916,9 @@ func (o *RegEx) SearchAll(subject string, offset int64, end int64) *Array { func (o *RegEx) Sub(subject string, replacement string, all bool, offset int64, end int64) string { log.Println("Calling RegEx.Sub()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(subject) - goArguments[1] = reflect.ValueOf(replacement) - goArguments[2] = reflect.ValueOf(all) - goArguments[3] = reflect.ValueOf(offset) - goArguments[4] = reflect.ValueOf(end) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "sub", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringStringStringBoolIntInt(o, "sub", subject, replacement, all, offset, end) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78323,17 +50947,9 @@ func (o *RegExMatch) baseClass() string { func (o *RegExMatch) GetEnd(name *Variant) int64 { log.Println("Calling RegExMatch.GetEnd()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_end", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVariant(o, "get_end", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78344,16 +50960,9 @@ func (o *RegExMatch) GetEnd(name *Variant) int64 { func (o *RegExMatch) GetGroupCount() int64 { log.Println("Calling RegExMatch.GetGroupCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_group_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_group_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78364,16 +50973,9 @@ func (o *RegExMatch) GetGroupCount() int64 { func (o *RegExMatch) GetNames() *Dictionary { log.Println("Calling RegExMatch.GetNames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_names", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "get_names") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78384,17 +50986,9 @@ func (o *RegExMatch) GetNames() *Dictionary { func (o *RegExMatch) GetStart(name *Variant) int64 { log.Println("Calling RegExMatch.GetStart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_start", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVariant(o, "get_start", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78405,17 +50999,9 @@ func (o *RegExMatch) GetStart(name *Variant) int64 { func (o *RegExMatch) GetString(name *Variant) string { log.Println("Calling RegExMatch.GetString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringVariant(o, "get_string", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78426,16 +51012,9 @@ func (o *RegExMatch) GetString(name *Variant) string { func (o *RegExMatch) GetStrings() *Array { log.Println("Calling RegExMatch.GetStrings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_strings", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_strings") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78446,16 +51025,9 @@ func (o *RegExMatch) GetStrings() *Array { func (o *RegExMatch) GetSubject() string { log.Println("Calling RegExMatch.GetSubject()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subject", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_subject") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78484,16 +51056,9 @@ func (o *RemoteTransform) baseClass() string { func (o *RemoteTransform) GetRemoteNode() *NodePath { log.Println("Calling RemoteTransform.GetRemoteNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_remote_node", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_remote_node") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78504,16 +51069,9 @@ func (o *RemoteTransform) GetRemoteNode() *NodePath { func (o *RemoteTransform) GetUpdatePosition() bool { log.Println("Calling RemoteTransform.GetUpdatePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_position", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78524,16 +51082,9 @@ func (o *RemoteTransform) GetUpdatePosition() bool { func (o *RemoteTransform) GetUpdateRotation() bool { log.Println("Calling RemoteTransform.GetUpdateRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_rotation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78544,16 +51095,9 @@ func (o *RemoteTransform) GetUpdateRotation() bool { func (o *RemoteTransform) GetUpdateScale() bool { log.Println("Calling RemoteTransform.GetUpdateScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_scale", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78564,16 +51108,9 @@ func (o *RemoteTransform) GetUpdateScale() bool { func (o *RemoteTransform) GetUseGlobalCoordinates() bool { log.Println("Calling RemoteTransform.GetUseGlobalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_global_coordinates", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_global_coordinates") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78584,14 +51121,7 @@ func (o *RemoteTransform) GetUseGlobalCoordinates() bool { func (o *RemoteTransform) SetRemoteNode(path *NodePath) { log.Println("Calling RemoteTransform.SetRemoteNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_remote_node", goArguments, "") - + godotCallVoidNodePath(o, "set_remote_node", path) log.Println(" Function successfully completed.") } @@ -78602,14 +51132,7 @@ func (o *RemoteTransform) SetRemoteNode(path *NodePath) { func (o *RemoteTransform) SetUpdatePosition(updateRemotePosition bool) { log.Println("Calling RemoteTransform.SetUpdatePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemotePosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_position", goArguments, "") - + godotCallVoidBool(o, "set_update_position", updateRemotePosition) log.Println(" Function successfully completed.") } @@ -78620,14 +51143,7 @@ func (o *RemoteTransform) SetUpdatePosition(updateRemotePosition bool) { func (o *RemoteTransform) SetUpdateRotation(updateRemoteRotation bool) { log.Println("Calling RemoteTransform.SetUpdateRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemoteRotation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_rotation", goArguments, "") - + godotCallVoidBool(o, "set_update_rotation", updateRemoteRotation) log.Println(" Function successfully completed.") } @@ -78638,14 +51154,7 @@ func (o *RemoteTransform) SetUpdateRotation(updateRemoteRotation bool) { func (o *RemoteTransform) SetUpdateScale(updateRemoteScale bool) { log.Println("Calling RemoteTransform.SetUpdateScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemoteScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_scale", goArguments, "") - + godotCallVoidBool(o, "set_update_scale", updateRemoteScale) log.Println(" Function successfully completed.") } @@ -78656,14 +51165,7 @@ func (o *RemoteTransform) SetUpdateScale(updateRemoteScale bool) { func (o *RemoteTransform) SetUseGlobalCoordinates(useGlobalCoordinates bool) { log.Println("Calling RemoteTransform.SetUseGlobalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(useGlobalCoordinates) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_global_coordinates", goArguments, "") - + godotCallVoidBool(o, "set_use_global_coordinates", useGlobalCoordinates) log.Println(" Function successfully completed.") } @@ -78692,16 +51194,9 @@ func (o *RemoteTransform2D) baseClass() string { func (o *RemoteTransform2D) GetRemoteNode() *NodePath { log.Println("Calling RemoteTransform2D.GetRemoteNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_remote_node", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_remote_node") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78712,16 +51207,9 @@ func (o *RemoteTransform2D) GetRemoteNode() *NodePath { func (o *RemoteTransform2D) GetUpdatePosition() bool { log.Println("Calling RemoteTransform2D.GetUpdatePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_position", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78732,16 +51220,9 @@ func (o *RemoteTransform2D) GetUpdatePosition() bool { func (o *RemoteTransform2D) GetUpdateRotation() bool { log.Println("Calling RemoteTransform2D.GetUpdateRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_rotation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78752,16 +51233,9 @@ func (o *RemoteTransform2D) GetUpdateRotation() bool { func (o *RemoteTransform2D) GetUpdateScale() bool { log.Println("Calling RemoteTransform2D.GetUpdateScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_scale", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_update_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78772,16 +51246,9 @@ func (o *RemoteTransform2D) GetUpdateScale() bool { func (o *RemoteTransform2D) GetUseGlobalCoordinates() bool { log.Println("Calling RemoteTransform2D.GetUseGlobalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_global_coordinates", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_use_global_coordinates") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78792,14 +51259,7 @@ func (o *RemoteTransform2D) GetUseGlobalCoordinates() bool { func (o *RemoteTransform2D) SetRemoteNode(path *NodePath) { log.Println("Calling RemoteTransform2D.SetRemoteNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_remote_node", goArguments, "") - + godotCallVoidNodePath(o, "set_remote_node", path) log.Println(" Function successfully completed.") } @@ -78810,14 +51270,7 @@ func (o *RemoteTransform2D) SetRemoteNode(path *NodePath) { func (o *RemoteTransform2D) SetUpdatePosition(updateRemotePosition bool) { log.Println("Calling RemoteTransform2D.SetUpdatePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemotePosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_position", goArguments, "") - + godotCallVoidBool(o, "set_update_position", updateRemotePosition) log.Println(" Function successfully completed.") } @@ -78828,14 +51281,7 @@ func (o *RemoteTransform2D) SetUpdatePosition(updateRemotePosition bool) { func (o *RemoteTransform2D) SetUpdateRotation(updateRemoteRotation bool) { log.Println("Calling RemoteTransform2D.SetUpdateRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemoteRotation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_rotation", goArguments, "") - + godotCallVoidBool(o, "set_update_rotation", updateRemoteRotation) log.Println(" Function successfully completed.") } @@ -78846,14 +51292,7 @@ func (o *RemoteTransform2D) SetUpdateRotation(updateRemoteRotation bool) { func (o *RemoteTransform2D) SetUpdateScale(updateRemoteScale bool) { log.Println("Calling RemoteTransform2D.SetUpdateScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(updateRemoteScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_scale", goArguments, "") - + godotCallVoidBool(o, "set_update_scale", updateRemoteScale) log.Println(" Function successfully completed.") } @@ -78864,14 +51303,7 @@ func (o *RemoteTransform2D) SetUpdateScale(updateRemoteScale bool) { func (o *RemoteTransform2D) SetUseGlobalCoordinates(useGlobalCoordinates bool) { log.Println("Calling RemoteTransform2D.SetUseGlobalCoordinates()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(useGlobalCoordinates) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_global_coordinates", goArguments, "") - + godotCallVoidBool(o, "set_use_global_coordinates", useGlobalCoordinates) log.Println(" Function successfully completed.") } @@ -78900,13 +51332,7 @@ func (o *Resource) baseClass() string { func (o *Resource) X_SetupLocalToScene() { log.Println("Calling Resource.X_SetupLocalToScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_setup_local_to_scene", goArguments, "") - + godotCallVoid(o, "_setup_local_to_scene") log.Println(" Function successfully completed.") } @@ -78917,18 +51343,12 @@ func (o *Resource) X_SetupLocalToScene() { func (o *Resource) Duplicate(subresources bool) *Resource { log.Println("Calling Resource.Duplicate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(subresources) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "duplicate", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObjectBool(o, "duplicate", subresources) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -78938,17 +51358,12 @@ func (o *Resource) Duplicate(subresources bool) *Resource { func (o *Resource) GetLocalScene() *Node { log.Println("Calling Resource.GetLocalScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_local_scene", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_local_scene") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -78958,16 +51373,9 @@ func (o *Resource) GetLocalScene() *Node { func (o *Resource) GetName() string { log.Println("Calling Resource.GetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78978,16 +51386,9 @@ func (o *Resource) GetName() string { func (o *Resource) GetPath() string { log.Println("Calling Resource.GetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -78998,16 +51399,9 @@ func (o *Resource) GetPath() string { func (o *Resource) GetRid() *RID { log.Println("Calling Resource.GetRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79018,16 +51412,9 @@ func (o *Resource) GetRid() *RID { func (o *Resource) IsLocalToScene() bool { log.Println("Calling Resource.IsLocalToScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_local_to_scene", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_local_to_scene") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79038,14 +51425,7 @@ func (o *Resource) IsLocalToScene() bool { func (o *Resource) SetLocalToScene(enable bool) { log.Println("Calling Resource.SetLocalToScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_local_to_scene", goArguments, "") - + godotCallVoidBool(o, "set_local_to_scene", enable) log.Println(" Function successfully completed.") } @@ -79056,14 +51436,7 @@ func (o *Resource) SetLocalToScene(enable bool) { func (o *Resource) SetName(name string) { log.Println("Calling Resource.SetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_name", goArguments, "") - + godotCallVoidString(o, "set_name", name) log.Println(" Function successfully completed.") } @@ -79074,14 +51447,7 @@ func (o *Resource) SetName(name string) { func (o *Resource) SetPath(path string) { log.Println("Calling Resource.SetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_path", goArguments, "") - + godotCallVoidString(o, "set_path", path) log.Println(" Function successfully completed.") } @@ -79092,13 +51458,7 @@ func (o *Resource) SetPath(path string) { func (o *Resource) SetupLocalToScene() { log.Println("Calling Resource.SetupLocalToScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "setup_local_to_scene", goArguments, "") - + godotCallVoid(o, "setup_local_to_scene") log.Println(" Function successfully completed.") } @@ -79109,14 +51469,7 @@ func (o *Resource) SetupLocalToScene() { func (o *Resource) TakeOverPath(path string) { log.Println("Calling Resource.TakeOverPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "take_over_path", goArguments, "") - + godotCallVoidString(o, "take_over_path", path) log.Println(" Function successfully completed.") } @@ -79217,17 +51570,12 @@ func (o *ResourceInteractiveLoader) baseClass() string { func (o *ResourceInteractiveLoader) GetResource() *Resource { log.Println("Calling ResourceInteractiveLoader.GetResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObject(o, "get_resource") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -79237,16 +51585,9 @@ func (o *ResourceInteractiveLoader) GetResource() *Resource { func (o *ResourceInteractiveLoader) GetStage() int64 { log.Println("Calling ResourceInteractiveLoader.GetStage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stage", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_stage") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79257,16 +51598,9 @@ func (o *ResourceInteractiveLoader) GetStage() int64 { func (o *ResourceInteractiveLoader) GetStageCount() int64 { log.Println("Calling ResourceInteractiveLoader.GetStageCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stage_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_stage_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79277,16 +51611,9 @@ func (o *ResourceInteractiveLoader) GetStageCount() int64 { func (o *ResourceInteractiveLoader) Poll() int64 { log.Println("Calling ResourceInteractiveLoader.Poll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "poll", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "poll") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79297,16 +51624,9 @@ func (o *ResourceInteractiveLoader) Poll() int64 { func (o *ResourceInteractiveLoader) Wait() int64 { log.Println("Calling ResourceInteractiveLoader.Wait()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "wait", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "wait") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79335,16 +51655,9 @@ func (o *ResourcePreloader) baseClass() string { func (o *ResourcePreloader) X_GetResources() *Array { log.Println("Calling ResourcePreloader.X_GetResources()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_resources", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_resources") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79355,14 +51668,7 @@ func (o *ResourcePreloader) X_GetResources() *Array { func (o *ResourcePreloader) X_SetResources(arg0 *Array) { log.Println("Calling ResourcePreloader.X_SetResources()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_resources", goArguments, "") - + godotCallVoidArray(o, "_set_resources", arg0) log.Println(" Function successfully completed.") } @@ -79373,15 +51679,7 @@ func (o *ResourcePreloader) X_SetResources(arg0 *Array) { func (o *ResourcePreloader) AddResource(name string, resource *Resource) { log.Println("Calling ResourcePreloader.AddResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(resource) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_resource", goArguments, "") - + godotCallVoidStringObject(o, "add_resource", name, &resource.Object) log.Println(" Function successfully completed.") } @@ -79392,18 +51690,12 @@ func (o *ResourcePreloader) AddResource(name string, resource *Resource) { func (o *ResourcePreloader) GetResource(name string) *Resource { log.Println("Calling ResourcePreloader.GetResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObjectString(o, "get_resource", name) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -79413,16 +51705,9 @@ func (o *ResourcePreloader) GetResource(name string) *Resource { func (o *ResourcePreloader) GetResourceList() *PoolStringArray { log.Println("Calling ResourcePreloader.GetResourceList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_resource_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79433,17 +51718,9 @@ func (o *ResourcePreloader) GetResourceList() *PoolStringArray { func (o *ResourcePreloader) HasResource(name string) bool { log.Println("Calling ResourcePreloader.HasResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_resource", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_resource", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79454,14 +51731,7 @@ func (o *ResourcePreloader) HasResource(name string) bool { func (o *ResourcePreloader) RemoveResource(name string) { log.Println("Calling ResourcePreloader.RemoveResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_resource", goArguments, "") - + godotCallVoidString(o, "remove_resource", name) log.Println(" Function successfully completed.") } @@ -79472,15 +51742,7 @@ func (o *ResourcePreloader) RemoveResource(name string) { func (o *ResourcePreloader) RenameResource(name string, newname string) { log.Println("Calling ResourcePreloader.RenameResource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(newname) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_resource", goArguments, "") - + godotCallVoidStringString(o, "rename_resource", name, newname) log.Println(" Function successfully completed.") } @@ -79509,14 +51771,7 @@ func (o *RichTextLabel) baseClass() string { func (o *RichTextLabel) X_GuiInput(arg0 *InputEvent) { log.Println("Calling RichTextLabel.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -79527,14 +51782,7 @@ func (o *RichTextLabel) X_GuiInput(arg0 *InputEvent) { func (o *RichTextLabel) X_ScrollChanged(arg0 float64) { log.Println("Calling RichTextLabel.X_ScrollChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_changed", goArguments, "") - + godotCallVoidFloat(o, "_scroll_changed", arg0) log.Println(" Function successfully completed.") } @@ -79545,14 +51793,7 @@ func (o *RichTextLabel) X_ScrollChanged(arg0 float64) { func (o *RichTextLabel) AddImage(image *Texture) { log.Println("Calling RichTextLabel.AddImage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(image) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_image", goArguments, "") - + godotCallVoidObject(o, "add_image", &image.Object) log.Println(" Function successfully completed.") } @@ -79563,14 +51804,7 @@ func (o *RichTextLabel) AddImage(image *Texture) { func (o *RichTextLabel) AddText(text string) { log.Println("Calling RichTextLabel.AddText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_text", goArguments, "") - + godotCallVoidString(o, "add_text", text) log.Println(" Function successfully completed.") } @@ -79581,17 +51815,9 @@ func (o *RichTextLabel) AddText(text string) { func (o *RichTextLabel) AppendBbcode(bbcode string) int64 { log.Println("Calling RichTextLabel.AppendBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bbcode) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "append_bbcode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "append_bbcode", bbcode) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79602,13 +51828,7 @@ func (o *RichTextLabel) AppendBbcode(bbcode string) int64 { func (o *RichTextLabel) Clear() { log.Println("Calling RichTextLabel.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -79619,16 +51839,9 @@ func (o *RichTextLabel) Clear() { func (o *RichTextLabel) GetBbcode() string { log.Println("Calling RichTextLabel.GetBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bbcode", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bbcode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79639,16 +51852,9 @@ func (o *RichTextLabel) GetBbcode() string { func (o *RichTextLabel) GetLineCount() int64 { log.Println("Calling RichTextLabel.GetLineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_line_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79659,16 +51865,9 @@ func (o *RichTextLabel) GetLineCount() int64 { func (o *RichTextLabel) GetPercentVisible() float64 { log.Println("Calling RichTextLabel.GetPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_percent_visible", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_percent_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79679,16 +51878,9 @@ func (o *RichTextLabel) GetPercentVisible() float64 { func (o *RichTextLabel) GetTabSize() int64 { log.Println("Calling RichTextLabel.GetTabSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79699,16 +51891,9 @@ func (o *RichTextLabel) GetTabSize() int64 { func (o *RichTextLabel) GetText() string { log.Println("Calling RichTextLabel.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79719,16 +51904,9 @@ func (o *RichTextLabel) GetText() string { func (o *RichTextLabel) GetTotalCharacterCount() int64 { log.Println("Calling RichTextLabel.GetTotalCharacterCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_total_character_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_total_character_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79739,17 +51917,12 @@ func (o *RichTextLabel) GetTotalCharacterCount() int64 { func (o *RichTextLabel) GetVScroll() *VScrollBar { log.Println("Calling RichTextLabel.GetVScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_scroll", goArguments, "*VScrollBar") - - returnValue := goRet.Interface().(*VScrollBar) - + returnValue := godotCallObject(o, "get_v_scroll") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VScrollBar + ret.owner = returnValue.owner + return &ret } @@ -79759,16 +51932,9 @@ func (o *RichTextLabel) GetVScroll() *VScrollBar { func (o *RichTextLabel) GetVisibleCharacters() int64 { log.Println("Calling RichTextLabel.GetVisibleCharacters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_characters", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_visible_characters") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79779,16 +51945,9 @@ func (o *RichTextLabel) GetVisibleCharacters() int64 { func (o *RichTextLabel) GetVisibleLineCount() int64 { log.Println("Calling RichTextLabel.GetVisibleLineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_line_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_visible_line_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79799,16 +51958,9 @@ func (o *RichTextLabel) GetVisibleLineCount() int64 { func (o *RichTextLabel) IsMetaUnderlined() bool { log.Println("Calling RichTextLabel.IsMetaUnderlined()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_meta_underlined", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_meta_underlined") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79819,16 +51971,9 @@ func (o *RichTextLabel) IsMetaUnderlined() bool { func (o *RichTextLabel) IsOverridingSelectedFontColor() bool { log.Println("Calling RichTextLabel.IsOverridingSelectedFontColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_overriding_selected_font_color", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_overriding_selected_font_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79839,16 +51984,9 @@ func (o *RichTextLabel) IsOverridingSelectedFontColor() bool { func (o *RichTextLabel) IsScrollActive() bool { log.Println("Calling RichTextLabel.IsScrollActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_scroll_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_scroll_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79859,16 +51997,9 @@ func (o *RichTextLabel) IsScrollActive() bool { func (o *RichTextLabel) IsScrollFollowing() bool { log.Println("Calling RichTextLabel.IsScrollFollowing()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_scroll_following", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_scroll_following") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79879,16 +52010,9 @@ func (o *RichTextLabel) IsScrollFollowing() bool { func (o *RichTextLabel) IsSelectionEnabled() bool { log.Println("Calling RichTextLabel.IsSelectionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selection_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_selection_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79899,16 +52023,9 @@ func (o *RichTextLabel) IsSelectionEnabled() bool { func (o *RichTextLabel) IsUsingBbcode() bool { log.Println("Calling RichTextLabel.IsUsingBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_bbcode", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_bbcode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79919,13 +52036,7 @@ func (o *RichTextLabel) IsUsingBbcode() bool { func (o *RichTextLabel) Newline() { log.Println("Calling RichTextLabel.Newline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "newline", goArguments, "") - + godotCallVoid(o, "newline") log.Println(" Function successfully completed.") } @@ -79936,17 +52047,9 @@ func (o *RichTextLabel) Newline() { func (o *RichTextLabel) ParseBbcode(bbcode string) int64 { log.Println("Calling RichTextLabel.ParseBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bbcode) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "parse_bbcode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "parse_bbcode", bbcode) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -79957,13 +52060,7 @@ func (o *RichTextLabel) ParseBbcode(bbcode string) int64 { func (o *RichTextLabel) Pop() { log.Println("Calling RichTextLabel.Pop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "pop", goArguments, "") - + godotCallVoid(o, "pop") log.Println(" Function successfully completed.") } @@ -79974,14 +52071,7 @@ func (o *RichTextLabel) Pop() { func (o *RichTextLabel) PushAlign(align int64) { log.Println("Calling RichTextLabel.PushAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_align", goArguments, "") - + godotCallVoidInt(o, "push_align", align) log.Println(" Function successfully completed.") } @@ -79992,13 +52082,7 @@ func (o *RichTextLabel) PushAlign(align int64) { func (o *RichTextLabel) PushCell() { log.Println("Calling RichTextLabel.PushCell()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_cell", goArguments, "") - + godotCallVoid(o, "push_cell") log.Println(" Function successfully completed.") } @@ -80009,14 +52093,7 @@ func (o *RichTextLabel) PushCell() { func (o *RichTextLabel) PushColor(color *Color) { log.Println("Calling RichTextLabel.PushColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_color", goArguments, "") - + godotCallVoidColor(o, "push_color", color) log.Println(" Function successfully completed.") } @@ -80027,14 +52104,7 @@ func (o *RichTextLabel) PushColor(color *Color) { func (o *RichTextLabel) PushFont(font *Font) { log.Println("Calling RichTextLabel.PushFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(font) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_font", goArguments, "") - + godotCallVoidObject(o, "push_font", &font.Object) log.Println(" Function successfully completed.") } @@ -80045,14 +52115,7 @@ func (o *RichTextLabel) PushFont(font *Font) { func (o *RichTextLabel) PushIndent(level int64) { log.Println("Calling RichTextLabel.PushIndent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(level) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_indent", goArguments, "") - + godotCallVoidInt(o, "push_indent", level) log.Println(" Function successfully completed.") } @@ -80063,14 +52126,7 @@ func (o *RichTextLabel) PushIndent(level int64) { func (o *RichTextLabel) PushList(aType int64) { log.Println("Calling RichTextLabel.PushList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_list", goArguments, "") - + godotCallVoidInt(o, "push_list", aType) log.Println(" Function successfully completed.") } @@ -80081,14 +52137,7 @@ func (o *RichTextLabel) PushList(aType int64) { func (o *RichTextLabel) PushMeta(data *Variant) { log.Println("Calling RichTextLabel.PushMeta()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_meta", goArguments, "") - + godotCallVoidVariant(o, "push_meta", data) log.Println(" Function successfully completed.") } @@ -80099,14 +52148,7 @@ func (o *RichTextLabel) PushMeta(data *Variant) { func (o *RichTextLabel) PushTable(columns int64) { log.Println("Calling RichTextLabel.PushTable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(columns) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_table", goArguments, "") - + godotCallVoidInt(o, "push_table", columns) log.Println(" Function successfully completed.") } @@ -80117,13 +52159,7 @@ func (o *RichTextLabel) PushTable(columns int64) { func (o *RichTextLabel) PushUnderline() { log.Println("Calling RichTextLabel.PushUnderline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "push_underline", goArguments, "") - + godotCallVoid(o, "push_underline") log.Println(" Function successfully completed.") } @@ -80134,17 +52170,9 @@ func (o *RichTextLabel) PushUnderline() { func (o *RichTextLabel) RemoveLine(line int64) bool { log.Println("Calling RichTextLabel.RemoveLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "remove_line", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "remove_line", line) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80155,14 +52183,7 @@ func (o *RichTextLabel) RemoveLine(line int64) bool { func (o *RichTextLabel) ScrollToLine(line int64) { log.Println("Calling RichTextLabel.ScrollToLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "scroll_to_line", goArguments, "") - + godotCallVoidInt(o, "scroll_to_line", line) log.Println(" Function successfully completed.") } @@ -80173,14 +52194,7 @@ func (o *RichTextLabel) ScrollToLine(line int64) { func (o *RichTextLabel) SetBbcode(text string) { log.Println("Calling RichTextLabel.SetBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bbcode", goArguments, "") - + godotCallVoidString(o, "set_bbcode", text) log.Println(" Function successfully completed.") } @@ -80191,14 +52205,7 @@ func (o *RichTextLabel) SetBbcode(text string) { func (o *RichTextLabel) SetMetaUnderline(enable bool) { log.Println("Calling RichTextLabel.SetMetaUnderline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_meta_underline", goArguments, "") - + godotCallVoidBool(o, "set_meta_underline", enable) log.Println(" Function successfully completed.") } @@ -80209,14 +52216,7 @@ func (o *RichTextLabel) SetMetaUnderline(enable bool) { func (o *RichTextLabel) SetOverrideSelectedFontColor(override bool) { log.Println("Calling RichTextLabel.SetOverrideSelectedFontColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(override) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_override_selected_font_color", goArguments, "") - + godotCallVoidBool(o, "set_override_selected_font_color", override) log.Println(" Function successfully completed.") } @@ -80227,14 +52227,7 @@ func (o *RichTextLabel) SetOverrideSelectedFontColor(override bool) { func (o *RichTextLabel) SetPercentVisible(percentVisible float64) { log.Println("Calling RichTextLabel.SetPercentVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(percentVisible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_percent_visible", goArguments, "") - + godotCallVoidFloat(o, "set_percent_visible", percentVisible) log.Println(" Function successfully completed.") } @@ -80245,14 +52238,7 @@ func (o *RichTextLabel) SetPercentVisible(percentVisible float64) { func (o *RichTextLabel) SetScrollActive(active bool) { log.Println("Calling RichTextLabel.SetScrollActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_active", goArguments, "") - + godotCallVoidBool(o, "set_scroll_active", active) log.Println(" Function successfully completed.") } @@ -80263,14 +52249,7 @@ func (o *RichTextLabel) SetScrollActive(active bool) { func (o *RichTextLabel) SetScrollFollow(follow bool) { log.Println("Calling RichTextLabel.SetScrollFollow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(follow) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scroll_follow", goArguments, "") - + godotCallVoidBool(o, "set_scroll_follow", follow) log.Println(" Function successfully completed.") } @@ -80281,14 +52260,7 @@ func (o *RichTextLabel) SetScrollFollow(follow bool) { func (o *RichTextLabel) SetSelectionEnabled(enabled bool) { log.Println("Calling RichTextLabel.SetSelectionEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_selection_enabled", goArguments, "") - + godotCallVoidBool(o, "set_selection_enabled", enabled) log.Println(" Function successfully completed.") } @@ -80299,14 +52271,7 @@ func (o *RichTextLabel) SetSelectionEnabled(enabled bool) { func (o *RichTextLabel) SetTabSize(spaces int64) { log.Println("Calling RichTextLabel.SetTabSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(spaces) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_size", goArguments, "") - + godotCallVoidInt(o, "set_tab_size", spaces) log.Println(" Function successfully completed.") } @@ -80317,16 +52282,7 @@ func (o *RichTextLabel) SetTabSize(spaces int64) { func (o *RichTextLabel) SetTableColumnExpand(column int64, expand bool, ratio int64) { log.Println("Calling RichTextLabel.SetTableColumnExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(expand) - goArguments[2] = reflect.ValueOf(ratio) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_table_column_expand", goArguments, "") - + godotCallVoidIntBoolInt(o, "set_table_column_expand", column, expand, ratio) log.Println(" Function successfully completed.") } @@ -80337,14 +52293,7 @@ func (o *RichTextLabel) SetTableColumnExpand(column int64, expand bool, ratio in func (o *RichTextLabel) SetText(text string) { log.Println("Calling RichTextLabel.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -80355,14 +52304,7 @@ func (o *RichTextLabel) SetText(text string) { func (o *RichTextLabel) SetUseBbcode(enable bool) { log.Println("Calling RichTextLabel.SetUseBbcode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_bbcode", goArguments, "") - + godotCallVoidBool(o, "set_use_bbcode", enable) log.Println(" Function successfully completed.") } @@ -80373,14 +52315,7 @@ func (o *RichTextLabel) SetUseBbcode(enable bool) { func (o *RichTextLabel) SetVisibleCharacters(amount int64) { log.Println("Calling RichTextLabel.SetVisibleCharacters()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visible_characters", goArguments, "") - + godotCallVoidInt(o, "set_visible_characters", amount) log.Println(" Function successfully completed.") } @@ -80393,7 +52328,7 @@ type RichTextLabelImplementer interface { } /* - This is the node that implements full 3D physics. This means that you do not control a RigidBody directly. Instead you can apply forces to it (gravity, impulses, etc.), and the physics simulation will calculate the resulting movement, collision, bouncing, rotating, etc. This node can use custom force integration, for writing complex physics motion behavior per node. This node can shift state between regular Rigid body, Kinematic, Character or Static. Character mode forbids this node from being rotated. As a warning, don't change RigidBody's position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. + This is the node that implements full 3D physics. This means that you do not control a RigidBody directly. Instead you can apply forces to it (gravity, impulses, etc.), and the physics simulation will calculate the resulting movement, collision, bouncing, rotating, etc. A RigidBody has 4 behavior [member mode]s: Rigid, Static, Character, and Kinematic. [b]Note:[/b] Don't change a RigidBody's position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. If you need to directly affect the body's state, use [method _integrate_forces], which allows you to directly access the physics state. If you need to override the default physics behavior, you can write a custom force integration. See [member custom_integrator]. */ type RigidBody struct { PhysicsBody @@ -80409,14 +52344,7 @@ func (o *RigidBody) baseClass() string { func (o *RigidBody) X_BodyEnterTree(arg0 int64) { log.Println("Calling RigidBody.X_BodyEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_body_enter_tree", arg0) log.Println(" Function successfully completed.") } @@ -80427,14 +52355,7 @@ func (o *RigidBody) X_BodyEnterTree(arg0 int64) { func (o *RigidBody) X_BodyExitTree(arg0 int64) { log.Println("Calling RigidBody.X_BodyExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_body_exit_tree", arg0) log.Println(" Function successfully completed.") } @@ -80445,14 +52366,7 @@ func (o *RigidBody) X_BodyExitTree(arg0 int64) { func (o *RigidBody) X_DirectStateChanged(arg0 *Object) { log.Println("Calling RigidBody.X_DirectStateChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_direct_state_changed", goArguments, "") - + godotCallVoidObject(o, "_direct_state_changed", arg0) log.Println(" Function successfully completed.") } @@ -80463,14 +52377,7 @@ func (o *RigidBody) X_DirectStateChanged(arg0 *Object) { func (o *RigidBody) X_IntegrateForces(state *PhysicsDirectBodyState) { log.Println("Calling RigidBody.X_IntegrateForces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(state) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_integrate_forces", goArguments, "") - + godotCallVoidObject(o, "_integrate_forces", &state.Object) log.Println(" Function successfully completed.") } @@ -80481,15 +52388,7 @@ func (o *RigidBody) X_IntegrateForces(state *PhysicsDirectBodyState) { func (o *RigidBody) ApplyImpulse(position *Vector3, impulse *Vector3) { log.Println("Calling RigidBody.ApplyImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(impulse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_impulse", goArguments, "") - + godotCallVoidVector3Vector3(o, "apply_impulse", position, impulse) log.Println(" Function successfully completed.") } @@ -80500,16 +52399,9 @@ func (o *RigidBody) ApplyImpulse(position *Vector3, impulse *Vector3) { func (o *RigidBody) GetAngularDamp() float64 { log.Println("Calling RigidBody.GetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80520,16 +52412,9 @@ func (o *RigidBody) GetAngularDamp() float64 { func (o *RigidBody) GetAngularVelocity() *Vector3 { log.Println("Calling RigidBody.GetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80540,17 +52425,9 @@ func (o *RigidBody) GetAngularVelocity() *Vector3 { func (o *RigidBody) GetAxisLock(axis int64) bool { log.Println("Calling RigidBody.GetAxisLock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_axis_lock", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_axis_lock", axis) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80561,16 +52438,9 @@ func (o *RigidBody) GetAxisLock(axis int64) bool { func (o *RigidBody) GetBounce() float64 { log.Println("Calling RigidBody.GetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounce", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bounce") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80581,16 +52451,9 @@ func (o *RigidBody) GetBounce() float64 { func (o *RigidBody) GetCollidingBodies() *Array { log.Println("Calling RigidBody.GetCollidingBodies()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_colliding_bodies", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_colliding_bodies") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80601,16 +52464,9 @@ func (o *RigidBody) GetCollidingBodies() *Array { func (o *RigidBody) GetFriction() float64 { log.Println("Calling RigidBody.GetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_friction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_friction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80621,16 +52477,9 @@ func (o *RigidBody) GetFriction() float64 { func (o *RigidBody) GetGravityScale() float64 { log.Println("Calling RigidBody.GetGravityScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80641,16 +52490,9 @@ func (o *RigidBody) GetGravityScale() float64 { func (o *RigidBody) GetLinearDamp() float64 { log.Println("Calling RigidBody.GetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80661,16 +52503,9 @@ func (o *RigidBody) GetLinearDamp() float64 { func (o *RigidBody) GetLinearVelocity() *Vector3 { log.Println("Calling RigidBody.GetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80681,16 +52516,9 @@ func (o *RigidBody) GetLinearVelocity() *Vector3 { func (o *RigidBody) GetMass() float64 { log.Println("Calling RigidBody.GetMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mass", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_mass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80701,16 +52529,9 @@ func (o *RigidBody) GetMass() float64 { func (o *RigidBody) GetMaxContactsReported() int64 { log.Println("Calling RigidBody.GetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_contacts_reported", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_contacts_reported") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80721,16 +52542,9 @@ func (o *RigidBody) GetMaxContactsReported() int64 { func (o *RigidBody) GetMode() int64 { log.Println("Calling RigidBody.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80741,16 +52555,9 @@ func (o *RigidBody) GetMode() int64 { func (o *RigidBody) GetWeight() float64 { log.Println("Calling RigidBody.GetWeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_weight", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_weight") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80761,16 +52568,9 @@ func (o *RigidBody) GetWeight() float64 { func (o *RigidBody) IsAbleToSleep() bool { log.Println("Calling RigidBody.IsAbleToSleep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_able_to_sleep", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_able_to_sleep") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80781,16 +52581,9 @@ func (o *RigidBody) IsAbleToSleep() bool { func (o *RigidBody) IsContactMonitorEnabled() bool { log.Println("Calling RigidBody.IsContactMonitorEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_contact_monitor_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_contact_monitor_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80801,16 +52594,9 @@ func (o *RigidBody) IsContactMonitorEnabled() bool { func (o *RigidBody) IsSleeping() bool { log.Println("Calling RigidBody.IsSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_sleeping", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_sleeping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80821,16 +52607,9 @@ func (o *RigidBody) IsSleeping() bool { func (o *RigidBody) IsUsingContinuousCollisionDetection() bool { log.Println("Calling RigidBody.IsUsingContinuousCollisionDetection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_continuous_collision_detection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_continuous_collision_detection") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80841,16 +52620,9 @@ func (o *RigidBody) IsUsingContinuousCollisionDetection() bool { func (o *RigidBody) IsUsingCustomIntegrator() bool { log.Println("Calling RigidBody.IsUsingCustomIntegrator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_custom_integrator", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_custom_integrator") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -80861,14 +52633,7 @@ func (o *RigidBody) IsUsingCustomIntegrator() bool { func (o *RigidBody) SetAngularDamp(angularDamp float64) { log.Println("Calling RigidBody.SetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_damp", goArguments, "") - + godotCallVoidFloat(o, "set_angular_damp", angularDamp) log.Println(" Function successfully completed.") } @@ -80879,14 +52644,7 @@ func (o *RigidBody) SetAngularDamp(angularDamp float64) { func (o *RigidBody) SetAngularVelocity(angularVelocity *Vector3) { log.Println("Calling RigidBody.SetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_angular_velocity", angularVelocity) log.Println(" Function successfully completed.") } @@ -80897,15 +52655,7 @@ func (o *RigidBody) SetAngularVelocity(angularVelocity *Vector3) { func (o *RigidBody) SetAxisLock(axis int64, lock bool) { log.Println("Calling RigidBody.SetAxisLock()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(axis) - goArguments[1] = reflect.ValueOf(lock) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis_lock", goArguments, "") - + godotCallVoidIntBool(o, "set_axis_lock", axis, lock) log.Println(" Function successfully completed.") } @@ -80916,14 +52666,7 @@ func (o *RigidBody) SetAxisLock(axis int64, lock bool) { func (o *RigidBody) SetAxisVelocity(axisVelocity *Vector3) { log.Println("Calling RigidBody.SetAxisVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axisVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_axis_velocity", axisVelocity) log.Println(" Function successfully completed.") } @@ -80934,14 +52677,7 @@ func (o *RigidBody) SetAxisVelocity(axisVelocity *Vector3) { func (o *RigidBody) SetBounce(bounce float64) { log.Println("Calling RigidBody.SetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounce", goArguments, "") - + godotCallVoidFloat(o, "set_bounce", bounce) log.Println(" Function successfully completed.") } @@ -80952,14 +52688,7 @@ func (o *RigidBody) SetBounce(bounce float64) { func (o *RigidBody) SetCanSleep(ableToSleep bool) { log.Println("Calling RigidBody.SetCanSleep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ableToSleep) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_can_sleep", goArguments, "") - + godotCallVoidBool(o, "set_can_sleep", ableToSleep) log.Println(" Function successfully completed.") } @@ -80970,14 +52699,7 @@ func (o *RigidBody) SetCanSleep(ableToSleep bool) { func (o *RigidBody) SetContactMonitor(enabled bool) { log.Println("Calling RigidBody.SetContactMonitor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_contact_monitor", goArguments, "") - + godotCallVoidBool(o, "set_contact_monitor", enabled) log.Println(" Function successfully completed.") } @@ -80988,14 +52710,7 @@ func (o *RigidBody) SetContactMonitor(enabled bool) { func (o *RigidBody) SetFriction(friction float64) { log.Println("Calling RigidBody.SetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(friction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_friction", goArguments, "") - + godotCallVoidFloat(o, "set_friction", friction) log.Println(" Function successfully completed.") } @@ -81006,14 +52721,7 @@ func (o *RigidBody) SetFriction(friction float64) { func (o *RigidBody) SetGravityScale(gravityScale float64) { log.Println("Calling RigidBody.SetGravityScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gravityScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_scale", goArguments, "") - + godotCallVoidFloat(o, "set_gravity_scale", gravityScale) log.Println(" Function successfully completed.") } @@ -81024,14 +52732,7 @@ func (o *RigidBody) SetGravityScale(gravityScale float64) { func (o *RigidBody) SetLinearDamp(linearDamp float64) { log.Println("Calling RigidBody.SetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_damp", goArguments, "") - + godotCallVoidFloat(o, "set_linear_damp", linearDamp) log.Println(" Function successfully completed.") } @@ -81042,14 +52743,7 @@ func (o *RigidBody) SetLinearDamp(linearDamp float64) { func (o *RigidBody) SetLinearVelocity(linearVelocity *Vector3) { log.Println("Calling RigidBody.SetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_linear_velocity", linearVelocity) log.Println(" Function successfully completed.") } @@ -81060,14 +52754,7 @@ func (o *RigidBody) SetLinearVelocity(linearVelocity *Vector3) { func (o *RigidBody) SetMass(mass float64) { log.Println("Calling RigidBody.SetMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mass) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mass", goArguments, "") - + godotCallVoidFloat(o, "set_mass", mass) log.Println(" Function successfully completed.") } @@ -81078,14 +52765,7 @@ func (o *RigidBody) SetMass(mass float64) { func (o *RigidBody) SetMaxContactsReported(amount int64) { log.Println("Calling RigidBody.SetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_contacts_reported", goArguments, "") - + godotCallVoidInt(o, "set_max_contacts_reported", amount) log.Println(" Function successfully completed.") } @@ -81096,14 +52776,7 @@ func (o *RigidBody) SetMaxContactsReported(amount int64) { func (o *RigidBody) SetMode(mode int64) { log.Println("Calling RigidBody.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -81114,14 +52787,7 @@ func (o *RigidBody) SetMode(mode int64) { func (o *RigidBody) SetSleeping(sleeping bool) { log.Println("Calling RigidBody.SetSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sleeping) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sleeping", goArguments, "") - + godotCallVoidBool(o, "set_sleeping", sleeping) log.Println(" Function successfully completed.") } @@ -81132,14 +52798,7 @@ func (o *RigidBody) SetSleeping(sleeping bool) { func (o *RigidBody) SetUseContinuousCollisionDetection(enable bool) { log.Println("Calling RigidBody.SetUseContinuousCollisionDetection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_continuous_collision_detection", goArguments, "") - + godotCallVoidBool(o, "set_use_continuous_collision_detection", enable) log.Println(" Function successfully completed.") } @@ -81150,14 +52809,7 @@ func (o *RigidBody) SetUseContinuousCollisionDetection(enable bool) { func (o *RigidBody) SetUseCustomIntegrator(enable bool) { log.Println("Calling RigidBody.SetUseCustomIntegrator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_custom_integrator", goArguments, "") - + godotCallVoidBool(o, "set_use_custom_integrator", enable) log.Println(" Function successfully completed.") } @@ -81168,14 +52820,7 @@ func (o *RigidBody) SetUseCustomIntegrator(enable bool) { func (o *RigidBody) SetWeight(weight float64) { log.Println("Calling RigidBody.SetWeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(weight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_weight", goArguments, "") - + godotCallVoidFloat(o, "set_weight", weight) log.Println(" Function successfully completed.") } @@ -81188,7 +52833,7 @@ type RigidBodyImplementer interface { } /* - This node implements simulated 2D physics. You do not control a RigidBody2D directly. Instead you apply forces to it (gravity, impulses, etc.) and the physics simulation calculates the resulting movement based on its mass, friction, and other physical properties. A RigidBody2D has 4 behavior modes (see [member mode]): - [b]Rigid[/b]: The body behaves as a physical object. It collides with other bodies and responds to forces applied to it. This is the default mode. - [b]Static[/b]: The body behaves like a [StaticBody2D] and does not move. - [b]Character[/b]: Similar to [code]Rigid[/code] mode, but the body can not rotate. - [b]Kinematic[/b]: The body behaves like a [KinematicBody2D], and must be moved by code. [b]Note:[/b] You should not change a RigidBody2D's [code]position[/code] or [code]linear_velocity[/code] every frame or even very often. If you need to directly affect the body's state, use [method _integrate_forces], which allows you to directly access the physics state. If you need to override the default physics behavior, you can write a custom force integration. See [member custom_integrator]. + This node implements simulated 2D physics. You do not control a RigidBody2D directly. Instead you apply forces to it (gravity, impulses, etc.) and the physics simulation calculates the resulting movement based on its mass, friction, and other physical properties. A RigidBody2D has 4 behavior [member mode]s: Rigid, Static, Character, and Kinematic. [b]Note:[/b] You should not change a RigidBody2D's [code]position[/code] or [code]linear_velocity[/code] every frame or even very often. If you need to directly affect the body's state, use [method _integrate_forces], which allows you to directly access the physics state. If you need to override the default physics behavior, you can write a custom force integration. See [member custom_integrator]. */ type RigidBody2D struct { PhysicsBody2D @@ -81204,14 +52849,7 @@ func (o *RigidBody2D) baseClass() string { func (o *RigidBody2D) X_BodyEnterTree(arg0 int64) { log.Println("Calling RigidBody2D.X_BodyEnterTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_enter_tree", goArguments, "") - + godotCallVoidInt(o, "_body_enter_tree", arg0) log.Println(" Function successfully completed.") } @@ -81222,14 +52860,7 @@ func (o *RigidBody2D) X_BodyEnterTree(arg0 int64) { func (o *RigidBody2D) X_BodyExitTree(arg0 int64) { log.Println("Calling RigidBody2D.X_BodyExitTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_body_exit_tree", goArguments, "") - + godotCallVoidInt(o, "_body_exit_tree", arg0) log.Println(" Function successfully completed.") } @@ -81240,14 +52871,7 @@ func (o *RigidBody2D) X_BodyExitTree(arg0 int64) { func (o *RigidBody2D) X_DirectStateChanged(arg0 *Object) { log.Println("Calling RigidBody2D.X_DirectStateChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_direct_state_changed", goArguments, "") - + godotCallVoidObject(o, "_direct_state_changed", arg0) log.Println(" Function successfully completed.") } @@ -81258,14 +52882,7 @@ func (o *RigidBody2D) X_DirectStateChanged(arg0 *Object) { func (o *RigidBody2D) X_IntegrateForces(state *Physics2DDirectBodyState) { log.Println("Calling RigidBody2D.X_IntegrateForces()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(state) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_integrate_forces", goArguments, "") - + godotCallVoidObject(o, "_integrate_forces", &state.Object) log.Println(" Function successfully completed.") } @@ -81276,15 +52893,7 @@ func (o *RigidBody2D) X_IntegrateForces(state *Physics2DDirectBodyState) { func (o *RigidBody2D) AddForce(offset *Vector2, force *Vector2) { log.Println("Calling RigidBody2D.AddForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(offset) - goArguments[1] = reflect.ValueOf(force) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_force", goArguments, "") - + godotCallVoidVector2Vector2(o, "add_force", offset, force) log.Println(" Function successfully completed.") } @@ -81295,15 +52904,7 @@ func (o *RigidBody2D) AddForce(offset *Vector2, force *Vector2) { func (o *RigidBody2D) ApplyImpulse(offset *Vector2, impulse *Vector2) { log.Println("Calling RigidBody2D.ApplyImpulse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(offset) - goArguments[1] = reflect.ValueOf(impulse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "apply_impulse", goArguments, "") - + godotCallVoidVector2Vector2(o, "apply_impulse", offset, impulse) log.Println(" Function successfully completed.") } @@ -81314,16 +52915,9 @@ func (o *RigidBody2D) ApplyImpulse(offset *Vector2, impulse *Vector2) { func (o *RigidBody2D) GetAngularDamp() float64 { log.Println("Calling RigidBody2D.GetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81334,16 +52928,9 @@ func (o *RigidBody2D) GetAngularDamp() float64 { func (o *RigidBody2D) GetAngularVelocity() float64 { log.Println("Calling RigidBody2D.GetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_angular_velocity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81354,16 +52941,9 @@ func (o *RigidBody2D) GetAngularVelocity() float64 { func (o *RigidBody2D) GetAppliedForce() *Vector2 { log.Println("Calling RigidBody2D.GetAppliedForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_applied_force", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_applied_force") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81374,16 +52954,9 @@ func (o *RigidBody2D) GetAppliedForce() *Vector2 { func (o *RigidBody2D) GetAppliedTorque() float64 { log.Println("Calling RigidBody2D.GetAppliedTorque()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_applied_torque", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_applied_torque") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81394,16 +52967,9 @@ func (o *RigidBody2D) GetAppliedTorque() float64 { func (o *RigidBody2D) GetBounce() float64 { log.Println("Calling RigidBody2D.GetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounce", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bounce") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81414,16 +52980,9 @@ func (o *RigidBody2D) GetBounce() float64 { func (o *RigidBody2D) GetCollidingBodies() *Array { log.Println("Calling RigidBody2D.GetCollidingBodies()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_colliding_bodies", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_colliding_bodies") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81434,16 +52993,9 @@ func (o *RigidBody2D) GetCollidingBodies() *Array { func (o *RigidBody2D) GetContinuousCollisionDetectionMode() int64 { log.Println("Calling RigidBody2D.GetContinuousCollisionDetectionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_continuous_collision_detection_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_continuous_collision_detection_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81454,16 +53006,9 @@ func (o *RigidBody2D) GetContinuousCollisionDetectionMode() int64 { func (o *RigidBody2D) GetFriction() float64 { log.Println("Calling RigidBody2D.GetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_friction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_friction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81474,16 +53019,9 @@ func (o *RigidBody2D) GetFriction() float64 { func (o *RigidBody2D) GetGravityScale() float64 { log.Println("Calling RigidBody2D.GetGravityScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gravity_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_gravity_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81494,16 +53032,9 @@ func (o *RigidBody2D) GetGravityScale() float64 { func (o *RigidBody2D) GetInertia() float64 { log.Println("Calling RigidBody2D.GetInertia()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_inertia", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_inertia") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81514,16 +53045,9 @@ func (o *RigidBody2D) GetInertia() float64 { func (o *RigidBody2D) GetLinearDamp() float64 { log.Println("Calling RigidBody2D.GetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_damp", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_linear_damp") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81534,16 +53058,9 @@ func (o *RigidBody2D) GetLinearDamp() float64 { func (o *RigidBody2D) GetLinearVelocity() *Vector2 { log.Println("Calling RigidBody2D.GetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_linear_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81554,16 +53071,9 @@ func (o *RigidBody2D) GetLinearVelocity() *Vector2 { func (o *RigidBody2D) GetMass() float64 { log.Println("Calling RigidBody2D.GetMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mass", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_mass") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81574,16 +53084,9 @@ func (o *RigidBody2D) GetMass() float64 { func (o *RigidBody2D) GetMaxContactsReported() int64 { log.Println("Calling RigidBody2D.GetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_max_contacts_reported", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_max_contacts_reported") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81594,16 +53097,9 @@ func (o *RigidBody2D) GetMaxContactsReported() int64 { func (o *RigidBody2D) GetMode() int64 { log.Println("Calling RigidBody2D.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81614,16 +53110,9 @@ func (o *RigidBody2D) GetMode() int64 { func (o *RigidBody2D) GetWeight() float64 { log.Println("Calling RigidBody2D.GetWeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_weight", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_weight") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81634,16 +53123,9 @@ func (o *RigidBody2D) GetWeight() float64 { func (o *RigidBody2D) IsAbleToSleep() bool { log.Println("Calling RigidBody2D.IsAbleToSleep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_able_to_sleep", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_able_to_sleep") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81654,16 +53136,9 @@ func (o *RigidBody2D) IsAbleToSleep() bool { func (o *RigidBody2D) IsContactMonitorEnabled() bool { log.Println("Calling RigidBody2D.IsContactMonitorEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_contact_monitor_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_contact_monitor_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81674,16 +53149,9 @@ func (o *RigidBody2D) IsContactMonitorEnabled() bool { func (o *RigidBody2D) IsSleeping() bool { log.Println("Calling RigidBody2D.IsSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_sleeping", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_sleeping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81694,16 +53162,9 @@ func (o *RigidBody2D) IsSleeping() bool { func (o *RigidBody2D) IsUsingCustomIntegrator() bool { log.Println("Calling RigidBody2D.IsUsingCustomIntegrator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_custom_integrator", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_custom_integrator") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -81714,14 +53175,7 @@ func (o *RigidBody2D) IsUsingCustomIntegrator() bool { func (o *RigidBody2D) SetAngularDamp(angularDamp float64) { log.Println("Calling RigidBody2D.SetAngularDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_damp", goArguments, "") - + godotCallVoidFloat(o, "set_angular_damp", angularDamp) log.Println(" Function successfully completed.") } @@ -81732,14 +53186,7 @@ func (o *RigidBody2D) SetAngularDamp(angularDamp float64) { func (o *RigidBody2D) SetAngularVelocity(angularVelocity float64) { log.Println("Calling RigidBody2D.SetAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angularVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_angular_velocity", goArguments, "") - + godotCallVoidFloat(o, "set_angular_velocity", angularVelocity) log.Println(" Function successfully completed.") } @@ -81750,14 +53197,7 @@ func (o *RigidBody2D) SetAngularVelocity(angularVelocity float64) { func (o *RigidBody2D) SetAppliedForce(force *Vector2) { log.Println("Calling RigidBody2D.SetAppliedForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(force) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_applied_force", goArguments, "") - + godotCallVoidVector2(o, "set_applied_force", force) log.Println(" Function successfully completed.") } @@ -81768,14 +53208,7 @@ func (o *RigidBody2D) SetAppliedForce(force *Vector2) { func (o *RigidBody2D) SetAppliedTorque(torque float64) { log.Println("Calling RigidBody2D.SetAppliedTorque()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(torque) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_applied_torque", goArguments, "") - + godotCallVoidFloat(o, "set_applied_torque", torque) log.Println(" Function successfully completed.") } @@ -81786,14 +53219,7 @@ func (o *RigidBody2D) SetAppliedTorque(torque float64) { func (o *RigidBody2D) SetAxisVelocity(axisVelocity *Vector2) { log.Println("Calling RigidBody2D.SetAxisVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axisVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis_velocity", goArguments, "") - + godotCallVoidVector2(o, "set_axis_velocity", axisVelocity) log.Println(" Function successfully completed.") } @@ -81804,14 +53230,7 @@ func (o *RigidBody2D) SetAxisVelocity(axisVelocity *Vector2) { func (o *RigidBody2D) SetBounce(bounce float64) { log.Println("Calling RigidBody2D.SetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounce", goArguments, "") - + godotCallVoidFloat(o, "set_bounce", bounce) log.Println(" Function successfully completed.") } @@ -81822,14 +53241,7 @@ func (o *RigidBody2D) SetBounce(bounce float64) { func (o *RigidBody2D) SetCanSleep(ableToSleep bool) { log.Println("Calling RigidBody2D.SetCanSleep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ableToSleep) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_can_sleep", goArguments, "") - + godotCallVoidBool(o, "set_can_sleep", ableToSleep) log.Println(" Function successfully completed.") } @@ -81840,14 +53252,7 @@ func (o *RigidBody2D) SetCanSleep(ableToSleep bool) { func (o *RigidBody2D) SetContactMonitor(enabled bool) { log.Println("Calling RigidBody2D.SetContactMonitor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_contact_monitor", goArguments, "") - + godotCallVoidBool(o, "set_contact_monitor", enabled) log.Println(" Function successfully completed.") } @@ -81858,14 +53263,7 @@ func (o *RigidBody2D) SetContactMonitor(enabled bool) { func (o *RigidBody2D) SetContinuousCollisionDetectionMode(mode int64) { log.Println("Calling RigidBody2D.SetContinuousCollisionDetectionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_continuous_collision_detection_mode", goArguments, "") - + godotCallVoidInt(o, "set_continuous_collision_detection_mode", mode) log.Println(" Function successfully completed.") } @@ -81876,14 +53274,7 @@ func (o *RigidBody2D) SetContinuousCollisionDetectionMode(mode int64) { func (o *RigidBody2D) SetFriction(friction float64) { log.Println("Calling RigidBody2D.SetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(friction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_friction", goArguments, "") - + godotCallVoidFloat(o, "set_friction", friction) log.Println(" Function successfully completed.") } @@ -81894,14 +53285,7 @@ func (o *RigidBody2D) SetFriction(friction float64) { func (o *RigidBody2D) SetGravityScale(gravityScale float64) { log.Println("Calling RigidBody2D.SetGravityScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gravityScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gravity_scale", goArguments, "") - + godotCallVoidFloat(o, "set_gravity_scale", gravityScale) log.Println(" Function successfully completed.") } @@ -81912,14 +53296,7 @@ func (o *RigidBody2D) SetGravityScale(gravityScale float64) { func (o *RigidBody2D) SetInertia(inertia float64) { log.Println("Calling RigidBody2D.SetInertia()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(inertia) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_inertia", goArguments, "") - + godotCallVoidFloat(o, "set_inertia", inertia) log.Println(" Function successfully completed.") } @@ -81930,14 +53307,7 @@ func (o *RigidBody2D) SetInertia(inertia float64) { func (o *RigidBody2D) SetLinearDamp(linearDamp float64) { log.Println("Calling RigidBody2D.SetLinearDamp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearDamp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_damp", goArguments, "") - + godotCallVoidFloat(o, "set_linear_damp", linearDamp) log.Println(" Function successfully completed.") } @@ -81948,14 +53318,7 @@ func (o *RigidBody2D) SetLinearDamp(linearDamp float64) { func (o *RigidBody2D) SetLinearVelocity(linearVelocity *Vector2) { log.Println("Calling RigidBody2D.SetLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(linearVelocity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_linear_velocity", goArguments, "") - + godotCallVoidVector2(o, "set_linear_velocity", linearVelocity) log.Println(" Function successfully completed.") } @@ -81966,14 +53329,7 @@ func (o *RigidBody2D) SetLinearVelocity(linearVelocity *Vector2) { func (o *RigidBody2D) SetMass(mass float64) { log.Println("Calling RigidBody2D.SetMass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mass) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mass", goArguments, "") - + godotCallVoidFloat(o, "set_mass", mass) log.Println(" Function successfully completed.") } @@ -81984,14 +53340,7 @@ func (o *RigidBody2D) SetMass(mass float64) { func (o *RigidBody2D) SetMaxContactsReported(amount int64) { log.Println("Calling RigidBody2D.SetMaxContactsReported()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_max_contacts_reported", goArguments, "") - + godotCallVoidInt(o, "set_max_contacts_reported", amount) log.Println(" Function successfully completed.") } @@ -82002,14 +53351,7 @@ func (o *RigidBody2D) SetMaxContactsReported(amount int64) { func (o *RigidBody2D) SetMode(mode int64) { log.Println("Calling RigidBody2D.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -82020,14 +53362,7 @@ func (o *RigidBody2D) SetMode(mode int64) { func (o *RigidBody2D) SetSleeping(sleeping bool) { log.Println("Calling RigidBody2D.SetSleeping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sleeping) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sleeping", goArguments, "") - + godotCallVoidBool(o, "set_sleeping", sleeping) log.Println(" Function successfully completed.") } @@ -82038,14 +53373,7 @@ func (o *RigidBody2D) SetSleeping(sleeping bool) { func (o *RigidBody2D) SetUseCustomIntegrator(enable bool) { log.Println("Calling RigidBody2D.SetUseCustomIntegrator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_custom_integrator", goArguments, "") - + godotCallVoidBool(o, "set_use_custom_integrator", enable) log.Println(" Function successfully completed.") } @@ -82056,14 +53384,7 @@ func (o *RigidBody2D) SetUseCustomIntegrator(enable bool) { func (o *RigidBody2D) SetWeight(weight float64) { log.Println("Calling RigidBody2D.SetWeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(weight) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_weight", goArguments, "") - + godotCallVoidFloat(o, "set_weight", weight) log.Println(" Function successfully completed.") } @@ -82074,19 +53395,9 @@ func (o *RigidBody2D) SetWeight(weight float64) { func (o *RigidBody2D) TestMotion(motion *Vector2, margin float64, result *Physics2DTestMotionResult) bool { log.Println("Calling RigidBody2D.TestMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(motion) - goArguments[1] = reflect.ValueOf(margin) - goArguments[2] = reflect.ValueOf(result) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "test_motion", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2FloatObject(o, "test_motion", motion, margin, &result.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82115,17 +53426,9 @@ func (o *SceneState) baseClass() string { func (o *SceneState) GetConnectionBinds(idx int64) *Array { log.Println("Calling SceneState.GetConnectionBinds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_binds", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_connection_binds", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82136,16 +53439,9 @@ func (o *SceneState) GetConnectionBinds(idx int64) *Array { func (o *SceneState) GetConnectionCount() int64 { log.Println("Calling SceneState.GetConnectionCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_connection_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82156,17 +53452,9 @@ func (o *SceneState) GetConnectionCount() int64 { func (o *SceneState) GetConnectionFlags(idx int64) int64 { log.Println("Calling SceneState.GetConnectionFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_connection_flags", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82177,17 +53465,9 @@ func (o *SceneState) GetConnectionFlags(idx int64) int64 { func (o *SceneState) GetConnectionMethod(idx int64) string { log.Println("Calling SceneState.GetConnectionMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_method", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_connection_method", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82198,17 +53478,9 @@ func (o *SceneState) GetConnectionMethod(idx int64) string { func (o *SceneState) GetConnectionSignal(idx int64) string { log.Println("Calling SceneState.GetConnectionSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_signal", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_connection_signal", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82219,17 +53491,9 @@ func (o *SceneState) GetConnectionSignal(idx int64) string { func (o *SceneState) GetConnectionSource(idx int64) *NodePath { log.Println("Calling SceneState.GetConnectionSource()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_source", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "get_connection_source", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82240,17 +53504,9 @@ func (o *SceneState) GetConnectionSource(idx int64) *NodePath { func (o *SceneState) GetConnectionTarget(idx int64) *NodePath { log.Println("Calling SceneState.GetConnectionTarget()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connection_target", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "get_connection_target", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82261,16 +53517,9 @@ func (o *SceneState) GetConnectionTarget(idx int64) *NodePath { func (o *SceneState) GetNodeCount() int64 { log.Println("Calling SceneState.GetNodeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_node_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82281,17 +53530,9 @@ func (o *SceneState) GetNodeCount() int64 { func (o *SceneState) GetNodeGroups(idx int64) *PoolStringArray { log.Println("Calling SceneState.GetNodeGroups()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_groups", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayInt(o, "get_node_groups", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82302,17 +53543,9 @@ func (o *SceneState) GetNodeGroups(idx int64) *PoolStringArray { func (o *SceneState) GetNodeIndex(idx int64) int64 { log.Println("Calling SceneState.GetNodeIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_index", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_node_index", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82323,18 +53556,12 @@ func (o *SceneState) GetNodeIndex(idx int64) int64 { func (o *SceneState) GetNodeInstance(idx int64) *PackedScene { log.Println("Calling SceneState.GetNodeInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_instance", goArguments, "*PackedScene") - - returnValue := goRet.Interface().(*PackedScene) - + returnValue := godotCallObjectInt(o, "get_node_instance", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PackedScene + ret.owner = returnValue.owner + return &ret } @@ -82344,17 +53571,9 @@ func (o *SceneState) GetNodeInstance(idx int64) *PackedScene { func (o *SceneState) GetNodeInstancePlaceholder(idx int64) string { log.Println("Calling SceneState.GetNodeInstancePlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_instance_placeholder", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_node_instance_placeholder", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82365,17 +53584,9 @@ func (o *SceneState) GetNodeInstancePlaceholder(idx int64) string { func (o *SceneState) GetNodeName(idx int64) string { log.Println("Calling SceneState.GetNodeName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_node_name", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82386,17 +53597,9 @@ func (o *SceneState) GetNodeName(idx int64) string { func (o *SceneState) GetNodeOwnerPath(idx int64) *NodePath { log.Println("Calling SceneState.GetNodeOwnerPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_owner_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathInt(o, "get_node_owner_path", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82407,18 +53610,9 @@ func (o *SceneState) GetNodeOwnerPath(idx int64) *NodePath { func (o *SceneState) GetNodePath(idx int64, forParent bool) *NodePath { log.Println("Calling SceneState.GetNodePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(forParent) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePathIntBool(o, "get_node_path", idx, forParent) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82429,17 +53623,9 @@ func (o *SceneState) GetNodePath(idx int64, forParent bool) *NodePath { func (o *SceneState) GetNodePropertyCount(idx int64) int64 { log.Println("Calling SceneState.GetNodePropertyCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_property_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_node_property_count", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82450,18 +53636,9 @@ func (o *SceneState) GetNodePropertyCount(idx int64) int64 { func (o *SceneState) GetNodePropertyName(idx int64, propIdx int64) string { log.Println("Calling SceneState.GetNodePropertyName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(propIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_property_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringIntInt(o, "get_node_property_name", idx, propIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82472,18 +53649,9 @@ func (o *SceneState) GetNodePropertyName(idx int64, propIdx int64) string { func (o *SceneState) GetNodePropertyValue(idx int64, propIdx int64) *Variant { log.Println("Calling SceneState.GetNodePropertyValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(idx) - goArguments[1] = reflect.ValueOf(propIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_property_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantIntInt(o, "get_node_property_value", idx, propIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82494,17 +53662,9 @@ func (o *SceneState) GetNodePropertyValue(idx int64, propIdx int64) *Variant { func (o *SceneState) GetNodeType(idx int64) string { log.Println("Calling SceneState.GetNodeType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_node_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82515,17 +53675,9 @@ func (o *SceneState) GetNodeType(idx int64) string { func (o *SceneState) IsNodeInstancePlaceholder(idx int64) bool { log.Println("Calling SceneState.IsNodeInstancePlaceholder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_node_instance_placeholder", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_node_instance_placeholder", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82554,14 +53706,7 @@ func (o *SceneTree) baseClass() string { func (o *SceneTree) X_ChangeScene(arg0 *Object) { log.Println("Calling SceneTree.X_ChangeScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_change_scene", goArguments, "") - + godotCallVoidObject(o, "_change_scene", arg0) log.Println(" Function successfully completed.") } @@ -82572,13 +53717,7 @@ func (o *SceneTree) X_ChangeScene(arg0 *Object) { func (o *SceneTree) X_ConnectedToServer() { log.Println("Calling SceneTree.X_ConnectedToServer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_connected_to_server", goArguments, "") - + godotCallVoid(o, "_connected_to_server") log.Println(" Function successfully completed.") } @@ -82589,13 +53728,7 @@ func (o *SceneTree) X_ConnectedToServer() { func (o *SceneTree) X_ConnectionFailed() { log.Println("Calling SceneTree.X_ConnectionFailed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_connection_failed", goArguments, "") - + godotCallVoid(o, "_connection_failed") log.Println(" Function successfully completed.") } @@ -82606,14 +53739,7 @@ func (o *SceneTree) X_ConnectionFailed() { func (o *SceneTree) X_NetworkPeerConnected(arg0 int64) { log.Println("Calling SceneTree.X_NetworkPeerConnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_network_peer_connected", goArguments, "") - + godotCallVoidInt(o, "_network_peer_connected", arg0) log.Println(" Function successfully completed.") } @@ -82624,14 +53750,7 @@ func (o *SceneTree) X_NetworkPeerConnected(arg0 int64) { func (o *SceneTree) X_NetworkPeerDisconnected(arg0 int64) { log.Println("Calling SceneTree.X_NetworkPeerDisconnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_network_peer_disconnected", goArguments, "") - + godotCallVoidInt(o, "_network_peer_disconnected", arg0) log.Println(" Function successfully completed.") } @@ -82642,13 +53761,7 @@ func (o *SceneTree) X_NetworkPeerDisconnected(arg0 int64) { func (o *SceneTree) X_ServerDisconnected() { log.Println("Calling SceneTree.X_ServerDisconnected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_server_disconnected", goArguments, "") - + godotCallVoid(o, "_server_disconnected") log.Println(" Function successfully completed.") } @@ -82659,18 +53772,9 @@ func (o *SceneTree) X_ServerDisconnected() { func (o *SceneTree) CallGroup(group string, method string) *Variant { log.Println("Calling SceneTree.CallGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(group) - goArguments[1] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call_group", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantStringString(o, "call_group", group, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82681,19 +53785,9 @@ func (o *SceneTree) CallGroup(group string, method string) *Variant { func (o *SceneTree) CallGroupFlags(flags int64, group string, method string) *Variant { log.Println("Calling SceneTree.CallGroupFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(flags) - goArguments[1] = reflect.ValueOf(group) - goArguments[2] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "call_group_flags", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantIntStringString(o, "call_group_flags", flags, group, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82704,17 +53798,9 @@ func (o *SceneTree) CallGroupFlags(flags int64, group string, method string) *Va func (o *SceneTree) ChangeScene(path string) int64 { log.Println("Calling SceneTree.ChangeScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "change_scene", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "change_scene", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82725,17 +53811,9 @@ func (o *SceneTree) ChangeScene(path string) int64 { func (o *SceneTree) ChangeSceneTo(packedScene *PackedScene) int64 { log.Println("Calling SceneTree.ChangeSceneTo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(packedScene) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "change_scene_to", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "change_scene_to", &packedScene.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82746,19 +53824,12 @@ func (o *SceneTree) ChangeSceneTo(packedScene *PackedScene) int64 { func (o *SceneTree) CreateTimer(timeSec float64, pauseModeProcess bool) *SceneTreeTimer { log.Println("Calling SceneTree.CreateTimer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(timeSec) - goArguments[1] = reflect.ValueOf(pauseModeProcess) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_timer", goArguments, "*SceneTreeTimer") - - returnValue := goRet.Interface().(*SceneTreeTimer) - + returnValue := godotCallObjectFloatBool(o, "create_timer", timeSec, pauseModeProcess) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SceneTreeTimer + ret.owner = returnValue.owner + return &ret } @@ -82768,17 +53839,12 @@ func (o *SceneTree) CreateTimer(timeSec float64, pauseModeProcess bool) *SceneTr func (o *SceneTree) GetCurrentScene() *Node { log.Println("Calling SceneTree.GetCurrentScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_scene", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_current_scene") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -82788,17 +53854,12 @@ func (o *SceneTree) GetCurrentScene() *Node { func (o *SceneTree) GetEditedSceneRoot() *Node { log.Println("Calling SceneTree.GetEditedSceneRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edited_scene_root", goArguments, "*Node") - - returnValue := goRet.Interface().(*Node) - + returnValue := godotCallObject(o, "get_edited_scene_root") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Node + ret.owner = returnValue.owner + return &ret } @@ -82808,16 +53869,9 @@ func (o *SceneTree) GetEditedSceneRoot() *Node { func (o *SceneTree) GetFrame() int64 { log.Println("Calling SceneTree.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82828,16 +53882,9 @@ func (o *SceneTree) GetFrame() int64 { func (o *SceneTree) GetNetworkConnectedPeers() *PoolIntArray { log.Println("Calling SceneTree.GetNetworkConnectedPeers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_network_connected_peers", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "get_network_connected_peers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82848,17 +53895,12 @@ func (o *SceneTree) GetNetworkConnectedPeers() *PoolIntArray { func (o *SceneTree) GetNetworkPeer() *NetworkedMultiplayerPeer { log.Println("Calling SceneTree.GetNetworkPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_network_peer", goArguments, "*NetworkedMultiplayerPeer") - - returnValue := goRet.Interface().(*NetworkedMultiplayerPeer) - + returnValue := godotCallObject(o, "get_network_peer") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret NetworkedMultiplayerPeer + ret.owner = returnValue.owner + return &ret } @@ -82868,16 +53910,9 @@ func (o *SceneTree) GetNetworkPeer() *NetworkedMultiplayerPeer { func (o *SceneTree) GetNetworkUniqueId() int64 { log.Println("Calling SceneTree.GetNetworkUniqueId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_network_unique_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_network_unique_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82888,16 +53923,9 @@ func (o *SceneTree) GetNetworkUniqueId() int64 { func (o *SceneTree) GetNodeCount() int64 { log.Println("Calling SceneTree.GetNodeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_node_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82908,17 +53936,9 @@ func (o *SceneTree) GetNodeCount() int64 { func (o *SceneTree) GetNodesInGroup(group string) *Array { log.Println("Calling SceneTree.GetNodesInGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(group) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_nodes_in_group", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayString(o, "get_nodes_in_group", group) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82929,17 +53949,12 @@ func (o *SceneTree) GetNodesInGroup(group string) *Array { func (o *SceneTree) GetRoot() *Viewport { log.Println("Calling SceneTree.GetRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_root", goArguments, "*Viewport") - - returnValue := goRet.Interface().(*Viewport) - + returnValue := godotCallObject(o, "get_root") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Viewport + ret.owner = returnValue.owner + return &ret } @@ -82949,16 +53964,9 @@ func (o *SceneTree) GetRoot() *Viewport { func (o *SceneTree) GetRpcSenderId() int64 { log.Println("Calling SceneTree.GetRpcSenderId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rpc_sender_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rpc_sender_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82969,17 +53977,9 @@ func (o *SceneTree) GetRpcSenderId() int64 { func (o *SceneTree) HasGroup(name string) bool { log.Println("Calling SceneTree.HasGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_group", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_group", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -82990,16 +53990,9 @@ func (o *SceneTree) HasGroup(name string) bool { func (o *SceneTree) HasNetworkPeer() bool { log.Println("Calling SceneTree.HasNetworkPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_network_peer", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_network_peer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83010,16 +54003,9 @@ func (o *SceneTree) HasNetworkPeer() bool { func (o *SceneTree) IsDebuggingCollisionsHint() bool { log.Println("Calling SceneTree.IsDebuggingCollisionsHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_debugging_collisions_hint", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_debugging_collisions_hint") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83030,16 +54016,9 @@ func (o *SceneTree) IsDebuggingCollisionsHint() bool { func (o *SceneTree) IsDebuggingNavigationHint() bool { log.Println("Calling SceneTree.IsDebuggingNavigationHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_debugging_navigation_hint", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_debugging_navigation_hint") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83050,16 +54029,9 @@ func (o *SceneTree) IsDebuggingNavigationHint() bool { func (o *SceneTree) IsInputHandled() bool { log.Println("Calling SceneTree.IsInputHandled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_input_handled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_input_handled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83070,16 +54042,9 @@ func (o *SceneTree) IsInputHandled() bool { func (o *SceneTree) IsNetworkServer() bool { log.Println("Calling SceneTree.IsNetworkServer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_network_server", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_network_server") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83090,16 +54055,9 @@ func (o *SceneTree) IsNetworkServer() bool { func (o *SceneTree) IsPaused() bool { log.Println("Calling SceneTree.IsPaused()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_paused", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_paused") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83110,16 +54068,9 @@ func (o *SceneTree) IsPaused() bool { func (o *SceneTree) IsRefusingNewNetworkConnections() bool { log.Println("Calling SceneTree.IsRefusingNewNetworkConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_refusing_new_network_connections", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_refusing_new_network_connections") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83130,16 +54081,9 @@ func (o *SceneTree) IsRefusingNewNetworkConnections() bool { func (o *SceneTree) IsUsingFontOversampling() bool { log.Println("Calling SceneTree.IsUsingFontOversampling()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_font_oversampling", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_font_oversampling") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83150,15 +54094,7 @@ func (o *SceneTree) IsUsingFontOversampling() bool { func (o *SceneTree) NotifyGroup(group string, notification int64) { log.Println("Calling SceneTree.NotifyGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(group) - goArguments[1] = reflect.ValueOf(notification) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "notify_group", goArguments, "") - + godotCallVoidStringInt(o, "notify_group", group, notification) log.Println(" Function successfully completed.") } @@ -83169,16 +54105,7 @@ func (o *SceneTree) NotifyGroup(group string, notification int64) { func (o *SceneTree) NotifyGroupFlags(callFlags int64, group string, notification int64) { log.Println("Calling SceneTree.NotifyGroupFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(callFlags) - goArguments[1] = reflect.ValueOf(group) - goArguments[2] = reflect.ValueOf(notification) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "notify_group_flags", goArguments, "") - + godotCallVoidIntStringInt(o, "notify_group_flags", callFlags, group, notification) log.Println(" Function successfully completed.") } @@ -83189,14 +54116,7 @@ func (o *SceneTree) NotifyGroupFlags(callFlags int64, group string, notification func (o *SceneTree) QueueDelete(obj *Object) { log.Println("Calling SceneTree.QueueDelete()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(obj) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "queue_delete", goArguments, "") - + godotCallVoidObject(o, "queue_delete", obj) log.Println(" Function successfully completed.") } @@ -83207,13 +54127,7 @@ func (o *SceneTree) QueueDelete(obj *Object) { func (o *SceneTree) Quit() { log.Println("Calling SceneTree.Quit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "quit", goArguments, "") - + godotCallVoid(o, "quit") log.Println(" Function successfully completed.") } @@ -83224,16 +54138,9 @@ func (o *SceneTree) Quit() { func (o *SceneTree) ReloadCurrentScene() int64 { log.Println("Calling SceneTree.ReloadCurrentScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "reload_current_scene", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "reload_current_scene") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83244,14 +54151,7 @@ func (o *SceneTree) ReloadCurrentScene() int64 { func (o *SceneTree) SetAutoAcceptQuit(enabled bool) { log.Println("Calling SceneTree.SetAutoAcceptQuit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_auto_accept_quit", goArguments, "") - + godotCallVoidBool(o, "set_auto_accept_quit", enabled) log.Println(" Function successfully completed.") } @@ -83262,14 +54162,7 @@ func (o *SceneTree) SetAutoAcceptQuit(enabled bool) { func (o *SceneTree) SetCurrentScene(childNode *Object) { log.Println("Calling SceneTree.SetCurrentScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(childNode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_scene", goArguments, "") - + godotCallVoidObject(o, "set_current_scene", childNode) log.Println(" Function successfully completed.") } @@ -83280,14 +54173,7 @@ func (o *SceneTree) SetCurrentScene(childNode *Object) { func (o *SceneTree) SetDebugCollisionsHint(enable bool) { log.Println("Calling SceneTree.SetDebugCollisionsHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_debug_collisions_hint", goArguments, "") - + godotCallVoidBool(o, "set_debug_collisions_hint", enable) log.Println(" Function successfully completed.") } @@ -83298,14 +54184,7 @@ func (o *SceneTree) SetDebugCollisionsHint(enable bool) { func (o *SceneTree) SetDebugNavigationHint(enable bool) { log.Println("Calling SceneTree.SetDebugNavigationHint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_debug_navigation_hint", goArguments, "") - + godotCallVoidBool(o, "set_debug_navigation_hint", enable) log.Println(" Function successfully completed.") } @@ -83316,14 +54195,7 @@ func (o *SceneTree) SetDebugNavigationHint(enable bool) { func (o *SceneTree) SetEditedSceneRoot(scene *Object) { log.Println("Calling SceneTree.SetEditedSceneRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scene) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_edited_scene_root", goArguments, "") - + godotCallVoidObject(o, "set_edited_scene_root", scene) log.Println(" Function successfully completed.") } @@ -83334,16 +54206,7 @@ func (o *SceneTree) SetEditedSceneRoot(scene *Object) { func (o *SceneTree) SetGroup(group string, property string, value *Variant) { log.Println("Calling SceneTree.SetGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(group) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_group", goArguments, "") - + godotCallVoidStringStringVariant(o, "set_group", group, property, value) log.Println(" Function successfully completed.") } @@ -83354,17 +54217,7 @@ func (o *SceneTree) SetGroup(group string, property string, value *Variant) { func (o *SceneTree) SetGroupFlags(callFlags int64, group string, property string, value *Variant) { log.Println("Calling SceneTree.SetGroupFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(callFlags) - goArguments[1] = reflect.ValueOf(group) - goArguments[2] = reflect.ValueOf(property) - goArguments[3] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_group_flags", goArguments, "") - + godotCallVoidIntStringStringVariant(o, "set_group_flags", callFlags, group, property, value) log.Println(" Function successfully completed.") } @@ -83375,13 +54228,7 @@ func (o *SceneTree) SetGroupFlags(callFlags int64, group string, property string func (o *SceneTree) SetInputAsHandled() { log.Println("Calling SceneTree.SetInputAsHandled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_input_as_handled", goArguments, "") - + godotCallVoid(o, "set_input_as_handled") log.Println(" Function successfully completed.") } @@ -83392,14 +54239,7 @@ func (o *SceneTree) SetInputAsHandled() { func (o *SceneTree) SetNetworkPeer(peer *NetworkedMultiplayerPeer) { log.Println("Calling SceneTree.SetNetworkPeer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(peer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_network_peer", goArguments, "") - + godotCallVoidObject(o, "set_network_peer", &peer.Object) log.Println(" Function successfully completed.") } @@ -83410,14 +54250,7 @@ func (o *SceneTree) SetNetworkPeer(peer *NetworkedMultiplayerPeer) { func (o *SceneTree) SetPause(enable bool) { log.Println("Calling SceneTree.SetPause()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pause", goArguments, "") - + godotCallVoidBool(o, "set_pause", enable) log.Println(" Function successfully completed.") } @@ -83428,14 +54261,7 @@ func (o *SceneTree) SetPause(enable bool) { func (o *SceneTree) SetQuitOnGoBack(enabled bool) { log.Println("Calling SceneTree.SetQuitOnGoBack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_quit_on_go_back", goArguments, "") - + godotCallVoidBool(o, "set_quit_on_go_back", enabled) log.Println(" Function successfully completed.") } @@ -83446,14 +54272,7 @@ func (o *SceneTree) SetQuitOnGoBack(enabled bool) { func (o *SceneTree) SetRefuseNewNetworkConnections(refuse bool) { log.Println("Calling SceneTree.SetRefuseNewNetworkConnections()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(refuse) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_refuse_new_network_connections", goArguments, "") - + godotCallVoidBool(o, "set_refuse_new_network_connections", refuse) log.Println(" Function successfully completed.") } @@ -83464,17 +54283,7 @@ func (o *SceneTree) SetRefuseNewNetworkConnections(refuse bool) { func (o *SceneTree) SetScreenStretch(mode int64, aspect int64, minsize *Vector2, shrink float64) { log.Println("Calling SceneTree.SetScreenStretch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(mode) - goArguments[1] = reflect.ValueOf(aspect) - goArguments[2] = reflect.ValueOf(minsize) - goArguments[3] = reflect.ValueOf(shrink) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_screen_stretch", goArguments, "") - + godotCallVoidIntIntVector2Float(o, "set_screen_stretch", mode, aspect, minsize, shrink) log.Println(" Function successfully completed.") } @@ -83485,14 +54294,7 @@ func (o *SceneTree) SetScreenStretch(mode int64, aspect int64, minsize *Vector2, func (o *SceneTree) SetUseFontOversampling(enable bool) { log.Println("Calling SceneTree.SetUseFontOversampling()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_font_oversampling", goArguments, "") - + godotCallVoidBool(o, "set_use_font_oversampling", enable) log.Println(" Function successfully completed.") } @@ -83521,16 +54323,9 @@ func (o *SceneTreeTimer) baseClass() string { func (o *SceneTreeTimer) GetTimeLeft() float64 { log.Println("Calling SceneTreeTimer.GetTimeLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_time_left", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_time_left") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83541,14 +54336,7 @@ func (o *SceneTreeTimer) GetTimeLeft() float64 { func (o *SceneTreeTimer) SetTimeLeft(time float64) { log.Println("Calling SceneTreeTimer.SetTimeLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(time) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_time_left", goArguments, "") - + godotCallVoidFloat(o, "set_time_left", time) log.Println(" Function successfully completed.") } @@ -83577,16 +54365,9 @@ func (o *Script) baseClass() string { func (o *Script) CanInstance() bool { log.Println("Calling Script.CanInstance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_instance", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "can_instance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83597,17 +54378,12 @@ func (o *Script) CanInstance() bool { func (o *Script) GetBaseScript() *Script { log.Println("Calling Script.GetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_script", goArguments, "*Script") - - returnValue := goRet.Interface().(*Script) - + returnValue := godotCallObject(o, "get_base_script") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Script + ret.owner = returnValue.owner + return &ret } @@ -83617,16 +54393,9 @@ func (o *Script) GetBaseScript() *Script { func (o *Script) GetInstanceBaseType() string { log.Println("Calling Script.GetInstanceBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_instance_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_instance_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83637,16 +54406,9 @@ func (o *Script) GetInstanceBaseType() string { func (o *Script) GetSourceCode() string { log.Println("Calling Script.GetSourceCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_source_code", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_source_code") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83657,17 +54419,9 @@ func (o *Script) GetSourceCode() string { func (o *Script) HasScriptSignal(signalName string) bool { log.Println("Calling Script.HasScriptSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(signalName) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_script_signal", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_script_signal", signalName) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83678,16 +54432,9 @@ func (o *Script) HasScriptSignal(signalName string) bool { func (o *Script) HasSourceCode() bool { log.Println("Calling Script.HasSourceCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_source_code", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_source_code") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83698,17 +54445,9 @@ func (o *Script) HasSourceCode() bool { func (o *Script) InstanceHas(baseObject *Object) bool { log.Println("Calling Script.InstanceHas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseObject) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "instance_has", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "instance_has", baseObject) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83719,16 +54458,9 @@ func (o *Script) InstanceHas(baseObject *Object) bool { func (o *Script) IsTool() bool { log.Println("Calling Script.IsTool()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_tool", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_tool") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83739,17 +54471,9 @@ func (o *Script) IsTool() bool { func (o *Script) Reload(keepState bool) int64 { log.Println("Calling Script.Reload()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(keepState) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "reload", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntBool(o, "reload", keepState) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -83760,14 +54484,7 @@ func (o *Script) Reload(keepState bool) int64 { func (o *Script) SetSourceCode(source string) { log.Println("Calling Script.SetSourceCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(source) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_source_code", goArguments, "") - + godotCallVoidString(o, "set_source_code", source) log.Println(" Function successfully completed.") } @@ -83796,16 +54513,7 @@ func (o *ScriptEditor) baseClass() string { func (o *ScriptEditor) X_AddCallback(arg0 *Object, arg1 string, arg2 *PoolStringArray) { log.Println("Calling ScriptEditor.X_AddCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - goArguments[2] = reflect.ValueOf(arg2) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_add_callback", goArguments, "") - + godotCallVoidObjectStringPoolStringArray(o, "_add_callback", arg0, arg1, arg2) log.Println(" Function successfully completed.") } @@ -83816,13 +54524,7 @@ func (o *ScriptEditor) X_AddCallback(arg0 *Object, arg1 string, arg2 *PoolString func (o *ScriptEditor) X_AutosaveScripts() { log.Println("Calling ScriptEditor.X_AutosaveScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_autosave_scripts", goArguments, "") - + godotCallVoid(o, "_autosave_scripts") log.Println(" Function successfully completed.") } @@ -83833,15 +54535,7 @@ func (o *ScriptEditor) X_AutosaveScripts() { func (o *ScriptEditor) X_Breaked(arg0 bool, arg1 bool) { log.Println("Calling ScriptEditor.X_Breaked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_breaked", goArguments, "") - + godotCallVoidBoolBool(o, "_breaked", arg0, arg1) log.Println(" Function successfully completed.") } @@ -83852,13 +54546,7 @@ func (o *ScriptEditor) X_Breaked(arg0 bool, arg1 bool) { func (o *ScriptEditor) X_CloseAllTabs() { log.Println("Calling ScriptEditor.X_CloseAllTabs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_close_all_tabs", goArguments, "") - + godotCallVoid(o, "_close_all_tabs") log.Println(" Function successfully completed.") } @@ -83869,13 +54557,7 @@ func (o *ScriptEditor) X_CloseAllTabs() { func (o *ScriptEditor) X_CloseCurrentTab() { log.Println("Calling ScriptEditor.X_CloseCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_close_current_tab", goArguments, "") - + godotCallVoid(o, "_close_current_tab") log.Println(" Function successfully completed.") } @@ -83886,14 +54568,7 @@ func (o *ScriptEditor) X_CloseCurrentTab() { func (o *ScriptEditor) X_CloseDiscardCurrentTab(arg0 string) { log.Println("Calling ScriptEditor.X_CloseDiscardCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_close_discard_current_tab", goArguments, "") - + godotCallVoidString(o, "_close_discard_current_tab", arg0) log.Println(" Function successfully completed.") } @@ -83904,13 +54579,7 @@ func (o *ScriptEditor) X_CloseDiscardCurrentTab(arg0 string) { func (o *ScriptEditor) X_CloseDocsTab() { log.Println("Calling ScriptEditor.X_CloseDocsTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_close_docs_tab", goArguments, "") - + godotCallVoid(o, "_close_docs_tab") log.Println(" Function successfully completed.") } @@ -83921,13 +54590,7 @@ func (o *ScriptEditor) X_CloseDocsTab() { func (o *ScriptEditor) X_CloseOtherTabs() { log.Println("Calling ScriptEditor.X_CloseOtherTabs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_close_other_tabs", goArguments, "") - + godotCallVoid(o, "_close_other_tabs") log.Println(" Function successfully completed.") } @@ -83938,13 +54601,7 @@ func (o *ScriptEditor) X_CloseOtherTabs() { func (o *ScriptEditor) X_CopyScriptPath() { log.Println("Calling ScriptEditor.X_CopyScriptPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_copy_script_path", goArguments, "") - + godotCallVoid(o, "_copy_script_path") log.Println(" Function successfully completed.") } @@ -83955,13 +54612,7 @@ func (o *ScriptEditor) X_CopyScriptPath() { func (o *ScriptEditor) X_EditorPause() { log.Println("Calling ScriptEditor.X_EditorPause()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_editor_pause", goArguments, "") - + godotCallVoid(o, "_editor_pause") log.Println(" Function successfully completed.") } @@ -83972,13 +54623,7 @@ func (o *ScriptEditor) X_EditorPause() { func (o *ScriptEditor) X_EditorPlay() { log.Println("Calling ScriptEditor.X_EditorPlay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_editor_play", goArguments, "") - + godotCallVoid(o, "_editor_play") log.Println(" Function successfully completed.") } @@ -83989,13 +54634,7 @@ func (o *ScriptEditor) X_EditorPlay() { func (o *ScriptEditor) X_EditorSettingsChanged() { log.Println("Calling ScriptEditor.X_EditorSettingsChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_editor_settings_changed", goArguments, "") - + godotCallVoid(o, "_editor_settings_changed") log.Println(" Function successfully completed.") } @@ -84006,13 +54645,7 @@ func (o *ScriptEditor) X_EditorSettingsChanged() { func (o *ScriptEditor) X_EditorStop() { log.Println("Calling ScriptEditor.X_EditorStop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_editor_stop", goArguments, "") - + godotCallVoid(o, "_editor_stop") log.Println(" Function successfully completed.") } @@ -84023,14 +54656,7 @@ func (o *ScriptEditor) X_EditorStop() { func (o *ScriptEditor) X_FileDialogAction(arg0 string) { log.Println("Calling ScriptEditor.X_FileDialogAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_file_dialog_action", goArguments, "") - + godotCallVoidString(o, "_file_dialog_action", arg0) log.Println(" Function successfully completed.") } @@ -84041,18 +54667,9 @@ func (o *ScriptEditor) X_FileDialogAction(arg0 string) { func (o *ScriptEditor) X_GetDebugTooltip(arg0 string, arg1 *Object) string { log.Println("Calling ScriptEditor.X_GetDebugTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_debug_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringStringObject(o, "_get_debug_tooltip", arg0, arg1) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84063,15 +54680,7 @@ func (o *ScriptEditor) X_GetDebugTooltip(arg0 string, arg1 *Object) string { func (o *ScriptEditor) X_GotoScriptLine(arg0 *Reference, arg1 int64) { log.Println("Calling ScriptEditor.X_GotoScriptLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(arg0) - goArguments[1] = reflect.ValueOf(arg1) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_goto_script_line", goArguments, "") - + godotCallVoidObjectInt(o, "_goto_script_line", &arg0.Object, arg1) log.Println(" Function successfully completed.") } @@ -84082,14 +54691,7 @@ func (o *ScriptEditor) X_GotoScriptLine(arg0 *Reference, arg1 int64) { func (o *ScriptEditor) X_GotoScriptLine2(arg0 int64) { log.Println("Calling ScriptEditor.X_GotoScriptLine2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_goto_script_line2", goArguments, "") - + godotCallVoidInt(o, "_goto_script_line2", arg0) log.Println(" Function successfully completed.") } @@ -84100,14 +54702,7 @@ func (o *ScriptEditor) X_GotoScriptLine2(arg0 int64) { func (o *ScriptEditor) X_HelpClassGoto(arg0 string) { log.Println("Calling ScriptEditor.X_HelpClassGoto()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_help_class_goto", goArguments, "") - + godotCallVoidString(o, "_help_class_goto", arg0) log.Println(" Function successfully completed.") } @@ -84118,14 +54713,7 @@ func (o *ScriptEditor) X_HelpClassGoto(arg0 string) { func (o *ScriptEditor) X_HelpClassOpen(arg0 string) { log.Println("Calling ScriptEditor.X_HelpClassOpen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_help_class_open", goArguments, "") - + godotCallVoidString(o, "_help_class_open", arg0) log.Println(" Function successfully completed.") } @@ -84136,14 +54724,7 @@ func (o *ScriptEditor) X_HelpClassOpen(arg0 string) { func (o *ScriptEditor) X_HelpIndex(arg0 string) { log.Println("Calling ScriptEditor.X_HelpIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_help_index", goArguments, "") - + godotCallVoidString(o, "_help_index", arg0) log.Println(" Function successfully completed.") } @@ -84154,14 +54735,7 @@ func (o *ScriptEditor) X_HelpIndex(arg0 string) { func (o *ScriptEditor) X_HelpOverviewSelected(arg0 int64) { log.Println("Calling ScriptEditor.X_HelpOverviewSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_help_overview_selected", goArguments, "") - + godotCallVoidInt(o, "_help_overview_selected", arg0) log.Println(" Function successfully completed.") } @@ -84172,14 +54746,7 @@ func (o *ScriptEditor) X_HelpOverviewSelected(arg0 int64) { func (o *ScriptEditor) X_HelpSearch(arg0 string) { log.Println("Calling ScriptEditor.X_HelpSearch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_help_search", goArguments, "") - + godotCallVoidString(o, "_help_search", arg0) log.Println(" Function successfully completed.") } @@ -84190,13 +54757,7 @@ func (o *ScriptEditor) X_HelpSearch(arg0 string) { func (o *ScriptEditor) X_HistoryBack() { log.Println("Calling ScriptEditor.X_HistoryBack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_history_back", goArguments, "") - + godotCallVoid(o, "_history_back") log.Println(" Function successfully completed.") } @@ -84207,13 +54768,7 @@ func (o *ScriptEditor) X_HistoryBack() { func (o *ScriptEditor) X_HistoryForward() { log.Println("Calling ScriptEditor.X_HistoryForward()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_history_forward", goArguments, "") - + godotCallVoid(o, "_history_forward") log.Println(" Function successfully completed.") } @@ -84224,13 +54779,7 @@ func (o *ScriptEditor) X_HistoryForward() { func (o *ScriptEditor) X_LiveAutoReloadRunningScripts() { log.Println("Calling ScriptEditor.X_LiveAutoReloadRunningScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_live_auto_reload_running_scripts", goArguments, "") - + godotCallVoid(o, "_live_auto_reload_running_scripts") log.Println(" Function successfully completed.") } @@ -84241,14 +54790,7 @@ func (o *ScriptEditor) X_LiveAutoReloadRunningScripts() { func (o *ScriptEditor) X_MembersOverviewSelected(arg0 int64) { log.Println("Calling ScriptEditor.X_MembersOverviewSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_members_overview_selected", goArguments, "") - + godotCallVoidInt(o, "_members_overview_selected", arg0) log.Println(" Function successfully completed.") } @@ -84259,14 +54801,7 @@ func (o *ScriptEditor) X_MembersOverviewSelected(arg0 int64) { func (o *ScriptEditor) X_MenuOption(arg0 int64) { log.Println("Calling ScriptEditor.X_MenuOption()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_menu_option", goArguments, "") - + godotCallVoidInt(o, "_menu_option", arg0) log.Println(" Function successfully completed.") } @@ -84277,14 +54812,7 @@ func (o *ScriptEditor) X_MenuOption(arg0 int64) { func (o *ScriptEditor) X_OpenRecentScript(arg0 int64) { log.Println("Calling ScriptEditor.X_OpenRecentScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_open_recent_script", goArguments, "") - + godotCallVoidInt(o, "_open_recent_script", arg0) log.Println(" Function successfully completed.") } @@ -84295,13 +54823,7 @@ func (o *ScriptEditor) X_OpenRecentScript(arg0 int64) { func (o *ScriptEditor) X_ReloadScripts() { log.Println("Calling ScriptEditor.X_ReloadScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_reload_scripts", goArguments, "") - + godotCallVoid(o, "_reload_scripts") log.Println(" Function successfully completed.") } @@ -84312,14 +54834,7 @@ func (o *ScriptEditor) X_ReloadScripts() { func (o *ScriptEditor) X_RequestHelp(arg0 string) { log.Println("Calling ScriptEditor.X_RequestHelp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_request_help", goArguments, "") - + godotCallVoidString(o, "_request_help", arg0) log.Println(" Function successfully completed.") } @@ -84330,14 +54845,7 @@ func (o *ScriptEditor) X_RequestHelp(arg0 string) { func (o *ScriptEditor) X_ResSavedCallback(arg0 *Resource) { log.Println("Calling ScriptEditor.X_ResSavedCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_res_saved_callback", goArguments, "") - + godotCallVoidObject(o, "_res_saved_callback", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84348,14 +54856,7 @@ func (o *ScriptEditor) X_ResSavedCallback(arg0 *Resource) { func (o *ScriptEditor) X_ResaveScripts(arg0 string) { log.Println("Calling ScriptEditor.X_ResaveScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_resave_scripts", goArguments, "") - + godotCallVoidString(o, "_resave_scripts", arg0) log.Println(" Function successfully completed.") } @@ -84366,13 +54867,7 @@ func (o *ScriptEditor) X_ResaveScripts(arg0 string) { func (o *ScriptEditor) X_SaveHistory() { log.Println("Calling ScriptEditor.X_SaveHistory()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_save_history", goArguments, "") - + godotCallVoid(o, "_save_history") log.Println(" Function successfully completed.") } @@ -84383,13 +54878,7 @@ func (o *ScriptEditor) X_SaveHistory() { func (o *ScriptEditor) X_ScriptChanged() { log.Println("Calling ScriptEditor.X_ScriptChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_changed", goArguments, "") - + godotCallVoid(o, "_script_changed") log.Println(" Function successfully completed.") } @@ -84400,14 +54889,7 @@ func (o *ScriptEditor) X_ScriptChanged() { func (o *ScriptEditor) X_ScriptCreated(arg0 *Script) { log.Println("Calling ScriptEditor.X_ScriptCreated()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_created", goArguments, "") - + godotCallVoidObject(o, "_script_created", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84418,14 +54900,7 @@ func (o *ScriptEditor) X_ScriptCreated(arg0 *Script) { func (o *ScriptEditor) X_ScriptListGuiInput(arg0 *InputEvent) { log.Println("Calling ScriptEditor.X_ScriptListGuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_list_gui_input", goArguments, "") - + godotCallVoidObject(o, "_script_list_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84436,14 +54911,7 @@ func (o *ScriptEditor) X_ScriptListGuiInput(arg0 *InputEvent) { func (o *ScriptEditor) X_ScriptSelected(arg0 int64) { log.Println("Calling ScriptEditor.X_ScriptSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_selected", goArguments, "") - + godotCallVoidInt(o, "_script_selected", arg0) log.Println(" Function successfully completed.") } @@ -84454,14 +54922,7 @@ func (o *ScriptEditor) X_ScriptSelected(arg0 int64) { func (o *ScriptEditor) X_ScriptSplitDragged(arg0 float64) { log.Println("Calling ScriptEditor.X_ScriptSplitDragged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_split_dragged", goArguments, "") - + godotCallVoidFloat(o, "_script_split_dragged", arg0) log.Println(" Function successfully completed.") } @@ -84472,14 +54933,7 @@ func (o *ScriptEditor) X_ScriptSplitDragged(arg0 float64) { func (o *ScriptEditor) X_ShowDebugger(arg0 bool) { log.Println("Calling ScriptEditor.X_ShowDebugger()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_show_debugger", goArguments, "") - + godotCallVoidBool(o, "_show_debugger", arg0) log.Println(" Function successfully completed.") } @@ -84490,14 +54944,7 @@ func (o *ScriptEditor) X_ShowDebugger(arg0 bool) { func (o *ScriptEditor) X_TabChanged(arg0 int64) { log.Println("Calling ScriptEditor.X_TabChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_tab_changed", goArguments, "") - + godotCallVoidInt(o, "_tab_changed", arg0) log.Println(" Function successfully completed.") } @@ -84508,13 +54955,7 @@ func (o *ScriptEditor) X_TabChanged(arg0 int64) { func (o *ScriptEditor) X_TreeChanged() { log.Println("Calling ScriptEditor.X_TreeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_tree_changed", goArguments, "") - + godotCallVoid(o, "_tree_changed") log.Println(" Function successfully completed.") } @@ -84525,14 +54966,7 @@ func (o *ScriptEditor) X_TreeChanged() { func (o *ScriptEditor) X_UnhandledInput(arg0 *InputEvent) { log.Println("Calling ScriptEditor.X_UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_unhandled_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84543,13 +54977,7 @@ func (o *ScriptEditor) X_UnhandledInput(arg0 *InputEvent) { func (o *ScriptEditor) X_UpdateRecentScripts() { log.Println("Calling ScriptEditor.X_UpdateRecentScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_recent_scripts", goArguments, "") - + godotCallVoid(o, "_update_recent_scripts") log.Println(" Function successfully completed.") } @@ -84560,13 +54988,7 @@ func (o *ScriptEditor) X_UpdateRecentScripts() { func (o *ScriptEditor) X_UpdateScriptNames() { log.Println("Calling ScriptEditor.X_UpdateScriptNames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_script_names", goArguments, "") - + godotCallVoid(o, "_update_script_names") log.Println(" Function successfully completed.") } @@ -84577,19 +54999,9 @@ func (o *ScriptEditor) X_UpdateScriptNames() { func (o *ScriptEditor) CanDropDataFw(point *Vector2, data *Variant, from *Object) bool { log.Println("Calling ScriptEditor.CanDropDataFw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(data) - goArguments[2] = reflect.ValueOf(from) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_drop_data_fw", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2VariantObject(o, "can_drop_data_fw", point, data, from) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84600,16 +55012,7 @@ func (o *ScriptEditor) CanDropDataFw(point *Vector2, data *Variant, from *Object func (o *ScriptEditor) DropDataFw(point *Vector2, data *Variant, from *Object) { log.Println("Calling ScriptEditor.DropDataFw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(data) - goArguments[2] = reflect.ValueOf(from) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "drop_data_fw", goArguments, "") - + godotCallVoidVector2VariantObject(o, "drop_data_fw", point, data, from) log.Println(" Function successfully completed.") } @@ -84620,17 +55023,12 @@ func (o *ScriptEditor) DropDataFw(point *Vector2, data *Variant, from *Object) { func (o *ScriptEditor) GetCurrentScript() *Script { log.Println("Calling ScriptEditor.GetCurrentScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_script", goArguments, "*Script") - - returnValue := goRet.Interface().(*Script) - + returnValue := godotCallObject(o, "get_current_script") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Script + ret.owner = returnValue.owner + return &ret } @@ -84640,18 +55038,9 @@ func (o *ScriptEditor) GetCurrentScript() *Script { func (o *ScriptEditor) GetDragDataFw(point *Vector2, from *Object) *Variant { log.Println("Calling ScriptEditor.GetDragDataFw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(from) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drag_data_fw", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantVector2Object(o, "get_drag_data_fw", point, from) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84662,16 +55051,9 @@ func (o *ScriptEditor) GetDragDataFw(point *Vector2, from *Object) *Variant { func (o *ScriptEditor) GetOpenScripts() *Array { log.Println("Calling ScriptEditor.GetOpenScripts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_open_scripts", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_open_scripts") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84682,15 +55064,7 @@ func (o *ScriptEditor) GetOpenScripts() *Array { func (o *ScriptEditor) OpenScriptCreateDialog(baseName string, basePath string) { log.Println("Calling ScriptEditor.OpenScriptCreateDialog()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(baseName) - goArguments[1] = reflect.ValueOf(basePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "open_script_create_dialog", goArguments, "") - + godotCallVoidStringString(o, "open_script_create_dialog", baseName, basePath) log.Println(" Function successfully completed.") } @@ -84719,13 +55093,7 @@ func (o *ScrollBar) baseClass() string { func (o *ScrollBar) X_DragSlaveExit() { log.Println("Calling ScrollBar.X_DragSlaveExit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_drag_slave_exit", goArguments, "") - + godotCallVoid(o, "_drag_slave_exit") log.Println(" Function successfully completed.") } @@ -84736,14 +55104,7 @@ func (o *ScrollBar) X_DragSlaveExit() { func (o *ScrollBar) X_DragSlaveInput(arg0 *InputEvent) { log.Println("Calling ScrollBar.X_DragSlaveInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_drag_slave_input", goArguments, "") - + godotCallVoidObject(o, "_drag_slave_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84754,14 +55115,7 @@ func (o *ScrollBar) X_DragSlaveInput(arg0 *InputEvent) { func (o *ScrollBar) X_GuiInput(arg0 *InputEvent) { log.Println("Calling ScrollBar.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84772,16 +55126,9 @@ func (o *ScrollBar) X_GuiInput(arg0 *InputEvent) { func (o *ScrollBar) GetCustomStep() float64 { log.Println("Calling ScrollBar.GetCustomStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_step", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_custom_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84792,14 +55139,7 @@ func (o *ScrollBar) GetCustomStep() float64 { func (o *ScrollBar) SetCustomStep(step float64) { log.Println("Calling ScrollBar.SetCustomStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(step) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_step", goArguments, "") - + godotCallVoidFloat(o, "set_custom_step", step) log.Println(" Function successfully completed.") } @@ -84828,14 +55168,7 @@ func (o *ScrollContainer) baseClass() string { func (o *ScrollContainer) X_GuiInput(arg0 *InputEvent) { log.Println("Calling ScrollContainer.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -84846,14 +55179,7 @@ func (o *ScrollContainer) X_GuiInput(arg0 *InputEvent) { func (o *ScrollContainer) X_ScrollMoved(arg0 float64) { log.Println("Calling ScrollContainer.X_ScrollMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_moved", goArguments, "") - + godotCallVoidFloat(o, "_scroll_moved", arg0) log.Println(" Function successfully completed.") } @@ -84864,13 +55190,7 @@ func (o *ScrollContainer) X_ScrollMoved(arg0 float64) { func (o *ScrollContainer) X_UpdateScrollbarPosition() { log.Println("Calling ScrollContainer.X_UpdateScrollbarPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_scrollbar_position", goArguments, "") - + godotCallVoid(o, "_update_scrollbar_position") log.Println(" Function successfully completed.") } @@ -84881,16 +55201,9 @@ func (o *ScrollContainer) X_UpdateScrollbarPosition() { func (o *ScrollContainer) GetHScroll() int64 { log.Println("Calling ScrollContainer.GetHScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_scroll", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_scroll") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84901,16 +55214,9 @@ func (o *ScrollContainer) GetHScroll() int64 { func (o *ScrollContainer) GetVScroll() int64 { log.Println("Calling ScrollContainer.GetVScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_scroll", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_scroll") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84921,16 +55227,9 @@ func (o *ScrollContainer) GetVScroll() int64 { func (o *ScrollContainer) IsHScrollEnabled() bool { log.Println("Calling ScrollContainer.IsHScrollEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_h_scroll_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_h_scroll_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84941,16 +55240,9 @@ func (o *ScrollContainer) IsHScrollEnabled() bool { func (o *ScrollContainer) IsVScrollEnabled() bool { log.Println("Calling ScrollContainer.IsVScrollEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_v_scroll_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_v_scroll_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -84961,14 +55253,7 @@ func (o *ScrollContainer) IsVScrollEnabled() bool { func (o *ScrollContainer) SetEnableHScroll(enable bool) { log.Println("Calling ScrollContainer.SetEnableHScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_h_scroll", goArguments, "") - + godotCallVoidBool(o, "set_enable_h_scroll", enable) log.Println(" Function successfully completed.") } @@ -84979,14 +55264,7 @@ func (o *ScrollContainer) SetEnableHScroll(enable bool) { func (o *ScrollContainer) SetEnableVScroll(enable bool) { log.Println("Calling ScrollContainer.SetEnableVScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_v_scroll", goArguments, "") - + godotCallVoidBool(o, "set_enable_v_scroll", enable) log.Println(" Function successfully completed.") } @@ -84997,14 +55275,7 @@ func (o *ScrollContainer) SetEnableVScroll(enable bool) { func (o *ScrollContainer) SetHScroll(value int64) { log.Println("Calling ScrollContainer.SetHScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_scroll", goArguments, "") - + godotCallVoidInt(o, "set_h_scroll", value) log.Println(" Function successfully completed.") } @@ -85015,14 +55286,7 @@ func (o *ScrollContainer) SetHScroll(value int64) { func (o *ScrollContainer) SetVScroll(value int64) { log.Println("Calling ScrollContainer.SetVScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_scroll", goArguments, "") - + godotCallVoidInt(o, "set_v_scroll", value) log.Println(" Function successfully completed.") } @@ -85051,16 +55315,9 @@ func (o *SegmentShape2D) baseClass() string { func (o *SegmentShape2D) GetA() *Vector2 { log.Println("Calling SegmentShape2D.GetA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_a", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_a") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85071,16 +55328,9 @@ func (o *SegmentShape2D) GetA() *Vector2 { func (o *SegmentShape2D) GetB() *Vector2 { log.Println("Calling SegmentShape2D.GetB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_b", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_b") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85091,14 +55341,7 @@ func (o *SegmentShape2D) GetB() *Vector2 { func (o *SegmentShape2D) SetA(a *Vector2) { log.Println("Calling SegmentShape2D.SetA()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(a) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_a", goArguments, "") - + godotCallVoidVector2(o, "set_a", a) log.Println(" Function successfully completed.") } @@ -85109,14 +55352,7 @@ func (o *SegmentShape2D) SetA(a *Vector2) { func (o *SegmentShape2D) SetB(b *Vector2) { log.Println("Calling SegmentShape2D.SetB()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(b) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_b", goArguments, "") - + godotCallVoidVector2(o, "set_b", b) log.Println(" Function successfully completed.") } @@ -85163,16 +55399,9 @@ func (o *Shader) baseClass() string { func (o *Shader) GetCode() string { log.Println("Calling Shader.GetCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_code", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_code") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85183,18 +55412,12 @@ func (o *Shader) GetCode() string { func (o *Shader) GetDefaultTextureParam(param string) *Texture { log.Println("Calling Shader.GetDefaultTextureParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_texture_param", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectString(o, "get_default_texture_param", param) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -85204,16 +55427,9 @@ func (o *Shader) GetDefaultTextureParam(param string) *Texture { func (o *Shader) GetMode() int64 { log.Println("Calling Shader.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85224,17 +55440,9 @@ func (o *Shader) GetMode() int64 { func (o *Shader) HasParam(name string) bool { log.Println("Calling Shader.HasParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_param", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_param", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85245,14 +55453,7 @@ func (o *Shader) HasParam(name string) bool { func (o *Shader) SetCode(code string) { log.Println("Calling Shader.SetCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(code) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_code", goArguments, "") - + godotCallVoidString(o, "set_code", code) log.Println(" Function successfully completed.") } @@ -85263,15 +55464,7 @@ func (o *Shader) SetCode(code string) { func (o *Shader) SetDefaultTextureParam(param string, texture *Texture) { log.Println("Calling Shader.SetDefaultTextureParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_texture_param", goArguments, "") - + godotCallVoidStringObject(o, "set_default_texture_param", param, &texture.Object) log.Println(" Function successfully completed.") } @@ -85300,17 +55493,12 @@ func (o *ShaderMaterial) baseClass() string { func (o *ShaderMaterial) GetShader() *Shader { log.Println("Calling ShaderMaterial.GetShader()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shader", goArguments, "*Shader") - - returnValue := goRet.Interface().(*Shader) - + returnValue := godotCallObject(o, "get_shader") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shader + ret.owner = returnValue.owner + return &ret } @@ -85320,17 +55508,9 @@ func (o *ShaderMaterial) GetShader() *Shader { func (o *ShaderMaterial) GetShaderParam(param string) *Variant { log.Println("Calling ShaderMaterial.GetShaderParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shader_param", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get_shader_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85341,14 +55521,7 @@ func (o *ShaderMaterial) GetShaderParam(param string) *Variant { func (o *ShaderMaterial) SetShader(shader *Shader) { log.Println("Calling ShaderMaterial.SetShader()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shader) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shader", goArguments, "") - + godotCallVoidObject(o, "set_shader", &shader.Object) log.Println(" Function successfully completed.") } @@ -85359,15 +55532,7 @@ func (o *ShaderMaterial) SetShader(shader *Shader) { func (o *ShaderMaterial) SetShaderParam(param string, value *Variant) { log.Println("Calling ShaderMaterial.SetShaderParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shader_param", goArguments, "") - + godotCallVoidStringVariant(o, "set_shader_param", param, value) log.Println(" Function successfully completed.") } @@ -85414,19 +55579,9 @@ func (o *Shape2D) baseClass() string { func (o *Shape2D) Collide(localXform *Transform2D, withShape *Shape2D, shapeXform *Transform2D) bool { log.Println("Calling Shape2D.Collide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(localXform) - goArguments[1] = reflect.ValueOf(withShape) - goArguments[2] = reflect.ValueOf(shapeXform) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolTransform2DObjectTransform2D(o, "collide", localXform, &withShape.Object, shapeXform) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85437,19 +55592,9 @@ func (o *Shape2D) Collide(localXform *Transform2D, withShape *Shape2D, shapeXfor func (o *Shape2D) CollideAndGetContacts(localXform *Transform2D, withShape *Shape2D, shapeXform *Transform2D) *Variant { log.Println("Calling Shape2D.CollideAndGetContacts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(localXform) - goArguments[1] = reflect.ValueOf(withShape) - goArguments[2] = reflect.ValueOf(shapeXform) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide_and_get_contacts", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantTransform2DObjectTransform2D(o, "collide_and_get_contacts", localXform, &withShape.Object, shapeXform) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85460,21 +55605,9 @@ func (o *Shape2D) CollideAndGetContacts(localXform *Transform2D, withShape *Shap func (o *Shape2D) CollideWithMotion(localXform *Transform2D, localMotion *Vector2, withShape *Shape2D, shapeXform *Transform2D, shapeMotion *Vector2) bool { log.Println("Calling Shape2D.CollideWithMotion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(localXform) - goArguments[1] = reflect.ValueOf(localMotion) - goArguments[2] = reflect.ValueOf(withShape) - goArguments[3] = reflect.ValueOf(shapeXform) - goArguments[4] = reflect.ValueOf(shapeMotion) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide_with_motion", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolTransform2DVector2ObjectTransform2DVector2(o, "collide_with_motion", localXform, localMotion, &withShape.Object, shapeXform, shapeMotion) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85485,21 +55618,9 @@ func (o *Shape2D) CollideWithMotion(localXform *Transform2D, localMotion *Vector func (o *Shape2D) CollideWithMotionAndGetContacts(localXform *Transform2D, localMotion *Vector2, withShape *Shape2D, shapeXform *Transform2D, shapeMotion *Vector2) *Variant { log.Println("Calling Shape2D.CollideWithMotionAndGetContacts()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(localXform) - goArguments[1] = reflect.ValueOf(localMotion) - goArguments[2] = reflect.ValueOf(withShape) - goArguments[3] = reflect.ValueOf(shapeXform) - goArguments[4] = reflect.ValueOf(shapeMotion) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "collide_with_motion_and_get_contacts", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantTransform2DVector2ObjectTransform2DVector2(o, "collide_with_motion_and_get_contacts", localXform, localMotion, &withShape.Object, shapeXform, shapeMotion) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85510,16 +55631,9 @@ func (o *Shape2D) CollideWithMotionAndGetContacts(localXform *Transform2D, local func (o *Shape2D) GetCustomSolverBias() float64 { log.Println("Calling Shape2D.GetCustomSolverBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_solver_bias", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_custom_solver_bias") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85530,14 +55644,7 @@ func (o *Shape2D) GetCustomSolverBias() float64 { func (o *Shape2D) SetCustomSolverBias(bias float64) { log.Println("Calling Shape2D.SetCustomSolverBias()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bias) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_solver_bias", goArguments, "") - + godotCallVoidFloat(o, "set_custom_solver_bias", bias) log.Println(" Function successfully completed.") } @@ -85566,16 +55673,9 @@ func (o *ShortCut) baseClass() string { func (o *ShortCut) GetAsText() string { log.Println("Calling ShortCut.GetAsText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_as_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_as_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85586,17 +55686,12 @@ func (o *ShortCut) GetAsText() string { func (o *ShortCut) GetShortcut() *InputEvent { log.Println("Calling ShortCut.GetShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shortcut", goArguments, "*InputEvent") - - returnValue := goRet.Interface().(*InputEvent) - + returnValue := godotCallObject(o, "get_shortcut") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret InputEvent + ret.owner = returnValue.owner + return &ret } @@ -85606,17 +55701,9 @@ func (o *ShortCut) GetShortcut() *InputEvent { func (o *ShortCut) IsShortcut(event *InputEvent) bool { log.Println("Calling ShortCut.IsShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shortcut", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObject(o, "is_shortcut", &event.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85627,16 +55714,9 @@ func (o *ShortCut) IsShortcut(event *InputEvent) bool { func (o *ShortCut) IsValid() bool { log.Println("Calling ShortCut.IsValid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_valid", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_valid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85647,14 +55727,7 @@ func (o *ShortCut) IsValid() bool { func (o *ShortCut) SetShortcut(event *InputEvent) { log.Println("Calling ShortCut.SetShortcut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shortcut", goArguments, "") - + godotCallVoidObject(o, "set_shortcut", &event.Object) log.Println(" Function successfully completed.") } @@ -85683,14 +55756,7 @@ func (o *Skeleton) baseClass() string { func (o *Skeleton) AddBone(name string) { log.Println("Calling Skeleton.AddBone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_bone", goArguments, "") - + godotCallVoidString(o, "add_bone", name) log.Println(" Function successfully completed.") } @@ -85701,15 +55767,7 @@ func (o *Skeleton) AddBone(name string) { func (o *Skeleton) BindChildNodeToBone(boneIdx int64, node *Object) { log.Println("Calling Skeleton.BindChildNodeToBone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "bind_child_node_to_bone", goArguments, "") - + godotCallVoidIntObject(o, "bind_child_node_to_bone", boneIdx, node) log.Println(" Function successfully completed.") } @@ -85720,13 +55778,7 @@ func (o *Skeleton) BindChildNodeToBone(boneIdx int64, node *Object) { func (o *Skeleton) ClearBones() { log.Println("Calling Skeleton.ClearBones()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_bones", goArguments, "") - + godotCallVoid(o, "clear_bones") log.Println(" Function successfully completed.") } @@ -85737,17 +55789,9 @@ func (o *Skeleton) ClearBones() { func (o *Skeleton) FindBone(name string) int64 { log.Println("Calling Skeleton.FindBone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_bone", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "find_bone", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85758,16 +55802,9 @@ func (o *Skeleton) FindBone(name string) int64 { func (o *Skeleton) GetBoneCount() int64 { log.Println("Calling Skeleton.GetBoneCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_bone_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85778,17 +55815,9 @@ func (o *Skeleton) GetBoneCount() int64 { func (o *Skeleton) GetBoneCustomPose(boneIdx int64) *Transform { log.Println("Calling Skeleton.GetBoneCustomPose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_custom_pose", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_bone_custom_pose", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85799,17 +55828,9 @@ func (o *Skeleton) GetBoneCustomPose(boneIdx int64) *Transform { func (o *Skeleton) GetBoneGlobalPose(boneIdx int64) *Transform { log.Println("Calling Skeleton.GetBoneGlobalPose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_global_pose", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_bone_global_pose", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85820,17 +55841,9 @@ func (o *Skeleton) GetBoneGlobalPose(boneIdx int64) *Transform { func (o *Skeleton) GetBoneName(boneIdx int64) string { log.Println("Calling Skeleton.GetBoneName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_bone_name", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85841,17 +55854,9 @@ func (o *Skeleton) GetBoneName(boneIdx int64) string { func (o *Skeleton) GetBoneParent(boneIdx int64) int64 { log.Println("Calling Skeleton.GetBoneParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_parent", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_bone_parent", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85862,17 +55867,9 @@ func (o *Skeleton) GetBoneParent(boneIdx int64) int64 { func (o *Skeleton) GetBonePose(boneIdx int64) *Transform { log.Println("Calling Skeleton.GetBonePose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_pose", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_bone_pose", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85883,17 +55880,9 @@ func (o *Skeleton) GetBonePose(boneIdx int64) *Transform { func (o *Skeleton) GetBoneRest(boneIdx int64) *Transform { log.Println("Calling Skeleton.GetBoneRest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_rest", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_bone_rest", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85904,17 +55893,9 @@ func (o *Skeleton) GetBoneRest(boneIdx int64) *Transform { func (o *Skeleton) GetBoneTransform(boneIdx int64) *Transform { log.Println("Calling Skeleton.GetBoneTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bone_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransformInt(o, "get_bone_transform", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85925,17 +55906,9 @@ func (o *Skeleton) GetBoneTransform(boneIdx int64) *Transform { func (o *Skeleton) GetBoundChildNodesToBone(boneIdx int64) *Array { log.Println("Calling Skeleton.GetBoundChildNodesToBone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bound_child_nodes_to_bone", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_bound_child_nodes_to_bone", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85946,17 +55919,9 @@ func (o *Skeleton) GetBoundChildNodesToBone(boneIdx int64) *Array { func (o *Skeleton) IsBoneRestDisabled(boneIdx int64) bool { log.Println("Calling Skeleton.IsBoneRestDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_bone_rest_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_bone_rest_disabled", boneIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -85967,15 +55932,7 @@ func (o *Skeleton) IsBoneRestDisabled(boneIdx int64) bool { func (o *Skeleton) SetBoneCustomPose(boneIdx int64, customPose *Transform) { log.Println("Calling Skeleton.SetBoneCustomPose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(customPose) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_custom_pose", goArguments, "") - + godotCallVoidIntTransform(o, "set_bone_custom_pose", boneIdx, customPose) log.Println(" Function successfully completed.") } @@ -85986,15 +55943,7 @@ func (o *Skeleton) SetBoneCustomPose(boneIdx int64, customPose *Transform) { func (o *Skeleton) SetBoneDisableRest(boneIdx int64, disable bool) { log.Println("Calling Skeleton.SetBoneDisableRest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_disable_rest", goArguments, "") - + godotCallVoidIntBool(o, "set_bone_disable_rest", boneIdx, disable) log.Println(" Function successfully completed.") } @@ -86005,15 +55954,7 @@ func (o *Skeleton) SetBoneDisableRest(boneIdx int64, disable bool) { func (o *Skeleton) SetBoneGlobalPose(boneIdx int64, pose *Transform) { log.Println("Calling Skeleton.SetBoneGlobalPose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(pose) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_global_pose", goArguments, "") - + godotCallVoidIntTransform(o, "set_bone_global_pose", boneIdx, pose) log.Println(" Function successfully completed.") } @@ -86024,15 +55965,7 @@ func (o *Skeleton) SetBoneGlobalPose(boneIdx int64, pose *Transform) { func (o *Skeleton) SetBoneParent(boneIdx int64, parentIdx int64) { log.Println("Calling Skeleton.SetBoneParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(parentIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_parent", goArguments, "") - + godotCallVoidIntInt(o, "set_bone_parent", boneIdx, parentIdx) log.Println(" Function successfully completed.") } @@ -86043,15 +55976,7 @@ func (o *Skeleton) SetBoneParent(boneIdx int64, parentIdx int64) { func (o *Skeleton) SetBonePose(boneIdx int64, pose *Transform) { log.Println("Calling Skeleton.SetBonePose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(pose) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_pose", goArguments, "") - + godotCallVoidIntTransform(o, "set_bone_pose", boneIdx, pose) log.Println(" Function successfully completed.") } @@ -86062,15 +55987,7 @@ func (o *Skeleton) SetBonePose(boneIdx int64, pose *Transform) { func (o *Skeleton) SetBoneRest(boneIdx int64, rest *Transform) { log.Println("Calling Skeleton.SetBoneRest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(rest) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bone_rest", goArguments, "") - + godotCallVoidIntTransform(o, "set_bone_rest", boneIdx, rest) log.Println(" Function successfully completed.") } @@ -86081,15 +55998,7 @@ func (o *Skeleton) SetBoneRest(boneIdx int64, rest *Transform) { func (o *Skeleton) UnbindChildNodeFromBone(boneIdx int64, node *Object) { log.Println("Calling Skeleton.UnbindChildNodeFromBone()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(boneIdx) - goArguments[1] = reflect.ValueOf(node) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unbind_child_node_from_bone", goArguments, "") - + godotCallVoidIntObject(o, "unbind_child_node_from_bone", boneIdx, node) log.Println(" Function successfully completed.") } @@ -86100,14 +56009,7 @@ func (o *Skeleton) UnbindChildNodeFromBone(boneIdx int64, node *Object) { func (o *Skeleton) UnparentBoneAndRest(boneIdx int64) { log.Println("Calling Skeleton.UnparentBoneAndRest()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(boneIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unparent_bone_and_rest", goArguments, "") - + godotCallVoidInt(o, "unparent_bone_and_rest", boneIdx) log.Println(" Function successfully completed.") } @@ -86136,16 +56038,9 @@ func (o *Sky) baseClass() string { func (o *Sky) GetRadianceSize() int64 { log.Println("Calling Sky.GetRadianceSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radiance_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_radiance_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86156,14 +56051,7 @@ func (o *Sky) GetRadianceSize() int64 { func (o *Sky) SetRadianceSize(size int64) { log.Println("Calling Sky.SetRadianceSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radiance_size", goArguments, "") - + godotCallVoidInt(o, "set_radiance_size", size) log.Println(" Function successfully completed.") } @@ -86192,14 +56080,7 @@ func (o *Slider) baseClass() string { func (o *Slider) X_GuiInput(arg0 *InputEvent) { log.Println("Calling Slider.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -86210,16 +56091,9 @@ func (o *Slider) X_GuiInput(arg0 *InputEvent) { func (o *Slider) GetTicks() int64 { log.Println("Calling Slider.GetTicks()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ticks", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_ticks") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86230,16 +56104,9 @@ func (o *Slider) GetTicks() int64 { func (o *Slider) GetTicksOnBorders() bool { log.Println("Calling Slider.GetTicksOnBorders()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ticks_on_borders", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_ticks_on_borders") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86250,16 +56117,9 @@ func (o *Slider) GetTicksOnBorders() bool { func (o *Slider) IsEditable() bool { log.Println("Calling Slider.IsEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86270,14 +56130,7 @@ func (o *Slider) IsEditable() bool { func (o *Slider) SetEditable(editable bool) { log.Println("Calling Slider.SetEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(editable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editable", goArguments, "") - + godotCallVoidBool(o, "set_editable", editable) log.Println(" Function successfully completed.") } @@ -86288,14 +56141,7 @@ func (o *Slider) SetEditable(editable bool) { func (o *Slider) SetTicks(count int64) { log.Println("Calling Slider.SetTicks()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(count) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ticks", goArguments, "") - + godotCallVoidInt(o, "set_ticks", count) log.Println(" Function successfully completed.") } @@ -86306,14 +56152,7 @@ func (o *Slider) SetTicks(count int64) { func (o *Slider) SetTicksOnBorders(ticksOnBorder bool) { log.Println("Calling Slider.SetTicksOnBorders()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(ticksOnBorder) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ticks_on_borders", goArguments, "") - + godotCallVoidBool(o, "set_ticks_on_borders", ticksOnBorder) log.Println(" Function successfully completed.") } @@ -86342,16 +56181,9 @@ func (o *SliderJoint) baseClass() string { func (o *SliderJoint) X_GetLowerLimitAngular() float64 { log.Println("Calling SliderJoint.X_GetLowerLimitAngular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_lower_limit_angular", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_lower_limit_angular") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86362,16 +56194,9 @@ func (o *SliderJoint) X_GetLowerLimitAngular() float64 { func (o *SliderJoint) X_GetUpperLimitAngular() float64 { log.Println("Calling SliderJoint.X_GetUpperLimitAngular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_upper_limit_angular", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "_get_upper_limit_angular") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86382,14 +56207,7 @@ func (o *SliderJoint) X_GetUpperLimitAngular() float64 { func (o *SliderJoint) X_SetLowerLimitAngular(lowerLimitAngular float64) { log.Println("Calling SliderJoint.X_SetLowerLimitAngular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lowerLimitAngular) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_lower_limit_angular", goArguments, "") - + godotCallVoidFloat(o, "_set_lower_limit_angular", lowerLimitAngular) log.Println(" Function successfully completed.") } @@ -86400,14 +56218,7 @@ func (o *SliderJoint) X_SetLowerLimitAngular(lowerLimitAngular float64) { func (o *SliderJoint) X_SetUpperLimitAngular(upperLimitAngular float64) { log.Println("Calling SliderJoint.X_SetUpperLimitAngular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(upperLimitAngular) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_upper_limit_angular", goArguments, "") - + godotCallVoidFloat(o, "_set_upper_limit_angular", upperLimitAngular) log.Println(" Function successfully completed.") } @@ -86418,17 +56229,9 @@ func (o *SliderJoint) X_SetUpperLimitAngular(upperLimitAngular float64) { func (o *SliderJoint) GetParam(param int64) float64 { log.Println("Calling SliderJoint.GetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_param", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_param", param) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86439,15 +56242,7 @@ func (o *SliderJoint) GetParam(param int64) float64 { func (o *SliderJoint) SetParam(param int64, value float64) { log.Println("Calling SliderJoint.SetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_param", goArguments, "") - + godotCallVoidIntFloat(o, "set_param", param, value) log.Println(" Function successfully completed.") } @@ -86476,13 +56271,7 @@ func (o *Spatial) baseClass() string { func (o *Spatial) X_UpdateGizmo() { log.Println("Calling Spatial.X_UpdateGizmo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_gizmo", goArguments, "") - + godotCallVoid(o, "_update_gizmo") log.Println(" Function successfully completed.") } @@ -86493,17 +56282,12 @@ func (o *Spatial) X_UpdateGizmo() { func (o *Spatial) GetGizmo() *SpatialGizmo { log.Println("Calling Spatial.GetGizmo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_gizmo", goArguments, "*SpatialGizmo") - - returnValue := goRet.Interface().(*SpatialGizmo) - + returnValue := godotCallObject(o, "get_gizmo") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret SpatialGizmo + ret.owner = returnValue.owner + return &ret } @@ -86513,16 +56297,9 @@ func (o *Spatial) GetGizmo() *SpatialGizmo { func (o *Spatial) GetGlobalTransform() *Transform { log.Println("Calling Spatial.GetGlobalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_global_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86533,17 +56310,12 @@ func (o *Spatial) GetGlobalTransform() *Transform { func (o *Spatial) GetParentSpatial() *Spatial { log.Println("Calling Spatial.GetParentSpatial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent_spatial", goArguments, "*Spatial") - - returnValue := goRet.Interface().(*Spatial) - + returnValue := godotCallObject(o, "get_parent_spatial") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Spatial + ret.owner = returnValue.owner + return &ret } @@ -86553,16 +56325,9 @@ func (o *Spatial) GetParentSpatial() *Spatial { func (o *Spatial) GetRotation() *Vector3 { log.Println("Calling Spatial.GetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_rotation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86573,16 +56338,9 @@ func (o *Spatial) GetRotation() *Vector3 { func (o *Spatial) GetRotationDegrees() *Vector3 { log.Println("Calling Spatial.GetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rotation_degrees", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_rotation_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86593,16 +56351,9 @@ func (o *Spatial) GetRotationDegrees() *Vector3 { func (o *Spatial) GetScale() *Vector3 { log.Println("Calling Spatial.GetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scale", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86613,16 +56364,9 @@ func (o *Spatial) GetScale() *Vector3 { func (o *Spatial) GetTransform() *Transform { log.Println("Calling Spatial.GetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transform", goArguments, "*Transform") - - returnValue := goRet.Interface().(*Transform) - + returnValue := godotCallTransform(o, "get_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86633,16 +56377,9 @@ func (o *Spatial) GetTransform() *Transform { func (o *Spatial) GetTranslation() *Vector3 { log.Println("Calling Spatial.GetTranslation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_translation", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_translation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86653,17 +56390,12 @@ func (o *Spatial) GetTranslation() *Vector3 { func (o *Spatial) GetWorld() *World { log.Println("Calling Spatial.GetWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world", goArguments, "*World") - - returnValue := goRet.Interface().(*World) - + returnValue := godotCallObject(o, "get_world") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World + ret.owner = returnValue.owner + return &ret } @@ -86673,15 +56405,7 @@ func (o *Spatial) GetWorld() *World { func (o *Spatial) GlobalRotate(axis *Vector3, angle float64) { log.Println("Calling Spatial.GlobalRotate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(axis) - goArguments[1] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "global_rotate", goArguments, "") - + godotCallVoidVector3Float(o, "global_rotate", axis, angle) log.Println(" Function successfully completed.") } @@ -86692,14 +56416,7 @@ func (o *Spatial) GlobalRotate(axis *Vector3, angle float64) { func (o *Spatial) GlobalScale(scale *Vector3) { log.Println("Calling Spatial.GlobalScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "global_scale", goArguments, "") - + godotCallVoidVector3(o, "global_scale", scale) log.Println(" Function successfully completed.") } @@ -86710,14 +56427,7 @@ func (o *Spatial) GlobalScale(scale *Vector3) { func (o *Spatial) GlobalTranslate(offset *Vector3) { log.Println("Calling Spatial.GlobalTranslate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "global_translate", goArguments, "") - + godotCallVoidVector3(o, "global_translate", offset) log.Println(" Function successfully completed.") } @@ -86728,13 +56438,7 @@ func (o *Spatial) GlobalTranslate(offset *Vector3) { func (o *Spatial) Hide() { log.Println("Calling Spatial.Hide()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "hide", goArguments, "") - + godotCallVoid(o, "hide") log.Println(" Function successfully completed.") } @@ -86745,16 +56449,9 @@ func (o *Spatial) Hide() { func (o *Spatial) IsLocalTransformNotificationEnabled() bool { log.Println("Calling Spatial.IsLocalTransformNotificationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_local_transform_notification_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_local_transform_notification_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86765,16 +56462,9 @@ func (o *Spatial) IsLocalTransformNotificationEnabled() bool { func (o *Spatial) IsSetAsToplevel() bool { log.Println("Calling Spatial.IsSetAsToplevel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_set_as_toplevel", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_set_as_toplevel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86785,16 +56475,9 @@ func (o *Spatial) IsSetAsToplevel() bool { func (o *Spatial) IsTransformNotificationEnabled() bool { log.Println("Calling Spatial.IsTransformNotificationEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_transform_notification_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_transform_notification_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86805,16 +56488,9 @@ func (o *Spatial) IsTransformNotificationEnabled() bool { func (o *Spatial) IsVisible() bool { log.Println("Calling Spatial.IsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86825,16 +56501,9 @@ func (o *Spatial) IsVisible() bool { func (o *Spatial) IsVisibleInTree() bool { log.Println("Calling Spatial.IsVisibleInTree()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_visible_in_tree", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_visible_in_tree") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -86845,15 +56514,7 @@ func (o *Spatial) IsVisibleInTree() bool { func (o *Spatial) LookAt(target *Vector3, up *Vector3) { log.Println("Calling Spatial.LookAt()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(target) - goArguments[1] = reflect.ValueOf(up) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "look_at", goArguments, "") - + godotCallVoidVector3Vector3(o, "look_at", target, up) log.Println(" Function successfully completed.") } @@ -86864,16 +56525,7 @@ func (o *Spatial) LookAt(target *Vector3, up *Vector3) { func (o *Spatial) LookAtFromPosition(position *Vector3, target *Vector3, up *Vector3) { log.Println("Calling Spatial.LookAtFromPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(target) - goArguments[2] = reflect.ValueOf(up) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "look_at_from_position", goArguments, "") - + godotCallVoidVector3Vector3Vector3(o, "look_at_from_position", position, target, up) log.Println(" Function successfully completed.") } @@ -86884,13 +56536,7 @@ func (o *Spatial) LookAtFromPosition(position *Vector3, target *Vector3, up *Vec func (o *Spatial) Orthonormalize() { log.Println("Calling Spatial.Orthonormalize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "orthonormalize", goArguments, "") - + godotCallVoid(o, "orthonormalize") log.Println(" Function successfully completed.") } @@ -86901,15 +56547,7 @@ func (o *Spatial) Orthonormalize() { func (o *Spatial) Rotate(axis *Vector3, angle float64) { log.Println("Calling Spatial.Rotate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(axis) - goArguments[1] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate", goArguments, "") - + godotCallVoidVector3Float(o, "rotate", axis, angle) log.Println(" Function successfully completed.") } @@ -86920,15 +56558,7 @@ func (o *Spatial) Rotate(axis *Vector3, angle float64) { func (o *Spatial) RotateObjectLocal(axis *Vector3, angle float64) { log.Println("Calling Spatial.RotateObjectLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(axis) - goArguments[1] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate_object_local", goArguments, "") - + godotCallVoidVector3Float(o, "rotate_object_local", axis, angle) log.Println(" Function successfully completed.") } @@ -86939,14 +56569,7 @@ func (o *Spatial) RotateObjectLocal(axis *Vector3, angle float64) { func (o *Spatial) RotateX(angle float64) { log.Println("Calling Spatial.RotateX()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate_x", goArguments, "") - + godotCallVoidFloat(o, "rotate_x", angle) log.Println(" Function successfully completed.") } @@ -86957,14 +56580,7 @@ func (o *Spatial) RotateX(angle float64) { func (o *Spatial) RotateY(angle float64) { log.Println("Calling Spatial.RotateY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate_y", goArguments, "") - + godotCallVoidFloat(o, "rotate_y", angle) log.Println(" Function successfully completed.") } @@ -86975,14 +56591,7 @@ func (o *Spatial) RotateY(angle float64) { func (o *Spatial) RotateZ(angle float64) { log.Println("Calling Spatial.RotateZ()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(angle) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rotate_z", goArguments, "") - + godotCallVoidFloat(o, "rotate_z", angle) log.Println(" Function successfully completed.") } @@ -86993,14 +56602,7 @@ func (o *Spatial) RotateZ(angle float64) { func (o *Spatial) ScaleObjectLocal(scale *Vector3) { log.Println("Calling Spatial.ScaleObjectLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "scale_object_local", goArguments, "") - + godotCallVoidVector3(o, "scale_object_local", scale) log.Println(" Function successfully completed.") } @@ -87011,14 +56613,7 @@ func (o *Spatial) ScaleObjectLocal(scale *Vector3) { func (o *Spatial) SetAsToplevel(enable bool) { log.Println("Calling Spatial.SetAsToplevel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_toplevel", goArguments, "") - + godotCallVoidBool(o, "set_as_toplevel", enable) log.Println(" Function successfully completed.") } @@ -87029,14 +56624,7 @@ func (o *Spatial) SetAsToplevel(enable bool) { func (o *Spatial) SetGizmo(gizmo *SpatialGizmo) { log.Println("Calling Spatial.SetGizmo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(gizmo) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_gizmo", goArguments, "") - + godotCallVoidObject(o, "set_gizmo", &gizmo.Object) log.Println(" Function successfully completed.") } @@ -87047,14 +56635,7 @@ func (o *Spatial) SetGizmo(gizmo *SpatialGizmo) { func (o *Spatial) SetGlobalTransform(global *Transform) { log.Println("Calling Spatial.SetGlobalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(global) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_transform", goArguments, "") - + godotCallVoidTransform(o, "set_global_transform", global) log.Println(" Function successfully completed.") } @@ -87065,13 +56646,7 @@ func (o *Spatial) SetGlobalTransform(global *Transform) { func (o *Spatial) SetIdentity() { log.Println("Calling Spatial.SetIdentity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_identity", goArguments, "") - + godotCallVoid(o, "set_identity") log.Println(" Function successfully completed.") } @@ -87082,14 +56657,7 @@ func (o *Spatial) SetIdentity() { func (o *Spatial) SetIgnoreTransformNotification(enabled bool) { log.Println("Calling Spatial.SetIgnoreTransformNotification()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ignore_transform_notification", goArguments, "") - + godotCallVoidBool(o, "set_ignore_transform_notification", enabled) log.Println(" Function successfully completed.") } @@ -87100,14 +56668,7 @@ func (o *Spatial) SetIgnoreTransformNotification(enabled bool) { func (o *Spatial) SetNotifyLocalTransform(enable bool) { log.Println("Calling Spatial.SetNotifyLocalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_notify_local_transform", goArguments, "") - + godotCallVoidBool(o, "set_notify_local_transform", enable) log.Println(" Function successfully completed.") } @@ -87118,14 +56679,7 @@ func (o *Spatial) SetNotifyLocalTransform(enable bool) { func (o *Spatial) SetNotifyTransform(enable bool) { log.Println("Calling Spatial.SetNotifyTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_notify_transform", goArguments, "") - + godotCallVoidBool(o, "set_notify_transform", enable) log.Println(" Function successfully completed.") } @@ -87136,14 +56690,7 @@ func (o *Spatial) SetNotifyTransform(enable bool) { func (o *Spatial) SetRotation(euler *Vector3) { log.Println("Calling Spatial.SetRotation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(euler) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation", goArguments, "") - + godotCallVoidVector3(o, "set_rotation", euler) log.Println(" Function successfully completed.") } @@ -87154,14 +56701,7 @@ func (o *Spatial) SetRotation(euler *Vector3) { func (o *Spatial) SetRotationDegrees(eulerDegrees *Vector3) { log.Println("Calling Spatial.SetRotationDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(eulerDegrees) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rotation_degrees", goArguments, "") - + godotCallVoidVector3(o, "set_rotation_degrees", eulerDegrees) log.Println(" Function successfully completed.") } @@ -87172,14 +56712,7 @@ func (o *Spatial) SetRotationDegrees(eulerDegrees *Vector3) { func (o *Spatial) SetScale(scale *Vector3) { log.Println("Calling Spatial.SetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scale", goArguments, "") - + godotCallVoidVector3(o, "set_scale", scale) log.Println(" Function successfully completed.") } @@ -87190,14 +56723,7 @@ func (o *Spatial) SetScale(scale *Vector3) { func (o *Spatial) SetTransform(local *Transform) { log.Println("Calling Spatial.SetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(local) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transform", goArguments, "") - + godotCallVoidTransform(o, "set_transform", local) log.Println(" Function successfully completed.") } @@ -87208,14 +56734,7 @@ func (o *Spatial) SetTransform(local *Transform) { func (o *Spatial) SetTranslation(translation *Vector3) { log.Println("Calling Spatial.SetTranslation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(translation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_translation", goArguments, "") - + godotCallVoidVector3(o, "set_translation", translation) log.Println(" Function successfully completed.") } @@ -87226,14 +56745,7 @@ func (o *Spatial) SetTranslation(translation *Vector3) { func (o *Spatial) SetVisible(visible bool) { log.Println("Calling Spatial.SetVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visible", goArguments, "") - + godotCallVoidBool(o, "set_visible", visible) log.Println(" Function successfully completed.") } @@ -87244,13 +56756,7 @@ func (o *Spatial) SetVisible(visible bool) { func (o *Spatial) Show() { log.Println("Calling Spatial.Show()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "show", goArguments, "") - + godotCallVoid(o, "show") log.Println(" Function successfully completed.") } @@ -87261,17 +56767,9 @@ func (o *Spatial) Show() { func (o *Spatial) ToGlobal(localPoint *Vector3) *Vector3 { log.Println("Calling Spatial.ToGlobal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "to_global", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "to_global", localPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87282,17 +56780,9 @@ func (o *Spatial) ToGlobal(localPoint *Vector3) *Vector3 { func (o *Spatial) ToLocal(globalPoint *Vector3) *Vector3 { log.Println("Calling Spatial.ToLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(globalPoint) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "to_local", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3Vector3(o, "to_local", globalPoint) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87303,14 +56793,7 @@ func (o *Spatial) ToLocal(globalPoint *Vector3) *Vector3 { func (o *Spatial) Translate(offset *Vector3) { log.Println("Calling Spatial.Translate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "translate", goArguments, "") - + godotCallVoidVector3(o, "translate", offset) log.Println(" Function successfully completed.") } @@ -87321,14 +56804,7 @@ func (o *Spatial) Translate(offset *Vector3) { func (o *Spatial) TranslateObjectLocal(offset *Vector3) { log.Println("Calling Spatial.TranslateObjectLocal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "translate_object_local", goArguments, "") - + godotCallVoidVector3(o, "translate_object_local", offset) log.Println(" Function successfully completed.") } @@ -87339,13 +56815,7 @@ func (o *Spatial) TranslateObjectLocal(offset *Vector3) { func (o *Spatial) UpdateGizmo() { log.Println("Calling Spatial.UpdateGizmo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_gizmo", goArguments, "") - + godotCallVoid(o, "update_gizmo") log.Println(" Function successfully completed.") } @@ -87392,16 +56862,9 @@ func (o *SpatialMaterial) baseClass() string { func (o *SpatialMaterial) GetAlbedo() *Color { log.Println("Calling SpatialMaterial.GetAlbedo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_albedo", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_albedo") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87412,16 +56875,9 @@ func (o *SpatialMaterial) GetAlbedo() *Color { func (o *SpatialMaterial) GetAlphaScissorThreshold() float64 { log.Println("Calling SpatialMaterial.GetAlphaScissorThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_alpha_scissor_threshold", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_alpha_scissor_threshold") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87432,16 +56888,9 @@ func (o *SpatialMaterial) GetAlphaScissorThreshold() float64 { func (o *SpatialMaterial) GetAnisotropy() float64 { log.Println("Calling SpatialMaterial.GetAnisotropy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_anisotropy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_anisotropy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87452,16 +56901,9 @@ func (o *SpatialMaterial) GetAnisotropy() float64 { func (o *SpatialMaterial) GetAoLightAffect() float64 { log.Println("Calling SpatialMaterial.GetAoLightAffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ao_light_affect", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_ao_light_affect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87472,16 +56914,9 @@ func (o *SpatialMaterial) GetAoLightAffect() float64 { func (o *SpatialMaterial) GetAoTextureChannel() int64 { log.Println("Calling SpatialMaterial.GetAoTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ao_texture_channel", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_ao_texture_channel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87492,16 +56927,9 @@ func (o *SpatialMaterial) GetAoTextureChannel() int64 { func (o *SpatialMaterial) GetBillboardMode() int64 { log.Println("Calling SpatialMaterial.GetBillboardMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_billboard_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_billboard_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87512,16 +56940,9 @@ func (o *SpatialMaterial) GetBillboardMode() int64 { func (o *SpatialMaterial) GetBlendMode() int64 { log.Println("Calling SpatialMaterial.GetBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_blend_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_blend_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87532,16 +56953,9 @@ func (o *SpatialMaterial) GetBlendMode() int64 { func (o *SpatialMaterial) GetClearcoat() float64 { log.Println("Calling SpatialMaterial.GetClearcoat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_clearcoat", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_clearcoat") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87552,16 +56966,9 @@ func (o *SpatialMaterial) GetClearcoat() float64 { func (o *SpatialMaterial) GetClearcoatGloss() float64 { log.Println("Calling SpatialMaterial.GetClearcoatGloss()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_clearcoat_gloss", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_clearcoat_gloss") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87572,16 +56979,9 @@ func (o *SpatialMaterial) GetClearcoatGloss() float64 { func (o *SpatialMaterial) GetCullMode() int64 { log.Println("Calling SpatialMaterial.GetCullMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cull_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_cull_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87592,16 +56992,9 @@ func (o *SpatialMaterial) GetCullMode() int64 { func (o *SpatialMaterial) GetDepthDeepParallaxMaxLayers() int64 { log.Println("Calling SpatialMaterial.GetDepthDeepParallaxMaxLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth_deep_parallax_max_layers", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_depth_deep_parallax_max_layers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87612,16 +57005,9 @@ func (o *SpatialMaterial) GetDepthDeepParallaxMaxLayers() int64 { func (o *SpatialMaterial) GetDepthDeepParallaxMinLayers() int64 { log.Println("Calling SpatialMaterial.GetDepthDeepParallaxMinLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth_deep_parallax_min_layers", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_depth_deep_parallax_min_layers") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87632,16 +57018,9 @@ func (o *SpatialMaterial) GetDepthDeepParallaxMinLayers() int64 { func (o *SpatialMaterial) GetDepthDrawMode() int64 { log.Println("Calling SpatialMaterial.GetDepthDrawMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth_draw_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_depth_draw_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87652,16 +57031,9 @@ func (o *SpatialMaterial) GetDepthDrawMode() int64 { func (o *SpatialMaterial) GetDepthScale() float64 { log.Println("Calling SpatialMaterial.GetDepthScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_depth_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_depth_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87672,16 +57044,9 @@ func (o *SpatialMaterial) GetDepthScale() float64 { func (o *SpatialMaterial) GetDetailBlendMode() int64 { log.Println("Calling SpatialMaterial.GetDetailBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_detail_blend_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_detail_blend_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87692,16 +57057,9 @@ func (o *SpatialMaterial) GetDetailBlendMode() int64 { func (o *SpatialMaterial) GetDetailUv() int64 { log.Println("Calling SpatialMaterial.GetDetailUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_detail_uv", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_detail_uv") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87712,16 +57070,9 @@ func (o *SpatialMaterial) GetDetailUv() int64 { func (o *SpatialMaterial) GetDiffuseMode() int64 { log.Println("Calling SpatialMaterial.GetDiffuseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_diffuse_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_diffuse_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87732,16 +57083,9 @@ func (o *SpatialMaterial) GetDiffuseMode() int64 { func (o *SpatialMaterial) GetDistanceFadeMaxDistance() float64 { log.Println("Calling SpatialMaterial.GetDistanceFadeMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_distance_fade_max_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_distance_fade_max_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87752,16 +57096,9 @@ func (o *SpatialMaterial) GetDistanceFadeMaxDistance() float64 { func (o *SpatialMaterial) GetDistanceFadeMinDistance() float64 { log.Println("Calling SpatialMaterial.GetDistanceFadeMinDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_distance_fade_min_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_distance_fade_min_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87772,16 +57109,9 @@ func (o *SpatialMaterial) GetDistanceFadeMinDistance() float64 { func (o *SpatialMaterial) GetEmission() *Color { log.Println("Calling SpatialMaterial.GetEmission()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_emission") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87792,16 +57122,9 @@ func (o *SpatialMaterial) GetEmission() *Color { func (o *SpatialMaterial) GetEmissionEnergy() float64 { log.Println("Calling SpatialMaterial.GetEmissionEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_energy", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_emission_energy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87812,16 +57135,9 @@ func (o *SpatialMaterial) GetEmissionEnergy() float64 { func (o *SpatialMaterial) GetEmissionOperator() int64 { log.Println("Calling SpatialMaterial.GetEmissionOperator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_emission_operator", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_emission_operator") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87832,17 +57148,9 @@ func (o *SpatialMaterial) GetEmissionOperator() int64 { func (o *SpatialMaterial) GetFeature(feature int64) bool { log.Println("Calling SpatialMaterial.GetFeature()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(feature) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_feature", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_feature", feature) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87853,17 +57161,9 @@ func (o *SpatialMaterial) GetFeature(feature int64) bool { func (o *SpatialMaterial) GetFlag(flag int64) bool { log.Println("Calling SpatialMaterial.GetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_flag", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87874,16 +57174,9 @@ func (o *SpatialMaterial) GetFlag(flag int64) bool { func (o *SpatialMaterial) GetGrow() float64 { log.Println("Calling SpatialMaterial.GetGrow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_grow", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_grow") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87894,16 +57187,9 @@ func (o *SpatialMaterial) GetGrow() float64 { func (o *SpatialMaterial) GetLineWidth() float64 { log.Println("Calling SpatialMaterial.GetLineWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_width", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_line_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87914,16 +57200,9 @@ func (o *SpatialMaterial) GetLineWidth() float64 { func (o *SpatialMaterial) GetMetallic() float64 { log.Println("Calling SpatialMaterial.GetMetallic()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_metallic", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_metallic") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87934,16 +57213,9 @@ func (o *SpatialMaterial) GetMetallic() float64 { func (o *SpatialMaterial) GetMetallicTextureChannel() int64 { log.Println("Calling SpatialMaterial.GetMetallicTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_metallic_texture_channel", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_metallic_texture_channel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87954,16 +57226,9 @@ func (o *SpatialMaterial) GetMetallicTextureChannel() int64 { func (o *SpatialMaterial) GetNormalScale() float64 { log.Println("Calling SpatialMaterial.GetNormalScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_normal_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87974,16 +57239,9 @@ func (o *SpatialMaterial) GetNormalScale() float64 { func (o *SpatialMaterial) GetParticlesAnimHFrames() int64 { log.Println("Calling SpatialMaterial.GetParticlesAnimHFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_particles_anim_h_frames", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_particles_anim_h_frames") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -87994,16 +57252,9 @@ func (o *SpatialMaterial) GetParticlesAnimHFrames() int64 { func (o *SpatialMaterial) GetParticlesAnimLoop() int64 { log.Println("Calling SpatialMaterial.GetParticlesAnimLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_particles_anim_loop", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_particles_anim_loop") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88014,16 +57265,9 @@ func (o *SpatialMaterial) GetParticlesAnimLoop() int64 { func (o *SpatialMaterial) GetParticlesAnimVFrames() int64 { log.Println("Calling SpatialMaterial.GetParticlesAnimVFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_particles_anim_v_frames", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_particles_anim_v_frames") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88034,16 +57278,9 @@ func (o *SpatialMaterial) GetParticlesAnimVFrames() int64 { func (o *SpatialMaterial) GetPointSize() float64 { log.Println("Calling SpatialMaterial.GetPointSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_point_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_point_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88054,16 +57291,9 @@ func (o *SpatialMaterial) GetPointSize() float64 { func (o *SpatialMaterial) GetProximityFadeDistance() float64 { log.Println("Calling SpatialMaterial.GetProximityFadeDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_proximity_fade_distance", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_proximity_fade_distance") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88074,16 +57304,9 @@ func (o *SpatialMaterial) GetProximityFadeDistance() float64 { func (o *SpatialMaterial) GetRefraction() float64 { log.Println("Calling SpatialMaterial.GetRefraction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_refraction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_refraction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88094,16 +57317,9 @@ func (o *SpatialMaterial) GetRefraction() float64 { func (o *SpatialMaterial) GetRefractionTextureChannel() int64 { log.Println("Calling SpatialMaterial.GetRefractionTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_refraction_texture_channel", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_refraction_texture_channel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88114,16 +57330,9 @@ func (o *SpatialMaterial) GetRefractionTextureChannel() int64 { func (o *SpatialMaterial) GetRim() float64 { log.Println("Calling SpatialMaterial.GetRim()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rim", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rim") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88134,16 +57343,9 @@ func (o *SpatialMaterial) GetRim() float64 { func (o *SpatialMaterial) GetRimTint() float64 { log.Println("Calling SpatialMaterial.GetRimTint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rim_tint", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_rim_tint") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88154,16 +57356,9 @@ func (o *SpatialMaterial) GetRimTint() float64 { func (o *SpatialMaterial) GetRoughness() float64 { log.Println("Calling SpatialMaterial.GetRoughness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_roughness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_roughness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88174,16 +57369,9 @@ func (o *SpatialMaterial) GetRoughness() float64 { func (o *SpatialMaterial) GetRoughnessTextureChannel() int64 { log.Println("Calling SpatialMaterial.GetRoughnessTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_roughness_texture_channel", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_roughness_texture_channel") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88194,16 +57382,9 @@ func (o *SpatialMaterial) GetRoughnessTextureChannel() int64 { func (o *SpatialMaterial) GetSpecular() float64 { log.Println("Calling SpatialMaterial.GetSpecular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_specular", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_specular") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88214,16 +57395,9 @@ func (o *SpatialMaterial) GetSpecular() float64 { func (o *SpatialMaterial) GetSpecularMode() int64 { log.Println("Calling SpatialMaterial.GetSpecularMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_specular_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_specular_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88234,16 +57408,9 @@ func (o *SpatialMaterial) GetSpecularMode() int64 { func (o *SpatialMaterial) GetSubsurfaceScatteringStrength() float64 { log.Println("Calling SpatialMaterial.GetSubsurfaceScatteringStrength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_subsurface_scattering_strength", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_subsurface_scattering_strength") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88254,18 +57421,12 @@ func (o *SpatialMaterial) GetSubsurfaceScatteringStrength() float64 { func (o *SpatialMaterial) GetTexture(param int64) *Texture { log.Println("Calling SpatialMaterial.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(param) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_texture", param) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -88275,16 +57436,9 @@ func (o *SpatialMaterial) GetTexture(param int64) *Texture { func (o *SpatialMaterial) GetTransmission() *Color { log.Println("Calling SpatialMaterial.GetTransmission()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transmission", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_transmission") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88295,16 +57449,9 @@ func (o *SpatialMaterial) GetTransmission() *Color { func (o *SpatialMaterial) GetUv1Offset() *Vector3 { log.Println("Calling SpatialMaterial.GetUv1Offset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv1_offset", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_uv1_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88315,16 +57462,9 @@ func (o *SpatialMaterial) GetUv1Offset() *Vector3 { func (o *SpatialMaterial) GetUv1Scale() *Vector3 { log.Println("Calling SpatialMaterial.GetUv1Scale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv1_scale", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_uv1_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88335,16 +57475,9 @@ func (o *SpatialMaterial) GetUv1Scale() *Vector3 { func (o *SpatialMaterial) GetUv1TriplanarBlendSharpness() float64 { log.Println("Calling SpatialMaterial.GetUv1TriplanarBlendSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv1_triplanar_blend_sharpness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_uv1_triplanar_blend_sharpness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88355,16 +57488,9 @@ func (o *SpatialMaterial) GetUv1TriplanarBlendSharpness() float64 { func (o *SpatialMaterial) GetUv2Offset() *Vector3 { log.Println("Calling SpatialMaterial.GetUv2Offset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv2_offset", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_uv2_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88375,16 +57501,9 @@ func (o *SpatialMaterial) GetUv2Offset() *Vector3 { func (o *SpatialMaterial) GetUv2Scale() *Vector3 { log.Println("Calling SpatialMaterial.GetUv2Scale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv2_scale", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_uv2_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88395,16 +57514,9 @@ func (o *SpatialMaterial) GetUv2Scale() *Vector3 { func (o *SpatialMaterial) GetUv2TriplanarBlendSharpness() float64 { log.Println("Calling SpatialMaterial.GetUv2TriplanarBlendSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_uv2_triplanar_blend_sharpness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_uv2_triplanar_blend_sharpness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88415,16 +57527,9 @@ func (o *SpatialMaterial) GetUv2TriplanarBlendSharpness() float64 { func (o *SpatialMaterial) IsDepthDeepParallaxEnabled() bool { log.Println("Calling SpatialMaterial.IsDepthDeepParallaxEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_depth_deep_parallax_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_depth_deep_parallax_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88435,16 +57540,9 @@ func (o *SpatialMaterial) IsDepthDeepParallaxEnabled() bool { func (o *SpatialMaterial) IsDistanceFadeEnabled() bool { log.Println("Calling SpatialMaterial.IsDistanceFadeEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_distance_fade_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_distance_fade_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88455,16 +57553,9 @@ func (o *SpatialMaterial) IsDistanceFadeEnabled() bool { func (o *SpatialMaterial) IsGrowEnabled() bool { log.Println("Calling SpatialMaterial.IsGrowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_grow_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_grow_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88475,16 +57566,9 @@ func (o *SpatialMaterial) IsGrowEnabled() bool { func (o *SpatialMaterial) IsProximityFadeEnabled() bool { log.Println("Calling SpatialMaterial.IsProximityFadeEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_proximity_fade_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_proximity_fade_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -88495,14 +57579,7 @@ func (o *SpatialMaterial) IsProximityFadeEnabled() bool { func (o *SpatialMaterial) SetAlbedo(albedo *Color) { log.Println("Calling SpatialMaterial.SetAlbedo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(albedo) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_albedo", goArguments, "") - + godotCallVoidColor(o, "set_albedo", albedo) log.Println(" Function successfully completed.") } @@ -88513,14 +57590,7 @@ func (o *SpatialMaterial) SetAlbedo(albedo *Color) { func (o *SpatialMaterial) SetAlphaScissorThreshold(threshold float64) { log.Println("Calling SpatialMaterial.SetAlphaScissorThreshold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(threshold) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_alpha_scissor_threshold", goArguments, "") - + godotCallVoidFloat(o, "set_alpha_scissor_threshold", threshold) log.Println(" Function successfully completed.") } @@ -88531,14 +57601,7 @@ func (o *SpatialMaterial) SetAlphaScissorThreshold(threshold float64) { func (o *SpatialMaterial) SetAnisotropy(anisotropy float64) { log.Println("Calling SpatialMaterial.SetAnisotropy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anisotropy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anisotropy", goArguments, "") - + godotCallVoidFloat(o, "set_anisotropy", anisotropy) log.Println(" Function successfully completed.") } @@ -88549,14 +57612,7 @@ func (o *SpatialMaterial) SetAnisotropy(anisotropy float64) { func (o *SpatialMaterial) SetAoLightAffect(amount float64) { log.Println("Calling SpatialMaterial.SetAoLightAffect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ao_light_affect", goArguments, "") - + godotCallVoidFloat(o, "set_ao_light_affect", amount) log.Println(" Function successfully completed.") } @@ -88567,14 +57623,7 @@ func (o *SpatialMaterial) SetAoLightAffect(amount float64) { func (o *SpatialMaterial) SetAoTextureChannel(channel int64) { log.Println("Calling SpatialMaterial.SetAoTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(channel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_ao_texture_channel", goArguments, "") - + godotCallVoidInt(o, "set_ao_texture_channel", channel) log.Println(" Function successfully completed.") } @@ -88585,14 +57634,7 @@ func (o *SpatialMaterial) SetAoTextureChannel(channel int64) { func (o *SpatialMaterial) SetBillboardMode(mode int64) { log.Println("Calling SpatialMaterial.SetBillboardMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_billboard_mode", goArguments, "") - + godotCallVoidInt(o, "set_billboard_mode", mode) log.Println(" Function successfully completed.") } @@ -88603,14 +57645,7 @@ func (o *SpatialMaterial) SetBillboardMode(mode int64) { func (o *SpatialMaterial) SetBlendMode(blendMode int64) { log.Println("Calling SpatialMaterial.SetBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(blendMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_blend_mode", goArguments, "") - + godotCallVoidInt(o, "set_blend_mode", blendMode) log.Println(" Function successfully completed.") } @@ -88621,14 +57656,7 @@ func (o *SpatialMaterial) SetBlendMode(blendMode int64) { func (o *SpatialMaterial) SetClearcoat(clearcoat float64) { log.Println("Calling SpatialMaterial.SetClearcoat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(clearcoat) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clearcoat", goArguments, "") - + godotCallVoidFloat(o, "set_clearcoat", clearcoat) log.Println(" Function successfully completed.") } @@ -88639,14 +57667,7 @@ func (o *SpatialMaterial) SetClearcoat(clearcoat float64) { func (o *SpatialMaterial) SetClearcoatGloss(clearcoatGloss float64) { log.Println("Calling SpatialMaterial.SetClearcoatGloss()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(clearcoatGloss) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clearcoat_gloss", goArguments, "") - + godotCallVoidFloat(o, "set_clearcoat_gloss", clearcoatGloss) log.Println(" Function successfully completed.") } @@ -88657,14 +57678,7 @@ func (o *SpatialMaterial) SetClearcoatGloss(clearcoatGloss float64) { func (o *SpatialMaterial) SetCullMode(cullMode int64) { log.Println("Calling SpatialMaterial.SetCullMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cullMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cull_mode", goArguments, "") - + godotCallVoidInt(o, "set_cull_mode", cullMode) log.Println(" Function successfully completed.") } @@ -88675,14 +57689,7 @@ func (o *SpatialMaterial) SetCullMode(cullMode int64) { func (o *SpatialMaterial) SetDepthDeepParallax(enable bool) { log.Println("Calling SpatialMaterial.SetDepthDeepParallax()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth_deep_parallax", goArguments, "") - + godotCallVoidBool(o, "set_depth_deep_parallax", enable) log.Println(" Function successfully completed.") } @@ -88693,14 +57700,7 @@ func (o *SpatialMaterial) SetDepthDeepParallax(enable bool) { func (o *SpatialMaterial) SetDepthDeepParallaxMaxLayers(layer int64) { log.Println("Calling SpatialMaterial.SetDepthDeepParallaxMaxLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth_deep_parallax_max_layers", goArguments, "") - + godotCallVoidInt(o, "set_depth_deep_parallax_max_layers", layer) log.Println(" Function successfully completed.") } @@ -88711,14 +57711,7 @@ func (o *SpatialMaterial) SetDepthDeepParallaxMaxLayers(layer int64) { func (o *SpatialMaterial) SetDepthDeepParallaxMinLayers(layer int64) { log.Println("Calling SpatialMaterial.SetDepthDeepParallaxMinLayers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth_deep_parallax_min_layers", goArguments, "") - + godotCallVoidInt(o, "set_depth_deep_parallax_min_layers", layer) log.Println(" Function successfully completed.") } @@ -88729,14 +57722,7 @@ func (o *SpatialMaterial) SetDepthDeepParallaxMinLayers(layer int64) { func (o *SpatialMaterial) SetDepthDrawMode(depthDrawMode int64) { log.Println("Calling SpatialMaterial.SetDepthDrawMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(depthDrawMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth_draw_mode", goArguments, "") - + godotCallVoidInt(o, "set_depth_draw_mode", depthDrawMode) log.Println(" Function successfully completed.") } @@ -88747,14 +57733,7 @@ func (o *SpatialMaterial) SetDepthDrawMode(depthDrawMode int64) { func (o *SpatialMaterial) SetDepthScale(depthScale float64) { log.Println("Calling SpatialMaterial.SetDepthScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(depthScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_depth_scale", goArguments, "") - + godotCallVoidFloat(o, "set_depth_scale", depthScale) log.Println(" Function successfully completed.") } @@ -88765,14 +57744,7 @@ func (o *SpatialMaterial) SetDepthScale(depthScale float64) { func (o *SpatialMaterial) SetDetailBlendMode(detailBlendMode int64) { log.Println("Calling SpatialMaterial.SetDetailBlendMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detailBlendMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_detail_blend_mode", goArguments, "") - + godotCallVoidInt(o, "set_detail_blend_mode", detailBlendMode) log.Println(" Function successfully completed.") } @@ -88783,14 +57755,7 @@ func (o *SpatialMaterial) SetDetailBlendMode(detailBlendMode int64) { func (o *SpatialMaterial) SetDetailUv(detailUv int64) { log.Println("Calling SpatialMaterial.SetDetailUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detailUv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_detail_uv", goArguments, "") - + godotCallVoidInt(o, "set_detail_uv", detailUv) log.Println(" Function successfully completed.") } @@ -88801,14 +57766,7 @@ func (o *SpatialMaterial) SetDetailUv(detailUv int64) { func (o *SpatialMaterial) SetDiffuseMode(diffuseMode int64) { log.Println("Calling SpatialMaterial.SetDiffuseMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(diffuseMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_diffuse_mode", goArguments, "") - + godotCallVoidInt(o, "set_diffuse_mode", diffuseMode) log.Println(" Function successfully completed.") } @@ -88819,14 +57777,7 @@ func (o *SpatialMaterial) SetDiffuseMode(diffuseMode int64) { func (o *SpatialMaterial) SetDistanceFade(enabled bool) { log.Println("Calling SpatialMaterial.SetDistanceFade()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_distance_fade", goArguments, "") - + godotCallVoidBool(o, "set_distance_fade", enabled) log.Println(" Function successfully completed.") } @@ -88837,14 +57788,7 @@ func (o *SpatialMaterial) SetDistanceFade(enabled bool) { func (o *SpatialMaterial) SetDistanceFadeMaxDistance(distance float64) { log.Println("Calling SpatialMaterial.SetDistanceFadeMaxDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_distance_fade_max_distance", goArguments, "") - + godotCallVoidFloat(o, "set_distance_fade_max_distance", distance) log.Println(" Function successfully completed.") } @@ -88855,14 +57799,7 @@ func (o *SpatialMaterial) SetDistanceFadeMaxDistance(distance float64) { func (o *SpatialMaterial) SetDistanceFadeMinDistance(distance float64) { log.Println("Calling SpatialMaterial.SetDistanceFadeMinDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_distance_fade_min_distance", goArguments, "") - + godotCallVoidFloat(o, "set_distance_fade_min_distance", distance) log.Println(" Function successfully completed.") } @@ -88873,14 +57810,7 @@ func (o *SpatialMaterial) SetDistanceFadeMinDistance(distance float64) { func (o *SpatialMaterial) SetEmission(emission *Color) { log.Println("Calling SpatialMaterial.SetEmission()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(emission) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission", goArguments, "") - + godotCallVoidColor(o, "set_emission", emission) log.Println(" Function successfully completed.") } @@ -88891,14 +57821,7 @@ func (o *SpatialMaterial) SetEmission(emission *Color) { func (o *SpatialMaterial) SetEmissionEnergy(emissionEnergy float64) { log.Println("Calling SpatialMaterial.SetEmissionEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(emissionEnergy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_energy", goArguments, "") - + godotCallVoidFloat(o, "set_emission_energy", emissionEnergy) log.Println(" Function successfully completed.") } @@ -88909,14 +57832,7 @@ func (o *SpatialMaterial) SetEmissionEnergy(emissionEnergy float64) { func (o *SpatialMaterial) SetEmissionOperator(operator int64) { log.Println("Calling SpatialMaterial.SetEmissionOperator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(operator) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_emission_operator", goArguments, "") - + godotCallVoidInt(o, "set_emission_operator", operator) log.Println(" Function successfully completed.") } @@ -88927,15 +57843,7 @@ func (o *SpatialMaterial) SetEmissionOperator(operator int64) { func (o *SpatialMaterial) SetFeature(feature int64, enable bool) { log.Println("Calling SpatialMaterial.SetFeature()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(feature) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_feature", goArguments, "") - + godotCallVoidIntBool(o, "set_feature", feature, enable) log.Println(" Function successfully completed.") } @@ -88946,15 +57854,7 @@ func (o *SpatialMaterial) SetFeature(feature int64, enable bool) { func (o *SpatialMaterial) SetFlag(flag int64, enable bool) { log.Println("Calling SpatialMaterial.SetFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flag", goArguments, "") - + godotCallVoidIntBool(o, "set_flag", flag, enable) log.Println(" Function successfully completed.") } @@ -88965,14 +57865,7 @@ func (o *SpatialMaterial) SetFlag(flag int64, enable bool) { func (o *SpatialMaterial) SetGrow(amount float64) { log.Println("Calling SpatialMaterial.SetGrow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_grow", goArguments, "") - + godotCallVoidFloat(o, "set_grow", amount) log.Println(" Function successfully completed.") } @@ -88983,14 +57876,7 @@ func (o *SpatialMaterial) SetGrow(amount float64) { func (o *SpatialMaterial) SetGrowEnabled(enable bool) { log.Println("Calling SpatialMaterial.SetGrowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_grow_enabled", goArguments, "") - + godotCallVoidBool(o, "set_grow_enabled", enable) log.Println(" Function successfully completed.") } @@ -89001,14 +57887,7 @@ func (o *SpatialMaterial) SetGrowEnabled(enable bool) { func (o *SpatialMaterial) SetLineWidth(lineWidth float64) { log.Println("Calling SpatialMaterial.SetLineWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(lineWidth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_line_width", goArguments, "") - + godotCallVoidFloat(o, "set_line_width", lineWidth) log.Println(" Function successfully completed.") } @@ -89019,14 +57898,7 @@ func (o *SpatialMaterial) SetLineWidth(lineWidth float64) { func (o *SpatialMaterial) SetMetallic(metallic float64) { log.Println("Calling SpatialMaterial.SetMetallic()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(metallic) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_metallic", goArguments, "") - + godotCallVoidFloat(o, "set_metallic", metallic) log.Println(" Function successfully completed.") } @@ -89037,14 +57909,7 @@ func (o *SpatialMaterial) SetMetallic(metallic float64) { func (o *SpatialMaterial) SetMetallicTextureChannel(channel int64) { log.Println("Calling SpatialMaterial.SetMetallicTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(channel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_metallic_texture_channel", goArguments, "") - + godotCallVoidInt(o, "set_metallic_texture_channel", channel) log.Println(" Function successfully completed.") } @@ -89055,14 +57920,7 @@ func (o *SpatialMaterial) SetMetallicTextureChannel(channel int64) { func (o *SpatialMaterial) SetNormalScale(normalScale float64) { log.Println("Calling SpatialMaterial.SetNormalScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normalScale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_scale", goArguments, "") - + godotCallVoidFloat(o, "set_normal_scale", normalScale) log.Println(" Function successfully completed.") } @@ -89073,14 +57931,7 @@ func (o *SpatialMaterial) SetNormalScale(normalScale float64) { func (o *SpatialMaterial) SetParticlesAnimHFrames(frames int64) { log.Println("Calling SpatialMaterial.SetParticlesAnimHFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_particles_anim_h_frames", goArguments, "") - + godotCallVoidInt(o, "set_particles_anim_h_frames", frames) log.Println(" Function successfully completed.") } @@ -89091,14 +57942,7 @@ func (o *SpatialMaterial) SetParticlesAnimHFrames(frames int64) { func (o *SpatialMaterial) SetParticlesAnimLoop(frames int64) { log.Println("Calling SpatialMaterial.SetParticlesAnimLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_particles_anim_loop", goArguments, "") - + godotCallVoidInt(o, "set_particles_anim_loop", frames) log.Println(" Function successfully completed.") } @@ -89109,14 +57953,7 @@ func (o *SpatialMaterial) SetParticlesAnimLoop(frames int64) { func (o *SpatialMaterial) SetParticlesAnimVFrames(frames int64) { log.Println("Calling SpatialMaterial.SetParticlesAnimVFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_particles_anim_v_frames", goArguments, "") - + godotCallVoidInt(o, "set_particles_anim_v_frames", frames) log.Println(" Function successfully completed.") } @@ -89127,14 +57964,7 @@ func (o *SpatialMaterial) SetParticlesAnimVFrames(frames int64) { func (o *SpatialMaterial) SetPointSize(pointSize float64) { log.Println("Calling SpatialMaterial.SetPointSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pointSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_point_size", goArguments, "") - + godotCallVoidFloat(o, "set_point_size", pointSize) log.Println(" Function successfully completed.") } @@ -89145,14 +57975,7 @@ func (o *SpatialMaterial) SetPointSize(pointSize float64) { func (o *SpatialMaterial) SetProximityFade(enabled bool) { log.Println("Calling SpatialMaterial.SetProximityFade()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_proximity_fade", goArguments, "") - + godotCallVoidBool(o, "set_proximity_fade", enabled) log.Println(" Function successfully completed.") } @@ -89163,14 +57986,7 @@ func (o *SpatialMaterial) SetProximityFade(enabled bool) { func (o *SpatialMaterial) SetProximityFadeDistance(distance float64) { log.Println("Calling SpatialMaterial.SetProximityFadeDistance()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(distance) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_proximity_fade_distance", goArguments, "") - + godotCallVoidFloat(o, "set_proximity_fade_distance", distance) log.Println(" Function successfully completed.") } @@ -89181,14 +57997,7 @@ func (o *SpatialMaterial) SetProximityFadeDistance(distance float64) { func (o *SpatialMaterial) SetRefraction(refraction float64) { log.Println("Calling SpatialMaterial.SetRefraction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(refraction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_refraction", goArguments, "") - + godotCallVoidFloat(o, "set_refraction", refraction) log.Println(" Function successfully completed.") } @@ -89199,14 +58008,7 @@ func (o *SpatialMaterial) SetRefraction(refraction float64) { func (o *SpatialMaterial) SetRefractionTextureChannel(channel int64) { log.Println("Calling SpatialMaterial.SetRefractionTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(channel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_refraction_texture_channel", goArguments, "") - + godotCallVoidInt(o, "set_refraction_texture_channel", channel) log.Println(" Function successfully completed.") } @@ -89217,14 +58019,7 @@ func (o *SpatialMaterial) SetRefractionTextureChannel(channel int64) { func (o *SpatialMaterial) SetRim(rim float64) { log.Println("Calling SpatialMaterial.SetRim()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rim", goArguments, "") - + godotCallVoidFloat(o, "set_rim", rim) log.Println(" Function successfully completed.") } @@ -89235,14 +58030,7 @@ func (o *SpatialMaterial) SetRim(rim float64) { func (o *SpatialMaterial) SetRimTint(rimTint float64) { log.Println("Calling SpatialMaterial.SetRimTint()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rimTint) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rim_tint", goArguments, "") - + godotCallVoidFloat(o, "set_rim_tint", rimTint) log.Println(" Function successfully completed.") } @@ -89253,14 +58041,7 @@ func (o *SpatialMaterial) SetRimTint(rimTint float64) { func (o *SpatialMaterial) SetRoughness(roughness float64) { log.Println("Calling SpatialMaterial.SetRoughness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(roughness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_roughness", goArguments, "") - + godotCallVoidFloat(o, "set_roughness", roughness) log.Println(" Function successfully completed.") } @@ -89271,14 +58052,7 @@ func (o *SpatialMaterial) SetRoughness(roughness float64) { func (o *SpatialMaterial) SetRoughnessTextureChannel(channel int64) { log.Println("Calling SpatialMaterial.SetRoughnessTextureChannel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(channel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_roughness_texture_channel", goArguments, "") - + godotCallVoidInt(o, "set_roughness_texture_channel", channel) log.Println(" Function successfully completed.") } @@ -89289,14 +58063,7 @@ func (o *SpatialMaterial) SetRoughnessTextureChannel(channel int64) { func (o *SpatialMaterial) SetSpecular(specular float64) { log.Println("Calling SpatialMaterial.SetSpecular()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(specular) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_specular", goArguments, "") - + godotCallVoidFloat(o, "set_specular", specular) log.Println(" Function successfully completed.") } @@ -89307,14 +58074,7 @@ func (o *SpatialMaterial) SetSpecular(specular float64) { func (o *SpatialMaterial) SetSpecularMode(specularMode int64) { log.Println("Calling SpatialMaterial.SetSpecularMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(specularMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_specular_mode", goArguments, "") - + godotCallVoidInt(o, "set_specular_mode", specularMode) log.Println(" Function successfully completed.") } @@ -89325,14 +58085,7 @@ func (o *SpatialMaterial) SetSpecularMode(specularMode int64) { func (o *SpatialMaterial) SetSubsurfaceScatteringStrength(strength float64) { log.Println("Calling SpatialMaterial.SetSubsurfaceScatteringStrength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(strength) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_subsurface_scattering_strength", goArguments, "") - + godotCallVoidFloat(o, "set_subsurface_scattering_strength", strength) log.Println(" Function successfully completed.") } @@ -89343,15 +58096,7 @@ func (o *SpatialMaterial) SetSubsurfaceScatteringStrength(strength float64) { func (o *SpatialMaterial) SetTexture(param int64, texture *Texture) { log.Println("Calling SpatialMaterial.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(param) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidIntObject(o, "set_texture", param, &texture.Object) log.Println(" Function successfully completed.") } @@ -89362,14 +58107,7 @@ func (o *SpatialMaterial) SetTexture(param int64, texture *Texture) { func (o *SpatialMaterial) SetTransmission(transmission *Color) { log.Println("Calling SpatialMaterial.SetTransmission()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(transmission) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transmission", goArguments, "") - + godotCallVoidColor(o, "set_transmission", transmission) log.Println(" Function successfully completed.") } @@ -89380,14 +58118,7 @@ func (o *SpatialMaterial) SetTransmission(transmission *Color) { func (o *SpatialMaterial) SetUv1Offset(offset *Vector3) { log.Println("Calling SpatialMaterial.SetUv1Offset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv1_offset", goArguments, "") - + godotCallVoidVector3(o, "set_uv1_offset", offset) log.Println(" Function successfully completed.") } @@ -89398,14 +58129,7 @@ func (o *SpatialMaterial) SetUv1Offset(offset *Vector3) { func (o *SpatialMaterial) SetUv1Scale(scale *Vector3) { log.Println("Calling SpatialMaterial.SetUv1Scale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv1_scale", goArguments, "") - + godotCallVoidVector3(o, "set_uv1_scale", scale) log.Println(" Function successfully completed.") } @@ -89416,14 +58140,7 @@ func (o *SpatialMaterial) SetUv1Scale(scale *Vector3) { func (o *SpatialMaterial) SetUv1TriplanarBlendSharpness(sharpness float64) { log.Println("Calling SpatialMaterial.SetUv1TriplanarBlendSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sharpness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv1_triplanar_blend_sharpness", goArguments, "") - + godotCallVoidFloat(o, "set_uv1_triplanar_blend_sharpness", sharpness) log.Println(" Function successfully completed.") } @@ -89434,14 +58151,7 @@ func (o *SpatialMaterial) SetUv1TriplanarBlendSharpness(sharpness float64) { func (o *SpatialMaterial) SetUv2Offset(offset *Vector3) { log.Println("Calling SpatialMaterial.SetUv2Offset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv2_offset", goArguments, "") - + godotCallVoidVector3(o, "set_uv2_offset", offset) log.Println(" Function successfully completed.") } @@ -89452,14 +58162,7 @@ func (o *SpatialMaterial) SetUv2Offset(offset *Vector3) { func (o *SpatialMaterial) SetUv2Scale(scale *Vector3) { log.Println("Calling SpatialMaterial.SetUv2Scale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv2_scale", goArguments, "") - + godotCallVoidVector3(o, "set_uv2_scale", scale) log.Println(" Function successfully completed.") } @@ -89470,14 +58173,7 @@ func (o *SpatialMaterial) SetUv2Scale(scale *Vector3) { func (o *SpatialMaterial) SetUv2TriplanarBlendSharpness(sharpness float64) { log.Println("Calling SpatialMaterial.SetUv2TriplanarBlendSharpness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sharpness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_uv2_triplanar_blend_sharpness", goArguments, "") - + godotCallVoidFloat(o, "set_uv2_triplanar_blend_sharpness", sharpness) log.Println(" Function successfully completed.") } @@ -89506,16 +58202,9 @@ func (o *SpatialVelocityTracker) baseClass() string { func (o *SpatialVelocityTracker) GetTrackedLinearVelocity() *Vector3 { log.Println("Calling SpatialVelocityTracker.GetTrackedLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tracked_linear_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_tracked_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89526,16 +58215,9 @@ func (o *SpatialVelocityTracker) GetTrackedLinearVelocity() *Vector3 { func (o *SpatialVelocityTracker) IsTrackingPhysicsStep() bool { log.Println("Calling SpatialVelocityTracker.IsTrackingPhysicsStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_tracking_physics_step", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_tracking_physics_step") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89546,14 +58228,7 @@ func (o *SpatialVelocityTracker) IsTrackingPhysicsStep() bool { func (o *SpatialVelocityTracker) Reset(position *Vector3) { log.Println("Calling SpatialVelocityTracker.Reset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "reset", goArguments, "") - + godotCallVoidVector3(o, "reset", position) log.Println(" Function successfully completed.") } @@ -89564,14 +58239,7 @@ func (o *SpatialVelocityTracker) Reset(position *Vector3) { func (o *SpatialVelocityTracker) SetTrackPhysicsStep(enable bool) { log.Println("Calling SpatialVelocityTracker.SetTrackPhysicsStep()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_track_physics_step", goArguments, "") - + godotCallVoidBool(o, "set_track_physics_step", enable) log.Println(" Function successfully completed.") } @@ -89582,14 +58250,7 @@ func (o *SpatialVelocityTracker) SetTrackPhysicsStep(enable bool) { func (o *SpatialVelocityTracker) UpdatePosition(position *Vector3) { log.Println("Calling SpatialVelocityTracker.UpdatePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_position", goArguments, "") - + godotCallVoidVector3(o, "update_position", position) log.Println(" Function successfully completed.") } @@ -89618,16 +58279,9 @@ func (o *SphereMesh) baseClass() string { func (o *SphereMesh) GetHeight() float64 { log.Println("Calling SphereMesh.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89638,16 +58292,9 @@ func (o *SphereMesh) GetHeight() float64 { func (o *SphereMesh) GetIsHemisphere() bool { log.Println("Calling SphereMesh.GetIsHemisphere()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_is_hemisphere", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_is_hemisphere") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89658,16 +58305,9 @@ func (o *SphereMesh) GetIsHemisphere() bool { func (o *SphereMesh) GetRadialSegments() int64 { log.Println("Calling SphereMesh.GetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radial_segments", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_radial_segments") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89678,16 +58318,9 @@ func (o *SphereMesh) GetRadialSegments() int64 { func (o *SphereMesh) GetRadius() float64 { log.Println("Calling SphereMesh.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89698,16 +58331,9 @@ func (o *SphereMesh) GetRadius() float64 { func (o *SphereMesh) GetRings() int64 { log.Println("Calling SphereMesh.GetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rings", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rings") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89718,14 +58344,7 @@ func (o *SphereMesh) GetRings() int64 { func (o *SphereMesh) SetHeight(height float64) { log.Println("Calling SphereMesh.SetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_height", goArguments, "") - + godotCallVoidFloat(o, "set_height", height) log.Println(" Function successfully completed.") } @@ -89736,14 +58355,7 @@ func (o *SphereMesh) SetHeight(height float64) { func (o *SphereMesh) SetIsHemisphere(isHemisphere bool) { log.Println("Calling SphereMesh.SetIsHemisphere()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(isHemisphere) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_is_hemisphere", goArguments, "") - + godotCallVoidBool(o, "set_is_hemisphere", isHemisphere) log.Println(" Function successfully completed.") } @@ -89754,14 +58366,7 @@ func (o *SphereMesh) SetIsHemisphere(isHemisphere bool) { func (o *SphereMesh) SetRadialSegments(radialSegments int64) { log.Println("Calling SphereMesh.SetRadialSegments()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radialSegments) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radial_segments", goArguments, "") - + godotCallVoidInt(o, "set_radial_segments", radialSegments) log.Println(" Function successfully completed.") } @@ -89772,14 +58377,7 @@ func (o *SphereMesh) SetRadialSegments(radialSegments int64) { func (o *SphereMesh) SetRadius(radius float64) { log.Println("Calling SphereMesh.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -89790,14 +58388,7 @@ func (o *SphereMesh) SetRadius(radius float64) { func (o *SphereMesh) SetRings(rings int64) { log.Println("Calling SphereMesh.SetRings()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rings) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rings", goArguments, "") - + godotCallVoidInt(o, "set_rings", rings) log.Println(" Function successfully completed.") } @@ -89826,16 +58417,9 @@ func (o *SphereShape) baseClass() string { func (o *SphereShape) GetRadius() float64 { log.Println("Calling SphereShape.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -89846,14 +58430,7 @@ func (o *SphereShape) GetRadius() float64 { func (o *SphereShape) SetRadius(radius float64) { log.Println("Calling SphereShape.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", radius) log.Println(" Function successfully completed.") } @@ -89882,14 +58459,7 @@ func (o *SpinBox) baseClass() string { func (o *SpinBox) X_GuiInput(arg0 *InputEvent) { log.Println("Calling SpinBox.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -89900,13 +58470,7 @@ func (o *SpinBox) X_GuiInput(arg0 *InputEvent) { func (o *SpinBox) X_LineEditFocusExit() { log.Println("Calling SpinBox.X_LineEditFocusExit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_line_edit_focus_exit", goArguments, "") - + godotCallVoid(o, "_line_edit_focus_exit") log.Println(" Function successfully completed.") } @@ -89917,14 +58481,7 @@ func (o *SpinBox) X_LineEditFocusExit() { func (o *SpinBox) X_LineEditInput(arg0 *InputEvent) { log.Println("Calling SpinBox.X_LineEditInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_line_edit_input", goArguments, "") - + godotCallVoidObject(o, "_line_edit_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -89935,13 +58492,7 @@ func (o *SpinBox) X_LineEditInput(arg0 *InputEvent) { func (o *SpinBox) X_RangeClickTimeout() { log.Println("Calling SpinBox.X_RangeClickTimeout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_range_click_timeout", goArguments, "") - + godotCallVoid(o, "_range_click_timeout") log.Println(" Function successfully completed.") } @@ -89952,14 +58503,7 @@ func (o *SpinBox) X_RangeClickTimeout() { func (o *SpinBox) X_TextEntered(arg0 string) { log.Println("Calling SpinBox.X_TextEntered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_text_entered", goArguments, "") - + godotCallVoidString(o, "_text_entered", arg0) log.Println(" Function successfully completed.") } @@ -89970,17 +58514,12 @@ func (o *SpinBox) X_TextEntered(arg0 string) { func (o *SpinBox) GetLineEdit() *LineEdit { log.Println("Calling SpinBox.GetLineEdit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_edit", goArguments, "*LineEdit") - - returnValue := goRet.Interface().(*LineEdit) - + returnValue := godotCallObject(o, "get_line_edit") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret LineEdit + ret.owner = returnValue.owner + return &ret } @@ -89990,16 +58529,9 @@ func (o *SpinBox) GetLineEdit() *LineEdit { func (o *SpinBox) GetPrefix() string { log.Println("Calling SpinBox.GetPrefix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_prefix", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_prefix") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90010,16 +58542,9 @@ func (o *SpinBox) GetPrefix() string { func (o *SpinBox) GetSuffix() string { log.Println("Calling SpinBox.GetSuffix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_suffix", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_suffix") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90030,16 +58555,9 @@ func (o *SpinBox) GetSuffix() string { func (o *SpinBox) IsEditable() bool { log.Println("Calling SpinBox.IsEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_editable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90050,14 +58568,7 @@ func (o *SpinBox) IsEditable() bool { func (o *SpinBox) SetEditable(editable bool) { log.Println("Calling SpinBox.SetEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(editable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editable", goArguments, "") - + godotCallVoidBool(o, "set_editable", editable) log.Println(" Function successfully completed.") } @@ -90068,14 +58579,7 @@ func (o *SpinBox) SetEditable(editable bool) { func (o *SpinBox) SetPrefix(prefix string) { log.Println("Calling SpinBox.SetPrefix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(prefix) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_prefix", goArguments, "") - + godotCallVoidString(o, "set_prefix", prefix) log.Println(" Function successfully completed.") } @@ -90086,14 +58590,7 @@ func (o *SpinBox) SetPrefix(prefix string) { func (o *SpinBox) SetSuffix(suffix string) { log.Println("Calling SpinBox.SetSuffix()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(suffix) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_suffix", goArguments, "") - + godotCallVoidString(o, "set_suffix", suffix) log.Println(" Function successfully completed.") } @@ -90122,14 +58619,7 @@ func (o *SplitContainer) baseClass() string { func (o *SplitContainer) X_GuiInput(arg0 *InputEvent) { log.Println("Calling SplitContainer.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -90140,16 +58630,9 @@ func (o *SplitContainer) X_GuiInput(arg0 *InputEvent) { func (o *SplitContainer) GetDraggerVisibility() int64 { log.Println("Calling SplitContainer.GetDraggerVisibility()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_dragger_visibility", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_dragger_visibility") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90160,16 +58643,9 @@ func (o *SplitContainer) GetDraggerVisibility() int64 { func (o *SplitContainer) GetSplitOffset() int64 { log.Println("Calling SplitContainer.GetSplitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_split_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_split_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90180,16 +58656,9 @@ func (o *SplitContainer) GetSplitOffset() int64 { func (o *SplitContainer) IsCollapsed() bool { log.Println("Calling SplitContainer.IsCollapsed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_collapsed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_collapsed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90200,14 +58669,7 @@ func (o *SplitContainer) IsCollapsed() bool { func (o *SplitContainer) SetCollapsed(collapsed bool) { log.Println("Calling SplitContainer.SetCollapsed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(collapsed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collapsed", goArguments, "") - + godotCallVoidBool(o, "set_collapsed", collapsed) log.Println(" Function successfully completed.") } @@ -90218,14 +58680,7 @@ func (o *SplitContainer) SetCollapsed(collapsed bool) { func (o *SplitContainer) SetDraggerVisibility(mode int64) { log.Println("Calling SplitContainer.SetDraggerVisibility()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_dragger_visibility", goArguments, "") - + godotCallVoidInt(o, "set_dragger_visibility", mode) log.Println(" Function successfully completed.") } @@ -90236,14 +58691,7 @@ func (o *SplitContainer) SetDraggerVisibility(mode int64) { func (o *SplitContainer) SetSplitOffset(offset int64) { log.Println("Calling SplitContainer.SetSplitOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_split_offset", goArguments, "") - + godotCallVoidInt(o, "set_split_offset", offset) log.Println(" Function successfully completed.") } @@ -90290,16 +58738,9 @@ func (o *Sprite) baseClass() string { func (o *Sprite) GetFrame() int64 { log.Println("Calling Sprite.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90310,16 +58751,9 @@ func (o *Sprite) GetFrame() int64 { func (o *Sprite) GetHframes() int64 { log.Println("Calling Sprite.GetHframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hframes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_hframes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90330,17 +58764,12 @@ func (o *Sprite) GetHframes() int64 { func (o *Sprite) GetNormalMap() *Texture { log.Println("Calling Sprite.GetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_map", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_normal_map") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -90350,16 +58779,9 @@ func (o *Sprite) GetNormalMap() *Texture { func (o *Sprite) GetOffset() *Vector2 { log.Println("Calling Sprite.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90370,16 +58792,9 @@ func (o *Sprite) GetOffset() *Vector2 { func (o *Sprite) GetRegionRect() *Rect2 { log.Println("Calling Sprite.GetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_region_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90390,17 +58805,12 @@ func (o *Sprite) GetRegionRect() *Rect2 { func (o *Sprite) GetTexture() *Texture { log.Println("Calling Sprite.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -90410,16 +58820,9 @@ func (o *Sprite) GetTexture() *Texture { func (o *Sprite) GetVframes() int64 { log.Println("Calling Sprite.GetVframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vframes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_vframes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90430,16 +58833,9 @@ func (o *Sprite) GetVframes() int64 { func (o *Sprite) IsCentered() bool { log.Println("Calling Sprite.IsCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_centered", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_centered") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90450,16 +58846,9 @@ func (o *Sprite) IsCentered() bool { func (o *Sprite) IsFlippedH() bool { log.Println("Calling Sprite.IsFlippedH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_h", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_h") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90470,16 +58859,9 @@ func (o *Sprite) IsFlippedH() bool { func (o *Sprite) IsFlippedV() bool { log.Println("Calling Sprite.IsFlippedV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_v", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_v") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90490,16 +58872,9 @@ func (o *Sprite) IsFlippedV() bool { func (o *Sprite) IsRegion() bool { log.Println("Calling Sprite.IsRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_region", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_region") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90510,16 +58885,9 @@ func (o *Sprite) IsRegion() bool { func (o *Sprite) IsRegionFilterClipEnabled() bool { log.Println("Calling Sprite.IsRegionFilterClipEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_region_filter_clip_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_region_filter_clip_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90530,14 +58898,7 @@ func (o *Sprite) IsRegionFilterClipEnabled() bool { func (o *Sprite) SetCentered(centered bool) { log.Println("Calling Sprite.SetCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(centered) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_centered", goArguments, "") - + godotCallVoidBool(o, "set_centered", centered) log.Println(" Function successfully completed.") } @@ -90548,14 +58909,7 @@ func (o *Sprite) SetCentered(centered bool) { func (o *Sprite) SetFlipH(flipH bool) { log.Println("Calling Sprite.SetFlipH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipH) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_h", goArguments, "") - + godotCallVoidBool(o, "set_flip_h", flipH) log.Println(" Function successfully completed.") } @@ -90566,14 +58920,7 @@ func (o *Sprite) SetFlipH(flipH bool) { func (o *Sprite) SetFlipV(flipV bool) { log.Println("Calling Sprite.SetFlipV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipV) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_v", goArguments, "") - + godotCallVoidBool(o, "set_flip_v", flipV) log.Println(" Function successfully completed.") } @@ -90584,14 +58931,7 @@ func (o *Sprite) SetFlipV(flipV bool) { func (o *Sprite) SetFrame(frame int64) { log.Println("Calling Sprite.SetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frame) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame", goArguments, "") - + godotCallVoidInt(o, "set_frame", frame) log.Println(" Function successfully completed.") } @@ -90602,14 +58942,7 @@ func (o *Sprite) SetFrame(frame int64) { func (o *Sprite) SetHframes(hframes int64) { log.Println("Calling Sprite.SetHframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hframes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hframes", goArguments, "") - + godotCallVoidInt(o, "set_hframes", hframes) log.Println(" Function successfully completed.") } @@ -90620,14 +58953,7 @@ func (o *Sprite) SetHframes(hframes int64) { func (o *Sprite) SetNormalMap(normalMap *Texture) { log.Println("Calling Sprite.SetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_map", goArguments, "") - + godotCallVoidObject(o, "set_normal_map", &normalMap.Object) log.Println(" Function successfully completed.") } @@ -90638,14 +58964,7 @@ func (o *Sprite) SetNormalMap(normalMap *Texture) { func (o *Sprite) SetOffset(offset *Vector2) { log.Println("Calling Sprite.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -90656,14 +58975,7 @@ func (o *Sprite) SetOffset(offset *Vector2) { func (o *Sprite) SetRegion(enabled bool) { log.Println("Calling Sprite.SetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region", goArguments, "") - + godotCallVoidBool(o, "set_region", enabled) log.Println(" Function successfully completed.") } @@ -90674,14 +58986,7 @@ func (o *Sprite) SetRegion(enabled bool) { func (o *Sprite) SetRegionFilterClip(enabled bool) { log.Println("Calling Sprite.SetRegionFilterClip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_filter_clip", goArguments, "") - + godotCallVoidBool(o, "set_region_filter_clip", enabled) log.Println(" Function successfully completed.") } @@ -90692,14 +58997,7 @@ func (o *Sprite) SetRegionFilterClip(enabled bool) { func (o *Sprite) SetRegionRect(rect *Rect2) { log.Println("Calling Sprite.SetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_rect", goArguments, "") - + godotCallVoidRect2(o, "set_region_rect", rect) log.Println(" Function successfully completed.") } @@ -90710,14 +59008,7 @@ func (o *Sprite) SetRegionRect(rect *Rect2) { func (o *Sprite) SetTexture(texture *Texture) { log.Println("Calling Sprite.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -90728,14 +59019,7 @@ func (o *Sprite) SetTexture(texture *Texture) { func (o *Sprite) SetVframes(vframes int64) { log.Println("Calling Sprite.SetVframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vframes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vframes", goArguments, "") - + godotCallVoidInt(o, "set_vframes", vframes) log.Println(" Function successfully completed.") } @@ -90764,16 +59048,9 @@ func (o *Sprite3D) baseClass() string { func (o *Sprite3D) GetFrame() int64 { log.Println("Calling Sprite3D.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_frame") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90784,16 +59061,9 @@ func (o *Sprite3D) GetFrame() int64 { func (o *Sprite3D) GetHframes() int64 { log.Println("Calling Sprite3D.GetHframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hframes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_hframes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90804,16 +59074,9 @@ func (o *Sprite3D) GetHframes() int64 { func (o *Sprite3D) GetRegionRect() *Rect2 { log.Println("Calling Sprite3D.GetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_region_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90824,17 +59087,12 @@ func (o *Sprite3D) GetRegionRect() *Rect2 { func (o *Sprite3D) GetTexture() *Texture { log.Println("Calling Sprite3D.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -90844,16 +59102,9 @@ func (o *Sprite3D) GetTexture() *Texture { func (o *Sprite3D) GetVframes() int64 { log.Println("Calling Sprite3D.GetVframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vframes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_vframes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90864,16 +59115,9 @@ func (o *Sprite3D) GetVframes() int64 { func (o *Sprite3D) IsRegion() bool { log.Println("Calling Sprite3D.IsRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_region", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_region") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -90884,14 +59128,7 @@ func (o *Sprite3D) IsRegion() bool { func (o *Sprite3D) SetFrame(frame int64) { log.Println("Calling Sprite3D.SetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(frame) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame", goArguments, "") - + godotCallVoidInt(o, "set_frame", frame) log.Println(" Function successfully completed.") } @@ -90902,14 +59139,7 @@ func (o *Sprite3D) SetFrame(frame int64) { func (o *Sprite3D) SetHframes(hframes int64) { log.Println("Calling Sprite3D.SetHframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hframes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hframes", goArguments, "") - + godotCallVoidInt(o, "set_hframes", hframes) log.Println(" Function successfully completed.") } @@ -90920,14 +59150,7 @@ func (o *Sprite3D) SetHframes(hframes int64) { func (o *Sprite3D) SetRegion(enabled bool) { log.Println("Calling Sprite3D.SetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region", goArguments, "") - + godotCallVoidBool(o, "set_region", enabled) log.Println(" Function successfully completed.") } @@ -90938,14 +59161,7 @@ func (o *Sprite3D) SetRegion(enabled bool) { func (o *Sprite3D) SetRegionRect(rect *Rect2) { log.Println("Calling Sprite3D.SetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_rect", goArguments, "") - + godotCallVoidRect2(o, "set_region_rect", rect) log.Println(" Function successfully completed.") } @@ -90956,14 +59172,7 @@ func (o *Sprite3D) SetRegionRect(rect *Rect2) { func (o *Sprite3D) SetTexture(texture *Texture) { log.Println("Calling Sprite3D.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -90974,14 +59183,7 @@ func (o *Sprite3D) SetTexture(texture *Texture) { func (o *Sprite3D) SetVframes(vframes int64) { log.Println("Calling Sprite3D.SetVframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vframes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vframes", goArguments, "") - + godotCallVoidInt(o, "set_vframes", vframes) log.Println(" Function successfully completed.") } @@ -91010,13 +59212,7 @@ func (o *SpriteBase3D) baseClass() string { func (o *SpriteBase3D) X_ImUpdate() { log.Println("Calling SpriteBase3D.X_ImUpdate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_im_update", goArguments, "") - + godotCallVoid(o, "_im_update") log.Println(" Function successfully completed.") } @@ -91027,13 +59223,7 @@ func (o *SpriteBase3D) X_ImUpdate() { func (o *SpriteBase3D) X_QueueUpdate() { log.Println("Calling SpriteBase3D.X_QueueUpdate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_queue_update", goArguments, "") - + godotCallVoid(o, "_queue_update") log.Println(" Function successfully completed.") } @@ -91044,16 +59234,9 @@ func (o *SpriteBase3D) X_QueueUpdate() { func (o *SpriteBase3D) GetAlphaCutMode() int64 { log.Println("Calling SpriteBase3D.GetAlphaCutMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_alpha_cut_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_alpha_cut_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91064,16 +59247,9 @@ func (o *SpriteBase3D) GetAlphaCutMode() int64 { func (o *SpriteBase3D) GetAxis() int64 { log.Println("Calling SpriteBase3D.GetAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_axis", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_axis") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91084,17 +59260,9 @@ func (o *SpriteBase3D) GetAxis() int64 { func (o *SpriteBase3D) GetDrawFlag(flag int64) bool { log.Println("Calling SpriteBase3D.GetDrawFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flag) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_draw_flag", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_draw_flag", flag) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91105,16 +59273,9 @@ func (o *SpriteBase3D) GetDrawFlag(flag int64) bool { func (o *SpriteBase3D) GetItemRect() *Rect2 { log.Println("Calling SpriteBase3D.GetItemRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_item_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91125,16 +59286,9 @@ func (o *SpriteBase3D) GetItemRect() *Rect2 { func (o *SpriteBase3D) GetModulate() *Color { log.Println("Calling SpriteBase3D.GetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_modulate", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_modulate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91145,16 +59299,9 @@ func (o *SpriteBase3D) GetModulate() *Color { func (o *SpriteBase3D) GetOffset() *Vector2 { log.Println("Calling SpriteBase3D.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91165,16 +59312,9 @@ func (o *SpriteBase3D) GetOffset() *Vector2 { func (o *SpriteBase3D) GetOpacity() float64 { log.Println("Calling SpriteBase3D.GetOpacity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_opacity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_opacity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91185,16 +59325,9 @@ func (o *SpriteBase3D) GetOpacity() float64 { func (o *SpriteBase3D) GetPixelSize() float64 { log.Println("Calling SpriteBase3D.GetPixelSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pixel_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_pixel_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91205,16 +59338,9 @@ func (o *SpriteBase3D) GetPixelSize() float64 { func (o *SpriteBase3D) IsCentered() bool { log.Println("Calling SpriteBase3D.IsCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_centered", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_centered") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91225,16 +59351,9 @@ func (o *SpriteBase3D) IsCentered() bool { func (o *SpriteBase3D) IsFlippedH() bool { log.Println("Calling SpriteBase3D.IsFlippedH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_h", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_h") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91245,16 +59364,9 @@ func (o *SpriteBase3D) IsFlippedH() bool { func (o *SpriteBase3D) IsFlippedV() bool { log.Println("Calling SpriteBase3D.IsFlippedV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_flipped_v", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_flipped_v") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91265,14 +59377,7 @@ func (o *SpriteBase3D) IsFlippedV() bool { func (o *SpriteBase3D) SetAlphaCutMode(mode int64) { log.Println("Calling SpriteBase3D.SetAlphaCutMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_alpha_cut_mode", goArguments, "") - + godotCallVoidInt(o, "set_alpha_cut_mode", mode) log.Println(" Function successfully completed.") } @@ -91283,14 +59388,7 @@ func (o *SpriteBase3D) SetAlphaCutMode(mode int64) { func (o *SpriteBase3D) SetAxis(axis int64) { log.Println("Calling SpriteBase3D.SetAxis()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(axis) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_axis", goArguments, "") - + godotCallVoidInt(o, "set_axis", axis) log.Println(" Function successfully completed.") } @@ -91301,14 +59399,7 @@ func (o *SpriteBase3D) SetAxis(axis int64) { func (o *SpriteBase3D) SetCentered(centered bool) { log.Println("Calling SpriteBase3D.SetCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(centered) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_centered", goArguments, "") - + godotCallVoidBool(o, "set_centered", centered) log.Println(" Function successfully completed.") } @@ -91319,15 +59410,7 @@ func (o *SpriteBase3D) SetCentered(centered bool) { func (o *SpriteBase3D) SetDrawFlag(flag int64, enabled bool) { log.Println("Calling SpriteBase3D.SetDrawFlag()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(flag) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_flag", goArguments, "") - + godotCallVoidIntBool(o, "set_draw_flag", flag, enabled) log.Println(" Function successfully completed.") } @@ -91338,14 +59421,7 @@ func (o *SpriteBase3D) SetDrawFlag(flag int64, enabled bool) { func (o *SpriteBase3D) SetFlipH(flipH bool) { log.Println("Calling SpriteBase3D.SetFlipH()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipH) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_h", goArguments, "") - + godotCallVoidBool(o, "set_flip_h", flipH) log.Println(" Function successfully completed.") } @@ -91356,14 +59432,7 @@ func (o *SpriteBase3D) SetFlipH(flipH bool) { func (o *SpriteBase3D) SetFlipV(flipV bool) { log.Println("Calling SpriteBase3D.SetFlipV()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flipV) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flip_v", goArguments, "") - + godotCallVoidBool(o, "set_flip_v", flipV) log.Println(" Function successfully completed.") } @@ -91374,14 +59443,7 @@ func (o *SpriteBase3D) SetFlipV(flipV bool) { func (o *SpriteBase3D) SetModulate(modulate *Color) { log.Println("Calling SpriteBase3D.SetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(modulate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_modulate", goArguments, "") - + godotCallVoidColor(o, "set_modulate", modulate) log.Println(" Function successfully completed.") } @@ -91392,14 +59454,7 @@ func (o *SpriteBase3D) SetModulate(modulate *Color) { func (o *SpriteBase3D) SetOffset(offset *Vector2) { log.Println("Calling SpriteBase3D.SetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_offset", goArguments, "") - + godotCallVoidVector2(o, "set_offset", offset) log.Println(" Function successfully completed.") } @@ -91410,14 +59465,7 @@ func (o *SpriteBase3D) SetOffset(offset *Vector2) { func (o *SpriteBase3D) SetOpacity(opacity float64) { log.Println("Calling SpriteBase3D.SetOpacity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(opacity) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_opacity", goArguments, "") - + godotCallVoidFloat(o, "set_opacity", opacity) log.Println(" Function successfully completed.") } @@ -91428,14 +59476,7 @@ func (o *SpriteBase3D) SetOpacity(opacity float64) { func (o *SpriteBase3D) SetPixelSize(pixelSize float64) { log.Println("Calling SpriteBase3D.SetPixelSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pixelSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pixel_size", goArguments, "") - + godotCallVoidFloat(o, "set_pixel_size", pixelSize) log.Println(" Function successfully completed.") } @@ -91464,16 +59505,9 @@ func (o *SpriteFrames) baseClass() string { func (o *SpriteFrames) X_GetAnimations() *Array { log.Println("Calling SpriteFrames.X_GetAnimations()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_animations", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_animations") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91484,16 +59518,9 @@ func (o *SpriteFrames) X_GetAnimations() *Array { func (o *SpriteFrames) X_GetFrames() *Array { log.Println("Calling SpriteFrames.X_GetFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_frames", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_frames") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91504,14 +59531,7 @@ func (o *SpriteFrames) X_GetFrames() *Array { func (o *SpriteFrames) X_SetAnimations(arg0 *Array) { log.Println("Calling SpriteFrames.X_SetAnimations()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_animations", goArguments, "") - + godotCallVoidArray(o, "_set_animations", arg0) log.Println(" Function successfully completed.") } @@ -91522,14 +59542,7 @@ func (o *SpriteFrames) X_SetAnimations(arg0 *Array) { func (o *SpriteFrames) X_SetFrames(arg0 *Array) { log.Println("Calling SpriteFrames.X_SetFrames()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_frames", goArguments, "") - + godotCallVoidArray(o, "_set_frames", arg0) log.Println(" Function successfully completed.") } @@ -91540,14 +59553,7 @@ func (o *SpriteFrames) X_SetFrames(arg0 *Array) { func (o *SpriteFrames) AddAnimation(anim string) { log.Println("Calling SpriteFrames.AddAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_animation", goArguments, "") - + godotCallVoidString(o, "add_animation", anim) log.Println(" Function successfully completed.") } @@ -91558,16 +59564,7 @@ func (o *SpriteFrames) AddAnimation(anim string) { func (o *SpriteFrames) AddFrame(anim string, frame *Texture, atPosition int64) { log.Println("Calling SpriteFrames.AddFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(frame) - goArguments[2] = reflect.ValueOf(atPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_frame", goArguments, "") - + godotCallVoidStringObjectInt(o, "add_frame", anim, &frame.Object, atPosition) log.Println(" Function successfully completed.") } @@ -91578,14 +59575,7 @@ func (o *SpriteFrames) AddFrame(anim string, frame *Texture, atPosition int64) { func (o *SpriteFrames) Clear(anim string) { log.Println("Calling SpriteFrames.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoidString(o, "clear", anim) log.Println(" Function successfully completed.") } @@ -91596,13 +59586,7 @@ func (o *SpriteFrames) Clear(anim string) { func (o *SpriteFrames) ClearAll() { log.Println("Calling SpriteFrames.ClearAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_all", goArguments, "") - + godotCallVoid(o, "clear_all") log.Println(" Function successfully completed.") } @@ -91613,17 +59597,9 @@ func (o *SpriteFrames) ClearAll() { func (o *SpriteFrames) GetAnimationLoop(anim string) bool { log.Println("Calling SpriteFrames.GetAnimationLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation_loop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "get_animation_loop", anim) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91634,17 +59610,9 @@ func (o *SpriteFrames) GetAnimationLoop(anim string) bool { func (o *SpriteFrames) GetAnimationSpeed(anim string) float64 { log.Println("Calling SpriteFrames.GetAnimationSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_animation_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatString(o, "get_animation_speed", anim) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91655,19 +59623,12 @@ func (o *SpriteFrames) GetAnimationSpeed(anim string) float64 { func (o *SpriteFrames) GetFrame(anim string, idx int64) *Texture { log.Println("Calling SpriteFrames.GetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectStringInt(o, "get_frame", anim, idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -91677,17 +59638,9 @@ func (o *SpriteFrames) GetFrame(anim string, idx int64) *Texture { func (o *SpriteFrames) GetFrameCount(anim string) int64 { log.Println("Calling SpriteFrames.GetFrameCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_frame_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_frame_count", anim) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91698,17 +59651,9 @@ func (o *SpriteFrames) GetFrameCount(anim string) int64 { func (o *SpriteFrames) HasAnimation(anim string) bool { log.Println("Calling SpriteFrames.HasAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_animation", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_animation", anim) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91719,14 +59664,7 @@ func (o *SpriteFrames) HasAnimation(anim string) bool { func (o *SpriteFrames) RemoveAnimation(anim string) { log.Println("Calling SpriteFrames.RemoveAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(anim) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_animation", goArguments, "") - + godotCallVoidString(o, "remove_animation", anim) log.Println(" Function successfully completed.") } @@ -91737,15 +59675,7 @@ func (o *SpriteFrames) RemoveAnimation(anim string) { func (o *SpriteFrames) RemoveFrame(anim string, idx int64) { log.Println("Calling SpriteFrames.RemoveFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_frame", goArguments, "") - + godotCallVoidStringInt(o, "remove_frame", anim, idx) log.Println(" Function successfully completed.") } @@ -91756,15 +59686,7 @@ func (o *SpriteFrames) RemoveFrame(anim string, idx int64) { func (o *SpriteFrames) RenameAnimation(anim string, newname string) { log.Println("Calling SpriteFrames.RenameAnimation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(newname) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_animation", goArguments, "") - + godotCallVoidStringString(o, "rename_animation", anim, newname) log.Println(" Function successfully completed.") } @@ -91775,15 +59697,7 @@ func (o *SpriteFrames) RenameAnimation(anim string, newname string) { func (o *SpriteFrames) SetAnimationLoop(anim string, loop bool) { log.Println("Calling SpriteFrames.SetAnimationLoop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(loop) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation_loop", goArguments, "") - + godotCallVoidStringBool(o, "set_animation_loop", anim, loop) log.Println(" Function successfully completed.") } @@ -91794,15 +59708,7 @@ func (o *SpriteFrames) SetAnimationLoop(anim string, loop bool) { func (o *SpriteFrames) SetAnimationSpeed(anim string, speed float64) { log.Println("Calling SpriteFrames.SetAnimationSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_animation_speed", goArguments, "") - + godotCallVoidStringFloat(o, "set_animation_speed", anim, speed) log.Println(" Function successfully completed.") } @@ -91813,16 +59719,7 @@ func (o *SpriteFrames) SetAnimationSpeed(anim string, speed float64) { func (o *SpriteFrames) SetFrame(anim string, idx int64, txt *Texture) { log.Println("Calling SpriteFrames.SetFrame()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(anim) - goArguments[1] = reflect.ValueOf(idx) - goArguments[2] = reflect.ValueOf(txt) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_frame", goArguments, "") - + godotCallVoidStringIntObject(o, "set_frame", anim, idx, &txt.Object) log.Println(" Function successfully completed.") } @@ -91851,16 +59748,9 @@ func (o *StaticBody) baseClass() string { func (o *StaticBody) GetBounce() float64 { log.Println("Calling StaticBody.GetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounce", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bounce") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91871,16 +59761,9 @@ func (o *StaticBody) GetBounce() float64 { func (o *StaticBody) GetConstantAngularVelocity() *Vector3 { log.Println("Calling StaticBody.GetConstantAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_angular_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_constant_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91891,16 +59774,9 @@ func (o *StaticBody) GetConstantAngularVelocity() *Vector3 { func (o *StaticBody) GetConstantLinearVelocity() *Vector3 { log.Println("Calling StaticBody.GetConstantLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_linear_velocity", goArguments, "*Vector3") - - returnValue := goRet.Interface().(*Vector3) - + returnValue := godotCallVector3(o, "get_constant_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91911,16 +59787,9 @@ func (o *StaticBody) GetConstantLinearVelocity() *Vector3 { func (o *StaticBody) GetFriction() float64 { log.Println("Calling StaticBody.GetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_friction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_friction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -91931,14 +59800,7 @@ func (o *StaticBody) GetFriction() float64 { func (o *StaticBody) SetBounce(bounce float64) { log.Println("Calling StaticBody.SetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounce", goArguments, "") - + godotCallVoidFloat(o, "set_bounce", bounce) log.Println(" Function successfully completed.") } @@ -91949,14 +59811,7 @@ func (o *StaticBody) SetBounce(bounce float64) { func (o *StaticBody) SetConstantAngularVelocity(vel *Vector3) { log.Println("Calling StaticBody.SetConstantAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_angular_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_constant_angular_velocity", vel) log.Println(" Function successfully completed.") } @@ -91967,14 +59822,7 @@ func (o *StaticBody) SetConstantAngularVelocity(vel *Vector3) { func (o *StaticBody) SetConstantLinearVelocity(vel *Vector3) { log.Println("Calling StaticBody.SetConstantLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_linear_velocity", goArguments, "") - + godotCallVoidVector3(o, "set_constant_linear_velocity", vel) log.Println(" Function successfully completed.") } @@ -91985,14 +59833,7 @@ func (o *StaticBody) SetConstantLinearVelocity(vel *Vector3) { func (o *StaticBody) SetFriction(friction float64) { log.Println("Calling StaticBody.SetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(friction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_friction", goArguments, "") - + godotCallVoidFloat(o, "set_friction", friction) log.Println(" Function successfully completed.") } @@ -92021,16 +59862,9 @@ func (o *StaticBody2D) baseClass() string { func (o *StaticBody2D) GetBounce() float64 { log.Println("Calling StaticBody2D.GetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bounce", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_bounce") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92041,16 +59875,9 @@ func (o *StaticBody2D) GetBounce() float64 { func (o *StaticBody2D) GetConstantAngularVelocity() float64 { log.Println("Calling StaticBody2D.GetConstantAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_angular_velocity", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_constant_angular_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92061,16 +59888,9 @@ func (o *StaticBody2D) GetConstantAngularVelocity() float64 { func (o *StaticBody2D) GetConstantLinearVelocity() *Vector2 { log.Println("Calling StaticBody2D.GetConstantLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_linear_velocity", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_constant_linear_velocity") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92081,16 +59901,9 @@ func (o *StaticBody2D) GetConstantLinearVelocity() *Vector2 { func (o *StaticBody2D) GetFriction() float64 { log.Println("Calling StaticBody2D.GetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_friction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_friction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92101,14 +59914,7 @@ func (o *StaticBody2D) GetFriction() float64 { func (o *StaticBody2D) SetBounce(bounce float64) { log.Println("Calling StaticBody2D.SetBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bounce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bounce", goArguments, "") - + godotCallVoidFloat(o, "set_bounce", bounce) log.Println(" Function successfully completed.") } @@ -92119,14 +59925,7 @@ func (o *StaticBody2D) SetBounce(bounce float64) { func (o *StaticBody2D) SetConstantAngularVelocity(vel float64) { log.Println("Calling StaticBody2D.SetConstantAngularVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_angular_velocity", goArguments, "") - + godotCallVoidFloat(o, "set_constant_angular_velocity", vel) log.Println(" Function successfully completed.") } @@ -92137,14 +59936,7 @@ func (o *StaticBody2D) SetConstantAngularVelocity(vel float64) { func (o *StaticBody2D) SetConstantLinearVelocity(vel *Vector2) { log.Println("Calling StaticBody2D.SetConstantLinearVelocity()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vel) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_linear_velocity", goArguments, "") - + godotCallVoidVector2(o, "set_constant_linear_velocity", vel) log.Println(" Function successfully completed.") } @@ -92155,14 +59947,7 @@ func (o *StaticBody2D) SetConstantLinearVelocity(vel *Vector2) { func (o *StaticBody2D) SetFriction(friction float64) { log.Println("Calling StaticBody2D.SetFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(friction) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_friction", goArguments, "") - + godotCallVoidFloat(o, "set_friction", friction) log.Println(" Function successfully completed.") } @@ -92191,16 +59976,9 @@ func (o *StreamPeer) baseClass() string { func (o *StreamPeer) Get16() int64 { log.Println("Calling StreamPeer.Get16()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_16", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_16") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92211,16 +59989,9 @@ func (o *StreamPeer) Get16() int64 { func (o *StreamPeer) Get32() int64 { log.Println("Calling StreamPeer.Get32()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_32", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_32") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92231,16 +60002,9 @@ func (o *StreamPeer) Get32() int64 { func (o *StreamPeer) Get64() int64 { log.Println("Calling StreamPeer.Get64()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_64", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_64") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92251,16 +60015,9 @@ func (o *StreamPeer) Get64() int64 { func (o *StreamPeer) Get8() int64 { log.Println("Calling StreamPeer.Get8()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_8", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_8") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92271,16 +60028,9 @@ func (o *StreamPeer) Get8() int64 { func (o *StreamPeer) GetAvailableBytes() int64 { log.Println("Calling StreamPeer.GetAvailableBytes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_available_bytes", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_available_bytes") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92291,17 +60041,9 @@ func (o *StreamPeer) GetAvailableBytes() int64 { func (o *StreamPeer) GetData(bytes int64) *Array { log.Println("Calling StreamPeer.GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_data", bytes) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92312,16 +60054,9 @@ func (o *StreamPeer) GetData(bytes int64) *Array { func (o *StreamPeer) GetDouble() float64 { log.Println("Calling StreamPeer.GetDouble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_double", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_double") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92332,16 +60067,9 @@ func (o *StreamPeer) GetDouble() float64 { func (o *StreamPeer) GetFloat() float64 { log.Println("Calling StreamPeer.GetFloat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_float", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_float") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92352,17 +60080,9 @@ func (o *StreamPeer) GetFloat() float64 { func (o *StreamPeer) GetPartialData(bytes int64) *Array { log.Println("Calling StreamPeer.GetPartialData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_partial_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_partial_data", bytes) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92373,17 +60093,9 @@ func (o *StreamPeer) GetPartialData(bytes int64) *Array { func (o *StreamPeer) GetString(bytes int64) string { log.Println("Calling StreamPeer.GetString()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_string", bytes) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92394,16 +60106,9 @@ func (o *StreamPeer) GetString(bytes int64) string { func (o *StreamPeer) GetU16() int64 { log.Println("Calling StreamPeer.GetU16()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_u16", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_u16") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92414,16 +60119,9 @@ func (o *StreamPeer) GetU16() int64 { func (o *StreamPeer) GetU32() int64 { log.Println("Calling StreamPeer.GetU32()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_u32", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_u32") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92434,16 +60132,9 @@ func (o *StreamPeer) GetU32() int64 { func (o *StreamPeer) GetU64() int64 { log.Println("Calling StreamPeer.GetU64()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_u64", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_u64") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92454,16 +60145,9 @@ func (o *StreamPeer) GetU64() int64 { func (o *StreamPeer) GetU8() int64 { log.Println("Calling StreamPeer.GetU8()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_u8", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_u8") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92474,17 +60158,9 @@ func (o *StreamPeer) GetU8() int64 { func (o *StreamPeer) GetUtf8String(bytes int64) string { log.Println("Calling StreamPeer.GetUtf8String()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bytes) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_utf8_string", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_utf8_string", bytes) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92495,16 +60171,9 @@ func (o *StreamPeer) GetUtf8String(bytes int64) string { func (o *StreamPeer) GetVar() *Variant { log.Println("Calling StreamPeer.GetVar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_var") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92515,16 +60184,9 @@ func (o *StreamPeer) GetVar() *Variant { func (o *StreamPeer) IsBigEndianEnabled() bool { log.Println("Calling StreamPeer.IsBigEndianEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_big_endian_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_big_endian_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92535,14 +60197,7 @@ func (o *StreamPeer) IsBigEndianEnabled() bool { func (o *StreamPeer) Put16(value int64) { log.Println("Calling StreamPeer.Put16()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_16", goArguments, "") - + godotCallVoidInt(o, "put_16", value) log.Println(" Function successfully completed.") } @@ -92553,14 +60208,7 @@ func (o *StreamPeer) Put16(value int64) { func (o *StreamPeer) Put32(value int64) { log.Println("Calling StreamPeer.Put32()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_32", goArguments, "") - + godotCallVoidInt(o, "put_32", value) log.Println(" Function successfully completed.") } @@ -92571,14 +60219,7 @@ func (o *StreamPeer) Put32(value int64) { func (o *StreamPeer) Put64(value int64) { log.Println("Calling StreamPeer.Put64()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_64", goArguments, "") - + godotCallVoidInt(o, "put_64", value) log.Println(" Function successfully completed.") } @@ -92589,14 +60230,7 @@ func (o *StreamPeer) Put64(value int64) { func (o *StreamPeer) Put8(value int64) { log.Println("Calling StreamPeer.Put8()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_8", goArguments, "") - + godotCallVoidInt(o, "put_8", value) log.Println(" Function successfully completed.") } @@ -92607,17 +60241,9 @@ func (o *StreamPeer) Put8(value int64) { func (o *StreamPeer) PutData(data *PoolByteArray) int64 { log.Println("Calling StreamPeer.PutData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "put_data", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntPoolByteArray(o, "put_data", data) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92628,14 +60254,7 @@ func (o *StreamPeer) PutData(data *PoolByteArray) int64 { func (o *StreamPeer) PutDouble(value float64) { log.Println("Calling StreamPeer.PutDouble()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_double", goArguments, "") - + godotCallVoidFloat(o, "put_double", value) log.Println(" Function successfully completed.") } @@ -92646,14 +60265,7 @@ func (o *StreamPeer) PutDouble(value float64) { func (o *StreamPeer) PutFloat(value float64) { log.Println("Calling StreamPeer.PutFloat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_float", goArguments, "") - + godotCallVoidFloat(o, "put_float", value) log.Println(" Function successfully completed.") } @@ -92664,17 +60276,9 @@ func (o *StreamPeer) PutFloat(value float64) { func (o *StreamPeer) PutPartialData(data *PoolByteArray) *Array { log.Println("Calling StreamPeer.PutPartialData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "put_partial_data", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayPoolByteArray(o, "put_partial_data", data) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92685,14 +60289,7 @@ func (o *StreamPeer) PutPartialData(data *PoolByteArray) *Array { func (o *StreamPeer) PutU16(value int64) { log.Println("Calling StreamPeer.PutU16()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_u16", goArguments, "") - + godotCallVoidInt(o, "put_u16", value) log.Println(" Function successfully completed.") } @@ -92703,14 +60300,7 @@ func (o *StreamPeer) PutU16(value int64) { func (o *StreamPeer) PutU32(value int64) { log.Println("Calling StreamPeer.PutU32()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_u32", goArguments, "") - + godotCallVoidInt(o, "put_u32", value) log.Println(" Function successfully completed.") } @@ -92721,14 +60311,7 @@ func (o *StreamPeer) PutU32(value int64) { func (o *StreamPeer) PutU64(value int64) { log.Println("Calling StreamPeer.PutU64()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_u64", goArguments, "") - + godotCallVoidInt(o, "put_u64", value) log.Println(" Function successfully completed.") } @@ -92739,14 +60322,7 @@ func (o *StreamPeer) PutU64(value int64) { func (o *StreamPeer) PutU8(value int64) { log.Println("Calling StreamPeer.PutU8()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_u8", goArguments, "") - + godotCallVoidInt(o, "put_u8", value) log.Println(" Function successfully completed.") } @@ -92757,14 +60333,7 @@ func (o *StreamPeer) PutU8(value int64) { func (o *StreamPeer) PutUtf8String(value string) { log.Println("Calling StreamPeer.PutUtf8String()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_utf8_string", goArguments, "") - + godotCallVoidString(o, "put_utf8_string", value) log.Println(" Function successfully completed.") } @@ -92775,14 +60344,7 @@ func (o *StreamPeer) PutUtf8String(value string) { func (o *StreamPeer) PutVar(value *Variant) { log.Println("Calling StreamPeer.PutVar()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "put_var", goArguments, "") - + godotCallVoidVariant(o, "put_var", value) log.Println(" Function successfully completed.") } @@ -92793,14 +60355,7 @@ func (o *StreamPeer) PutVar(value *Variant) { func (o *StreamPeer) SetBigEndian(enable bool) { log.Println("Calling StreamPeer.SetBigEndian()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_big_endian", goArguments, "") - + godotCallVoidBool(o, "set_big_endian", enable) log.Println(" Function successfully completed.") } @@ -92829,13 +60384,7 @@ func (o *StreamPeerBuffer) baseClass() string { func (o *StreamPeerBuffer) Clear() { log.Println("Calling StreamPeerBuffer.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -92846,17 +60395,12 @@ func (o *StreamPeerBuffer) Clear() { func (o *StreamPeerBuffer) Duplicate() *StreamPeerBuffer { log.Println("Calling StreamPeerBuffer.Duplicate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "duplicate", goArguments, "*StreamPeerBuffer") - - returnValue := goRet.Interface().(*StreamPeerBuffer) - + returnValue := godotCallObject(o, "duplicate") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StreamPeerBuffer + ret.owner = returnValue.owner + return &ret } @@ -92866,16 +60410,9 @@ func (o *StreamPeerBuffer) Duplicate() *StreamPeerBuffer { func (o *StreamPeerBuffer) GetDataArray() *PoolByteArray { log.Println("Calling StreamPeerBuffer.GetDataArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_data_array", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArray(o, "get_data_array") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92886,16 +60423,9 @@ func (o *StreamPeerBuffer) GetDataArray() *PoolByteArray { func (o *StreamPeerBuffer) GetPosition() int64 { log.Println("Calling StreamPeerBuffer.GetPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_position", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92906,16 +60436,9 @@ func (o *StreamPeerBuffer) GetPosition() int64 { func (o *StreamPeerBuffer) GetSize() int64 { log.Println("Calling StreamPeerBuffer.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -92926,14 +60449,7 @@ func (o *StreamPeerBuffer) GetSize() int64 { func (o *StreamPeerBuffer) Resize(size int64) { log.Println("Calling StreamPeerBuffer.Resize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "resize", goArguments, "") - + godotCallVoidInt(o, "resize", size) log.Println(" Function successfully completed.") } @@ -92944,14 +60460,7 @@ func (o *StreamPeerBuffer) Resize(size int64) { func (o *StreamPeerBuffer) Seek(position int64) { log.Println("Calling StreamPeerBuffer.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "seek", goArguments, "") - + godotCallVoidInt(o, "seek", position) log.Println(" Function successfully completed.") } @@ -92962,14 +60471,7 @@ func (o *StreamPeerBuffer) Seek(position int64) { func (o *StreamPeerBuffer) SetDataArray(data *PoolByteArray) { log.Println("Calling StreamPeerBuffer.SetDataArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_data_array", goArguments, "") - + godotCallVoidPoolByteArray(o, "set_data_array", data) log.Println(" Function successfully completed.") } @@ -92998,17 +60500,9 @@ func (o *StreamPeerSSL) baseClass() string { func (o *StreamPeerSSL) AcceptStream(stream *StreamPeer) int64 { log.Println("Calling StreamPeerSSL.AcceptStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "accept_stream", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObject(o, "accept_stream", &stream.Object) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93019,19 +60513,9 @@ func (o *StreamPeerSSL) AcceptStream(stream *StreamPeer) int64 { func (o *StreamPeerSSL) ConnectToStream(stream *StreamPeer, validateCerts bool, forHostname string) int64 { log.Println("Calling StreamPeerSSL.ConnectToStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(stream) - goArguments[1] = reflect.ValueOf(validateCerts) - goArguments[2] = reflect.ValueOf(forHostname) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect_to_stream", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntObjectBoolString(o, "connect_to_stream", &stream.Object, validateCerts, forHostname) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93042,13 +60526,7 @@ func (o *StreamPeerSSL) ConnectToStream(stream *StreamPeer, validateCerts bool, func (o *StreamPeerSSL) DisconnectFromStream() { log.Println("Calling StreamPeerSSL.DisconnectFromStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect_from_stream", goArguments, "") - + godotCallVoid(o, "disconnect_from_stream") log.Println(" Function successfully completed.") } @@ -93059,16 +60537,9 @@ func (o *StreamPeerSSL) DisconnectFromStream() { func (o *StreamPeerSSL) GetStatus() int64 { log.Println("Calling StreamPeerSSL.GetStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93097,18 +60568,9 @@ func (o *StreamPeerTCP) baseClass() string { func (o *StreamPeerTCP) ConnectToHost(host string, port int64) int64 { log.Println("Calling StreamPeerTCP.ConnectToHost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(host) - goArguments[1] = reflect.ValueOf(port) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "connect_to_host", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringInt(o, "connect_to_host", host, port) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93119,13 +60581,7 @@ func (o *StreamPeerTCP) ConnectToHost(host string, port int64) int64 { func (o *StreamPeerTCP) DisconnectFromHost() { log.Println("Calling StreamPeerTCP.DisconnectFromHost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "disconnect_from_host", goArguments, "") - + godotCallVoid(o, "disconnect_from_host") log.Println(" Function successfully completed.") } @@ -93136,16 +60592,9 @@ func (o *StreamPeerTCP) DisconnectFromHost() { func (o *StreamPeerTCP) GetConnectedHost() string { log.Println("Calling StreamPeerTCP.GetConnectedHost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connected_host", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_connected_host") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93156,16 +60605,9 @@ func (o *StreamPeerTCP) GetConnectedHost() string { func (o *StreamPeerTCP) GetConnectedPort() int64 { log.Println("Calling StreamPeerTCP.GetConnectedPort()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_connected_port", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_connected_port") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93176,16 +60618,9 @@ func (o *StreamPeerTCP) GetConnectedPort() int64 { func (o *StreamPeerTCP) GetStatus() int64 { log.Println("Calling StreamPeerTCP.GetStatus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_status", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_status") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93196,16 +60631,9 @@ func (o *StreamPeerTCP) GetStatus() int64 { func (o *StreamPeerTCP) IsConnectedToHost() bool { log.Println("Calling StreamPeerTCP.IsConnectedToHost()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_connected_to_host", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_connected_to_host") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93234,16 +60662,9 @@ func (o *StreamTexture) baseClass() string { func (o *StreamTexture) GetLoadPath() string { log.Println("Calling StreamTexture.GetLoadPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_load_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_load_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93254,17 +60675,9 @@ func (o *StreamTexture) GetLoadPath() string { func (o *StreamTexture) Load(path string) int64 { log.Println("Calling StreamTexture.Load()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "load", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "load", path) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93293,15 +60706,7 @@ func (o *StyleBox) baseClass() string { func (o *StyleBox) Draw(canvasItem *RID, rect *Rect2) { log.Println("Calling StyleBox.Draw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw", goArguments, "") - + godotCallVoidRidRect2(o, "draw", canvasItem, rect) log.Println(" Function successfully completed.") } @@ -93312,16 +60717,9 @@ func (o *StyleBox) Draw(canvasItem *RID, rect *Rect2) { func (o *StyleBox) GetCenterSize() *Vector2 { log.Println("Calling StyleBox.GetCenterSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_center_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_center_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93332,17 +60730,9 @@ func (o *StyleBox) GetCenterSize() *Vector2 { func (o *StyleBox) GetDefaultMargin(margin int64) float64 { log.Println("Calling StyleBox.GetDefaultMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_default_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93353,17 +60743,9 @@ func (o *StyleBox) GetDefaultMargin(margin int64) float64 { func (o *StyleBox) GetMargin(margin int64) float64 { log.Println("Calling StyleBox.GetMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93374,16 +60756,9 @@ func (o *StyleBox) GetMargin(margin int64) float64 { func (o *StyleBox) GetMinimumSize() *Vector2 { log.Println("Calling StyleBox.GetMinimumSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_minimum_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_minimum_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93394,16 +60769,9 @@ func (o *StyleBox) GetMinimumSize() *Vector2 { func (o *StyleBox) GetOffset() *Vector2 { log.Println("Calling StyleBox.GetOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93414,15 +60782,7 @@ func (o *StyleBox) GetOffset() *Vector2 { func (o *StyleBox) SetDefaultMargin(margin int64, offset float64) { log.Println("Calling StyleBox.SetDefaultMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_margin", goArguments, "") - + godotCallVoidIntFloat(o, "set_default_margin", margin, offset) log.Println(" Function successfully completed.") } @@ -93433,18 +60793,9 @@ func (o *StyleBox) SetDefaultMargin(margin int64, offset float64) { func (o *StyleBox) TestMask(point *Vector2, rect *Rect2) bool { log.Println("Calling StyleBox.TestMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(point) - goArguments[1] = reflect.ValueOf(rect) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "test_mask", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolVector2Rect2(o, "test_mask", point, rect) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93491,16 +60842,9 @@ func (o *StyleBoxFlat) baseClass() string { func (o *StyleBoxFlat) GetAaSize() int64 { log.Println("Calling StyleBoxFlat.GetAaSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_aa_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_aa_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93511,16 +60855,9 @@ func (o *StyleBoxFlat) GetAaSize() int64 { func (o *StyleBoxFlat) GetBgColor() *Color { log.Println("Calling StyleBoxFlat.GetBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bg_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_bg_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93531,16 +60868,9 @@ func (o *StyleBoxFlat) GetBgColor() *Color { func (o *StyleBoxFlat) GetBorderBlend() bool { log.Println("Calling StyleBoxFlat.GetBorderBlend()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_border_blend", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_border_blend") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93551,16 +60881,9 @@ func (o *StyleBoxFlat) GetBorderBlend() bool { func (o *StyleBoxFlat) GetBorderColor() *Color { log.Println("Calling StyleBoxFlat.GetBorderColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_border_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_border_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93571,17 +60894,9 @@ func (o *StyleBoxFlat) GetBorderColor() *Color { func (o *StyleBoxFlat) GetBorderWidth(margin int64) int64 { log.Println("Calling StyleBoxFlat.GetBorderWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_border_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_border_width", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93592,16 +60907,9 @@ func (o *StyleBoxFlat) GetBorderWidth(margin int64) int64 { func (o *StyleBoxFlat) GetBorderWidthMin() int64 { log.Println("Calling StyleBoxFlat.GetBorderWidthMin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_border_width_min", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_border_width_min") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93612,16 +60920,9 @@ func (o *StyleBoxFlat) GetBorderWidthMin() int64 { func (o *StyleBoxFlat) GetCornerDetail() int64 { log.Println("Calling StyleBoxFlat.GetCornerDetail()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_corner_detail", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_corner_detail") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93632,17 +60933,9 @@ func (o *StyleBoxFlat) GetCornerDetail() int64 { func (o *StyleBoxFlat) GetCornerRadius(corner int64) int64 { log.Println("Calling StyleBoxFlat.GetCornerRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(corner) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_corner_radius", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_corner_radius", corner) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93653,17 +60946,9 @@ func (o *StyleBoxFlat) GetCornerRadius(corner int64) int64 { func (o *StyleBoxFlat) GetExpandMargin(margin int64) float64 { log.Println("Calling StyleBoxFlat.GetExpandMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_expand_margin", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_expand_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93674,16 +60959,9 @@ func (o *StyleBoxFlat) GetExpandMargin(margin int64) float64 { func (o *StyleBoxFlat) GetShadowColor() *Color { log.Println("Calling StyleBoxFlat.GetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_shadow_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93694,16 +60972,9 @@ func (o *StyleBoxFlat) GetShadowColor() *Color { func (o *StyleBoxFlat) GetShadowSize() int64 { log.Println("Calling StyleBoxFlat.GetShadowSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93714,16 +60985,9 @@ func (o *StyleBoxFlat) GetShadowSize() int64 { func (o *StyleBoxFlat) IsAntiAliased() bool { log.Println("Calling StyleBoxFlat.IsAntiAliased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_anti_aliased", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_anti_aliased") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93734,16 +60998,9 @@ func (o *StyleBoxFlat) IsAntiAliased() bool { func (o *StyleBoxFlat) IsDrawCenterEnabled() bool { log.Println("Calling StyleBoxFlat.IsDrawCenterEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_draw_center_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_draw_center_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -93754,14 +61011,7 @@ func (o *StyleBoxFlat) IsDrawCenterEnabled() bool { func (o *StyleBoxFlat) SetAaSize(size int64) { log.Println("Calling StyleBoxFlat.SetAaSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_aa_size", goArguments, "") - + godotCallVoidInt(o, "set_aa_size", size) log.Println(" Function successfully completed.") } @@ -93772,14 +61022,7 @@ func (o *StyleBoxFlat) SetAaSize(size int64) { func (o *StyleBoxFlat) SetAntiAliased(antiAliased bool) { log.Println("Calling StyleBoxFlat.SetAntiAliased()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(antiAliased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_anti_aliased", goArguments, "") - + godotCallVoidBool(o, "set_anti_aliased", antiAliased) log.Println(" Function successfully completed.") } @@ -93790,14 +61033,7 @@ func (o *StyleBoxFlat) SetAntiAliased(antiAliased bool) { func (o *StyleBoxFlat) SetBgColor(color *Color) { log.Println("Calling StyleBoxFlat.SetBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bg_color", goArguments, "") - + godotCallVoidColor(o, "set_bg_color", color) log.Println(" Function successfully completed.") } @@ -93808,14 +61044,7 @@ func (o *StyleBoxFlat) SetBgColor(color *Color) { func (o *StyleBoxFlat) SetBorderBlend(blend bool) { log.Println("Calling StyleBoxFlat.SetBorderBlend()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(blend) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_border_blend", goArguments, "") - + godotCallVoidBool(o, "set_border_blend", blend) log.Println(" Function successfully completed.") } @@ -93826,14 +61055,7 @@ func (o *StyleBoxFlat) SetBorderBlend(blend bool) { func (o *StyleBoxFlat) SetBorderColor(color *Color) { log.Println("Calling StyleBoxFlat.SetBorderColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_border_color", goArguments, "") - + godotCallVoidColor(o, "set_border_color", color) log.Println(" Function successfully completed.") } @@ -93844,15 +61066,7 @@ func (o *StyleBoxFlat) SetBorderColor(color *Color) { func (o *StyleBoxFlat) SetBorderWidth(margin int64, width int64) { log.Println("Calling StyleBoxFlat.SetBorderWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_border_width", goArguments, "") - + godotCallVoidIntInt(o, "set_border_width", margin, width) log.Println(" Function successfully completed.") } @@ -93863,14 +61077,7 @@ func (o *StyleBoxFlat) SetBorderWidth(margin int64, width int64) { func (o *StyleBoxFlat) SetBorderWidthAll(width int64) { log.Println("Calling StyleBoxFlat.SetBorderWidthAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_border_width_all", goArguments, "") - + godotCallVoidInt(o, "set_border_width_all", width) log.Println(" Function successfully completed.") } @@ -93881,14 +61088,7 @@ func (o *StyleBoxFlat) SetBorderWidthAll(width int64) { func (o *StyleBoxFlat) SetCornerDetail(detail int64) { log.Println("Calling StyleBoxFlat.SetCornerDetail()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(detail) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_corner_detail", goArguments, "") - + godotCallVoidInt(o, "set_corner_detail", detail) log.Println(" Function successfully completed.") } @@ -93899,15 +61099,7 @@ func (o *StyleBoxFlat) SetCornerDetail(detail int64) { func (o *StyleBoxFlat) SetCornerRadius(corner int64, radius int64) { log.Println("Calling StyleBoxFlat.SetCornerRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(corner) - goArguments[1] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_corner_radius", goArguments, "") - + godotCallVoidIntInt(o, "set_corner_radius", corner, radius) log.Println(" Function successfully completed.") } @@ -93918,14 +61110,7 @@ func (o *StyleBoxFlat) SetCornerRadius(corner int64, radius int64) { func (o *StyleBoxFlat) SetCornerRadiusAll(radius int64) { log.Println("Calling StyleBoxFlat.SetCornerRadiusAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(radius) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_corner_radius_all", goArguments, "") - + godotCallVoidInt(o, "set_corner_radius_all", radius) log.Println(" Function successfully completed.") } @@ -93936,17 +61121,7 @@ func (o *StyleBoxFlat) SetCornerRadiusAll(radius int64) { func (o *StyleBoxFlat) SetCornerRadiusIndividual(radiusTopLeft int64, radiusTopRight int64, radiusBottomRight int64, radiusBottomLeft int64) { log.Println("Calling StyleBoxFlat.SetCornerRadiusIndividual()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(radiusTopLeft) - goArguments[1] = reflect.ValueOf(radiusTopRight) - goArguments[2] = reflect.ValueOf(radiusBottomRight) - goArguments[3] = reflect.ValueOf(radiusBottomLeft) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_corner_radius_individual", goArguments, "") - + godotCallVoidIntIntIntInt(o, "set_corner_radius_individual", radiusTopLeft, radiusTopRight, radiusBottomRight, radiusBottomLeft) log.Println(" Function successfully completed.") } @@ -93957,14 +61132,7 @@ func (o *StyleBoxFlat) SetCornerRadiusIndividual(radiusTopLeft int64, radiusTopR func (o *StyleBoxFlat) SetDrawCenter(drawCenter bool) { log.Println("Calling StyleBoxFlat.SetDrawCenter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(drawCenter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_center", goArguments, "") - + godotCallVoidBool(o, "set_draw_center", drawCenter) log.Println(" Function successfully completed.") } @@ -93975,15 +61143,7 @@ func (o *StyleBoxFlat) SetDrawCenter(drawCenter bool) { func (o *StyleBoxFlat) SetExpandMargin(margin int64, size float64) { log.Println("Calling StyleBoxFlat.SetExpandMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin", goArguments, "") - + godotCallVoidIntFloat(o, "set_expand_margin", margin, size) log.Println(" Function successfully completed.") } @@ -93994,14 +61154,7 @@ func (o *StyleBoxFlat) SetExpandMargin(margin int64, size float64) { func (o *StyleBoxFlat) SetExpandMarginAll(size float64) { log.Println("Calling StyleBoxFlat.SetExpandMarginAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin_all", goArguments, "") - + godotCallVoidFloat(o, "set_expand_margin_all", size) log.Println(" Function successfully completed.") } @@ -94012,17 +61165,7 @@ func (o *StyleBoxFlat) SetExpandMarginAll(size float64) { func (o *StyleBoxFlat) SetExpandMarginIndividual(sizeLeft float64, sizeTop float64, sizeRight float64, sizeBottom float64) { log.Println("Calling StyleBoxFlat.SetExpandMarginIndividual()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(sizeLeft) - goArguments[1] = reflect.ValueOf(sizeTop) - goArguments[2] = reflect.ValueOf(sizeRight) - goArguments[3] = reflect.ValueOf(sizeBottom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin_individual", goArguments, "") - + godotCallVoidFloatFloatFloatFloat(o, "set_expand_margin_individual", sizeLeft, sizeTop, sizeRight, sizeBottom) log.Println(" Function successfully completed.") } @@ -94033,14 +61176,7 @@ func (o *StyleBoxFlat) SetExpandMarginIndividual(sizeLeft float64, sizeTop float func (o *StyleBoxFlat) SetShadowColor(color *Color) { log.Println("Calling StyleBoxFlat.SetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_color", goArguments, "") - + godotCallVoidColor(o, "set_shadow_color", color) log.Println(" Function successfully completed.") } @@ -94051,14 +61187,7 @@ func (o *StyleBoxFlat) SetShadowColor(color *Color) { func (o *StyleBoxFlat) SetShadowSize(size int64) { log.Println("Calling StyleBoxFlat.SetShadowSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_size", goArguments, "") - + godotCallVoidInt(o, "set_shadow_size", size) log.Println(" Function successfully completed.") } @@ -94087,16 +61216,9 @@ func (o *StyleBoxLine) baseClass() string { func (o *StyleBoxLine) GetColor() *Color { log.Println("Calling StyleBoxLine.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94107,16 +61229,9 @@ func (o *StyleBoxLine) GetColor() *Color { func (o *StyleBoxLine) GetGrow() float64 { log.Println("Calling StyleBoxLine.GetGrow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_grow", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_grow") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94127,16 +61242,9 @@ func (o *StyleBoxLine) GetGrow() float64 { func (o *StyleBoxLine) GetThickness() int64 { log.Println("Calling StyleBoxLine.GetThickness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_thickness", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_thickness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94147,16 +61255,9 @@ func (o *StyleBoxLine) GetThickness() int64 { func (o *StyleBoxLine) IsVertical() bool { log.Println("Calling StyleBoxLine.IsVertical()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_vertical", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_vertical") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94167,14 +61268,7 @@ func (o *StyleBoxLine) IsVertical() bool { func (o *StyleBoxLine) SetColor(color *Color) { log.Println("Calling StyleBoxLine.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidColor(o, "set_color", color) log.Println(" Function successfully completed.") } @@ -94185,14 +61279,7 @@ func (o *StyleBoxLine) SetColor(color *Color) { func (o *StyleBoxLine) SetGrow(grow float64) { log.Println("Calling StyleBoxLine.SetGrow()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(grow) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_grow", goArguments, "") - + godotCallVoidFloat(o, "set_grow", grow) log.Println(" Function successfully completed.") } @@ -94203,14 +61290,7 @@ func (o *StyleBoxLine) SetGrow(grow float64) { func (o *StyleBoxLine) SetThickness(thickness int64) { log.Println("Calling StyleBoxLine.SetThickness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(thickness) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_thickness", goArguments, "") - + godotCallVoidInt(o, "set_thickness", thickness) log.Println(" Function successfully completed.") } @@ -94221,14 +61301,7 @@ func (o *StyleBoxLine) SetThickness(thickness int64) { func (o *StyleBoxLine) SetVertical(vertical bool) { log.Println("Calling StyleBoxLine.SetVertical()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertical) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vertical", goArguments, "") - + godotCallVoidBool(o, "set_vertical", vertical) log.Println(" Function successfully completed.") } @@ -94257,17 +61330,9 @@ func (o *StyleBoxTexture) baseClass() string { func (o *StyleBoxTexture) GetExpandMarginSize(margin int64) float64 { log.Println("Calling StyleBoxTexture.GetExpandMarginSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_expand_margin_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_expand_margin_size", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94278,16 +61343,9 @@ func (o *StyleBoxTexture) GetExpandMarginSize(margin int64) float64 { func (o *StyleBoxTexture) GetHAxisStretchMode() int64 { log.Println("Calling StyleBoxTexture.GetHAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_h_axis_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_h_axis_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94298,17 +61356,9 @@ func (o *StyleBoxTexture) GetHAxisStretchMode() int64 { func (o *StyleBoxTexture) GetMarginSize(margin int64) float64 { log.Println("Calling StyleBoxTexture.GetMarginSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_margin_size", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_margin_size", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94319,16 +61369,9 @@ func (o *StyleBoxTexture) GetMarginSize(margin int64) float64 { func (o *StyleBoxTexture) GetModulate() *Color { log.Println("Calling StyleBoxTexture.GetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_modulate", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColor(o, "get_modulate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94339,17 +61382,12 @@ func (o *StyleBoxTexture) GetModulate() *Color { func (o *StyleBoxTexture) GetNormalMap() *Resource { log.Println("Calling StyleBoxTexture.GetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_map", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObject(o, "get_normal_map") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -94359,16 +61397,9 @@ func (o *StyleBoxTexture) GetNormalMap() *Resource { func (o *StyleBoxTexture) GetRegionRect() *Rect2 { log.Println("Calling StyleBoxTexture.GetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_region_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_region_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94379,17 +61410,12 @@ func (o *StyleBoxTexture) GetRegionRect() *Rect2 { func (o *StyleBoxTexture) GetTexture() *Resource { log.Println("Calling StyleBoxTexture.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -94399,16 +61425,9 @@ func (o *StyleBoxTexture) GetTexture() *Resource { func (o *StyleBoxTexture) GetVAxisStretchMode() int64 { log.Println("Calling StyleBoxTexture.GetVAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_axis_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_v_axis_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94419,16 +61438,9 @@ func (o *StyleBoxTexture) GetVAxisStretchMode() int64 { func (o *StyleBoxTexture) IsDrawCenterEnabled() bool { log.Println("Calling StyleBoxTexture.IsDrawCenterEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_draw_center_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_draw_center_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -94439,14 +61451,7 @@ func (o *StyleBoxTexture) IsDrawCenterEnabled() bool { func (o *StyleBoxTexture) SetDrawCenter(enable bool) { log.Println("Calling StyleBoxTexture.SetDrawCenter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_draw_center", goArguments, "") - + godotCallVoidBool(o, "set_draw_center", enable) log.Println(" Function successfully completed.") } @@ -94457,14 +61462,7 @@ func (o *StyleBoxTexture) SetDrawCenter(enable bool) { func (o *StyleBoxTexture) SetExpandMarginAll(size float64) { log.Println("Calling StyleBoxTexture.SetExpandMarginAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin_all", goArguments, "") - + godotCallVoidFloat(o, "set_expand_margin_all", size) log.Println(" Function successfully completed.") } @@ -94475,17 +61473,7 @@ func (o *StyleBoxTexture) SetExpandMarginAll(size float64) { func (o *StyleBoxTexture) SetExpandMarginIndividual(sizeLeft float64, sizeTop float64, sizeRight float64, sizeBottom float64) { log.Println("Calling StyleBoxTexture.SetExpandMarginIndividual()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(sizeLeft) - goArguments[1] = reflect.ValueOf(sizeTop) - goArguments[2] = reflect.ValueOf(sizeRight) - goArguments[3] = reflect.ValueOf(sizeBottom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin_individual", goArguments, "") - + godotCallVoidFloatFloatFloatFloat(o, "set_expand_margin_individual", sizeLeft, sizeTop, sizeRight, sizeBottom) log.Println(" Function successfully completed.") } @@ -94496,15 +61484,7 @@ func (o *StyleBoxTexture) SetExpandMarginIndividual(sizeLeft float64, sizeTop fl func (o *StyleBoxTexture) SetExpandMarginSize(margin int64, size float64) { log.Println("Calling StyleBoxTexture.SetExpandMarginSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_margin_size", goArguments, "") - + godotCallVoidIntFloat(o, "set_expand_margin_size", margin, size) log.Println(" Function successfully completed.") } @@ -94515,14 +61495,7 @@ func (o *StyleBoxTexture) SetExpandMarginSize(margin int64, size float64) { func (o *StyleBoxTexture) SetHAxisStretchMode(mode int64) { log.Println("Calling StyleBoxTexture.SetHAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_h_axis_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_h_axis_stretch_mode", mode) log.Println(" Function successfully completed.") } @@ -94533,15 +61506,7 @@ func (o *StyleBoxTexture) SetHAxisStretchMode(mode int64) { func (o *StyleBoxTexture) SetMarginSize(margin int64, size float64) { log.Println("Calling StyleBoxTexture.SetMarginSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_margin_size", goArguments, "") - + godotCallVoidIntFloat(o, "set_margin_size", margin, size) log.Println(" Function successfully completed.") } @@ -94552,14 +61517,7 @@ func (o *StyleBoxTexture) SetMarginSize(margin int64, size float64) { func (o *StyleBoxTexture) SetModulate(color *Color) { log.Println("Calling StyleBoxTexture.SetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_modulate", goArguments, "") - + godotCallVoidColor(o, "set_modulate", color) log.Println(" Function successfully completed.") } @@ -94570,14 +61528,7 @@ func (o *StyleBoxTexture) SetModulate(color *Color) { func (o *StyleBoxTexture) SetNormalMap(normalMap *Resource) { log.Println("Calling StyleBoxTexture.SetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_map", goArguments, "") - + godotCallVoidObject(o, "set_normal_map", &normalMap.Object) log.Println(" Function successfully completed.") } @@ -94588,14 +61539,7 @@ func (o *StyleBoxTexture) SetNormalMap(normalMap *Resource) { func (o *StyleBoxTexture) SetRegionRect(region *Rect2) { log.Println("Calling StyleBoxTexture.SetRegionRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(region) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_region_rect", goArguments, "") - + godotCallVoidRect2(o, "set_region_rect", region) log.Println(" Function successfully completed.") } @@ -94606,14 +61550,7 @@ func (o *StyleBoxTexture) SetRegionRect(region *Rect2) { func (o *StyleBoxTexture) SetTexture(texture *Resource) { log.Println("Calling StyleBoxTexture.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -94624,14 +61561,7 @@ func (o *StyleBoxTexture) SetTexture(texture *Resource) { func (o *StyleBoxTexture) SetVAxisStretchMode(mode int64) { log.Println("Calling StyleBoxTexture.SetVAxisStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_axis_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_v_axis_stretch_mode", mode) log.Println(" Function successfully completed.") } @@ -94660,14 +61590,7 @@ func (o *SurfaceTool) baseClass() string { func (o *SurfaceTool) AddBones(bones *PoolIntArray) { log.Println("Calling SurfaceTool.AddBones()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bones) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_bones", goArguments, "") - + godotCallVoidPoolIntArray(o, "add_bones", bones) log.Println(" Function successfully completed.") } @@ -94678,14 +61601,7 @@ func (o *SurfaceTool) AddBones(bones *PoolIntArray) { func (o *SurfaceTool) AddColor(color *Color) { log.Println("Calling SurfaceTool.AddColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_color", goArguments, "") - + godotCallVoidColor(o, "add_color", color) log.Println(" Function successfully completed.") } @@ -94696,14 +61612,7 @@ func (o *SurfaceTool) AddColor(color *Color) { func (o *SurfaceTool) AddIndex(index int64) { log.Println("Calling SurfaceTool.AddIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_index", goArguments, "") - + godotCallVoidInt(o, "add_index", index) log.Println(" Function successfully completed.") } @@ -94714,14 +61623,7 @@ func (o *SurfaceTool) AddIndex(index int64) { func (o *SurfaceTool) AddNormal(normal *Vector3) { log.Println("Calling SurfaceTool.AddNormal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(normal) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_normal", goArguments, "") - + godotCallVoidVector3(o, "add_normal", normal) log.Println(" Function successfully completed.") } @@ -94732,14 +61634,7 @@ func (o *SurfaceTool) AddNormal(normal *Vector3) { func (o *SurfaceTool) AddSmoothGroup(smooth bool) { log.Println("Calling SurfaceTool.AddSmoothGroup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(smooth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_smooth_group", goArguments, "") - + godotCallVoidBool(o, "add_smooth_group", smooth) log.Println(" Function successfully completed.") } @@ -94750,14 +61645,7 @@ func (o *SurfaceTool) AddSmoothGroup(smooth bool) { func (o *SurfaceTool) AddTangent(tangent *Plane) { log.Println("Calling SurfaceTool.AddTangent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tangent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_tangent", goArguments, "") - + godotCallVoidPlane(o, "add_tangent", tangent) log.Println(" Function successfully completed.") } @@ -94768,14 +61656,7 @@ func (o *SurfaceTool) AddTangent(tangent *Plane) { func (o *SurfaceTool) AddToFormat(flags int64) { log.Println("Calling SurfaceTool.AddToFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_to_format", goArguments, "") - + godotCallVoidInt(o, "add_to_format", flags) log.Println(" Function successfully completed.") } @@ -94786,19 +61667,7 @@ func (o *SurfaceTool) AddToFormat(flags int64) { func (o *SurfaceTool) AddTriangleFan(vertexes *PoolVector3Array, uvs *PoolVector2Array, colors *PoolColorArray, uv2S *PoolVector2Array, normals *PoolVector3Array, tangents *Array) { log.Println("Calling SurfaceTool.AddTriangleFan()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(vertexes) - goArguments[1] = reflect.ValueOf(uvs) - goArguments[2] = reflect.ValueOf(colors) - goArguments[3] = reflect.ValueOf(uv2S) - goArguments[4] = reflect.ValueOf(normals) - goArguments[5] = reflect.ValueOf(tangents) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_triangle_fan", goArguments, "") - + godotCallVoidPoolVector3ArrayPoolVector2ArrayPoolColorArrayPoolVector2ArrayPoolVector3ArrayArray(o, "add_triangle_fan", vertexes, uvs, colors, uv2S, normals, tangents) log.Println(" Function successfully completed.") } @@ -94809,14 +61678,7 @@ func (o *SurfaceTool) AddTriangleFan(vertexes *PoolVector3Array, uvs *PoolVector func (o *SurfaceTool) AddUv(uv *Vector2) { log.Println("Calling SurfaceTool.AddUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(uv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_uv", goArguments, "") - + godotCallVoidVector2(o, "add_uv", uv) log.Println(" Function successfully completed.") } @@ -94827,14 +61689,7 @@ func (o *SurfaceTool) AddUv(uv *Vector2) { func (o *SurfaceTool) AddUv2(uv2 *Vector2) { log.Println("Calling SurfaceTool.AddUv2()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(uv2) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_uv2", goArguments, "") - + godotCallVoidVector2(o, "add_uv2", uv2) log.Println(" Function successfully completed.") } @@ -94845,14 +61700,7 @@ func (o *SurfaceTool) AddUv2(uv2 *Vector2) { func (o *SurfaceTool) AddVertex(vertex *Vector3) { log.Println("Calling SurfaceTool.AddVertex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(vertex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_vertex", goArguments, "") - + godotCallVoidVector3(o, "add_vertex", vertex) log.Println(" Function successfully completed.") } @@ -94863,14 +61711,7 @@ func (o *SurfaceTool) AddVertex(vertex *Vector3) { func (o *SurfaceTool) AddWeights(weights *PoolRealArray) { log.Println("Calling SurfaceTool.AddWeights()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(weights) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_weights", goArguments, "") - + godotCallVoidPoolRealArray(o, "add_weights", weights) log.Println(" Function successfully completed.") } @@ -94881,16 +61722,7 @@ func (o *SurfaceTool) AddWeights(weights *PoolRealArray) { func (o *SurfaceTool) AppendFrom(existing *Mesh, surface int64, transform *Transform) { log.Println("Calling SurfaceTool.AppendFrom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(existing) - goArguments[1] = reflect.ValueOf(surface) - goArguments[2] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "append_from", goArguments, "") - + godotCallVoidObjectIntTransform(o, "append_from", &existing.Object, surface, transform) log.Println(" Function successfully completed.") } @@ -94901,14 +61733,7 @@ func (o *SurfaceTool) AppendFrom(existing *Mesh, surface int64, transform *Trans func (o *SurfaceTool) Begin(primitive int64) { log.Println("Calling SurfaceTool.Begin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(primitive) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "begin", goArguments, "") - + godotCallVoidInt(o, "begin", primitive) log.Println(" Function successfully completed.") } @@ -94919,13 +61744,7 @@ func (o *SurfaceTool) Begin(primitive int64) { func (o *SurfaceTool) Clear() { log.Println("Calling SurfaceTool.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -94936,19 +61755,12 @@ func (o *SurfaceTool) Clear() { func (o *SurfaceTool) Commit(existing *ArrayMesh, flags int64) *ArrayMesh { log.Println("Calling SurfaceTool.Commit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(existing) - goArguments[1] = reflect.ValueOf(flags) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "commit", goArguments, "*ArrayMesh") - - returnValue := goRet.Interface().(*ArrayMesh) - + returnValue := godotCallObjectObjectInt(o, "commit", &existing.Object, flags) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ArrayMesh + ret.owner = returnValue.owner + return &ret } @@ -94958,15 +61770,7 @@ func (o *SurfaceTool) Commit(existing *ArrayMesh, flags int64) *ArrayMesh { func (o *SurfaceTool) CreateFrom(existing *Mesh, surface int64) { log.Println("Calling SurfaceTool.CreateFrom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(existing) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_from", goArguments, "") - + godotCallVoidObjectInt(o, "create_from", &existing.Object, surface) log.Println(" Function successfully completed.") } @@ -94977,13 +61781,7 @@ func (o *SurfaceTool) CreateFrom(existing *Mesh, surface int64) { func (o *SurfaceTool) Deindex() { log.Println("Calling SurfaceTool.Deindex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "deindex", goArguments, "") - + godotCallVoid(o, "deindex") log.Println(" Function successfully completed.") } @@ -94994,13 +61792,7 @@ func (o *SurfaceTool) Deindex() { func (o *SurfaceTool) GenerateNormals() { log.Println("Calling SurfaceTool.GenerateNormals()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "generate_normals", goArguments, "") - + godotCallVoid(o, "generate_normals") log.Println(" Function successfully completed.") } @@ -95011,13 +61803,7 @@ func (o *SurfaceTool) GenerateNormals() { func (o *SurfaceTool) GenerateTangents() { log.Println("Calling SurfaceTool.GenerateTangents()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "generate_tangents", goArguments, "") - + godotCallVoid(o, "generate_tangents") log.Println(" Function successfully completed.") } @@ -95028,13 +61814,7 @@ func (o *SurfaceTool) GenerateTangents() { func (o *SurfaceTool) Index() { log.Println("Calling SurfaceTool.Index()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "index", goArguments, "") - + godotCallVoid(o, "index") log.Println(" Function successfully completed.") } @@ -95045,14 +61825,7 @@ func (o *SurfaceTool) Index() { func (o *SurfaceTool) SetMaterial(material *Material) { log.Println("Calling SurfaceTool.SetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_material", goArguments, "") - + godotCallVoidObject(o, "set_material", &material.Object) log.Println(" Function successfully completed.") } @@ -95081,16 +61854,9 @@ func (o *TCP_Server) baseClass() string { func (o *TCP_Server) IsConnectionAvailable() bool { log.Println("Calling TCP_Server.IsConnectionAvailable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_connection_available", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_connection_available") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95101,18 +61867,9 @@ func (o *TCP_Server) IsConnectionAvailable() bool { func (o *TCP_Server) Listen(port int64, bindAddress string) int64 { log.Println("Calling TCP_Server.Listen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(port) - goArguments[1] = reflect.ValueOf(bindAddress) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "listen", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntString(o, "listen", port, bindAddress) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95123,13 +61880,7 @@ func (o *TCP_Server) Listen(port int64, bindAddress string) int64 { func (o *TCP_Server) Stop() { log.Println("Calling TCP_Server.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -95140,17 +61891,12 @@ func (o *TCP_Server) Stop() { func (o *TCP_Server) TakeConnection() *StreamPeerTCP { log.Println("Calling TCP_Server.TakeConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "take_connection", goArguments, "*StreamPeerTCP") - - returnValue := goRet.Interface().(*StreamPeerTCP) - + returnValue := godotCallObject(o, "take_connection") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StreamPeerTCP + ret.owner = returnValue.owner + return &ret } @@ -95178,13 +61924,7 @@ func (o *TabContainer) baseClass() string { func (o *TabContainer) X_ChildRenamedCallback() { log.Println("Calling TabContainer.X_ChildRenamedCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_child_renamed_callback", goArguments, "") - + godotCallVoid(o, "_child_renamed_callback") log.Println(" Function successfully completed.") } @@ -95195,14 +61935,7 @@ func (o *TabContainer) X_ChildRenamedCallback() { func (o *TabContainer) X_GuiInput(arg0 *InputEvent) { log.Println("Calling TabContainer.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -95213,13 +61946,7 @@ func (o *TabContainer) X_GuiInput(arg0 *InputEvent) { func (o *TabContainer) X_OnThemeChanged() { log.Println("Calling TabContainer.X_OnThemeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_on_theme_changed", goArguments, "") - + godotCallVoid(o, "_on_theme_changed") log.Println(" Function successfully completed.") } @@ -95230,16 +61957,9 @@ func (o *TabContainer) X_OnThemeChanged() { func (o *TabContainer) AreTabsVisible() bool { log.Println("Calling TabContainer.AreTabsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "are_tabs_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "are_tabs_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95250,16 +61970,9 @@ func (o *TabContainer) AreTabsVisible() bool { func (o *TabContainer) GetCurrentTab() int64 { log.Println("Calling TabContainer.GetCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_tab", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_current_tab") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95270,17 +61983,12 @@ func (o *TabContainer) GetCurrentTab() int64 { func (o *TabContainer) GetCurrentTabControl() *Control { log.Println("Calling TabContainer.GetCurrentTabControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_tab_control", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObject(o, "get_current_tab_control") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -95290,17 +61998,12 @@ func (o *TabContainer) GetCurrentTabControl() *Control { func (o *TabContainer) GetPopup() *Popup { log.Println("Calling TabContainer.GetPopup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_popup", goArguments, "*Popup") - - returnValue := goRet.Interface().(*Popup) - + returnValue := godotCallObject(o, "get_popup") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Popup + ret.owner = returnValue.owner + return &ret } @@ -95310,16 +62013,9 @@ func (o *TabContainer) GetPopup() *Popup { func (o *TabContainer) GetPreviousTab() int64 { log.Println("Calling TabContainer.GetPreviousTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_previous_tab", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_previous_tab") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95330,16 +62026,9 @@ func (o *TabContainer) GetPreviousTab() int64 { func (o *TabContainer) GetTabAlign() int64 { log.Println("Calling TabContainer.GetTabAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_align") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95350,18 +62039,12 @@ func (o *TabContainer) GetTabAlign() int64 { func (o *TabContainer) GetTabControl(idx int64) *Control { log.Println("Calling TabContainer.GetTabControl()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_control", goArguments, "*Control") - - returnValue := goRet.Interface().(*Control) - + returnValue := godotCallObjectInt(o, "get_tab_control", idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Control + ret.owner = returnValue.owner + return &ret } @@ -95371,16 +62054,9 @@ func (o *TabContainer) GetTabControl(idx int64) *Control { func (o *TabContainer) GetTabCount() int64 { log.Println("Calling TabContainer.GetTabCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95391,17 +62067,9 @@ func (o *TabContainer) GetTabCount() int64 { func (o *TabContainer) GetTabDisabled(tabIdx int64) bool { log.Println("Calling TabContainer.GetTabDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_tab_disabled", tabIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95412,18 +62080,12 @@ func (o *TabContainer) GetTabDisabled(tabIdx int64) bool { func (o *TabContainer) GetTabIcon(tabIdx int64) *Texture { log.Println("Calling TabContainer.GetTabIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_tab_icon", tabIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -95433,17 +62095,9 @@ func (o *TabContainer) GetTabIcon(tabIdx int64) *Texture { func (o *TabContainer) GetTabTitle(tabIdx int64) string { log.Println("Calling TabContainer.GetTabTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_tab_title", tabIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95454,14 +62108,7 @@ func (o *TabContainer) GetTabTitle(tabIdx int64) string { func (o *TabContainer) SetCurrentTab(tabIdx int64) { log.Println("Calling TabContainer.SetCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_tab", goArguments, "") - + godotCallVoidInt(o, "set_current_tab", tabIdx) log.Println(" Function successfully completed.") } @@ -95472,14 +62119,7 @@ func (o *TabContainer) SetCurrentTab(tabIdx int64) { func (o *TabContainer) SetPopup(popup *Object) { log.Println("Calling TabContainer.SetPopup()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(popup) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_popup", goArguments, "") - + godotCallVoidObject(o, "set_popup", popup) log.Println(" Function successfully completed.") } @@ -95490,14 +62130,7 @@ func (o *TabContainer) SetPopup(popup *Object) { func (o *TabContainer) SetTabAlign(align int64) { log.Println("Calling TabContainer.SetTabAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_align", goArguments, "") - + godotCallVoidInt(o, "set_tab_align", align) log.Println(" Function successfully completed.") } @@ -95508,15 +62141,7 @@ func (o *TabContainer) SetTabAlign(align int64) { func (o *TabContainer) SetTabDisabled(tabIdx int64, disabled bool) { log.Println("Calling TabContainer.SetTabDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_disabled", goArguments, "") - + godotCallVoidIntBool(o, "set_tab_disabled", tabIdx, disabled) log.Println(" Function successfully completed.") } @@ -95527,15 +62152,7 @@ func (o *TabContainer) SetTabDisabled(tabIdx int64, disabled bool) { func (o *TabContainer) SetTabIcon(tabIdx int64, icon *Texture) { log.Println("Calling TabContainer.SetTabIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_tab_icon", tabIdx, &icon.Object) log.Println(" Function successfully completed.") } @@ -95546,15 +62163,7 @@ func (o *TabContainer) SetTabIcon(tabIdx int64, icon *Texture) { func (o *TabContainer) SetTabTitle(tabIdx int64, title string) { log.Println("Calling TabContainer.SetTabTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_title", goArguments, "") - + godotCallVoidIntString(o, "set_tab_title", tabIdx, title) log.Println(" Function successfully completed.") } @@ -95565,14 +62174,7 @@ func (o *TabContainer) SetTabTitle(tabIdx int64, title string) { func (o *TabContainer) SetTabsVisible(visible bool) { log.Println("Calling TabContainer.SetTabsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tabs_visible", goArguments, "") - + godotCallVoidBool(o, "set_tabs_visible", visible) log.Println(" Function successfully completed.") } @@ -95601,14 +62203,7 @@ func (o *Tabs) baseClass() string { func (o *Tabs) X_GuiInput(arg0 *InputEvent) { log.Println("Calling Tabs.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -95619,15 +62214,7 @@ func (o *Tabs) X_GuiInput(arg0 *InputEvent) { func (o *Tabs) AddTab(title string, icon *Texture) { log.Println("Calling Tabs.AddTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(title) - goArguments[1] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_tab", goArguments, "") - + godotCallVoidStringObject(o, "add_tab", title, &icon.Object) log.Println(" Function successfully completed.") } @@ -95638,14 +62225,7 @@ func (o *Tabs) AddTab(title string, icon *Texture) { func (o *Tabs) EnsureTabVisible(idx int64) { log.Println("Calling Tabs.EnsureTabVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "ensure_tab_visible", goArguments, "") - + godotCallVoidInt(o, "ensure_tab_visible", idx) log.Println(" Function successfully completed.") } @@ -95656,16 +62236,9 @@ func (o *Tabs) EnsureTabVisible(idx int64) { func (o *Tabs) GetCurrentTab() int64 { log.Println("Calling Tabs.GetCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_tab", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_current_tab") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95676,16 +62249,9 @@ func (o *Tabs) GetCurrentTab() int64 { func (o *Tabs) GetOffsetButtonsVisible() bool { log.Println("Calling Tabs.GetOffsetButtonsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_offset_buttons_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_offset_buttons_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95696,16 +62262,9 @@ func (o *Tabs) GetOffsetButtonsVisible() bool { func (o *Tabs) GetScrollingEnabled() bool { log.Println("Calling Tabs.GetScrollingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scrolling_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_scrolling_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95716,16 +62275,9 @@ func (o *Tabs) GetScrollingEnabled() bool { func (o *Tabs) GetTabAlign() int64 { log.Println("Calling Tabs.GetTabAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_align") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95736,16 +62288,9 @@ func (o *Tabs) GetTabAlign() int64 { func (o *Tabs) GetTabCloseDisplayPolicy() int64 { log.Println("Calling Tabs.GetTabCloseDisplayPolicy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_close_display_policy", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_close_display_policy") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95756,16 +62301,9 @@ func (o *Tabs) GetTabCloseDisplayPolicy() int64 { func (o *Tabs) GetTabCount() int64 { log.Println("Calling Tabs.GetTabCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95776,17 +62314,9 @@ func (o *Tabs) GetTabCount() int64 { func (o *Tabs) GetTabDisabled(tabIdx int64) bool { log.Println("Calling Tabs.GetTabDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_tab_disabled", tabIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95797,18 +62327,12 @@ func (o *Tabs) GetTabDisabled(tabIdx int64) bool { func (o *Tabs) GetTabIcon(tabIdx int64) *Texture { log.Println("Calling Tabs.GetTabIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_tab_icon", tabIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -95818,16 +62342,9 @@ func (o *Tabs) GetTabIcon(tabIdx int64) *Texture { func (o *Tabs) GetTabOffset() int64 { log.Println("Calling Tabs.GetTabOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tab_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95838,17 +62355,9 @@ func (o *Tabs) GetTabOffset() int64 { func (o *Tabs) GetTabRect(tabIdx int64) *Rect2 { log.Println("Calling Tabs.GetTabRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2Int(o, "get_tab_rect", tabIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95859,17 +62368,9 @@ func (o *Tabs) GetTabRect(tabIdx int64) *Rect2 { func (o *Tabs) GetTabTitle(tabIdx int64) string { log.Println("Calling Tabs.GetTabTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tab_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_tab_title", tabIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -95880,15 +62381,7 @@ func (o *Tabs) GetTabTitle(tabIdx int64) string { func (o *Tabs) MoveTab(from int64, to int64) { log.Println("Calling Tabs.MoveTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(from) - goArguments[1] = reflect.ValueOf(to) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_tab", goArguments, "") - + godotCallVoidIntInt(o, "move_tab", from, to) log.Println(" Function successfully completed.") } @@ -95899,14 +62392,7 @@ func (o *Tabs) MoveTab(from int64, to int64) { func (o *Tabs) RemoveTab(tabIdx int64) { log.Println("Calling Tabs.RemoveTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_tab", goArguments, "") - + godotCallVoidInt(o, "remove_tab", tabIdx) log.Println(" Function successfully completed.") } @@ -95917,14 +62403,7 @@ func (o *Tabs) RemoveTab(tabIdx int64) { func (o *Tabs) SetCurrentTab(tabIdx int64) { log.Println("Calling Tabs.SetCurrentTab()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tabIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_current_tab", goArguments, "") - + godotCallVoidInt(o, "set_current_tab", tabIdx) log.Println(" Function successfully completed.") } @@ -95935,14 +62414,7 @@ func (o *Tabs) SetCurrentTab(tabIdx int64) { func (o *Tabs) SetScrollingEnabled(enabled bool) { log.Println("Calling Tabs.SetScrollingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_scrolling_enabled", goArguments, "") - + godotCallVoidBool(o, "set_scrolling_enabled", enabled) log.Println(" Function successfully completed.") } @@ -95953,14 +62425,7 @@ func (o *Tabs) SetScrollingEnabled(enabled bool) { func (o *Tabs) SetTabAlign(align int64) { log.Println("Calling Tabs.SetTabAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(align) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_align", goArguments, "") - + godotCallVoidInt(o, "set_tab_align", align) log.Println(" Function successfully completed.") } @@ -95971,14 +62436,7 @@ func (o *Tabs) SetTabAlign(align int64) { func (o *Tabs) SetTabCloseDisplayPolicy(policy int64) { log.Println("Calling Tabs.SetTabCloseDisplayPolicy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(policy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_close_display_policy", goArguments, "") - + godotCallVoidInt(o, "set_tab_close_display_policy", policy) log.Println(" Function successfully completed.") } @@ -95989,15 +62447,7 @@ func (o *Tabs) SetTabCloseDisplayPolicy(policy int64) { func (o *Tabs) SetTabDisabled(tabIdx int64, disabled bool) { log.Println("Calling Tabs.SetTabDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_disabled", goArguments, "") - + godotCallVoidIntBool(o, "set_tab_disabled", tabIdx, disabled) log.Println(" Function successfully completed.") } @@ -96008,15 +62458,7 @@ func (o *Tabs) SetTabDisabled(tabIdx int64, disabled bool) { func (o *Tabs) SetTabIcon(tabIdx int64, icon *Texture) { log.Println("Calling Tabs.SetTabIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(icon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_tab_icon", tabIdx, &icon.Object) log.Println(" Function successfully completed.") } @@ -96027,15 +62469,7 @@ func (o *Tabs) SetTabIcon(tabIdx int64, icon *Texture) { func (o *Tabs) SetTabTitle(tabIdx int64, title string) { log.Println("Calling Tabs.SetTabTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(tabIdx) - goArguments[1] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tab_title", goArguments, "") - + godotCallVoidIntString(o, "set_tab_title", tabIdx, title) log.Println(" Function successfully completed.") } @@ -96064,13 +62498,7 @@ func (o *TextEdit) baseClass() string { func (o *TextEdit) X_ClickSelectionHeld() { log.Println("Calling TextEdit.X_ClickSelectionHeld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_click_selection_held", goArguments, "") - + godotCallVoid(o, "_click_selection_held") log.Println(" Function successfully completed.") } @@ -96081,13 +62509,7 @@ func (o *TextEdit) X_ClickSelectionHeld() { func (o *TextEdit) X_CursorChangedEmit() { log.Println("Calling TextEdit.X_CursorChangedEmit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_cursor_changed_emit", goArguments, "") - + godotCallVoid(o, "_cursor_changed_emit") log.Println(" Function successfully completed.") } @@ -96098,14 +62520,7 @@ func (o *TextEdit) X_CursorChangedEmit() { func (o *TextEdit) X_GuiInput(arg0 *InputEvent) { log.Println("Calling TextEdit.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -96116,13 +62531,7 @@ func (o *TextEdit) X_GuiInput(arg0 *InputEvent) { func (o *TextEdit) X_PushCurrentOp() { log.Println("Calling TextEdit.X_PushCurrentOp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_push_current_op", goArguments, "") - + godotCallVoid(o, "_push_current_op") log.Println(" Function successfully completed.") } @@ -96133,14 +62542,7 @@ func (o *TextEdit) X_PushCurrentOp() { func (o *TextEdit) X_ScrollMoved(arg0 float64) { log.Println("Calling TextEdit.X_ScrollMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_moved", goArguments, "") - + godotCallVoidFloat(o, "_scroll_moved", arg0) log.Println(" Function successfully completed.") } @@ -96151,13 +62553,7 @@ func (o *TextEdit) X_ScrollMoved(arg0 float64) { func (o *TextEdit) X_TextChangedEmit() { log.Println("Calling TextEdit.X_TextChangedEmit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_text_changed_emit", goArguments, "") - + godotCallVoid(o, "_text_changed_emit") log.Println(" Function successfully completed.") } @@ -96168,13 +62564,7 @@ func (o *TextEdit) X_TextChangedEmit() { func (o *TextEdit) X_ToggleDrawCaret() { log.Println("Calling TextEdit.X_ToggleDrawCaret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_toggle_draw_caret", goArguments, "") - + godotCallVoid(o, "_toggle_draw_caret") log.Println(" Function successfully completed.") } @@ -96185,13 +62575,7 @@ func (o *TextEdit) X_ToggleDrawCaret() { func (o *TextEdit) X_VScrollInput() { log.Println("Calling TextEdit.X_VScrollInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_v_scroll_input", goArguments, "") - + godotCallVoid(o, "_v_scroll_input") log.Println(" Function successfully completed.") } @@ -96202,17 +62586,7 @@ func (o *TextEdit) X_VScrollInput() { func (o *TextEdit) AddColorRegion(beginKey string, endKey string, color *Color, lineOnly bool) { log.Println("Calling TextEdit.AddColorRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(beginKey) - goArguments[1] = reflect.ValueOf(endKey) - goArguments[2] = reflect.ValueOf(color) - goArguments[3] = reflect.ValueOf(lineOnly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_color_region", goArguments, "") - + godotCallVoidStringStringColorBool(o, "add_color_region", beginKey, endKey, color, lineOnly) log.Println(" Function successfully completed.") } @@ -96223,15 +62597,7 @@ func (o *TextEdit) AddColorRegion(beginKey string, endKey string, color *Color, func (o *TextEdit) AddKeywordColor(keyword string, color *Color) { log.Println("Calling TextEdit.AddKeywordColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(keyword) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_keyword_color", goArguments, "") - + godotCallVoidStringColor(o, "add_keyword_color", keyword, color) log.Println(" Function successfully completed.") } @@ -96242,17 +62608,9 @@ func (o *TextEdit) AddKeywordColor(keyword string, color *Color) { func (o *TextEdit) CanFold(line int64) bool { log.Println("Calling TextEdit.CanFold()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "can_fold", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "can_fold", line) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96263,13 +62621,7 @@ func (o *TextEdit) CanFold(line int64) bool { func (o *TextEdit) ClearColors() { log.Println("Calling TextEdit.ClearColors()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_colors", goArguments, "") - + godotCallVoid(o, "clear_colors") log.Println(" Function successfully completed.") } @@ -96280,13 +62632,7 @@ func (o *TextEdit) ClearColors() { func (o *TextEdit) ClearUndoHistory() { log.Println("Calling TextEdit.ClearUndoHistory()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_undo_history", goArguments, "") - + godotCallVoid(o, "clear_undo_history") log.Println(" Function successfully completed.") } @@ -96297,13 +62643,7 @@ func (o *TextEdit) ClearUndoHistory() { func (o *TextEdit) Copy() { log.Println("Calling TextEdit.Copy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "copy", goArguments, "") - + godotCallVoid(o, "copy") log.Println(" Function successfully completed.") } @@ -96314,16 +62654,9 @@ func (o *TextEdit) Copy() { func (o *TextEdit) CursorGetBlinkEnabled() bool { log.Println("Calling TextEdit.CursorGetBlinkEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_blink_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "cursor_get_blink_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96334,16 +62667,9 @@ func (o *TextEdit) CursorGetBlinkEnabled() bool { func (o *TextEdit) CursorGetBlinkSpeed() float64 { log.Println("Calling TextEdit.CursorGetBlinkSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_blink_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "cursor_get_blink_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96354,16 +62680,9 @@ func (o *TextEdit) CursorGetBlinkSpeed() float64 { func (o *TextEdit) CursorGetColumn() int64 { log.Println("Calling TextEdit.CursorGetColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_column", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "cursor_get_column") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96374,16 +62693,9 @@ func (o *TextEdit) CursorGetColumn() int64 { func (o *TextEdit) CursorGetLine() int64 { log.Println("Calling TextEdit.CursorGetLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_get_line", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "cursor_get_line") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96394,16 +62706,9 @@ func (o *TextEdit) CursorGetLine() int64 { func (o *TextEdit) CursorIsBlockMode() bool { log.Println("Calling TextEdit.CursorIsBlockMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "cursor_is_block_mode", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "cursor_is_block_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96414,14 +62719,7 @@ func (o *TextEdit) CursorIsBlockMode() bool { func (o *TextEdit) CursorSetBlinkEnabled(enable bool) { log.Println("Calling TextEdit.CursorSetBlinkEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_blink_enabled", goArguments, "") - + godotCallVoidBool(o, "cursor_set_blink_enabled", enable) log.Println(" Function successfully completed.") } @@ -96432,14 +62730,7 @@ func (o *TextEdit) CursorSetBlinkEnabled(enable bool) { func (o *TextEdit) CursorSetBlinkSpeed(blinkSpeed float64) { log.Println("Calling TextEdit.CursorSetBlinkSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(blinkSpeed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_blink_speed", goArguments, "") - + godotCallVoidFloat(o, "cursor_set_blink_speed", blinkSpeed) log.Println(" Function successfully completed.") } @@ -96450,14 +62741,7 @@ func (o *TextEdit) CursorSetBlinkSpeed(blinkSpeed float64) { func (o *TextEdit) CursorSetBlockMode(enable bool) { log.Println("Calling TextEdit.CursorSetBlockMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_block_mode", goArguments, "") - + godotCallVoidBool(o, "cursor_set_block_mode", enable) log.Println(" Function successfully completed.") } @@ -96468,15 +62752,7 @@ func (o *TextEdit) CursorSetBlockMode(enable bool) { func (o *TextEdit) CursorSetColumn(column int64, adjustViewport bool) { log.Println("Calling TextEdit.CursorSetColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(adjustViewport) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_column", goArguments, "") - + godotCallVoidIntBool(o, "cursor_set_column", column, adjustViewport) log.Println(" Function successfully completed.") } @@ -96487,16 +62763,7 @@ func (o *TextEdit) CursorSetColumn(column int64, adjustViewport bool) { func (o *TextEdit) CursorSetLine(line int64, adjustViewport bool, canBeHidden bool) { log.Println("Calling TextEdit.CursorSetLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(line) - goArguments[1] = reflect.ValueOf(adjustViewport) - goArguments[2] = reflect.ValueOf(canBeHidden) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cursor_set_line", goArguments, "") - + godotCallVoidIntBoolBool(o, "cursor_set_line", line, adjustViewport, canBeHidden) log.Println(" Function successfully completed.") } @@ -96507,13 +62774,7 @@ func (o *TextEdit) CursorSetLine(line int64, adjustViewport bool, canBeHidden bo func (o *TextEdit) Cut() { log.Println("Calling TextEdit.Cut()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "cut", goArguments, "") - + godotCallVoid(o, "cut") log.Println(" Function successfully completed.") } @@ -96524,13 +62785,7 @@ func (o *TextEdit) Cut() { func (o *TextEdit) Deselect() { log.Println("Calling TextEdit.Deselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "deselect", goArguments, "") - + godotCallVoid(o, "deselect") log.Println(" Function successfully completed.") } @@ -96541,13 +62796,7 @@ func (o *TextEdit) Deselect() { func (o *TextEdit) FoldAllLines() { log.Println("Calling TextEdit.FoldAllLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "fold_all_lines", goArguments, "") - + godotCallVoid(o, "fold_all_lines") log.Println(" Function successfully completed.") } @@ -96558,14 +62807,7 @@ func (o *TextEdit) FoldAllLines() { func (o *TextEdit) FoldLine(line int64) { log.Println("Calling TextEdit.FoldLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "fold_line", goArguments, "") - + godotCallVoidInt(o, "fold_line", line) log.Println(" Function successfully completed.") } @@ -96576,17 +62818,9 @@ func (o *TextEdit) FoldLine(line int64) { func (o *TextEdit) GetLine(line int64) string { log.Println("Calling TextEdit.GetLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_line", line) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96597,16 +62831,9 @@ func (o *TextEdit) GetLine(line int64) string { func (o *TextEdit) GetLineCount() int64 { log.Println("Calling TextEdit.GetLineCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_line_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_line_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96617,17 +62844,12 @@ func (o *TextEdit) GetLineCount() int64 { func (o *TextEdit) GetMenu() *PopupMenu { log.Println("Calling TextEdit.GetMenu()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_menu", goArguments, "*PopupMenu") - - returnValue := goRet.Interface().(*PopupMenu) - + returnValue := godotCallObject(o, "get_menu") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PopupMenu + ret.owner = returnValue.owner + return &ret } @@ -96637,16 +62859,9 @@ func (o *TextEdit) GetMenu() *PopupMenu { func (o *TextEdit) GetSelectionFromColumn() int64 { log.Println("Calling TextEdit.GetSelectionFromColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection_from_column", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selection_from_column") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96657,16 +62872,9 @@ func (o *TextEdit) GetSelectionFromColumn() int64 { func (o *TextEdit) GetSelectionFromLine() int64 { log.Println("Calling TextEdit.GetSelectionFromLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection_from_line", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selection_from_line") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96677,16 +62885,9 @@ func (o *TextEdit) GetSelectionFromLine() int64 { func (o *TextEdit) GetSelectionText() string { log.Println("Calling TextEdit.GetSelectionText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_selection_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96697,16 +62898,9 @@ func (o *TextEdit) GetSelectionText() string { func (o *TextEdit) GetSelectionToColumn() int64 { log.Println("Calling TextEdit.GetSelectionToColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection_to_column", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selection_to_column") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96717,16 +62911,9 @@ func (o *TextEdit) GetSelectionToColumn() int64 { func (o *TextEdit) GetSelectionToLine() int64 { log.Println("Calling TextEdit.GetSelectionToLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selection_to_line", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selection_to_line") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96737,16 +62924,9 @@ func (o *TextEdit) GetSelectionToLine() int64 { func (o *TextEdit) GetText() string { log.Println("Calling TextEdit.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96757,16 +62937,9 @@ func (o *TextEdit) GetText() string { func (o *TextEdit) GetVScrollSpeed() float64 { log.Println("Calling TextEdit.GetVScrollSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_v_scroll_speed", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_v_scroll_speed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96777,16 +62950,9 @@ func (o *TextEdit) GetVScrollSpeed() float64 { func (o *TextEdit) GetWordUnderCursor() string { log.Println("Calling TextEdit.GetWordUnderCursor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_word_under_cursor", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_word_under_cursor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96797,14 +62963,7 @@ func (o *TextEdit) GetWordUnderCursor() string { func (o *TextEdit) InsertTextAtCursor(text string) { log.Println("Calling TextEdit.InsertTextAtCursor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "insert_text_at_cursor", goArguments, "") - + godotCallVoidString(o, "insert_text_at_cursor", text) log.Println(" Function successfully completed.") } @@ -96815,16 +62974,9 @@ func (o *TextEdit) InsertTextAtCursor(text string) { func (o *TextEdit) IsContextMenuEnabled() bool { log.Println("Calling TextEdit.IsContextMenuEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_context_menu_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_context_menu_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96835,17 +62987,9 @@ func (o *TextEdit) IsContextMenuEnabled() bool { func (o *TextEdit) IsFolded(line int64) bool { log.Println("Calling TextEdit.IsFolded()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_folded", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_folded", line) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96856,16 +63000,9 @@ func (o *TextEdit) IsFolded(line int64) bool { func (o *TextEdit) IsHidingEnabled() int64 { log.Println("Calling TextEdit.IsHidingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_hiding_enabled", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "is_hiding_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96876,16 +63013,9 @@ func (o *TextEdit) IsHidingEnabled() int64 { func (o *TextEdit) IsHighlightAllOccurrencesEnabled() bool { log.Println("Calling TextEdit.IsHighlightAllOccurrencesEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_highlight_all_occurrences_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_highlight_all_occurrences_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96896,16 +63026,9 @@ func (o *TextEdit) IsHighlightAllOccurrencesEnabled() bool { func (o *TextEdit) IsHighlightCurrentLineEnabled() bool { log.Println("Calling TextEdit.IsHighlightCurrentLineEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_highlight_current_line_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_highlight_current_line_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96916,17 +63039,9 @@ func (o *TextEdit) IsHighlightCurrentLineEnabled() bool { func (o *TextEdit) IsLineHidden(line int64) bool { log.Println("Calling TextEdit.IsLineHidden()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_line_hidden", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_line_hidden", line) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96937,16 +63052,9 @@ func (o *TextEdit) IsLineHidden(line int64) bool { func (o *TextEdit) IsOverridingSelectedFontColor() bool { log.Println("Calling TextEdit.IsOverridingSelectedFontColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_overriding_selected_font_color", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_overriding_selected_font_color") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96957,16 +63065,9 @@ func (o *TextEdit) IsOverridingSelectedFontColor() bool { func (o *TextEdit) IsReadonly() bool { log.Println("Calling TextEdit.IsReadonly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_readonly", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_readonly") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96977,16 +63078,9 @@ func (o *TextEdit) IsReadonly() bool { func (o *TextEdit) IsRightClickMovingCaret() bool { log.Println("Calling TextEdit.IsRightClickMovingCaret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_right_click_moving_caret", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_right_click_moving_caret") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -96997,16 +63091,9 @@ func (o *TextEdit) IsRightClickMovingCaret() bool { func (o *TextEdit) IsSelectionActive() bool { log.Println("Calling TextEdit.IsSelectionActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selection_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_selection_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97017,16 +63104,9 @@ func (o *TextEdit) IsSelectionActive() bool { func (o *TextEdit) IsShowLineNumbersEnabled() bool { log.Println("Calling TextEdit.IsShowLineNumbersEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_show_line_numbers_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_show_line_numbers_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97037,16 +63117,9 @@ func (o *TextEdit) IsShowLineNumbersEnabled() bool { func (o *TextEdit) IsSmoothScrollEnabled() bool { log.Println("Calling TextEdit.IsSmoothScrollEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_smooth_scroll_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_smooth_scroll_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97057,16 +63130,9 @@ func (o *TextEdit) IsSmoothScrollEnabled() bool { func (o *TextEdit) IsSyntaxColoringEnabled() bool { log.Println("Calling TextEdit.IsSyntaxColoringEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_syntax_coloring_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_syntax_coloring_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97077,16 +63143,9 @@ func (o *TextEdit) IsSyntaxColoringEnabled() bool { func (o *TextEdit) IsWrapping() bool { log.Println("Calling TextEdit.IsWrapping()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_wrapping", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_wrapping") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97097,14 +63156,7 @@ func (o *TextEdit) IsWrapping() bool { func (o *TextEdit) MenuOption(option int64) { log.Println("Calling TextEdit.MenuOption()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(option) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "menu_option", goArguments, "") - + godotCallVoidInt(o, "menu_option", option) log.Println(" Function successfully completed.") } @@ -97115,13 +63167,7 @@ func (o *TextEdit) MenuOption(option int64) { func (o *TextEdit) Paste() { log.Println("Calling TextEdit.Paste()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "paste", goArguments, "") - + godotCallVoid(o, "paste") log.Println(" Function successfully completed.") } @@ -97132,13 +63178,7 @@ func (o *TextEdit) Paste() { func (o *TextEdit) Redo() { log.Println("Calling TextEdit.Redo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "redo", goArguments, "") - + godotCallVoid(o, "redo") log.Println(" Function successfully completed.") } @@ -97149,20 +63189,9 @@ func (o *TextEdit) Redo() { func (o *TextEdit) Search(key string, flags int64, fromLine int64, fromColumn int64) *PoolIntArray { log.Println("Calling TextEdit.Search()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(key) - goArguments[1] = reflect.ValueOf(flags) - goArguments[2] = reflect.ValueOf(fromLine) - goArguments[3] = reflect.ValueOf(fromColumn) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "search", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArrayStringIntIntInt(o, "search", key, flags, fromLine, fromColumn) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97173,17 +63202,7 @@ func (o *TextEdit) Search(key string, flags int64, fromLine int64, fromColumn in func (o *TextEdit) Select(fromLine int64, fromColumn int64, toLine int64, toColumn int64) { log.Println("Calling TextEdit.Select()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(fromLine) - goArguments[1] = reflect.ValueOf(fromColumn) - goArguments[2] = reflect.ValueOf(toLine) - goArguments[3] = reflect.ValueOf(toColumn) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select", goArguments, "") - + godotCallVoidIntIntIntInt(o, "select", fromLine, fromColumn, toLine, toColumn) log.Println(" Function successfully completed.") } @@ -97194,13 +63213,7 @@ func (o *TextEdit) Select(fromLine int64, fromColumn int64, toLine int64, toColu func (o *TextEdit) SelectAll() { log.Println("Calling TextEdit.SelectAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select_all", goArguments, "") - + godotCallVoid(o, "select_all") log.Println(" Function successfully completed.") } @@ -97211,14 +63224,7 @@ func (o *TextEdit) SelectAll() { func (o *TextEdit) SetContextMenuEnabled(enable bool) { log.Println("Calling TextEdit.SetContextMenuEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_context_menu_enabled", goArguments, "") - + godotCallVoidBool(o, "set_context_menu_enabled", enable) log.Println(" Function successfully completed.") } @@ -97229,14 +63235,7 @@ func (o *TextEdit) SetContextMenuEnabled(enable bool) { func (o *TextEdit) SetHidingEnabled(enable int64) { log.Println("Calling TextEdit.SetHidingEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hiding_enabled", goArguments, "") - + godotCallVoidInt(o, "set_hiding_enabled", enable) log.Println(" Function successfully completed.") } @@ -97247,14 +63246,7 @@ func (o *TextEdit) SetHidingEnabled(enable int64) { func (o *TextEdit) SetHighlightAllOccurrences(enable bool) { log.Println("Calling TextEdit.SetHighlightAllOccurrences()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_highlight_all_occurrences", goArguments, "") - + godotCallVoidBool(o, "set_highlight_all_occurrences", enable) log.Println(" Function successfully completed.") } @@ -97265,14 +63257,7 @@ func (o *TextEdit) SetHighlightAllOccurrences(enable bool) { func (o *TextEdit) SetHighlightCurrentLine(enabled bool) { log.Println("Calling TextEdit.SetHighlightCurrentLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_highlight_current_line", goArguments, "") - + godotCallVoidBool(o, "set_highlight_current_line", enabled) log.Println(" Function successfully completed.") } @@ -97283,15 +63268,7 @@ func (o *TextEdit) SetHighlightCurrentLine(enabled bool) { func (o *TextEdit) SetLineAsHidden(line int64, enable bool) { log.Println("Calling TextEdit.SetLineAsHidden()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(line) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_line_as_hidden", goArguments, "") - + godotCallVoidIntBool(o, "set_line_as_hidden", line, enable) log.Println(" Function successfully completed.") } @@ -97302,14 +63279,7 @@ func (o *TextEdit) SetLineAsHidden(line int64, enable bool) { func (o *TextEdit) SetOverrideSelectedFontColor(override bool) { log.Println("Calling TextEdit.SetOverrideSelectedFontColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(override) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_override_selected_font_color", goArguments, "") - + godotCallVoidBool(o, "set_override_selected_font_color", override) log.Println(" Function successfully completed.") } @@ -97320,14 +63290,7 @@ func (o *TextEdit) SetOverrideSelectedFontColor(override bool) { func (o *TextEdit) SetReadonly(enable bool) { log.Println("Calling TextEdit.SetReadonly()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_readonly", goArguments, "") - + godotCallVoidBool(o, "set_readonly", enable) log.Println(" Function successfully completed.") } @@ -97338,14 +63301,7 @@ func (o *TextEdit) SetReadonly(enable bool) { func (o *TextEdit) SetRightClickMovesCaret(enable bool) { log.Println("Calling TextEdit.SetRightClickMovesCaret()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_right_click_moves_caret", goArguments, "") - + godotCallVoidBool(o, "set_right_click_moves_caret", enable) log.Println(" Function successfully completed.") } @@ -97356,14 +63312,7 @@ func (o *TextEdit) SetRightClickMovesCaret(enable bool) { func (o *TextEdit) SetShowLineNumbers(enable bool) { log.Println("Calling TextEdit.SetShowLineNumbers()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_show_line_numbers", goArguments, "") - + godotCallVoidBool(o, "set_show_line_numbers", enable) log.Println(" Function successfully completed.") } @@ -97374,14 +63323,7 @@ func (o *TextEdit) SetShowLineNumbers(enable bool) { func (o *TextEdit) SetSmoothScrollEnable(enable bool) { log.Println("Calling TextEdit.SetSmoothScrollEnable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_smooth_scroll_enable", goArguments, "") - + godotCallVoidBool(o, "set_smooth_scroll_enable", enable) log.Println(" Function successfully completed.") } @@ -97392,14 +63334,7 @@ func (o *TextEdit) SetSmoothScrollEnable(enable bool) { func (o *TextEdit) SetSyntaxColoring(enable bool) { log.Println("Calling TextEdit.SetSyntaxColoring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_syntax_coloring", goArguments, "") - + godotCallVoidBool(o, "set_syntax_coloring", enable) log.Println(" Function successfully completed.") } @@ -97410,14 +63345,7 @@ func (o *TextEdit) SetSyntaxColoring(enable bool) { func (o *TextEdit) SetText(text string) { log.Println("Calling TextEdit.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidString(o, "set_text", text) log.Println(" Function successfully completed.") } @@ -97428,14 +63356,7 @@ func (o *TextEdit) SetText(text string) { func (o *TextEdit) SetVScrollSpeed(speed float64) { log.Println("Calling TextEdit.SetVScrollSpeed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_v_scroll_speed", goArguments, "") - + godotCallVoidFloat(o, "set_v_scroll_speed", speed) log.Println(" Function successfully completed.") } @@ -97446,14 +63367,7 @@ func (o *TextEdit) SetVScrollSpeed(speed float64) { func (o *TextEdit) SetWrap(enable bool) { log.Println("Calling TextEdit.SetWrap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_wrap", goArguments, "") - + godotCallVoidBool(o, "set_wrap", enable) log.Println(" Function successfully completed.") } @@ -97464,14 +63378,7 @@ func (o *TextEdit) SetWrap(enable bool) { func (o *TextEdit) ToggleFoldLine(line int64) { log.Println("Calling TextEdit.ToggleFoldLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "toggle_fold_line", goArguments, "") - + godotCallVoidInt(o, "toggle_fold_line", line) log.Println(" Function successfully completed.") } @@ -97482,13 +63389,7 @@ func (o *TextEdit) ToggleFoldLine(line int64) { func (o *TextEdit) Undo() { log.Println("Calling TextEdit.Undo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "undo", goArguments, "") - + godotCallVoid(o, "undo") log.Println(" Function successfully completed.") } @@ -97499,14 +63400,7 @@ func (o *TextEdit) Undo() { func (o *TextEdit) UnfoldLine(line int64) { log.Println("Calling TextEdit.UnfoldLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(line) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unfold_line", goArguments, "") - + godotCallVoidInt(o, "unfold_line", line) log.Println(" Function successfully completed.") } @@ -97517,13 +63411,7 @@ func (o *TextEdit) UnfoldLine(line int64) { func (o *TextEdit) UnhideAllLines() { log.Println("Calling TextEdit.UnhideAllLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unhide_all_lines", goArguments, "") - + godotCallVoid(o, "unhide_all_lines") log.Println(" Function successfully completed.") } @@ -97552,18 +63440,7 @@ func (o *Texture) baseClass() string { func (o *Texture) Draw(canvasItem *RID, position *Vector2, modulate *Color, transpose bool, normalMap *Texture) { log.Println("Calling Texture.Draw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(position) - goArguments[2] = reflect.ValueOf(modulate) - goArguments[3] = reflect.ValueOf(transpose) - goArguments[4] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw", goArguments, "") - + godotCallVoidRidVector2ColorBoolObject(o, "draw", canvasItem, position, modulate, transpose, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -97574,19 +63451,7 @@ func (o *Texture) Draw(canvasItem *RID, position *Vector2, modulate *Color, tran func (o *Texture) DrawRect(canvasItem *RID, rect *Rect2, tile bool, modulate *Color, transpose bool, normalMap *Texture) { log.Println("Calling Texture.DrawRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(tile) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(transpose) - goArguments[5] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_rect", goArguments, "") - + godotCallVoidRidRect2BoolColorBoolObject(o, "draw_rect", canvasItem, rect, tile, modulate, transpose, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -97597,20 +63462,7 @@ func (o *Texture) DrawRect(canvasItem *RID, rect *Rect2, tile bool, modulate *Co func (o *Texture) DrawRectRegion(canvasItem *RID, rect *Rect2, srcRect *Rect2, modulate *Color, transpose bool, normalMap *Texture, clipUv bool) { log.Println("Calling Texture.DrawRectRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(canvasItem) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(srcRect) - goArguments[3] = reflect.ValueOf(modulate) - goArguments[4] = reflect.ValueOf(transpose) - goArguments[5] = reflect.ValueOf(normalMap) - goArguments[6] = reflect.ValueOf(clipUv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw_rect_region", goArguments, "") - + godotCallVoidRidRect2Rect2ColorBoolObjectBool(o, "draw_rect_region", canvasItem, rect, srcRect, modulate, transpose, &normalMap.Object, clipUv) log.Println(" Function successfully completed.") } @@ -97621,17 +63473,12 @@ func (o *Texture) DrawRectRegion(canvasItem *RID, rect *Rect2, srcRect *Rect2, m func (o *Texture) GetData() *Image { log.Println("Calling Texture.GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_data", goArguments, "*Image") - - returnValue := goRet.Interface().(*Image) - + returnValue := godotCallObject(o, "get_data") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Image + ret.owner = returnValue.owner + return &ret } @@ -97641,16 +63488,9 @@ func (o *Texture) GetData() *Image { func (o *Texture) GetFlags() int64 { log.Println("Calling Texture.GetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97661,16 +63501,9 @@ func (o *Texture) GetFlags() int64 { func (o *Texture) GetHeight() int64 { log.Println("Calling Texture.GetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97681,16 +63514,9 @@ func (o *Texture) GetHeight() int64 { func (o *Texture) GetSize() *Vector2 { log.Println("Calling Texture.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97701,16 +63527,9 @@ func (o *Texture) GetSize() *Vector2 { func (o *Texture) GetWidth() int64 { log.Println("Calling Texture.GetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_width") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97721,16 +63540,9 @@ func (o *Texture) GetWidth() int64 { func (o *Texture) HasAlpha() bool { log.Println("Calling Texture.HasAlpha()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_alpha", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_alpha") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97741,14 +63553,7 @@ func (o *Texture) HasAlpha() bool { func (o *Texture) SetFlags(flags int64) { log.Println("Calling Texture.SetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_flags", goArguments, "") - + godotCallVoidInt(o, "set_flags", flags) log.Println(" Function successfully completed.") } @@ -97777,17 +63582,12 @@ func (o *TextureButton) baseClass() string { func (o *TextureButton) GetClickMask() *BitMap { log.Println("Calling TextureButton.GetClickMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_click_mask", goArguments, "*BitMap") - - returnValue := goRet.Interface().(*BitMap) - + returnValue := godotCallObject(o, "get_click_mask") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret BitMap + ret.owner = returnValue.owner + return &ret } @@ -97797,17 +63597,12 @@ func (o *TextureButton) GetClickMask() *BitMap { func (o *TextureButton) GetDisabledTexture() *Texture { log.Println("Calling TextureButton.GetDisabledTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_disabled_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_disabled_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -97817,16 +63612,9 @@ func (o *TextureButton) GetDisabledTexture() *Texture { func (o *TextureButton) GetExpand() bool { log.Println("Calling TextureButton.GetExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_expand", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_expand") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97837,17 +63625,12 @@ func (o *TextureButton) GetExpand() bool { func (o *TextureButton) GetFocusedTexture() *Texture { log.Println("Calling TextureButton.GetFocusedTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_focused_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_focused_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -97857,17 +63640,12 @@ func (o *TextureButton) GetFocusedTexture() *Texture { func (o *TextureButton) GetHoverTexture() *Texture { log.Println("Calling TextureButton.GetHoverTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hover_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_hover_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -97877,17 +63655,12 @@ func (o *TextureButton) GetHoverTexture() *Texture { func (o *TextureButton) GetNormalTexture() *Texture { log.Println("Calling TextureButton.GetNormalTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_normal_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_normal_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -97897,17 +63670,12 @@ func (o *TextureButton) GetNormalTexture() *Texture { func (o *TextureButton) GetPressedTexture() *Texture { log.Println("Calling TextureButton.GetPressedTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pressed_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_pressed_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -97917,16 +63685,9 @@ func (o *TextureButton) GetPressedTexture() *Texture { func (o *TextureButton) GetStretchMode() int64 { log.Println("Calling TextureButton.GetStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -97937,14 +63698,7 @@ func (o *TextureButton) GetStretchMode() int64 { func (o *TextureButton) SetClickMask(mask *BitMap) { log.Println("Calling TextureButton.SetClickMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_click_mask", goArguments, "") - + godotCallVoidObject(o, "set_click_mask", &mask.Object) log.Println(" Function successfully completed.") } @@ -97955,14 +63709,7 @@ func (o *TextureButton) SetClickMask(mask *BitMap) { func (o *TextureButton) SetDisabledTexture(texture *Texture) { log.Println("Calling TextureButton.SetDisabledTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disabled_texture", goArguments, "") - + godotCallVoidObject(o, "set_disabled_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -97973,14 +63720,7 @@ func (o *TextureButton) SetDisabledTexture(texture *Texture) { func (o *TextureButton) SetExpand(pExpand bool) { log.Println("Calling TextureButton.SetExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pExpand) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand", goArguments, "") - + godotCallVoidBool(o, "set_expand", pExpand) log.Println(" Function successfully completed.") } @@ -97991,14 +63731,7 @@ func (o *TextureButton) SetExpand(pExpand bool) { func (o *TextureButton) SetFocusedTexture(texture *Texture) { log.Println("Calling TextureButton.SetFocusedTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_focused_texture", goArguments, "") - + godotCallVoidObject(o, "set_focused_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -98009,14 +63742,7 @@ func (o *TextureButton) SetFocusedTexture(texture *Texture) { func (o *TextureButton) SetHoverTexture(texture *Texture) { log.Println("Calling TextureButton.SetHoverTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hover_texture", goArguments, "") - + godotCallVoidObject(o, "set_hover_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -98027,14 +63753,7 @@ func (o *TextureButton) SetHoverTexture(texture *Texture) { func (o *TextureButton) SetNormalTexture(texture *Texture) { log.Println("Calling TextureButton.SetNormalTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_normal_texture", goArguments, "") - + godotCallVoidObject(o, "set_normal_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -98045,14 +63764,7 @@ func (o *TextureButton) SetNormalTexture(texture *Texture) { func (o *TextureButton) SetPressedTexture(texture *Texture) { log.Println("Calling TextureButton.SetPressedTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_pressed_texture", goArguments, "") - + godotCallVoidObject(o, "set_pressed_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -98063,14 +63775,7 @@ func (o *TextureButton) SetPressedTexture(texture *Texture) { func (o *TextureButton) SetStretchMode(pMode int64) { log.Println("Calling TextureButton.SetStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(pMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_stretch_mode", pMode) log.Println(" Function successfully completed.") } @@ -98099,16 +63804,9 @@ func (o *TextureProgress) baseClass() string { func (o *TextureProgress) GetFillDegrees() float64 { log.Println("Calling TextureProgress.GetFillDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fill_degrees", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_fill_degrees") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98119,16 +63817,9 @@ func (o *TextureProgress) GetFillDegrees() float64 { func (o *TextureProgress) GetFillMode() int64 { log.Println("Calling TextureProgress.GetFillMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fill_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_fill_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98139,16 +63830,9 @@ func (o *TextureProgress) GetFillMode() int64 { func (o *TextureProgress) GetNinePatchStretch() bool { log.Println("Calling TextureProgress.GetNinePatchStretch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_nine_patch_stretch", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_nine_patch_stretch") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98159,17 +63843,12 @@ func (o *TextureProgress) GetNinePatchStretch() bool { func (o *TextureProgress) GetOverTexture() *Texture { log.Println("Calling TextureProgress.GetOverTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_over_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_over_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -98179,17 +63858,12 @@ func (o *TextureProgress) GetOverTexture() *Texture { func (o *TextureProgress) GetProgressTexture() *Texture { log.Println("Calling TextureProgress.GetProgressTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_progress_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_progress_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -98199,16 +63873,9 @@ func (o *TextureProgress) GetProgressTexture() *Texture { func (o *TextureProgress) GetRadialCenterOffset() *Vector2 { log.Println("Calling TextureProgress.GetRadialCenterOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radial_center_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_radial_center_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98219,16 +63886,9 @@ func (o *TextureProgress) GetRadialCenterOffset() *Vector2 { func (o *TextureProgress) GetRadialInitialAngle() float64 { log.Println("Calling TextureProgress.GetRadialInitialAngle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radial_initial_angle", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radial_initial_angle") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98239,17 +63899,9 @@ func (o *TextureProgress) GetRadialInitialAngle() float64 { func (o *TextureProgress) GetStretchMargin(margin int64) int64 { log.Println("Calling TextureProgress.GetStretchMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(margin) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stretch_margin", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_stretch_margin", margin) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98260,17 +63912,12 @@ func (o *TextureProgress) GetStretchMargin(margin int64) int64 { func (o *TextureProgress) GetUnderTexture() *Texture { log.Println("Calling TextureProgress.GetUnderTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_under_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_under_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -98280,14 +63927,7 @@ func (o *TextureProgress) GetUnderTexture() *Texture { func (o *TextureProgress) SetFillDegrees(mode float64) { log.Println("Calling TextureProgress.SetFillDegrees()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fill_degrees", goArguments, "") - + godotCallVoidFloat(o, "set_fill_degrees", mode) log.Println(" Function successfully completed.") } @@ -98298,14 +63938,7 @@ func (o *TextureProgress) SetFillDegrees(mode float64) { func (o *TextureProgress) SetFillMode(mode int64) { log.Println("Calling TextureProgress.SetFillMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fill_mode", goArguments, "") - + godotCallVoidInt(o, "set_fill_mode", mode) log.Println(" Function successfully completed.") } @@ -98316,14 +63949,7 @@ func (o *TextureProgress) SetFillMode(mode int64) { func (o *TextureProgress) SetNinePatchStretch(stretch bool) { log.Println("Calling TextureProgress.SetNinePatchStretch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stretch) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_nine_patch_stretch", goArguments, "") - + godotCallVoidBool(o, "set_nine_patch_stretch", stretch) log.Println(" Function successfully completed.") } @@ -98334,14 +63960,7 @@ func (o *TextureProgress) SetNinePatchStretch(stretch bool) { func (o *TextureProgress) SetOverTexture(tex *Texture) { log.Println("Calling TextureProgress.SetOverTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_over_texture", goArguments, "") - + godotCallVoidObject(o, "set_over_texture", &tex.Object) log.Println(" Function successfully completed.") } @@ -98352,14 +63971,7 @@ func (o *TextureProgress) SetOverTexture(tex *Texture) { func (o *TextureProgress) SetProgressTexture(tex *Texture) { log.Println("Calling TextureProgress.SetProgressTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_progress_texture", goArguments, "") - + godotCallVoidObject(o, "set_progress_texture", &tex.Object) log.Println(" Function successfully completed.") } @@ -98370,14 +63982,7 @@ func (o *TextureProgress) SetProgressTexture(tex *Texture) { func (o *TextureProgress) SetRadialCenterOffset(mode *Vector2) { log.Println("Calling TextureProgress.SetRadialCenterOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radial_center_offset", goArguments, "") - + godotCallVoidVector2(o, "set_radial_center_offset", mode) log.Println(" Function successfully completed.") } @@ -98388,14 +63993,7 @@ func (o *TextureProgress) SetRadialCenterOffset(mode *Vector2) { func (o *TextureProgress) SetRadialInitialAngle(mode float64) { log.Println("Calling TextureProgress.SetRadialInitialAngle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radial_initial_angle", goArguments, "") - + godotCallVoidFloat(o, "set_radial_initial_angle", mode) log.Println(" Function successfully completed.") } @@ -98406,15 +64004,7 @@ func (o *TextureProgress) SetRadialInitialAngle(mode float64) { func (o *TextureProgress) SetStretchMargin(margin int64, value int64) { log.Println("Calling TextureProgress.SetStretchMargin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(margin) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch_margin", goArguments, "") - + godotCallVoidIntInt(o, "set_stretch_margin", margin, value) log.Println(" Function successfully completed.") } @@ -98425,14 +64015,7 @@ func (o *TextureProgress) SetStretchMargin(margin int64, value int64) { func (o *TextureProgress) SetUnderTexture(tex *Texture) { log.Println("Calling TextureProgress.SetUnderTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_under_texture", goArguments, "") - + godotCallVoidObject(o, "set_under_texture", &tex.Object) log.Println(" Function successfully completed.") } @@ -98461,16 +64044,9 @@ func (o *TextureRect) baseClass() string { func (o *TextureRect) GetStretchMode() int64 { log.Println("Calling TextureRect.GetStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stretch_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_stretch_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98481,17 +64057,12 @@ func (o *TextureRect) GetStretchMode() int64 { func (o *TextureRect) GetTexture() *Texture { log.Println("Calling TextureRect.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -98501,16 +64072,9 @@ func (o *TextureRect) GetTexture() *Texture { func (o *TextureRect) HasExpand() bool { log.Println("Calling TextureRect.HasExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_expand", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_expand") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98521,14 +64085,7 @@ func (o *TextureRect) HasExpand() bool { func (o *TextureRect) SetExpand(enable bool) { log.Println("Calling TextureRect.SetExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand", goArguments, "") - + godotCallVoidBool(o, "set_expand", enable) log.Println(" Function successfully completed.") } @@ -98539,14 +64096,7 @@ func (o *TextureRect) SetExpand(enable bool) { func (o *TextureRect) SetStretchMode(stretchMode int64) { log.Println("Calling TextureRect.SetStretchMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stretchMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch_mode", goArguments, "") - + godotCallVoidInt(o, "set_stretch_mode", stretchMode) log.Println(" Function successfully completed.") } @@ -98557,14 +64107,7 @@ func (o *TextureRect) SetStretchMode(stretchMode int64) { func (o *TextureRect) SetTexture(texture *Texture) { log.Println("Calling TextureRect.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -98593,13 +64136,7 @@ func (o *Theme) baseClass() string { func (o *Theme) X_EmitThemeChanged() { log.Println("Calling Theme.X_EmitThemeChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_emit_theme_changed", goArguments, "") - + godotCallVoid(o, "_emit_theme_changed") log.Println(" Function successfully completed.") } @@ -98610,15 +64147,7 @@ func (o *Theme) X_EmitThemeChanged() { func (o *Theme) ClearColor(name string, aType string) { log.Println("Calling Theme.ClearColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_color", goArguments, "") - + godotCallVoidStringString(o, "clear_color", name, aType) log.Println(" Function successfully completed.") } @@ -98629,15 +64158,7 @@ func (o *Theme) ClearColor(name string, aType string) { func (o *Theme) ClearConstant(name string, aType string) { log.Println("Calling Theme.ClearConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_constant", goArguments, "") - + godotCallVoidStringString(o, "clear_constant", name, aType) log.Println(" Function successfully completed.") } @@ -98648,15 +64169,7 @@ func (o *Theme) ClearConstant(name string, aType string) { func (o *Theme) ClearFont(name string, aType string) { log.Println("Calling Theme.ClearFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_font", goArguments, "") - + godotCallVoidStringString(o, "clear_font", name, aType) log.Println(" Function successfully completed.") } @@ -98667,15 +64180,7 @@ func (o *Theme) ClearFont(name string, aType string) { func (o *Theme) ClearIcon(name string, aType string) { log.Println("Calling Theme.ClearIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_icon", goArguments, "") - + godotCallVoidStringString(o, "clear_icon", name, aType) log.Println(" Function successfully completed.") } @@ -98686,15 +64191,7 @@ func (o *Theme) ClearIcon(name string, aType string) { func (o *Theme) ClearStylebox(name string, aType string) { log.Println("Calling Theme.ClearStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_stylebox", goArguments, "") - + godotCallVoidStringString(o, "clear_stylebox", name, aType) log.Println(" Function successfully completed.") } @@ -98705,13 +64202,7 @@ func (o *Theme) ClearStylebox(name string, aType string) { func (o *Theme) CopyDefaultTheme() { log.Println("Calling Theme.CopyDefaultTheme()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "copy_default_theme", goArguments, "") - + godotCallVoid(o, "copy_default_theme") log.Println(" Function successfully completed.") } @@ -98722,18 +64213,9 @@ func (o *Theme) CopyDefaultTheme() { func (o *Theme) GetColor(name string, aType string) *Color { log.Println("Calling Theme.GetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorStringString(o, "get_color", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98744,17 +64226,9 @@ func (o *Theme) GetColor(name string, aType string) *Color { func (o *Theme) GetColorList(aType string) *PoolStringArray { log.Println("Calling Theme.GetColorList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_color_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_color_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98765,18 +64239,9 @@ func (o *Theme) GetColorList(aType string) *PoolStringArray { func (o *Theme) GetConstant(name string, aType string) int64 { log.Println("Calling Theme.GetConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringString(o, "get_constant", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98787,17 +64252,9 @@ func (o *Theme) GetConstant(name string, aType string) int64 { func (o *Theme) GetConstantList(aType string) *PoolStringArray { log.Println("Calling Theme.GetConstantList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_constant_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98808,17 +64265,12 @@ func (o *Theme) GetConstantList(aType string) *PoolStringArray { func (o *Theme) GetDefaultFont() *Font { log.Println("Calling Theme.GetDefaultFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_font", goArguments, "*Font") - - returnValue := goRet.Interface().(*Font) - + returnValue := godotCallObject(o, "get_default_font") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Font + ret.owner = returnValue.owner + return &ret } @@ -98828,19 +64280,12 @@ func (o *Theme) GetDefaultFont() *Font { func (o *Theme) GetFont(name string, aType string) *Font { log.Println("Calling Theme.GetFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_font", goArguments, "*Font") - - returnValue := goRet.Interface().(*Font) - + returnValue := godotCallObjectStringString(o, "get_font", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Font + ret.owner = returnValue.owner + return &ret } @@ -98850,17 +64295,9 @@ func (o *Theme) GetFont(name string, aType string) *Font { func (o *Theme) GetFontList(aType string) *PoolStringArray { log.Println("Calling Theme.GetFontList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_font_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_font_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98871,19 +64308,12 @@ func (o *Theme) GetFontList(aType string) *PoolStringArray { func (o *Theme) GetIcon(name string, aType string) *Texture { log.Println("Calling Theme.GetIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectStringString(o, "get_icon", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -98893,17 +64323,9 @@ func (o *Theme) GetIcon(name string, aType string) *Texture { func (o *Theme) GetIconList(aType string) *PoolStringArray { log.Println("Calling Theme.GetIconList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_icon_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98914,19 +64336,12 @@ func (o *Theme) GetIconList(aType string) *PoolStringArray { func (o *Theme) GetStylebox(name string, aType string) *StyleBox { log.Println("Calling Theme.GetStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stylebox", goArguments, "*StyleBox") - - returnValue := goRet.Interface().(*StyleBox) - + returnValue := godotCallObjectStringString(o, "get_stylebox", name, aType) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret StyleBox + ret.owner = returnValue.owner + return &ret } @@ -98936,17 +64351,9 @@ func (o *Theme) GetStylebox(name string, aType string) *StyleBox { func (o *Theme) GetStyleboxList(aType string) *PoolStringArray { log.Println("Calling Theme.GetStyleboxList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stylebox_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_stylebox_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98957,16 +64364,9 @@ func (o *Theme) GetStyleboxList(aType string) *PoolStringArray { func (o *Theme) GetStyleboxTypes() *PoolStringArray { log.Println("Calling Theme.GetStyleboxTypes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stylebox_types", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_stylebox_types") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98977,17 +64377,9 @@ func (o *Theme) GetStyleboxTypes() *PoolStringArray { func (o *Theme) GetTypeList(aType string) *PoolStringArray { log.Println("Calling Theme.GetTypeList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_type_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArrayString(o, "get_type_list", aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -98998,18 +64390,9 @@ func (o *Theme) GetTypeList(aType string) *PoolStringArray { func (o *Theme) HasColor(name string, aType string) bool { log.Println("Calling Theme.HasColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_color", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_color", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99020,18 +64403,9 @@ func (o *Theme) HasColor(name string, aType string) bool { func (o *Theme) HasConstant(name string, aType string) bool { log.Println("Calling Theme.HasConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_constant", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_constant", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99042,18 +64416,9 @@ func (o *Theme) HasConstant(name string, aType string) bool { func (o *Theme) HasFont(name string, aType string) bool { log.Println("Calling Theme.HasFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_font", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_font", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99064,18 +64429,9 @@ func (o *Theme) HasFont(name string, aType string) bool { func (o *Theme) HasIcon(name string, aType string) bool { log.Println("Calling Theme.HasIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_icon", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_icon", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99086,18 +64442,9 @@ func (o *Theme) HasIcon(name string, aType string) bool { func (o *Theme) HasStylebox(name string, aType string) bool { log.Println("Calling Theme.HasStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_stylebox", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringString(o, "has_stylebox", name, aType) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99108,16 +64455,7 @@ func (o *Theme) HasStylebox(name string, aType string) bool { func (o *Theme) SetColor(name string, aType string, color *Color) { log.Println("Calling Theme.SetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_color", goArguments, "") - + godotCallVoidStringStringColor(o, "set_color", name, aType, color) log.Println(" Function successfully completed.") } @@ -99128,16 +64466,7 @@ func (o *Theme) SetColor(name string, aType string, color *Color) { func (o *Theme) SetConstant(name string, aType string, constant int64) { log.Println("Calling Theme.SetConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(constant) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant", goArguments, "") - + godotCallVoidStringStringInt(o, "set_constant", name, aType, constant) log.Println(" Function successfully completed.") } @@ -99148,14 +64477,7 @@ func (o *Theme) SetConstant(name string, aType string, constant int64) { func (o *Theme) SetDefaultFont(font *Font) { log.Println("Calling Theme.SetDefaultFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(font) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_font", goArguments, "") - + godotCallVoidObject(o, "set_default_font", &font.Object) log.Println(" Function successfully completed.") } @@ -99166,16 +64488,7 @@ func (o *Theme) SetDefaultFont(font *Font) { func (o *Theme) SetFont(name string, aType string, font *Font) { log.Println("Calling Theme.SetFont()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(font) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_font", goArguments, "") - + godotCallVoidStringStringObject(o, "set_font", name, aType, &font.Object) log.Println(" Function successfully completed.") } @@ -99186,16 +64499,7 @@ func (o *Theme) SetFont(name string, aType string, font *Font) { func (o *Theme) SetIcon(name string, aType string, texture *Texture) { log.Println("Calling Theme.SetIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon", goArguments, "") - + godotCallVoidStringStringObject(o, "set_icon", name, aType, &texture.Object) log.Println(" Function successfully completed.") } @@ -99206,16 +64510,7 @@ func (o *Theme) SetIcon(name string, aType string, texture *Texture) { func (o *Theme) SetStylebox(name string, aType string, texture *StyleBox) { log.Println("Calling Theme.SetStylebox()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stylebox", goArguments, "") - + godotCallVoidStringStringObject(o, "set_stylebox", name, aType, &texture.Object) log.Println(" Function successfully completed.") } @@ -99244,13 +64539,7 @@ func (o *TileMap) baseClass() string { func (o *TileMap) X_ClearQuadrants() { log.Println("Calling TileMap.X_ClearQuadrants()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_clear_quadrants", goArguments, "") - + godotCallVoid(o, "_clear_quadrants") log.Println(" Function successfully completed.") } @@ -99261,16 +64550,9 @@ func (o *TileMap) X_ClearQuadrants() { func (o *TileMap) X_GetOldCellSize() int64 { log.Println("Calling TileMap.X_GetOldCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_old_cell_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_old_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99281,16 +64563,9 @@ func (o *TileMap) X_GetOldCellSize() int64 { func (o *TileMap) X_GetTileData() *PoolIntArray { log.Println("Calling TileMap.X_GetTileData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_tile_data", goArguments, "*PoolIntArray") - - returnValue := goRet.Interface().(*PoolIntArray) - + returnValue := godotCallPoolIntArray(o, "_get_tile_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99301,13 +64576,7 @@ func (o *TileMap) X_GetTileData() *PoolIntArray { func (o *TileMap) X_RecreateQuadrants() { log.Println("Calling TileMap.X_RecreateQuadrants()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_recreate_quadrants", goArguments, "") - + godotCallVoid(o, "_recreate_quadrants") log.Println(" Function successfully completed.") } @@ -99318,14 +64587,7 @@ func (o *TileMap) X_RecreateQuadrants() { func (o *TileMap) X_SetOldCellSize(size int64) { log.Println("Calling TileMap.X_SetOldCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_old_cell_size", goArguments, "") - + godotCallVoidInt(o, "_set_old_cell_size", size) log.Println(" Function successfully completed.") } @@ -99336,14 +64598,7 @@ func (o *TileMap) X_SetOldCellSize(size int64) { func (o *TileMap) X_SetTileData(arg0 *PoolIntArray) { log.Println("Calling TileMap.X_SetTileData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_tile_data", goArguments, "") - + godotCallVoidPoolIntArray(o, "_set_tile_data", arg0) log.Println(" Function successfully completed.") } @@ -99354,13 +64609,7 @@ func (o *TileMap) X_SetTileData(arg0 *PoolIntArray) { func (o *TileMap) X_UpdateDirtyQuadrants() { log.Println("Calling TileMap.X_UpdateDirtyQuadrants()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_update_dirty_quadrants", goArguments, "") - + godotCallVoid(o, "_update_dirty_quadrants") log.Println(" Function successfully completed.") } @@ -99371,13 +64620,7 @@ func (o *TileMap) X_UpdateDirtyQuadrants() { func (o *TileMap) Clear() { log.Println("Calling TileMap.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -99388,18 +64631,9 @@ func (o *TileMap) Clear() { func (o *TileMap) GetCell(x int64, y int64) int64 { log.Println("Calling TileMap.GetCell()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntIntInt(o, "get_cell", x, y) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99410,16 +64644,9 @@ func (o *TileMap) GetCell(x int64, y int64) int64 { func (o *TileMap) GetCellSize() *Vector2 { log.Println("Calling TileMap.GetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_cell_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99430,17 +64657,9 @@ func (o *TileMap) GetCellSize() *Vector2 { func (o *TileMap) GetCellv(position *Vector2) int64 { log.Println("Calling TileMap.GetCellv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cellv", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2(o, "get_cellv", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99451,16 +64670,9 @@ func (o *TileMap) GetCellv(position *Vector2) int64 { func (o *TileMap) GetClipUv() bool { log.Println("Calling TileMap.GetClipUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_clip_uv", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_clip_uv") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99471,16 +64683,9 @@ func (o *TileMap) GetClipUv() bool { func (o *TileMap) GetCollisionBounce() float64 { log.Println("Calling TileMap.GetCollisionBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_bounce", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_collision_bounce") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99491,16 +64696,9 @@ func (o *TileMap) GetCollisionBounce() float64 { func (o *TileMap) GetCollisionFriction() float64 { log.Println("Calling TileMap.GetCollisionFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_friction", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_collision_friction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99511,16 +64709,9 @@ func (o *TileMap) GetCollisionFriction() float64 { func (o *TileMap) GetCollisionLayer() int64 { log.Println("Calling TileMap.GetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_layer") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99531,17 +64722,9 @@ func (o *TileMap) GetCollisionLayer() int64 { func (o *TileMap) GetCollisionLayerBit(bit int64) bool { log.Println("Calling TileMap.GetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_layer_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_layer_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99552,16 +64735,9 @@ func (o *TileMap) GetCollisionLayerBit(bit int64) bool { func (o *TileMap) GetCollisionMask() int64 { log.Println("Calling TileMap.GetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_collision_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99572,17 +64748,9 @@ func (o *TileMap) GetCollisionMask() int64 { func (o *TileMap) GetCollisionMaskBit(bit int64) bool { log.Println("Calling TileMap.GetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bit) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_mask_bit", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_collision_mask_bit", bit) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99593,16 +64761,9 @@ func (o *TileMap) GetCollisionMaskBit(bit int64) bool { func (o *TileMap) GetCollisionUseKinematic() bool { log.Println("Calling TileMap.GetCollisionUseKinematic()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_collision_use_kinematic", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_collision_use_kinematic") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99613,16 +64774,9 @@ func (o *TileMap) GetCollisionUseKinematic() bool { func (o *TileMap) GetCustomTransform() *Transform2D { log.Println("Calling TileMap.GetCustomTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_custom_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99633,16 +64787,9 @@ func (o *TileMap) GetCustomTransform() *Transform2D { func (o *TileMap) GetHalfOffset() int64 { log.Println("Calling TileMap.GetHalfOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_half_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_half_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99653,16 +64800,9 @@ func (o *TileMap) GetHalfOffset() int64 { func (o *TileMap) GetMode() int64 { log.Println("Calling TileMap.GetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99673,16 +64813,9 @@ func (o *TileMap) GetMode() int64 { func (o *TileMap) GetOccluderLightMask() int64 { log.Println("Calling TileMap.GetOccluderLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_occluder_light_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_occluder_light_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99693,16 +64826,9 @@ func (o *TileMap) GetOccluderLightMask() int64 { func (o *TileMap) GetQuadrantSize() int64 { log.Println("Calling TileMap.GetQuadrantSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_quadrant_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_quadrant_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99713,16 +64839,9 @@ func (o *TileMap) GetQuadrantSize() int64 { func (o *TileMap) GetTileOrigin() int64 { log.Println("Calling TileMap.GetTileOrigin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tile_origin", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tile_origin") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99733,17 +64852,12 @@ func (o *TileMap) GetTileOrigin() int64 { func (o *TileMap) GetTileset() *TileSet { log.Println("Calling TileMap.GetTileset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tileset", goArguments, "*TileSet") - - returnValue := goRet.Interface().(*TileSet) - + returnValue := godotCallObject(o, "get_tileset") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TileSet + ret.owner = returnValue.owner + return &ret } @@ -99753,16 +64867,9 @@ func (o *TileMap) GetTileset() *TileSet { func (o *TileMap) GetUsedCells() *Array { log.Println("Calling TileMap.GetUsedCells()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_used_cells", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_used_cells") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99773,17 +64880,9 @@ func (o *TileMap) GetUsedCells() *Array { func (o *TileMap) GetUsedCellsById(id int64) *Array { log.Println("Calling TileMap.GetUsedCellsById()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_used_cells_by_id", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "get_used_cells_by_id", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99794,16 +64893,9 @@ func (o *TileMap) GetUsedCellsById(id int64) *Array { func (o *TileMap) GetUsedRect() *Rect2 { log.Println("Calling TileMap.GetUsedRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_used_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_used_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99814,18 +64906,9 @@ func (o *TileMap) GetUsedRect() *Rect2 { func (o *TileMap) IsCellTransposed(x int64, y int64) bool { log.Println("Calling TileMap.IsCellTransposed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_cell_transposed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_cell_transposed", x, y) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99836,18 +64919,9 @@ func (o *TileMap) IsCellTransposed(x int64, y int64) bool { func (o *TileMap) IsCellXFlipped(x int64, y int64) bool { log.Println("Calling TileMap.IsCellXFlipped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_cell_x_flipped", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_cell_x_flipped", x, y) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99858,18 +64932,9 @@ func (o *TileMap) IsCellXFlipped(x int64, y int64) bool { func (o *TileMap) IsCellYFlipped(x int64, y int64) bool { log.Println("Calling TileMap.IsCellYFlipped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_cell_y_flipped", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_cell_y_flipped", x, y) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99880,16 +64945,9 @@ func (o *TileMap) IsCellYFlipped(x int64, y int64) bool { func (o *TileMap) IsYSortModeEnabled() bool { log.Println("Calling TileMap.IsYSortModeEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_y_sort_mode_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_y_sort_mode_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99900,18 +64958,9 @@ func (o *TileMap) IsYSortModeEnabled() bool { func (o *TileMap) MapToWorld(mapPosition *Vector2, ignoreHalfOfs bool) *Vector2 { log.Println("Calling TileMap.MapToWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mapPosition) - goArguments[1] = reflect.ValueOf(ignoreHalfOfs) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "map_to_world", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2Bool(o, "map_to_world", mapPosition, ignoreHalfOfs) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -99922,20 +64971,7 @@ func (o *TileMap) MapToWorld(mapPosition *Vector2, ignoreHalfOfs bool) *Vector2 func (o *TileMap) SetCell(x int64, y int64, tile int64, flipX bool, flipY bool, transpose bool, autotileCoord *Vector2) { log.Println("Calling TileMap.SetCell()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(x) - goArguments[1] = reflect.ValueOf(y) - goArguments[2] = reflect.ValueOf(tile) - goArguments[3] = reflect.ValueOf(flipX) - goArguments[4] = reflect.ValueOf(flipY) - goArguments[5] = reflect.ValueOf(transpose) - goArguments[6] = reflect.ValueOf(autotileCoord) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell", goArguments, "") - + godotCallVoidIntIntIntBoolBoolBoolVector2(o, "set_cell", x, y, tile, flipX, flipY, transpose, autotileCoord) log.Println(" Function successfully completed.") } @@ -99946,14 +64982,7 @@ func (o *TileMap) SetCell(x int64, y int64, tile int64, flipX bool, flipY bool, func (o *TileMap) SetCellSize(size *Vector2) { log.Println("Calling TileMap.SetCellSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_size", goArguments, "") - + godotCallVoidVector2(o, "set_cell_size", size) log.Println(" Function successfully completed.") } @@ -99964,18 +64993,7 @@ func (o *TileMap) SetCellSize(size *Vector2) { func (o *TileMap) SetCellv(position *Vector2, tile int64, flipX bool, flipY bool, transpose bool) { log.Println("Calling TileMap.SetCellv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(position) - goArguments[1] = reflect.ValueOf(tile) - goArguments[2] = reflect.ValueOf(flipX) - goArguments[3] = reflect.ValueOf(flipY) - goArguments[4] = reflect.ValueOf(transpose) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cellv", goArguments, "") - + godotCallVoidVector2IntBoolBoolBool(o, "set_cellv", position, tile, flipX, flipY, transpose) log.Println(" Function successfully completed.") } @@ -99986,14 +65004,7 @@ func (o *TileMap) SetCellv(position *Vector2, tile int64, flipX bool, flipY bool func (o *TileMap) SetClipUv(enable bool) { log.Println("Calling TileMap.SetClipUv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clip_uv", goArguments, "") - + godotCallVoidBool(o, "set_clip_uv", enable) log.Println(" Function successfully completed.") } @@ -100004,14 +65015,7 @@ func (o *TileMap) SetClipUv(enable bool) { func (o *TileMap) SetCollisionBounce(value float64) { log.Println("Calling TileMap.SetCollisionBounce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_bounce", goArguments, "") - + godotCallVoidFloat(o, "set_collision_bounce", value) log.Println(" Function successfully completed.") } @@ -100022,14 +65026,7 @@ func (o *TileMap) SetCollisionBounce(value float64) { func (o *TileMap) SetCollisionFriction(value float64) { log.Println("Calling TileMap.SetCollisionFriction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_friction", goArguments, "") - + godotCallVoidFloat(o, "set_collision_friction", value) log.Println(" Function successfully completed.") } @@ -100040,14 +65037,7 @@ func (o *TileMap) SetCollisionFriction(value float64) { func (o *TileMap) SetCollisionLayer(layer int64) { log.Println("Calling TileMap.SetCollisionLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer", goArguments, "") - + godotCallVoidInt(o, "set_collision_layer", layer) log.Println(" Function successfully completed.") } @@ -100058,15 +65048,7 @@ func (o *TileMap) SetCollisionLayer(layer int64) { func (o *TileMap) SetCollisionLayerBit(bit int64, value bool) { log.Println("Calling TileMap.SetCollisionLayerBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_layer_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_layer_bit", bit, value) log.Println(" Function successfully completed.") } @@ -100077,14 +65059,7 @@ func (o *TileMap) SetCollisionLayerBit(bit int64, value bool) { func (o *TileMap) SetCollisionMask(mask int64) { log.Println("Calling TileMap.SetCollisionMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask", goArguments, "") - + godotCallVoidInt(o, "set_collision_mask", mask) log.Println(" Function successfully completed.") } @@ -100095,15 +65070,7 @@ func (o *TileMap) SetCollisionMask(mask int64) { func (o *TileMap) SetCollisionMaskBit(bit int64, value bool) { log.Println("Calling TileMap.SetCollisionMaskBit()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(bit) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_mask_bit", goArguments, "") - + godotCallVoidIntBool(o, "set_collision_mask_bit", bit, value) log.Println(" Function successfully completed.") } @@ -100114,14 +65081,7 @@ func (o *TileMap) SetCollisionMaskBit(bit int64, value bool) { func (o *TileMap) SetCollisionUseKinematic(useKinematic bool) { log.Println("Calling TileMap.SetCollisionUseKinematic()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(useKinematic) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collision_use_kinematic", goArguments, "") - + godotCallVoidBool(o, "set_collision_use_kinematic", useKinematic) log.Println(" Function successfully completed.") } @@ -100132,14 +65092,7 @@ func (o *TileMap) SetCollisionUseKinematic(useKinematic bool) { func (o *TileMap) SetCustomTransform(customTransform *Transform2D) { log.Println("Calling TileMap.SetCustomTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(customTransform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_custom_transform", customTransform) log.Println(" Function successfully completed.") } @@ -100150,14 +65103,7 @@ func (o *TileMap) SetCustomTransform(customTransform *Transform2D) { func (o *TileMap) SetHalfOffset(halfOffset int64) { log.Println("Calling TileMap.SetHalfOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(halfOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_half_offset", goArguments, "") - + godotCallVoidInt(o, "set_half_offset", halfOffset) log.Println(" Function successfully completed.") } @@ -100168,14 +65114,7 @@ func (o *TileMap) SetHalfOffset(halfOffset int64) { func (o *TileMap) SetMode(mode int64) { log.Println("Calling TileMap.SetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_mode", goArguments, "") - + godotCallVoidInt(o, "set_mode", mode) log.Println(" Function successfully completed.") } @@ -100186,14 +65125,7 @@ func (o *TileMap) SetMode(mode int64) { func (o *TileMap) SetOccluderLightMask(mask int64) { log.Println("Calling TileMap.SetOccluderLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_occluder_light_mask", goArguments, "") - + godotCallVoidInt(o, "set_occluder_light_mask", mask) log.Println(" Function successfully completed.") } @@ -100204,14 +65136,7 @@ func (o *TileMap) SetOccluderLightMask(mask int64) { func (o *TileMap) SetQuadrantSize(size int64) { log.Println("Calling TileMap.SetQuadrantSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_quadrant_size", goArguments, "") - + godotCallVoidInt(o, "set_quadrant_size", size) log.Println(" Function successfully completed.") } @@ -100222,14 +65147,7 @@ func (o *TileMap) SetQuadrantSize(size int64) { func (o *TileMap) SetTileOrigin(origin int64) { log.Println("Calling TileMap.SetTileOrigin()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(origin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tile_origin", goArguments, "") - + godotCallVoidInt(o, "set_tile_origin", origin) log.Println(" Function successfully completed.") } @@ -100240,14 +65158,7 @@ func (o *TileMap) SetTileOrigin(origin int64) { func (o *TileMap) SetTileset(tileset *TileSet) { log.Println("Calling TileMap.SetTileset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(tileset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tileset", goArguments, "") - + godotCallVoidObject(o, "set_tileset", &tileset.Object) log.Println(" Function successfully completed.") } @@ -100258,14 +65169,7 @@ func (o *TileMap) SetTileset(tileset *TileSet) { func (o *TileMap) SetYSortMode(enable bool) { log.Println("Calling TileMap.SetYSortMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_y_sort_mode", goArguments, "") - + godotCallVoidBool(o, "set_y_sort_mode", enable) log.Println(" Function successfully completed.") } @@ -100276,14 +65180,7 @@ func (o *TileMap) SetYSortMode(enable bool) { func (o *TileMap) UpdateBitmaskArea(position *Vector2) { log.Println("Calling TileMap.UpdateBitmaskArea()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_bitmask_area", goArguments, "") - + godotCallVoidVector2(o, "update_bitmask_area", position) log.Println(" Function successfully completed.") } @@ -100294,15 +65191,7 @@ func (o *TileMap) UpdateBitmaskArea(position *Vector2) { func (o *TileMap) UpdateBitmaskRegion(start *Vector2, end *Vector2) { log.Println("Calling TileMap.UpdateBitmaskRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(start) - goArguments[1] = reflect.ValueOf(end) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_bitmask_region", goArguments, "") - + godotCallVoidVector2Vector2(o, "update_bitmask_region", start, end) log.Println(" Function successfully completed.") } @@ -100313,17 +65202,9 @@ func (o *TileMap) UpdateBitmaskRegion(start *Vector2, end *Vector2) { func (o *TileMap) WorldToMap(worldPosition *Vector2) *Vector2 { log.Println("Calling TileMap.WorldToMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(worldPosition) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "world_to_map", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Vector2(o, "world_to_map", worldPosition) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100352,20 +65233,9 @@ func (o *TileSet) baseClass() string { func (o *TileSet) X_ForwardSubtileSelection(autotileId int64, bitmask int64, tilemap *Object, tileLocation *Vector2) *Vector2 { log.Println("Calling TileSet.X_ForwardSubtileSelection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(autotileId) - goArguments[1] = reflect.ValueOf(bitmask) - goArguments[2] = reflect.ValueOf(tilemap) - goArguments[3] = reflect.ValueOf(tileLocation) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_forward_subtile_selection", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2IntIntObjectVector2(o, "_forward_subtile_selection", autotileId, bitmask, tilemap, tileLocation) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100376,18 +65246,9 @@ func (o *TileSet) X_ForwardSubtileSelection(autotileId int64, bitmask int64, til func (o *TileSet) X_IsTileBound(drawnId int64, neighborId int64) bool { log.Println("Calling TileSet.X_IsTileBound()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(drawnId) - goArguments[1] = reflect.ValueOf(neighborId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_is_tile_bound", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "_is_tile_bound", drawnId, neighborId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100398,17 +65259,9 @@ func (o *TileSet) X_IsTileBound(drawnId int64, neighborId int64) bool { func (o *TileSet) AutotileGetBitmaskMode(id int64) int64 { log.Println("Calling TileSet.AutotileGetBitmaskMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "autotile_get_bitmask_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "autotile_get_bitmask_mode", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100419,15 +65272,7 @@ func (o *TileSet) AutotileGetBitmaskMode(id int64) int64 { func (o *TileSet) AutotileSetBitmaskMode(id int64, mode int64) { log.Println("Calling TileSet.AutotileSetBitmaskMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "autotile_set_bitmask_mode", goArguments, "") - + godotCallVoidIntInt(o, "autotile_set_bitmask_mode", id, mode) log.Println(" Function successfully completed.") } @@ -100438,13 +65283,7 @@ func (o *TileSet) AutotileSetBitmaskMode(id int64, mode int64) { func (o *TileSet) Clear() { log.Println("Calling TileSet.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -100455,14 +65294,7 @@ func (o *TileSet) Clear() { func (o *TileSet) CreateTile(id int64) { log.Println("Calling TileSet.CreateTile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_tile", goArguments, "") - + godotCallVoidInt(o, "create_tile", id) log.Println(" Function successfully completed.") } @@ -100473,17 +65305,9 @@ func (o *TileSet) CreateTile(id int64) { func (o *TileSet) FindTileByName(name string) int64 { log.Println("Calling TileSet.FindTileByName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_tile_by_name", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "find_tile_by_name", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100494,16 +65318,9 @@ func (o *TileSet) FindTileByName(name string) int64 { func (o *TileSet) GetLastUnusedTileId() int64 { log.Println("Calling TileSet.GetLastUnusedTileId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_last_unused_tile_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_last_unused_tile_id") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100514,16 +65331,9 @@ func (o *TileSet) GetLastUnusedTileId() int64 { func (o *TileSet) GetTilesIds() *Array { log.Println("Calling TileSet.GetTilesIds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tiles_ids", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "get_tiles_ids") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100534,14 +65344,7 @@ func (o *TileSet) GetTilesIds() *Array { func (o *TileSet) RemoveTile(id int64) { log.Println("Calling TileSet.RemoveTile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_tile", goArguments, "") - + godotCallVoidInt(o, "remove_tile", id) log.Println(" Function successfully completed.") } @@ -100552,18 +65355,7 @@ func (o *TileSet) RemoveTile(id int64) { func (o *TileSet) TileAddShape(id int64, shape *Shape2D, shapeTransform *Transform2D, oneWay bool, autotileCoord *Vector2) { log.Println("Calling TileSet.TileAddShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(shapeTransform) - goArguments[3] = reflect.ValueOf(oneWay) - goArguments[4] = reflect.ValueOf(autotileCoord) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_add_shape", goArguments, "") - + godotCallVoidIntObjectTransform2DBoolVector2(o, "tile_add_shape", id, &shape.Object, shapeTransform, oneWay, autotileCoord) log.Println(" Function successfully completed.") } @@ -100574,18 +65366,12 @@ func (o *TileSet) TileAddShape(id int64, shape *Shape2D, shapeTransform *Transfo func (o *TileSet) TileGetLightOccluder(id int64) *OccluderPolygon2D { log.Println("Calling TileSet.TileGetLightOccluder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_light_occluder", goArguments, "*OccluderPolygon2D") - - returnValue := goRet.Interface().(*OccluderPolygon2D) - + returnValue := godotCallObjectInt(o, "tile_get_light_occluder", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret OccluderPolygon2D + ret.owner = returnValue.owner + return &ret } @@ -100595,18 +65381,12 @@ func (o *TileSet) TileGetLightOccluder(id int64) *OccluderPolygon2D { func (o *TileSet) TileGetMaterial(id int64) *ShaderMaterial { log.Println("Calling TileSet.TileGetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_material", goArguments, "*ShaderMaterial") - - returnValue := goRet.Interface().(*ShaderMaterial) - + returnValue := godotCallObjectInt(o, "tile_get_material", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ShaderMaterial + ret.owner = returnValue.owner + return &ret } @@ -100616,17 +65396,9 @@ func (o *TileSet) TileGetMaterial(id int64) *ShaderMaterial { func (o *TileSet) TileGetName(id int64) string { log.Println("Calling TileSet.TileGetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "tile_get_name", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100637,18 +65409,12 @@ func (o *TileSet) TileGetName(id int64) string { func (o *TileSet) TileGetNavigationPolygon(id int64) *NavigationPolygon { log.Println("Calling TileSet.TileGetNavigationPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_navigation_polygon", goArguments, "*NavigationPolygon") - - returnValue := goRet.Interface().(*NavigationPolygon) - + returnValue := godotCallObjectInt(o, "tile_get_navigation_polygon", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret NavigationPolygon + ret.owner = returnValue.owner + return &ret } @@ -100658,17 +65424,9 @@ func (o *TileSet) TileGetNavigationPolygon(id int64) *NavigationPolygon { func (o *TileSet) TileGetNavigationPolygonOffset(id int64) *Vector2 { log.Println("Calling TileSet.TileGetNavigationPolygonOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_navigation_polygon_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "tile_get_navigation_polygon_offset", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100679,18 +65437,12 @@ func (o *TileSet) TileGetNavigationPolygonOffset(id int64) *Vector2 { func (o *TileSet) TileGetNormalMap(id int64) *Texture { log.Println("Calling TileSet.TileGetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_normal_map", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "tile_get_normal_map", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -100700,17 +65452,9 @@ func (o *TileSet) TileGetNormalMap(id int64) *Texture { func (o *TileSet) TileGetOccluderOffset(id int64) *Vector2 { log.Println("Calling TileSet.TileGetOccluderOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_occluder_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "tile_get_occluder_offset", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100721,17 +65465,9 @@ func (o *TileSet) TileGetOccluderOffset(id int64) *Vector2 { func (o *TileSet) TileGetRegion(id int64) *Rect2 { log.Println("Calling TileSet.TileGetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_region", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2Int(o, "tile_get_region", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100742,19 +65478,12 @@ func (o *TileSet) TileGetRegion(id int64) *Rect2 { func (o *TileSet) TileGetShape(id int64, shapeId int64) *Shape2D { log.Println("Calling TileSet.TileGetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_shape", goArguments, "*Shape2D") - - returnValue := goRet.Interface().(*Shape2D) - + returnValue := godotCallObjectIntInt(o, "tile_get_shape", id, shapeId) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape2D + ret.owner = returnValue.owner + return &ret } @@ -100764,17 +65493,9 @@ func (o *TileSet) TileGetShape(id int64, shapeId int64) *Shape2D { func (o *TileSet) TileGetShapeCount(id int64) int64 { log.Println("Calling TileSet.TileGetShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "tile_get_shape_count", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100785,18 +65506,9 @@ func (o *TileSet) TileGetShapeCount(id int64) int64 { func (o *TileSet) TileGetShapeOneWay(id int64, shapeId int64) bool { log.Println("Calling TileSet.TileGetShapeOneWay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_shape_one_way", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "tile_get_shape_one_way", id, shapeId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100807,18 +65519,9 @@ func (o *TileSet) TileGetShapeOneWay(id int64, shapeId int64) bool { func (o *TileSet) TileGetShapeTransform(id int64, shapeId int64) *Transform2D { log.Println("Calling TileSet.TileGetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_shape_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2DIntInt(o, "tile_get_shape_transform", id, shapeId) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100829,17 +65532,9 @@ func (o *TileSet) TileGetShapeTransform(id int64, shapeId int64) *Transform2D { func (o *TileSet) TileGetShapes(id int64) *Array { log.Println("Calling TileSet.TileGetShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_shapes", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayInt(o, "tile_get_shapes", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100850,18 +65545,12 @@ func (o *TileSet) TileGetShapes(id int64) *Array { func (o *TileSet) TileGetTexture(id int64) *Texture { log.Println("Calling TileSet.TileGetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "tile_get_texture", id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -100871,17 +65560,9 @@ func (o *TileSet) TileGetTexture(id int64) *Texture { func (o *TileSet) TileGetTextureOffset(id int64) *Vector2 { log.Println("Calling TileSet.TileGetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tile_get_texture_offset", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2Int(o, "tile_get_texture_offset", id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -100892,15 +65573,7 @@ func (o *TileSet) TileGetTextureOffset(id int64) *Vector2 { func (o *TileSet) TileSetLightOccluder(id int64, lightOccluder *OccluderPolygon2D) { log.Println("Calling TileSet.TileSetLightOccluder()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(lightOccluder) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_light_occluder", goArguments, "") - + godotCallVoidIntObject(o, "tile_set_light_occluder", id, &lightOccluder.Object) log.Println(" Function successfully completed.") } @@ -100911,15 +65584,7 @@ func (o *TileSet) TileSetLightOccluder(id int64, lightOccluder *OccluderPolygon2 func (o *TileSet) TileSetMaterial(id int64, material *ShaderMaterial) { log.Println("Calling TileSet.TileSetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_material", goArguments, "") - + godotCallVoidIntObject(o, "tile_set_material", id, &material.Object) log.Println(" Function successfully completed.") } @@ -100930,15 +65595,7 @@ func (o *TileSet) TileSetMaterial(id int64, material *ShaderMaterial) { func (o *TileSet) TileSetName(id int64, name string) { log.Println("Calling TileSet.TileSetName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_name", goArguments, "") - + godotCallVoidIntString(o, "tile_set_name", id, name) log.Println(" Function successfully completed.") } @@ -100949,15 +65606,7 @@ func (o *TileSet) TileSetName(id int64, name string) { func (o *TileSet) TileSetNavigationPolygon(id int64, navigationPolygon *NavigationPolygon) { log.Println("Calling TileSet.TileSetNavigationPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(navigationPolygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_navigation_polygon", goArguments, "") - + godotCallVoidIntObject(o, "tile_set_navigation_polygon", id, &navigationPolygon.Object) log.Println(" Function successfully completed.") } @@ -100968,15 +65617,7 @@ func (o *TileSet) TileSetNavigationPolygon(id int64, navigationPolygon *Navigati func (o *TileSet) TileSetNavigationPolygonOffset(id int64, navigationPolygonOffset *Vector2) { log.Println("Calling TileSet.TileSetNavigationPolygonOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(navigationPolygonOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_navigation_polygon_offset", goArguments, "") - + godotCallVoidIntVector2(o, "tile_set_navigation_polygon_offset", id, navigationPolygonOffset) log.Println(" Function successfully completed.") } @@ -100987,15 +65628,7 @@ func (o *TileSet) TileSetNavigationPolygonOffset(id int64, navigationPolygonOffs func (o *TileSet) TileSetNormalMap(id int64, normalMap *Texture) { log.Println("Calling TileSet.TileSetNormalMap()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_normal_map", goArguments, "") - + godotCallVoidIntObject(o, "tile_set_normal_map", id, &normalMap.Object) log.Println(" Function successfully completed.") } @@ -101006,15 +65639,7 @@ func (o *TileSet) TileSetNormalMap(id int64, normalMap *Texture) { func (o *TileSet) TileSetOccluderOffset(id int64, occluderOffset *Vector2) { log.Println("Calling TileSet.TileSetOccluderOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(occluderOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_occluder_offset", goArguments, "") - + godotCallVoidIntVector2(o, "tile_set_occluder_offset", id, occluderOffset) log.Println(" Function successfully completed.") } @@ -101025,15 +65650,7 @@ func (o *TileSet) TileSetOccluderOffset(id int64, occluderOffset *Vector2) { func (o *TileSet) TileSetRegion(id int64, region *Rect2) { log.Println("Calling TileSet.TileSetRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(region) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_region", goArguments, "") - + godotCallVoidIntRect2(o, "tile_set_region", id, region) log.Println(" Function successfully completed.") } @@ -101044,16 +65661,7 @@ func (o *TileSet) TileSetRegion(id int64, region *Rect2) { func (o *TileSet) TileSetShape(id int64, shapeId int64, shape *Shape2D) { log.Println("Calling TileSet.TileSetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - goArguments[2] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_shape", goArguments, "") - + godotCallVoidIntIntObject(o, "tile_set_shape", id, shapeId, &shape.Object) log.Println(" Function successfully completed.") } @@ -101064,16 +65672,7 @@ func (o *TileSet) TileSetShape(id int64, shapeId int64, shape *Shape2D) { func (o *TileSet) TileSetShapeOneWay(id int64, shapeId int64, oneWay bool) { log.Println("Calling TileSet.TileSetShapeOneWay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - goArguments[2] = reflect.ValueOf(oneWay) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_shape_one_way", goArguments, "") - + godotCallVoidIntIntBool(o, "tile_set_shape_one_way", id, shapeId, oneWay) log.Println(" Function successfully completed.") } @@ -101084,16 +65683,7 @@ func (o *TileSet) TileSetShapeOneWay(id int64, shapeId int64, oneWay bool) { func (o *TileSet) TileSetShapeTransform(id int64, shapeId int64, shapeTransform *Transform2D) { log.Println("Calling TileSet.TileSetShapeTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapeId) - goArguments[2] = reflect.ValueOf(shapeTransform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_shape_transform", goArguments, "") - + godotCallVoidIntIntTransform2D(o, "tile_set_shape_transform", id, shapeId, shapeTransform) log.Println(" Function successfully completed.") } @@ -101104,15 +65694,7 @@ func (o *TileSet) TileSetShapeTransform(id int64, shapeId int64, shapeTransform func (o *TileSet) TileSetShapes(id int64, shapes *Array) { log.Println("Calling TileSet.TileSetShapes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(shapes) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_shapes", goArguments, "") - + godotCallVoidIntArray(o, "tile_set_shapes", id, shapes) log.Println(" Function successfully completed.") } @@ -101123,15 +65705,7 @@ func (o *TileSet) TileSetShapes(id int64, shapes *Array) { func (o *TileSet) TileSetTexture(id int64, texture *Texture) { log.Println("Calling TileSet.TileSetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_texture", goArguments, "") - + godotCallVoidIntObject(o, "tile_set_texture", id, &texture.Object) log.Println(" Function successfully completed.") } @@ -101142,15 +65716,7 @@ func (o *TileSet) TileSetTexture(id int64, texture *Texture) { func (o *TileSet) TileSetTextureOffset(id int64, textureOffset *Vector2) { log.Println("Calling TileSet.TileSetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(id) - goArguments[1] = reflect.ValueOf(textureOffset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "tile_set_texture_offset", goArguments, "") - + godotCallVoidIntVector2(o, "tile_set_texture_offset", id, textureOffset) log.Println(" Function successfully completed.") } @@ -101179,16 +65745,9 @@ func (o *Timer) baseClass() string { func (o *Timer) GetTimeLeft() float64 { log.Println("Calling Timer.GetTimeLeft()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_time_left", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_time_left") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101199,16 +65758,9 @@ func (o *Timer) GetTimeLeft() float64 { func (o *Timer) GetTimerProcessMode() int64 { log.Println("Calling Timer.GetTimerProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_timer_process_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_timer_process_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101219,16 +65771,9 @@ func (o *Timer) GetTimerProcessMode() int64 { func (o *Timer) GetWaitTime() float64 { log.Println("Calling Timer.GetWaitTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_wait_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_wait_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101239,16 +65784,9 @@ func (o *Timer) GetWaitTime() float64 { func (o *Timer) HasAutostart() bool { log.Println("Calling Timer.HasAutostart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_autostart", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_autostart") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101259,16 +65797,9 @@ func (o *Timer) HasAutostart() bool { func (o *Timer) IsOneShot() bool { log.Println("Calling Timer.IsOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_one_shot", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_one_shot") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101279,16 +65810,9 @@ func (o *Timer) IsOneShot() bool { func (o *Timer) IsPaused() bool { log.Println("Calling Timer.IsPaused()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_paused", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_paused") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101299,16 +65823,9 @@ func (o *Timer) IsPaused() bool { func (o *Timer) IsStopped() bool { log.Println("Calling Timer.IsStopped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_stopped", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_stopped") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101319,14 +65836,7 @@ func (o *Timer) IsStopped() bool { func (o *Timer) SetAutostart(enable bool) { log.Println("Calling Timer.SetAutostart()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autostart", goArguments, "") - + godotCallVoidBool(o, "set_autostart", enable) log.Println(" Function successfully completed.") } @@ -101337,14 +65847,7 @@ func (o *Timer) SetAutostart(enable bool) { func (o *Timer) SetOneShot(enable bool) { log.Println("Calling Timer.SetOneShot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_one_shot", goArguments, "") - + godotCallVoidBool(o, "set_one_shot", enable) log.Println(" Function successfully completed.") } @@ -101355,14 +65858,7 @@ func (o *Timer) SetOneShot(enable bool) { func (o *Timer) SetPaused(paused bool) { log.Println("Calling Timer.SetPaused()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(paused) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_paused", goArguments, "") - + godotCallVoidBool(o, "set_paused", paused) log.Println(" Function successfully completed.") } @@ -101373,14 +65869,7 @@ func (o *Timer) SetPaused(paused bool) { func (o *Timer) SetTimerProcessMode(mode int64) { log.Println("Calling Timer.SetTimerProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_timer_process_mode", goArguments, "") - + godotCallVoidInt(o, "set_timer_process_mode", mode) log.Println(" Function successfully completed.") } @@ -101391,14 +65880,7 @@ func (o *Timer) SetTimerProcessMode(mode int64) { func (o *Timer) SetWaitTime(timeSec float64) { log.Println("Calling Timer.SetWaitTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(timeSec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_wait_time", goArguments, "") - + godotCallVoidFloat(o, "set_wait_time", timeSec) log.Println(" Function successfully completed.") } @@ -101409,13 +65891,7 @@ func (o *Timer) SetWaitTime(timeSec float64) { func (o *Timer) Start() { log.Println("Calling Timer.Start()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "start", goArguments, "") - + godotCallVoid(o, "start") log.Println(" Function successfully completed.") } @@ -101426,13 +65902,7 @@ func (o *Timer) Start() { func (o *Timer) Stop() { log.Println("Calling Timer.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -101479,14 +65949,7 @@ func (o *TouchScreenButton) baseClass() string { func (o *TouchScreenButton) X_Input(arg0 *InputEvent) { log.Println("Calling TouchScreenButton.X_Input()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input", goArguments, "") - + godotCallVoidObject(o, "_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -101497,16 +65960,9 @@ func (o *TouchScreenButton) X_Input(arg0 *InputEvent) { func (o *TouchScreenButton) GetAction() string { log.Println("Calling TouchScreenButton.GetAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_action") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101517,17 +65973,12 @@ func (o *TouchScreenButton) GetAction() string { func (o *TouchScreenButton) GetBitmask() *BitMap { log.Println("Calling TouchScreenButton.GetBitmask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bitmask", goArguments, "*BitMap") - - returnValue := goRet.Interface().(*BitMap) - + returnValue := godotCallObject(o, "get_bitmask") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret BitMap + ret.owner = returnValue.owner + return &ret } @@ -101537,17 +65988,12 @@ func (o *TouchScreenButton) GetBitmask() *BitMap { func (o *TouchScreenButton) GetShape() *Shape2D { log.Println("Calling TouchScreenButton.GetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shape", goArguments, "*Shape2D") - - returnValue := goRet.Interface().(*Shape2D) - + returnValue := godotCallObject(o, "get_shape") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Shape2D + ret.owner = returnValue.owner + return &ret } @@ -101557,17 +66003,12 @@ func (o *TouchScreenButton) GetShape() *Shape2D { func (o *TouchScreenButton) GetTexture() *Texture { log.Println("Calling TouchScreenButton.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -101577,17 +66018,12 @@ func (o *TouchScreenButton) GetTexture() *Texture { func (o *TouchScreenButton) GetTexturePressed() *Texture { log.Println("Calling TouchScreenButton.GetTexturePressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture_pressed", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_texture_pressed") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -101597,16 +66033,9 @@ func (o *TouchScreenButton) GetTexturePressed() *Texture { func (o *TouchScreenButton) GetVisibilityMode() int64 { log.Println("Calling TouchScreenButton.GetVisibilityMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visibility_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_visibility_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101617,16 +66046,9 @@ func (o *TouchScreenButton) GetVisibilityMode() int64 { func (o *TouchScreenButton) IsPassbyPressEnabled() bool { log.Println("Calling TouchScreenButton.IsPassbyPressEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_passby_press_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_passby_press_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101637,16 +66059,9 @@ func (o *TouchScreenButton) IsPassbyPressEnabled() bool { func (o *TouchScreenButton) IsPressed() bool { log.Println("Calling TouchScreenButton.IsPressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_pressed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_pressed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101657,16 +66072,9 @@ func (o *TouchScreenButton) IsPressed() bool { func (o *TouchScreenButton) IsShapeCentered() bool { log.Println("Calling TouchScreenButton.IsShapeCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shape_centered", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_shape_centered") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101677,16 +66085,9 @@ func (o *TouchScreenButton) IsShapeCentered() bool { func (o *TouchScreenButton) IsShapeVisible() bool { log.Println("Calling TouchScreenButton.IsShapeVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_shape_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_shape_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101697,14 +66098,7 @@ func (o *TouchScreenButton) IsShapeVisible() bool { func (o *TouchScreenButton) SetAction(action string) { log.Println("Calling TouchScreenButton.SetAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(action) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_action", goArguments, "") - + godotCallVoidString(o, "set_action", action) log.Println(" Function successfully completed.") } @@ -101715,14 +66109,7 @@ func (o *TouchScreenButton) SetAction(action string) { func (o *TouchScreenButton) SetBitmask(bitmask *BitMap) { log.Println("Calling TouchScreenButton.SetBitmask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bitmask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bitmask", goArguments, "") - + godotCallVoidObject(o, "set_bitmask", &bitmask.Object) log.Println(" Function successfully completed.") } @@ -101733,14 +66120,7 @@ func (o *TouchScreenButton) SetBitmask(bitmask *BitMap) { func (o *TouchScreenButton) SetPassbyPress(enabled bool) { log.Println("Calling TouchScreenButton.SetPassbyPress()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_passby_press", goArguments, "") - + godotCallVoidBool(o, "set_passby_press", enabled) log.Println(" Function successfully completed.") } @@ -101751,14 +66131,7 @@ func (o *TouchScreenButton) SetPassbyPress(enabled bool) { func (o *TouchScreenButton) SetShape(shape *Shape2D) { log.Println("Calling TouchScreenButton.SetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape", goArguments, "") - + godotCallVoidObject(o, "set_shape", &shape.Object) log.Println(" Function successfully completed.") } @@ -101769,14 +66142,7 @@ func (o *TouchScreenButton) SetShape(shape *Shape2D) { func (o *TouchScreenButton) SetShapeCentered(bool bool) { log.Println("Calling TouchScreenButton.SetShapeCentered()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bool) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape_centered", goArguments, "") - + godotCallVoidBool(o, "set_shape_centered", bool) log.Println(" Function successfully completed.") } @@ -101787,14 +66153,7 @@ func (o *TouchScreenButton) SetShapeCentered(bool bool) { func (o *TouchScreenButton) SetShapeVisible(bool bool) { log.Println("Calling TouchScreenButton.SetShapeVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bool) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shape_visible", goArguments, "") - + godotCallVoidBool(o, "set_shape_visible", bool) log.Println(" Function successfully completed.") } @@ -101805,14 +66164,7 @@ func (o *TouchScreenButton) SetShapeVisible(bool bool) { func (o *TouchScreenButton) SetTexture(texture *Texture) { log.Println("Calling TouchScreenButton.SetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture", goArguments, "") - + godotCallVoidObject(o, "set_texture", &texture.Object) log.Println(" Function successfully completed.") } @@ -101823,14 +66175,7 @@ func (o *TouchScreenButton) SetTexture(texture *Texture) { func (o *TouchScreenButton) SetTexturePressed(texturePressed *Texture) { log.Println("Calling TouchScreenButton.SetTexturePressed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texturePressed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_texture_pressed", goArguments, "") - + godotCallVoidObject(o, "set_texture_pressed", &texturePressed.Object) log.Println(" Function successfully completed.") } @@ -101841,14 +66186,7 @@ func (o *TouchScreenButton) SetTexturePressed(texturePressed *Texture) { func (o *TouchScreenButton) SetVisibilityMode(mode int64) { log.Println("Calling TouchScreenButton.SetVisibilityMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_visibility_mode", goArguments, "") - + godotCallVoidInt(o, "set_visibility_mode", mode) log.Println(" Function successfully completed.") } @@ -101877,16 +66215,9 @@ func (o *Translation) baseClass() string { func (o *Translation) X_GetMessages() *PoolStringArray { log.Println("Calling Translation.X_GetMessages()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_messages", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "_get_messages") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101897,14 +66228,7 @@ func (o *Translation) X_GetMessages() *PoolStringArray { func (o *Translation) X_SetMessages(arg0 *PoolStringArray) { log.Println("Calling Translation.X_SetMessages()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_messages", goArguments, "") - + godotCallVoidPoolStringArray(o, "_set_messages", arg0) log.Println(" Function successfully completed.") } @@ -101915,15 +66239,7 @@ func (o *Translation) X_SetMessages(arg0 *PoolStringArray) { func (o *Translation) AddMessage(srcMessage string, xlatedMessage string) { log.Println("Calling Translation.AddMessage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(srcMessage) - goArguments[1] = reflect.ValueOf(xlatedMessage) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_message", goArguments, "") - + godotCallVoidStringString(o, "add_message", srcMessage, xlatedMessage) log.Println(" Function successfully completed.") } @@ -101934,14 +66250,7 @@ func (o *Translation) AddMessage(srcMessage string, xlatedMessage string) { func (o *Translation) EraseMessage(srcMessage string) { log.Println("Calling Translation.EraseMessage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(srcMessage) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase_message", goArguments, "") - + godotCallVoidString(o, "erase_message", srcMessage) log.Println(" Function successfully completed.") } @@ -101952,16 +66261,9 @@ func (o *Translation) EraseMessage(srcMessage string) { func (o *Translation) GetLocale() string { log.Println("Calling Translation.GetLocale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_locale", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_locale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101972,17 +66274,9 @@ func (o *Translation) GetLocale() string { func (o *Translation) GetMessage(srcMessage string) string { log.Println("Calling Translation.GetMessage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(srcMessage) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_message", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "get_message", srcMessage) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -101993,16 +66287,9 @@ func (o *Translation) GetMessage(srcMessage string) string { func (o *Translation) GetMessageCount() int64 { log.Println("Calling Translation.GetMessageCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_message_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_message_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102013,16 +66300,9 @@ func (o *Translation) GetMessageCount() int64 { func (o *Translation) GetMessageList() *PoolStringArray { log.Println("Calling Translation.GetMessageList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_message_list", goArguments, "*PoolStringArray") - - returnValue := goRet.Interface().(*PoolStringArray) - + returnValue := godotCallPoolStringArray(o, "get_message_list") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102033,14 +66313,7 @@ func (o *Translation) GetMessageList() *PoolStringArray { func (o *Translation) SetLocale(locale string) { log.Println("Calling Translation.SetLocale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(locale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_locale", goArguments, "") - + godotCallVoidString(o, "set_locale", locale) log.Println(" Function successfully completed.") } @@ -102054,7 +66327,9 @@ type TranslationImplementer interface { func newSingletonTranslationServer() *translationServer { obj := &translationServer{} - ptr := C.godot_global_get_singleton(C.CString("TranslationServer")) + name := C.CString("TranslationServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -102081,14 +66356,7 @@ func (o *translationServer) baseClass() string { func (o *translationServer) AddTranslation(translation *Translation) { log.Println("Calling TranslationServer.AddTranslation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(translation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_translation", goArguments, "") - + godotCallVoidObject(o, "add_translation", &translation.Object) log.Println(" Function successfully completed.") } @@ -102099,13 +66367,7 @@ func (o *translationServer) AddTranslation(translation *Translation) { func (o *translationServer) Clear() { log.Println("Calling TranslationServer.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -102116,16 +66378,9 @@ func (o *translationServer) Clear() { func (o *translationServer) GetLocale() string { log.Println("Calling TranslationServer.GetLocale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_locale", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_locale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102136,17 +66391,9 @@ func (o *translationServer) GetLocale() string { func (o *translationServer) GetLocaleName(locale string) string { log.Println("Calling TranslationServer.GetLocaleName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(locale) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_locale_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "get_locale_name", locale) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102157,14 +66404,7 @@ func (o *translationServer) GetLocaleName(locale string) string { func (o *translationServer) RemoveTranslation(translation *Translation) { log.Println("Calling TranslationServer.RemoveTranslation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(translation) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_translation", goArguments, "") - + godotCallVoidObject(o, "remove_translation", &translation.Object) log.Println(" Function successfully completed.") } @@ -102175,14 +66415,7 @@ func (o *translationServer) RemoveTranslation(translation *Translation) { func (o *translationServer) SetLocale(locale string) { log.Println("Calling TranslationServer.SetLocale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(locale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_locale", goArguments, "") - + godotCallVoidString(o, "set_locale", locale) log.Println(" Function successfully completed.") } @@ -102193,17 +66426,9 @@ func (o *translationServer) SetLocale(locale string) { func (o *translationServer) Translate(message string) string { log.Println("Calling TranslationServer.Translate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(message) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "translate", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "translate", message) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102225,14 +66450,7 @@ func (o *Tree) baseClass() string { func (o *Tree) X_GuiInput(arg0 *InputEvent) { log.Println("Calling Tree.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -102243,14 +66461,7 @@ func (o *Tree) X_GuiInput(arg0 *InputEvent) { func (o *Tree) X_PopupSelect(arg0 int64) { log.Println("Calling Tree.X_PopupSelect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_popup_select", goArguments, "") - + godotCallVoidInt(o, "_popup_select", arg0) log.Println(" Function successfully completed.") } @@ -102261,13 +66472,7 @@ func (o *Tree) X_PopupSelect(arg0 int64) { func (o *Tree) X_RangeClickTimeout() { log.Println("Calling Tree.X_RangeClickTimeout()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_range_click_timeout", goArguments, "") - + godotCallVoid(o, "_range_click_timeout") log.Println(" Function successfully completed.") } @@ -102278,14 +66483,7 @@ func (o *Tree) X_RangeClickTimeout() { func (o *Tree) X_ScrollMoved(arg0 float64) { log.Println("Calling Tree.X_ScrollMoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_scroll_moved", goArguments, "") - + godotCallVoidFloat(o, "_scroll_moved", arg0) log.Println(" Function successfully completed.") } @@ -102296,14 +66494,7 @@ func (o *Tree) X_ScrollMoved(arg0 float64) { func (o *Tree) X_TextEditorEnter(arg0 string) { log.Println("Calling Tree.X_TextEditorEnter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_text_editor_enter", goArguments, "") - + godotCallVoidString(o, "_text_editor_enter", arg0) log.Println(" Function successfully completed.") } @@ -102314,13 +66505,7 @@ func (o *Tree) X_TextEditorEnter(arg0 string) { func (o *Tree) X_TextEditorModalClose() { log.Println("Calling Tree.X_TextEditorModalClose()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_text_editor_modal_close", goArguments, "") - + godotCallVoid(o, "_text_editor_modal_close") log.Println(" Function successfully completed.") } @@ -102331,14 +66516,7 @@ func (o *Tree) X_TextEditorModalClose() { func (o *Tree) X_ValueEditorChanged(arg0 float64) { log.Println("Calling Tree.X_ValueEditorChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_value_editor_changed", goArguments, "") - + godotCallVoidFloat(o, "_value_editor_changed", arg0) log.Println(" Function successfully completed.") } @@ -102349,16 +66527,9 @@ func (o *Tree) X_ValueEditorChanged(arg0 float64) { func (o *Tree) AreColumnTitlesVisible() bool { log.Println("Calling Tree.AreColumnTitlesVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "are_column_titles_visible", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "are_column_titles_visible") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102369,13 +66540,7 @@ func (o *Tree) AreColumnTitlesVisible() bool { func (o *Tree) Clear() { log.Println("Calling Tree.Clear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear", goArguments, "") - + godotCallVoid(o, "clear") log.Println(" Function successfully completed.") } @@ -102386,19 +66551,12 @@ func (o *Tree) Clear() { func (o *Tree) CreateItem(parent *Object, idx int64) *Object { log.Println("Calling Tree.CreateItem()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(parent) - goArguments[1] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "create_item", goArguments, "*Object") - - returnValue := goRet.Interface().(*Object) - + returnValue := godotCallObjectObjectInt(o, "create_item", parent, idx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Object + ret.owner = returnValue.owner + return &ret } @@ -102408,13 +66566,7 @@ func (o *Tree) CreateItem(parent *Object, idx int64) *Object { func (o *Tree) EnsureCursorIsVisible() { log.Println("Calling Tree.EnsureCursorIsVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "ensure_cursor_is_visible", goArguments, "") - + godotCallVoid(o, "ensure_cursor_is_visible") log.Println(" Function successfully completed.") } @@ -102425,16 +66577,9 @@ func (o *Tree) EnsureCursorIsVisible() { func (o *Tree) GetAllowReselect() bool { log.Println("Calling Tree.GetAllowReselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_allow_reselect", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_allow_reselect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102445,16 +66590,9 @@ func (o *Tree) GetAllowReselect() bool { func (o *Tree) GetAllowRmbSelect() bool { log.Println("Calling Tree.GetAllowRmbSelect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_allow_rmb_select", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_allow_rmb_select") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102465,17 +66603,9 @@ func (o *Tree) GetAllowRmbSelect() bool { func (o *Tree) GetColumnAtPosition(position *Vector2) int64 { log.Println("Calling Tree.GetColumnAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_column_at_position", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2(o, "get_column_at_position", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102486,17 +66616,9 @@ func (o *Tree) GetColumnAtPosition(position *Vector2) int64 { func (o *Tree) GetColumnTitle(column int64) string { log.Println("Calling Tree.GetColumnTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_column_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_column_title", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102507,17 +66629,9 @@ func (o *Tree) GetColumnTitle(column int64) string { func (o *Tree) GetColumnWidth(column int64) int64 { log.Println("Calling Tree.GetColumnWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_column_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_column_width", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102528,16 +66642,9 @@ func (o *Tree) GetColumnWidth(column int64) int64 { func (o *Tree) GetColumns() int64 { log.Println("Calling Tree.GetColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_columns", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_columns") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102548,16 +66655,9 @@ func (o *Tree) GetColumns() int64 { func (o *Tree) GetCustomPopupRect() *Rect2 { log.Println("Calling Tree.GetCustomPopupRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_popup_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_custom_popup_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102568,16 +66668,9 @@ func (o *Tree) GetCustomPopupRect() *Rect2 { func (o *Tree) GetDropModeFlags() int64 { log.Println("Calling Tree.GetDropModeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drop_mode_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_drop_mode_flags") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102588,17 +66681,9 @@ func (o *Tree) GetDropModeFlags() int64 { func (o *Tree) GetDropSectionAtPosition(position *Vector2) int64 { log.Println("Calling Tree.GetDropSectionAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_drop_section_at_position", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntVector2(o, "get_drop_section_at_position", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102609,17 +66694,12 @@ func (o *Tree) GetDropSectionAtPosition(position *Vector2) int64 { func (o *Tree) GetEdited() *TreeItem { log.Println("Calling Tree.GetEdited()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edited", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_edited") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -102629,16 +66709,9 @@ func (o *Tree) GetEdited() *TreeItem { func (o *Tree) GetEditedColumn() int64 { log.Println("Calling Tree.GetEditedColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_edited_column", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_edited_column") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102649,18 +66722,9 @@ func (o *Tree) GetEditedColumn() int64 { func (o *Tree) GetItemAreaRect(item *Object, column int64) *Rect2 { log.Println("Calling Tree.GetItemAreaRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_area_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2ObjectInt(o, "get_item_area_rect", item, column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102671,18 +66735,12 @@ func (o *Tree) GetItemAreaRect(item *Object, column int64) *Rect2 { func (o *Tree) GetItemAtPosition(position *Vector2) *TreeItem { log.Println("Calling Tree.GetItemAtPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_item_at_position", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObjectVector2(o, "get_item_at_position", position) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -102692,18 +66750,12 @@ func (o *Tree) GetItemAtPosition(position *Vector2) *TreeItem { func (o *Tree) GetNextSelected(from *Object) *TreeItem { log.Println("Calling Tree.GetNextSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(from) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_next_selected", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObjectObject(o, "get_next_selected", from) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -102713,16 +66765,9 @@ func (o *Tree) GetNextSelected(from *Object) *TreeItem { func (o *Tree) GetPressedButton() int64 { log.Println("Calling Tree.GetPressedButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_pressed_button", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_pressed_button") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102733,17 +66778,12 @@ func (o *Tree) GetPressedButton() int64 { func (o *Tree) GetRoot() *TreeItem { log.Println("Calling Tree.GetRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_root", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_root") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -102753,16 +66793,9 @@ func (o *Tree) GetRoot() *TreeItem { func (o *Tree) GetScroll() *Vector2 { log.Println("Calling Tree.GetScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scroll", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_scroll") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102773,16 +66806,9 @@ func (o *Tree) GetScroll() *Vector2 { func (o *Tree) GetSelectMode() int64 { log.Println("Calling Tree.GetSelectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_select_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_select_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102793,17 +66819,12 @@ func (o *Tree) GetSelectMode() int64 { func (o *Tree) GetSelected() *TreeItem { log.Println("Calling Tree.GetSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_selected") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -102813,16 +66834,9 @@ func (o *Tree) GetSelected() *TreeItem { func (o *Tree) GetSelectedColumn() int64 { log.Println("Calling Tree.GetSelectedColumn()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_selected_column", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_selected_column") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102833,16 +66847,9 @@ func (o *Tree) GetSelectedColumn() int64 { func (o *Tree) IsFoldingHidden() bool { log.Println("Calling Tree.IsFoldingHidden()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_folding_hidden", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_folding_hidden") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102853,16 +66860,9 @@ func (o *Tree) IsFoldingHidden() bool { func (o *Tree) IsRootHidden() bool { log.Println("Calling Tree.IsRootHidden()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_root_hidden", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_root_hidden") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -102873,14 +66873,7 @@ func (o *Tree) IsRootHidden() bool { func (o *Tree) SetAllowReselect(allow bool) { log.Println("Calling Tree.SetAllowReselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(allow) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_allow_reselect", goArguments, "") - + godotCallVoidBool(o, "set_allow_reselect", allow) log.Println(" Function successfully completed.") } @@ -102891,14 +66884,7 @@ func (o *Tree) SetAllowReselect(allow bool) { func (o *Tree) SetAllowRmbSelect(allow bool) { log.Println("Calling Tree.SetAllowRmbSelect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(allow) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_allow_rmb_select", goArguments, "") - + godotCallVoidBool(o, "set_allow_rmb_select", allow) log.Println(" Function successfully completed.") } @@ -102909,15 +66895,7 @@ func (o *Tree) SetAllowRmbSelect(allow bool) { func (o *Tree) SetColumnExpand(column int64, expand bool) { log.Println("Calling Tree.SetColumnExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(expand) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_column_expand", goArguments, "") - + godotCallVoidIntBool(o, "set_column_expand", column, expand) log.Println(" Function successfully completed.") } @@ -102928,15 +66906,7 @@ func (o *Tree) SetColumnExpand(column int64, expand bool) { func (o *Tree) SetColumnMinWidth(column int64, minWidth int64) { log.Println("Calling Tree.SetColumnMinWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(minWidth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_column_min_width", goArguments, "") - + godotCallVoidIntInt(o, "set_column_min_width", column, minWidth) log.Println(" Function successfully completed.") } @@ -102947,15 +66917,7 @@ func (o *Tree) SetColumnMinWidth(column int64, minWidth int64) { func (o *Tree) SetColumnTitle(column int64, title string) { log.Println("Calling Tree.SetColumnTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_column_title", goArguments, "") - + godotCallVoidIntString(o, "set_column_title", column, title) log.Println(" Function successfully completed.") } @@ -102966,14 +66928,7 @@ func (o *Tree) SetColumnTitle(column int64, title string) { func (o *Tree) SetColumnTitlesVisible(visible bool) { log.Println("Calling Tree.SetColumnTitlesVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_column_titles_visible", goArguments, "") - + godotCallVoidBool(o, "set_column_titles_visible", visible) log.Println(" Function successfully completed.") } @@ -102984,14 +66939,7 @@ func (o *Tree) SetColumnTitlesVisible(visible bool) { func (o *Tree) SetColumns(amount int64) { log.Println("Calling Tree.SetColumns()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_columns", goArguments, "") - + godotCallVoidInt(o, "set_columns", amount) log.Println(" Function successfully completed.") } @@ -103002,14 +66950,7 @@ func (o *Tree) SetColumns(amount int64) { func (o *Tree) SetDropModeFlags(flags int64) { log.Println("Calling Tree.SetDropModeFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_drop_mode_flags", goArguments, "") - + godotCallVoidInt(o, "set_drop_mode_flags", flags) log.Println(" Function successfully completed.") } @@ -103020,14 +66961,7 @@ func (o *Tree) SetDropModeFlags(flags int64) { func (o *Tree) SetHideFolding(hide bool) { log.Println("Calling Tree.SetHideFolding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(hide) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_folding", goArguments, "") - + godotCallVoidBool(o, "set_hide_folding", hide) log.Println(" Function successfully completed.") } @@ -103038,14 +66972,7 @@ func (o *Tree) SetHideFolding(hide bool) { func (o *Tree) SetHideRoot(enable bool) { log.Println("Calling Tree.SetHideRoot()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hide_root", goArguments, "") - + godotCallVoidBool(o, "set_hide_root", enable) log.Println(" Function successfully completed.") } @@ -103056,14 +66983,7 @@ func (o *Tree) SetHideRoot(enable bool) { func (o *Tree) SetSelectMode(mode int64) { log.Println("Calling Tree.SetSelectMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_select_mode", goArguments, "") - + godotCallVoidInt(o, "set_select_mode", mode) log.Println(" Function successfully completed.") } @@ -103092,18 +67012,7 @@ func (o *TreeItem) baseClass() string { func (o *TreeItem) AddButton(column int64, button *Texture, buttonIdx int64, disabled bool, tooltip string) { log.Println("Calling TreeItem.AddButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(button) - goArguments[2] = reflect.ValueOf(buttonIdx) - goArguments[3] = reflect.ValueOf(disabled) - goArguments[4] = reflect.ValueOf(tooltip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_button", goArguments, "") - + godotCallVoidIntObjectIntBoolString(o, "add_button", column, &button.Object, buttonIdx, disabled, tooltip) log.Println(" Function successfully completed.") } @@ -103114,14 +67023,7 @@ func (o *TreeItem) AddButton(column int64, button *Texture, buttonIdx int64, dis func (o *TreeItem) ClearCustomBgColor(column int64) { log.Println("Calling TreeItem.ClearCustomBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_custom_bg_color", goArguments, "") - + godotCallVoidInt(o, "clear_custom_bg_color", column) log.Println(" Function successfully completed.") } @@ -103132,14 +67034,7 @@ func (o *TreeItem) ClearCustomBgColor(column int64) { func (o *TreeItem) ClearCustomColor(column int64) { log.Println("Calling TreeItem.ClearCustomColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_custom_color", goArguments, "") - + godotCallVoidInt(o, "clear_custom_color", column) log.Println(" Function successfully completed.") } @@ -103150,14 +67045,7 @@ func (o *TreeItem) ClearCustomColor(column int64) { func (o *TreeItem) Deselect(column int64) { log.Println("Calling TreeItem.Deselect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "deselect", goArguments, "") - + godotCallVoidInt(o, "deselect", column) log.Println(" Function successfully completed.") } @@ -103168,15 +67056,7 @@ func (o *TreeItem) Deselect(column int64) { func (o *TreeItem) EraseButton(column int64, buttonIdx int64) { log.Println("Calling TreeItem.EraseButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(buttonIdx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "erase_button", goArguments, "") - + godotCallVoidIntInt(o, "erase_button", column, buttonIdx) log.Println(" Function successfully completed.") } @@ -103187,19 +67067,12 @@ func (o *TreeItem) EraseButton(column int64, buttonIdx int64) { func (o *TreeItem) GetButton(column int64, buttonIdx int64) *Texture { log.Println("Calling TreeItem.GetButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(buttonIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectIntInt(o, "get_button", column, buttonIdx) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -103209,17 +67082,9 @@ func (o *TreeItem) GetButton(column int64, buttonIdx int64) *Texture { func (o *TreeItem) GetButtonCount(column int64) int64 { log.Println("Calling TreeItem.GetButtonCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_button_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_button_count", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103230,17 +67095,9 @@ func (o *TreeItem) GetButtonCount(column int64) int64 { func (o *TreeItem) GetCellMode(column int64) int64 { log.Println("Calling TreeItem.GetCellMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_cell_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_cell_mode", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103251,17 +67108,12 @@ func (o *TreeItem) GetCellMode(column int64) int64 { func (o *TreeItem) GetChildren() *TreeItem { log.Println("Calling TreeItem.GetChildren()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_children", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_children") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103271,17 +67123,9 @@ func (o *TreeItem) GetChildren() *TreeItem { func (o *TreeItem) GetCustomBgColor(column int64) *Color { log.Println("Calling TreeItem.GetCustomBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_bg_color", goArguments, "*Color") - - returnValue := goRet.Interface().(*Color) - + returnValue := godotCallColorInt(o, "get_custom_bg_color", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103292,16 +67136,9 @@ func (o *TreeItem) GetCustomBgColor(column int64) *Color { func (o *TreeItem) GetCustomMinimumHeight() int64 { log.Println("Calling TreeItem.GetCustomMinimumHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_custom_minimum_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_custom_minimum_height") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103312,17 +67149,9 @@ func (o *TreeItem) GetCustomMinimumHeight() int64 { func (o *TreeItem) GetExpandRight(column int64) bool { log.Println("Calling TreeItem.GetExpandRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_expand_right", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "get_expand_right", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103333,18 +67162,12 @@ func (o *TreeItem) GetExpandRight(column int64) bool { func (o *TreeItem) GetIcon(column int64) *Texture { log.Println("Calling TreeItem.GetIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObjectInt(o, "get_icon", column) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -103354,17 +67177,9 @@ func (o *TreeItem) GetIcon(column int64) *Texture { func (o *TreeItem) GetIconMaxWidth(column int64) int64 { log.Println("Calling TreeItem.GetIconMaxWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon_max_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_icon_max_width", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103375,17 +67190,9 @@ func (o *TreeItem) GetIconMaxWidth(column int64) int64 { func (o *TreeItem) GetIconRegion(column int64) *Rect2 { log.Println("Calling TreeItem.GetIconRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_icon_region", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2Int(o, "get_icon_region", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103396,17 +67203,9 @@ func (o *TreeItem) GetIconRegion(column int64) *Rect2 { func (o *TreeItem) GetMetadata(column int64) *Variant { log.Println("Calling TreeItem.GetMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_metadata", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_metadata", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103417,17 +67216,12 @@ func (o *TreeItem) GetMetadata(column int64) *Variant { func (o *TreeItem) GetNext() *TreeItem { log.Println("Calling TreeItem.GetNext()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_next", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_next") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103437,17 +67231,12 @@ func (o *TreeItem) GetNext() *TreeItem { func (o *TreeItem) GetNextVisible() *TreeItem { log.Println("Calling TreeItem.GetNextVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_next_visible", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_next_visible") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103457,17 +67246,12 @@ func (o *TreeItem) GetNextVisible() *TreeItem { func (o *TreeItem) GetParent() *TreeItem { log.Println("Calling TreeItem.GetParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_parent", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_parent") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103477,17 +67261,12 @@ func (o *TreeItem) GetParent() *TreeItem { func (o *TreeItem) GetPrev() *TreeItem { log.Println("Calling TreeItem.GetPrev()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_prev", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_prev") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103497,17 +67276,12 @@ func (o *TreeItem) GetPrev() *TreeItem { func (o *TreeItem) GetPrevVisible() *TreeItem { log.Println("Calling TreeItem.GetPrevVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_prev_visible", goArguments, "*TreeItem") - - returnValue := goRet.Interface().(*TreeItem) - + returnValue := godotCallObject(o, "get_prev_visible") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TreeItem + ret.owner = returnValue.owner + return &ret } @@ -103517,17 +67291,9 @@ func (o *TreeItem) GetPrevVisible() *TreeItem { func (o *TreeItem) GetRange(column int64) float64 { log.Println("Calling TreeItem.GetRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_range", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloatInt(o, "get_range", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103538,17 +67304,9 @@ func (o *TreeItem) GetRange(column int64) float64 { func (o *TreeItem) GetRangeConfig(column int64) *Dictionary { log.Println("Calling TreeItem.GetRangeConfig()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_range_config", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryInt(o, "get_range_config", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103559,17 +67317,9 @@ func (o *TreeItem) GetRangeConfig(column int64) *Dictionary { func (o *TreeItem) GetText(column int64) string { log.Println("Calling TreeItem.GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_text", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103580,17 +67330,9 @@ func (o *TreeItem) GetText(column int64) string { func (o *TreeItem) GetTextAlign(column int64) int64 { log.Println("Calling TreeItem.GetTextAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_text_align", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_text_align", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103601,17 +67343,9 @@ func (o *TreeItem) GetTextAlign(column int64) int64 { func (o *TreeItem) GetTooltip(column int64) string { log.Println("Calling TreeItem.GetTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tooltip", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_tooltip", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103622,18 +67356,9 @@ func (o *TreeItem) GetTooltip(column int64) string { func (o *TreeItem) IsButtonDisabled(column int64, buttonIdx int64) bool { log.Println("Calling TreeItem.IsButtonDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(buttonIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_button_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolIntInt(o, "is_button_disabled", column, buttonIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103644,17 +67369,9 @@ func (o *TreeItem) IsButtonDisabled(column int64, buttonIdx int64) bool { func (o *TreeItem) IsChecked(column int64) bool { log.Println("Calling TreeItem.IsChecked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_checked", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_checked", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103665,16 +67382,9 @@ func (o *TreeItem) IsChecked(column int64) bool { func (o *TreeItem) IsCollapsed() bool { log.Println("Calling TreeItem.IsCollapsed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_collapsed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_collapsed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103685,17 +67395,9 @@ func (o *TreeItem) IsCollapsed() bool { func (o *TreeItem) IsCustomSetAsButton(column int64) bool { log.Println("Calling TreeItem.IsCustomSetAsButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_custom_set_as_button", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_custom_set_as_button", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103706,17 +67408,9 @@ func (o *TreeItem) IsCustomSetAsButton(column int64) bool { func (o *TreeItem) IsEditable(column int64) bool { log.Println("Calling TreeItem.IsEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_editable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_editable", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103727,16 +67421,9 @@ func (o *TreeItem) IsEditable(column int64) bool { func (o *TreeItem) IsFoldingDisabled() bool { log.Println("Calling TreeItem.IsFoldingDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_folding_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_folding_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103747,17 +67434,9 @@ func (o *TreeItem) IsFoldingDisabled() bool { func (o *TreeItem) IsSelectable(column int64) bool { log.Println("Calling TreeItem.IsSelectable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selectable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_selectable", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103768,17 +67447,9 @@ func (o *TreeItem) IsSelectable(column int64) bool { func (o *TreeItem) IsSelected(column int64) bool { log.Println("Calling TreeItem.IsSelected()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_selected", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_selected", column) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -103789,13 +67460,7 @@ func (o *TreeItem) IsSelected(column int64) bool { func (o *TreeItem) MoveToBottom() { log.Println("Calling TreeItem.MoveToBottom()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_to_bottom", goArguments, "") - + godotCallVoid(o, "move_to_bottom") log.Println(" Function successfully completed.") } @@ -103806,13 +67471,7 @@ func (o *TreeItem) MoveToBottom() { func (o *TreeItem) MoveToTop() { log.Println("Calling TreeItem.MoveToTop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "move_to_top", goArguments, "") - + godotCallVoid(o, "move_to_top") log.Println(" Function successfully completed.") } @@ -103823,14 +67482,7 @@ func (o *TreeItem) MoveToTop() { func (o *TreeItem) RemoveChild(child *Object) { log.Println("Calling TreeItem.RemoveChild()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(child) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_child", goArguments, "") - + godotCallVoidObject(o, "remove_child", child) log.Println(" Function successfully completed.") } @@ -103841,14 +67493,7 @@ func (o *TreeItem) RemoveChild(child *Object) { func (o *TreeItem) Select(column int64) { log.Println("Calling TreeItem.Select()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(column) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "select", goArguments, "") - + godotCallVoidInt(o, "select", column) log.Println(" Function successfully completed.") } @@ -103859,16 +67504,7 @@ func (o *TreeItem) Select(column int64) { func (o *TreeItem) SetButton(column int64, buttonIdx int64, button *Texture) { log.Println("Calling TreeItem.SetButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(buttonIdx) - goArguments[2] = reflect.ValueOf(button) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_button", goArguments, "") - + godotCallVoidIntIntObject(o, "set_button", column, buttonIdx, &button.Object) log.Println(" Function successfully completed.") } @@ -103879,15 +67515,7 @@ func (o *TreeItem) SetButton(column int64, buttonIdx int64, button *Texture) { func (o *TreeItem) SetCellMode(column int64, mode int64) { log.Println("Calling TreeItem.SetCellMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_cell_mode", goArguments, "") - + godotCallVoidIntInt(o, "set_cell_mode", column, mode) log.Println(" Function successfully completed.") } @@ -103898,15 +67526,7 @@ func (o *TreeItem) SetCellMode(column int64, mode int64) { func (o *TreeItem) SetChecked(column int64, checked bool) { log.Println("Calling TreeItem.SetChecked()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(checked) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_checked", goArguments, "") - + godotCallVoidIntBool(o, "set_checked", column, checked) log.Println(" Function successfully completed.") } @@ -103917,14 +67537,7 @@ func (o *TreeItem) SetChecked(column int64, checked bool) { func (o *TreeItem) SetCollapsed(enable bool) { log.Println("Calling TreeItem.SetCollapsed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_collapsed", goArguments, "") - + godotCallVoidBool(o, "set_collapsed", enable) log.Println(" Function successfully completed.") } @@ -103935,15 +67548,7 @@ func (o *TreeItem) SetCollapsed(enable bool) { func (o *TreeItem) SetCustomAsButton(column int64, enable bool) { log.Println("Calling TreeItem.SetCustomAsButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_as_button", goArguments, "") - + godotCallVoidIntBool(o, "set_custom_as_button", column, enable) log.Println(" Function successfully completed.") } @@ -103954,16 +67559,7 @@ func (o *TreeItem) SetCustomAsButton(column int64, enable bool) { func (o *TreeItem) SetCustomBgColor(column int64, color *Color, justOutline bool) { log.Println("Calling TreeItem.SetCustomBgColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(justOutline) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_bg_color", goArguments, "") - + godotCallVoidIntColorBool(o, "set_custom_bg_color", column, color, justOutline) log.Println(" Function successfully completed.") } @@ -103974,15 +67570,7 @@ func (o *TreeItem) SetCustomBgColor(column int64, color *Color, justOutline bool func (o *TreeItem) SetCustomColor(column int64, color *Color) { log.Println("Calling TreeItem.SetCustomColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_color", goArguments, "") - + godotCallVoidIntColor(o, "set_custom_color", column, color) log.Println(" Function successfully completed.") } @@ -103993,16 +67581,7 @@ func (o *TreeItem) SetCustomColor(column int64, color *Color) { func (o *TreeItem) SetCustomDraw(column int64, object *Object, callback string) { log.Println("Calling TreeItem.SetCustomDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(object) - goArguments[2] = reflect.ValueOf(callback) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_draw", goArguments, "") - + godotCallVoidIntObjectString(o, "set_custom_draw", column, object, callback) log.Println(" Function successfully completed.") } @@ -104013,14 +67592,7 @@ func (o *TreeItem) SetCustomDraw(column int64, object *Object, callback string) func (o *TreeItem) SetCustomMinimumHeight(height int64) { log.Println("Calling TreeItem.SetCustomMinimumHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_custom_minimum_height", goArguments, "") - + godotCallVoidInt(o, "set_custom_minimum_height", height) log.Println(" Function successfully completed.") } @@ -104031,14 +67603,7 @@ func (o *TreeItem) SetCustomMinimumHeight(height int64) { func (o *TreeItem) SetDisableFolding(disable bool) { log.Println("Calling TreeItem.SetDisableFolding()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disable_folding", goArguments, "") - + godotCallVoidBool(o, "set_disable_folding", disable) log.Println(" Function successfully completed.") } @@ -104049,15 +67614,7 @@ func (o *TreeItem) SetDisableFolding(disable bool) { func (o *TreeItem) SetEditable(column int64, enabled bool) { log.Println("Calling TreeItem.SetEditable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_editable", goArguments, "") - + godotCallVoidIntBool(o, "set_editable", column, enabled) log.Println(" Function successfully completed.") } @@ -104068,15 +67625,7 @@ func (o *TreeItem) SetEditable(column int64, enabled bool) { func (o *TreeItem) SetExpandRight(column int64, enable bool) { log.Println("Calling TreeItem.SetExpandRight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand_right", goArguments, "") - + godotCallVoidIntBool(o, "set_expand_right", column, enable) log.Println(" Function successfully completed.") } @@ -104087,15 +67636,7 @@ func (o *TreeItem) SetExpandRight(column int64, enable bool) { func (o *TreeItem) SetIcon(column int64, texture *Texture) { log.Println("Calling TreeItem.SetIcon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon", goArguments, "") - + godotCallVoidIntObject(o, "set_icon", column, &texture.Object) log.Println(" Function successfully completed.") } @@ -104106,15 +67647,7 @@ func (o *TreeItem) SetIcon(column int64, texture *Texture) { func (o *TreeItem) SetIconMaxWidth(column int64, width int64) { log.Println("Calling TreeItem.SetIconMaxWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon_max_width", goArguments, "") - + godotCallVoidIntInt(o, "set_icon_max_width", column, width) log.Println(" Function successfully completed.") } @@ -104125,15 +67658,7 @@ func (o *TreeItem) SetIconMaxWidth(column int64, width int64) { func (o *TreeItem) SetIconRegion(column int64, region *Rect2) { log.Println("Calling TreeItem.SetIconRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(region) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_icon_region", goArguments, "") - + godotCallVoidIntRect2(o, "set_icon_region", column, region) log.Println(" Function successfully completed.") } @@ -104144,15 +67669,7 @@ func (o *TreeItem) SetIconRegion(column int64, region *Rect2) { func (o *TreeItem) SetMetadata(column int64, meta *Variant) { log.Println("Calling TreeItem.SetMetadata()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(meta) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_metadata", goArguments, "") - + godotCallVoidIntVariant(o, "set_metadata", column, meta) log.Println(" Function successfully completed.") } @@ -104163,15 +67680,7 @@ func (o *TreeItem) SetMetadata(column int64, meta *Variant) { func (o *TreeItem) SetRange(column int64, value float64) { log.Println("Calling TreeItem.SetRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_range", goArguments, "") - + godotCallVoidIntFloat(o, "set_range", column, value) log.Println(" Function successfully completed.") } @@ -104182,18 +67691,7 @@ func (o *TreeItem) SetRange(column int64, value float64) { func (o *TreeItem) SetRangeConfig(column int64, min float64, max float64, step float64, expr bool) { log.Println("Calling TreeItem.SetRangeConfig()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(min) - goArguments[2] = reflect.ValueOf(max) - goArguments[3] = reflect.ValueOf(step) - goArguments[4] = reflect.ValueOf(expr) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_range_config", goArguments, "") - + godotCallVoidIntFloatFloatFloatBool(o, "set_range_config", column, min, max, step, expr) log.Println(" Function successfully completed.") } @@ -104204,15 +67702,7 @@ func (o *TreeItem) SetRangeConfig(column int64, min float64, max float64, step f func (o *TreeItem) SetSelectable(column int64, selectable bool) { log.Println("Calling TreeItem.SetSelectable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(selectable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_selectable", goArguments, "") - + godotCallVoidIntBool(o, "set_selectable", column, selectable) log.Println(" Function successfully completed.") } @@ -104223,15 +67713,7 @@ func (o *TreeItem) SetSelectable(column int64, selectable bool) { func (o *TreeItem) SetText(column int64, text string) { log.Println("Calling TreeItem.SetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text", goArguments, "") - + godotCallVoidIntString(o, "set_text", column, text) log.Println(" Function successfully completed.") } @@ -104242,15 +67724,7 @@ func (o *TreeItem) SetText(column int64, text string) { func (o *TreeItem) SetTextAlign(column int64, textAlign int64) { log.Println("Calling TreeItem.SetTextAlign()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(textAlign) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_text_align", goArguments, "") - + godotCallVoidIntInt(o, "set_text_align", column, textAlign) log.Println(" Function successfully completed.") } @@ -104261,15 +67735,7 @@ func (o *TreeItem) SetTextAlign(column int64, textAlign int64) { func (o *TreeItem) SetTooltip(column int64, tooltip string) { log.Println("Calling TreeItem.SetTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(column) - goArguments[1] = reflect.ValueOf(tooltip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tooltip", goArguments, "") - + godotCallVoidIntString(o, "set_tooltip", column, tooltip) log.Println(" Function successfully completed.") } @@ -104316,16 +67782,7 @@ func (o *Tween) baseClass() string { func (o *Tween) X_Remove(object *Object, key string, firstOnly bool) { log.Println("Calling Tween.X_Remove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(key) - goArguments[2] = reflect.ValueOf(firstOnly) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_remove", goArguments, "") - + godotCallVoidObjectStringBool(o, "_remove", object, key, firstOnly) log.Println(" Function successfully completed.") } @@ -104336,25 +67793,9 @@ func (o *Tween) X_Remove(object *Object, key string, firstOnly bool) { func (o *Tween) FollowMethod(object *Object, method string, initialVal *Variant, target *Object, targetMethod string, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.FollowMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 9, 9) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(method) - goArguments[2] = reflect.ValueOf(initialVal) - goArguments[3] = reflect.ValueOf(target) - goArguments[4] = reflect.ValueOf(targetMethod) - goArguments[5] = reflect.ValueOf(duration) - goArguments[6] = reflect.ValueOf(transType) - goArguments[7] = reflect.ValueOf(easeType) - goArguments[8] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "follow_method", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectStringVariantObjectStringFloatIntIntFloat(o, "follow_method", object, method, initialVal, target, targetMethod, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104365,25 +67806,9 @@ func (o *Tween) FollowMethod(object *Object, method string, initialVal *Variant, func (o *Tween) FollowProperty(object *Object, property *NodePath, initialVal *Variant, target *Object, targetProperty *NodePath, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.FollowProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 9, 9) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(initialVal) - goArguments[3] = reflect.ValueOf(target) - goArguments[4] = reflect.ValueOf(targetProperty) - goArguments[5] = reflect.ValueOf(duration) - goArguments[6] = reflect.ValueOf(transType) - goArguments[7] = reflect.ValueOf(easeType) - goArguments[8] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "follow_property", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectNodePathVariantObjectNodePathFloatIntIntFloat(o, "follow_property", object, property, initialVal, target, targetProperty, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104394,16 +67819,9 @@ func (o *Tween) FollowProperty(object *Object, property *NodePath, initialVal *V func (o *Tween) GetRuntime() float64 { log.Println("Calling Tween.GetRuntime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_runtime", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_runtime") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104414,16 +67832,9 @@ func (o *Tween) GetRuntime() float64 { func (o *Tween) GetSpeedScale() float64 { log.Println("Calling Tween.GetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_speed_scale", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_speed_scale") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104434,16 +67845,9 @@ func (o *Tween) GetSpeedScale() float64 { func (o *Tween) GetTweenProcessMode() int64 { log.Println("Calling Tween.GetTweenProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_tween_process_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_tween_process_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104454,24 +67858,9 @@ func (o *Tween) GetTweenProcessMode() int64 { func (o *Tween) InterpolateCallback(object *Object, duration float64, callback string, arg1 *Variant, arg2 *Variant, arg3 *Variant, arg4 *Variant, arg5 *Variant) bool { log.Println("Calling Tween.InterpolateCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(duration) - goArguments[2] = reflect.ValueOf(callback) - goArguments[3] = reflect.ValueOf(arg1) - goArguments[4] = reflect.ValueOf(arg2) - goArguments[5] = reflect.ValueOf(arg3) - goArguments[6] = reflect.ValueOf(arg4) - goArguments[7] = reflect.ValueOf(arg5) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_callback", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectFloatStringVariantVariantVariantVariantVariant(o, "interpolate_callback", object, duration, callback, arg1, arg2, arg3, arg4, arg5) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104482,24 +67871,9 @@ func (o *Tween) InterpolateCallback(object *Object, duration float64, callback s func (o *Tween) InterpolateDeferredCallback(object *Object, duration float64, callback string, arg1 *Variant, arg2 *Variant, arg3 *Variant, arg4 *Variant, arg5 *Variant) bool { log.Println("Calling Tween.InterpolateDeferredCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(duration) - goArguments[2] = reflect.ValueOf(callback) - goArguments[3] = reflect.ValueOf(arg1) - goArguments[4] = reflect.ValueOf(arg2) - goArguments[5] = reflect.ValueOf(arg3) - goArguments[6] = reflect.ValueOf(arg4) - goArguments[7] = reflect.ValueOf(arg5) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_deferred_callback", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectFloatStringVariantVariantVariantVariantVariant(o, "interpolate_deferred_callback", object, duration, callback, arg1, arg2, arg3, arg4, arg5) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104510,24 +67884,9 @@ func (o *Tween) InterpolateDeferredCallback(object *Object, duration float64, ca func (o *Tween) InterpolateMethod(object *Object, method string, initialVal *Variant, finalVal *Variant, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.InterpolateMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(method) - goArguments[2] = reflect.ValueOf(initialVal) - goArguments[3] = reflect.ValueOf(finalVal) - goArguments[4] = reflect.ValueOf(duration) - goArguments[5] = reflect.ValueOf(transType) - goArguments[6] = reflect.ValueOf(easeType) - goArguments[7] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_method", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectStringVariantVariantFloatIntIntFloat(o, "interpolate_method", object, method, initialVal, finalVal, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104538,24 +67897,9 @@ func (o *Tween) InterpolateMethod(object *Object, method string, initialVal *Var func (o *Tween) InterpolateProperty(object *Object, property *NodePath, initialVal *Variant, finalVal *Variant, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.InterpolateProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(initialVal) - goArguments[3] = reflect.ValueOf(finalVal) - goArguments[4] = reflect.ValueOf(duration) - goArguments[5] = reflect.ValueOf(transType) - goArguments[6] = reflect.ValueOf(easeType) - goArguments[7] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "interpolate_property", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectNodePathVariantVariantFloatIntIntFloat(o, "interpolate_property", object, property, initialVal, finalVal, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104566,16 +67910,9 @@ func (o *Tween) InterpolateProperty(object *Object, property *NodePath, initialV func (o *Tween) IsActive() bool { log.Println("Calling Tween.IsActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_active", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_active") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104586,16 +67923,9 @@ func (o *Tween) IsActive() bool { func (o *Tween) IsRepeat() bool { log.Println("Calling Tween.IsRepeat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_repeat", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_repeat") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104606,18 +67936,9 @@ func (o *Tween) IsRepeat() bool { func (o *Tween) Remove(object *Object, key string) bool { log.Println("Calling Tween.Remove()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(key) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "remove", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectString(o, "remove", object, key) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104628,16 +67949,9 @@ func (o *Tween) Remove(object *Object, key string) bool { func (o *Tween) RemoveAll() bool { log.Println("Calling Tween.RemoveAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "remove_all", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "remove_all") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104648,18 +67962,9 @@ func (o *Tween) RemoveAll() bool { func (o *Tween) Reset(object *Object, key string) bool { log.Println("Calling Tween.Reset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(key) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "reset", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectString(o, "reset", object, key) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104670,16 +67975,9 @@ func (o *Tween) Reset(object *Object, key string) bool { func (o *Tween) ResetAll() bool { log.Println("Calling Tween.ResetAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "reset_all", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "reset_all") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104690,18 +67988,9 @@ func (o *Tween) ResetAll() bool { func (o *Tween) Resume(object *Object, key string) bool { log.Println("Calling Tween.Resume()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(key) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resume", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectString(o, "resume", object, key) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104712,16 +68001,9 @@ func (o *Tween) Resume(object *Object, key string) bool { func (o *Tween) ResumeAll() bool { log.Println("Calling Tween.ResumeAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resume_all", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "resume_all") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104732,17 +68014,9 @@ func (o *Tween) ResumeAll() bool { func (o *Tween) Seek(time float64) bool { log.Println("Calling Tween.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(time) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "seek", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolFloat(o, "seek", time) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104753,14 +68027,7 @@ func (o *Tween) Seek(time float64) bool { func (o *Tween) SetActive(active bool) { log.Println("Calling Tween.SetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_active", goArguments, "") - + godotCallVoidBool(o, "set_active", active) log.Println(" Function successfully completed.") } @@ -104771,14 +68038,7 @@ func (o *Tween) SetActive(active bool) { func (o *Tween) SetRepeat(repeat bool) { log.Println("Calling Tween.SetRepeat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(repeat) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_repeat", goArguments, "") - + godotCallVoidBool(o, "set_repeat", repeat) log.Println(" Function successfully completed.") } @@ -104789,14 +68049,7 @@ func (o *Tween) SetRepeat(repeat bool) { func (o *Tween) SetSpeedScale(speed float64) { log.Println("Calling Tween.SetSpeedScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(speed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_speed_scale", goArguments, "") - + godotCallVoidFloat(o, "set_speed_scale", speed) log.Println(" Function successfully completed.") } @@ -104807,14 +68060,7 @@ func (o *Tween) SetSpeedScale(speed float64) { func (o *Tween) SetTweenProcessMode(mode int64) { log.Println("Calling Tween.SetTweenProcessMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_tween_process_mode", goArguments, "") - + godotCallVoidInt(o, "set_tween_process_mode", mode) log.Println(" Function successfully completed.") } @@ -104825,16 +68071,9 @@ func (o *Tween) SetTweenProcessMode(mode int64) { func (o *Tween) Start() bool { log.Println("Calling Tween.Start()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "start", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "start") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104845,18 +68084,9 @@ func (o *Tween) Start() bool { func (o *Tween) Stop(object *Object, key string) bool { log.Println("Calling Tween.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(key) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "stop", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectString(o, "stop", object, key) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104867,16 +68097,9 @@ func (o *Tween) Stop(object *Object, key string) bool { func (o *Tween) StopAll() bool { log.Println("Calling Tween.StopAll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "stop_all", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "stop_all") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104887,25 +68110,9 @@ func (o *Tween) StopAll() bool { func (o *Tween) TargetingMethod(object *Object, method string, initial *Object, initialMethod string, finalVal *Variant, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.TargetingMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 9, 9) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(method) - goArguments[2] = reflect.ValueOf(initial) - goArguments[3] = reflect.ValueOf(initialMethod) - goArguments[4] = reflect.ValueOf(finalVal) - goArguments[5] = reflect.ValueOf(duration) - goArguments[6] = reflect.ValueOf(transType) - goArguments[7] = reflect.ValueOf(easeType) - goArguments[8] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "targeting_method", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectStringObjectStringVariantFloatIntIntFloat(o, "targeting_method", object, method, initial, initialMethod, finalVal, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104916,25 +68123,9 @@ func (o *Tween) TargetingMethod(object *Object, method string, initial *Object, func (o *Tween) TargetingProperty(object *Object, property *NodePath, initial *Object, initialVal *NodePath, finalVal *Variant, duration float64, transType int64, easeType int64, delay float64) bool { log.Println("Calling Tween.TargetingProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 9, 9) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(initial) - goArguments[3] = reflect.ValueOf(initialVal) - goArguments[4] = reflect.ValueOf(finalVal) - goArguments[5] = reflect.ValueOf(duration) - goArguments[6] = reflect.ValueOf(transType) - goArguments[7] = reflect.ValueOf(easeType) - goArguments[8] = reflect.ValueOf(delay) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "targeting_property", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolObjectNodePathObjectNodePathVariantFloatIntIntFloat(o, "targeting_property", object, property, initial, initialVal, finalVal, duration, transType, easeType, delay) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104945,16 +68136,9 @@ func (o *Tween) TargetingProperty(object *Object, property *NodePath, initial *O func (o *Tween) Tell() float64 { log.Println("Calling Tween.Tell()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "tell", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "tell") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -104983,18 +68167,9 @@ func (o *UndoRedo) baseClass() string { func (o *UndoRedo) AddDoMethod(object *Object, method string) *Variant { log.Println("Calling UndoRedo.AddDoMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_do_method", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantObjectString(o, "add_do_method", object, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105005,16 +68180,7 @@ func (o *UndoRedo) AddDoMethod(object *Object, method string) *Variant { func (o *UndoRedo) AddDoProperty(object *Object, property string, value *Variant) { log.Println("Calling UndoRedo.AddDoProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_do_property", goArguments, "") - + godotCallVoidObjectStringVariant(o, "add_do_property", object, property, value) log.Println(" Function successfully completed.") } @@ -105025,14 +68191,7 @@ func (o *UndoRedo) AddDoProperty(object *Object, property string, value *Variant func (o *UndoRedo) AddDoReference(object *Object) { log.Println("Calling UndoRedo.AddDoReference()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(object) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_do_reference", goArguments, "") - + godotCallVoidObject(o, "add_do_reference", object) log.Println(" Function successfully completed.") } @@ -105043,18 +68202,9 @@ func (o *UndoRedo) AddDoReference(object *Object) { func (o *UndoRedo) AddUndoMethod(object *Object, method string) *Variant { log.Println("Calling UndoRedo.AddUndoMethod()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(method) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "add_undo_method", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantObjectString(o, "add_undo_method", object, method) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105065,16 +68215,7 @@ func (o *UndoRedo) AddUndoMethod(object *Object, method string) *Variant { func (o *UndoRedo) AddUndoProperty(object *Object, property string, value *Variant) { log.Println("Calling UndoRedo.AddUndoProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(object) - goArguments[1] = reflect.ValueOf(property) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_undo_property", goArguments, "") - + godotCallVoidObjectStringVariant(o, "add_undo_property", object, property, value) log.Println(" Function successfully completed.") } @@ -105085,14 +68226,7 @@ func (o *UndoRedo) AddUndoProperty(object *Object, property string, value *Varia func (o *UndoRedo) AddUndoReference(object *Object) { log.Println("Calling UndoRedo.AddUndoReference()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(object) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_undo_reference", goArguments, "") - + godotCallVoidObject(o, "add_undo_reference", object) log.Println(" Function successfully completed.") } @@ -105103,13 +68237,7 @@ func (o *UndoRedo) AddUndoReference(object *Object) { func (o *UndoRedo) ClearHistory() { log.Println("Calling UndoRedo.ClearHistory()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "clear_history", goArguments, "") - + godotCallVoid(o, "clear_history") log.Println(" Function successfully completed.") } @@ -105120,13 +68248,7 @@ func (o *UndoRedo) ClearHistory() { func (o *UndoRedo) CommitAction() { log.Println("Calling UndoRedo.CommitAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "commit_action", goArguments, "") - + godotCallVoid(o, "commit_action") log.Println(" Function successfully completed.") } @@ -105137,15 +68259,7 @@ func (o *UndoRedo) CommitAction() { func (o *UndoRedo) CreateAction(name string, mergeMode int64) { log.Println("Calling UndoRedo.CreateAction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(mergeMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "create_action", goArguments, "") - + godotCallVoidStringInt(o, "create_action", name, mergeMode) log.Println(" Function successfully completed.") } @@ -105156,16 +68270,9 @@ func (o *UndoRedo) CreateAction(name string, mergeMode int64) { func (o *UndoRedo) GetCurrentActionName() string { log.Println("Calling UndoRedo.GetCurrentActionName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_action_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_current_action_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105176,16 +68283,9 @@ func (o *UndoRedo) GetCurrentActionName() string { func (o *UndoRedo) GetVersion() int64 { log.Println("Calling UndoRedo.GetVersion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_version", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_version") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105196,13 +68296,7 @@ func (o *UndoRedo) GetVersion() int64 { func (o *UndoRedo) Redo() { log.Println("Calling UndoRedo.Redo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "redo", goArguments, "") - + godotCallVoid(o, "redo") log.Println(" Function successfully completed.") } @@ -105213,13 +68307,7 @@ func (o *UndoRedo) Redo() { func (o *UndoRedo) Undo() { log.Println("Calling UndoRedo.Undo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "undo", goArguments, "") - + godotCallVoid(o, "undo") log.Println(" Function successfully completed.") } @@ -105322,8 +68410,8 @@ type VSplitContainerImplementer interface { } /* - - */ + This nodes implements all the physics logic needed to simulate a car. It is based on the raycast vehicle system commonly found in physics engines. You will need to add a [CollisionShape] for the main body of your vehicle and add [VehicleWheel] nodes for the wheels. You should also add a [MeshInstance] to this node for the 3D model of your car but this model should not include meshes for the wheels. You should control the vehicle by using the [member brake], [member engine_force], and [member steering] properties and not change the position or orientation of this node directly. Note that the origin point of your VehicleBody will determine the center of gravity of your vehicle so it is better to keep this low and move the [CollisionShape] and [MeshInstance] upwards. +*/ type VehicleBody struct { RigidBody } @@ -105338,16 +68426,9 @@ func (o *VehicleBody) baseClass() string { func (o *VehicleBody) GetBrake() float64 { log.Println("Calling VehicleBody.GetBrake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_brake", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_brake") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105358,16 +68439,9 @@ func (o *VehicleBody) GetBrake() float64 { func (o *VehicleBody) GetEngineForce() float64 { log.Println("Calling VehicleBody.GetEngineForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_engine_force", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_engine_force") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105378,16 +68452,9 @@ func (o *VehicleBody) GetEngineForce() float64 { func (o *VehicleBody) GetSteering() float64 { log.Println("Calling VehicleBody.GetSteering()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_steering", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_steering") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105398,14 +68465,7 @@ func (o *VehicleBody) GetSteering() float64 { func (o *VehicleBody) SetBrake(brake float64) { log.Println("Calling VehicleBody.SetBrake()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(brake) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_brake", goArguments, "") - + godotCallVoidFloat(o, "set_brake", brake) log.Println(" Function successfully completed.") } @@ -105416,14 +68476,7 @@ func (o *VehicleBody) SetBrake(brake float64) { func (o *VehicleBody) SetEngineForce(engineForce float64) { log.Println("Calling VehicleBody.SetEngineForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(engineForce) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_engine_force", goArguments, "") - + godotCallVoidFloat(o, "set_engine_force", engineForce) log.Println(" Function successfully completed.") } @@ -105434,14 +68487,7 @@ func (o *VehicleBody) SetEngineForce(engineForce float64) { func (o *VehicleBody) SetSteering(steering float64) { log.Println("Calling VehicleBody.SetSteering()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(steering) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_steering", goArguments, "") - + godotCallVoidFloat(o, "set_steering", steering) log.Println(" Function successfully completed.") } @@ -105454,8 +68500,8 @@ type VehicleBodyImplementer interface { } /* - - */ + This node needs to be used as a child node of [VehicleBody] and simulates the behaviour of one of its wheels. This node also acts as a collider to detect if the wheel is touching a surface. +*/ type VehicleWheel struct { Spatial } @@ -105470,16 +68516,9 @@ func (o *VehicleWheel) baseClass() string { func (o *VehicleWheel) GetDampingCompression() float64 { log.Println("Calling VehicleWheel.GetDampingCompression()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_damping_compression", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_damping_compression") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105490,16 +68529,9 @@ func (o *VehicleWheel) GetDampingCompression() float64 { func (o *VehicleWheel) GetDampingRelaxation() float64 { log.Println("Calling VehicleWheel.GetDampingRelaxation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_damping_relaxation", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_damping_relaxation") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105510,16 +68542,9 @@ func (o *VehicleWheel) GetDampingRelaxation() float64 { func (o *VehicleWheel) GetFrictionSlip() float64 { log.Println("Calling VehicleWheel.GetFrictionSlip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_friction_slip", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_friction_slip") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105530,16 +68555,9 @@ func (o *VehicleWheel) GetFrictionSlip() float64 { func (o *VehicleWheel) GetRadius() float64 { log.Println("Calling VehicleWheel.GetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_radius", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_radius") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105550,36 +68568,22 @@ func (o *VehicleWheel) GetRadius() float64 { func (o *VehicleWheel) GetRollInfluence() float64 { log.Println("Calling VehicleWheel.GetRollInfluence()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_roll_influence", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_roll_influence") log.Println(" Got return value: ", returnValue) + return returnValue } /* - - */ + Returns a value between 0.0 and 1.0 that indicates whether this wheel is skidding. 0.0 is not skidding, 1.0 means the wheel has lost grip. +*/ func (o *VehicleWheel) GetSkidinfo() float64 { log.Println("Calling VehicleWheel.GetSkidinfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_skidinfo", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_skidinfo") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105590,16 +68594,9 @@ func (o *VehicleWheel) GetSkidinfo() float64 { func (o *VehicleWheel) GetSuspensionMaxForce() float64 { log.Println("Calling VehicleWheel.GetSuspensionMaxForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_suspension_max_force", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_suspension_max_force") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105610,16 +68607,9 @@ func (o *VehicleWheel) GetSuspensionMaxForce() float64 { func (o *VehicleWheel) GetSuspensionRestLength() float64 { log.Println("Calling VehicleWheel.GetSuspensionRestLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_suspension_rest_length", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_suspension_rest_length") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105630,16 +68620,9 @@ func (o *VehicleWheel) GetSuspensionRestLength() float64 { func (o *VehicleWheel) GetSuspensionStiffness() float64 { log.Println("Calling VehicleWheel.GetSuspensionStiffness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_suspension_stiffness", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_suspension_stiffness") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105650,36 +68633,22 @@ func (o *VehicleWheel) GetSuspensionStiffness() float64 { func (o *VehicleWheel) GetSuspensionTravel() float64 { log.Println("Calling VehicleWheel.GetSuspensionTravel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_suspension_travel", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_suspension_travel") log.Println(" Got return value: ", returnValue) + return returnValue } /* - - */ + Returns true if this wheel is in contact with a surface. +*/ func (o *VehicleWheel) IsInContact() bool { log.Println("Calling VehicleWheel.IsInContact()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_in_contact", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_in_contact") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105690,16 +68659,9 @@ func (o *VehicleWheel) IsInContact() bool { func (o *VehicleWheel) IsUsedAsSteering() bool { log.Println("Calling VehicleWheel.IsUsedAsSteering()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_used_as_steering", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_used_as_steering") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105710,16 +68672,9 @@ func (o *VehicleWheel) IsUsedAsSteering() bool { func (o *VehicleWheel) IsUsedAsTraction() bool { log.Println("Calling VehicleWheel.IsUsedAsTraction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_used_as_traction", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_used_as_traction") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105730,14 +68685,7 @@ func (o *VehicleWheel) IsUsedAsTraction() bool { func (o *VehicleWheel) SetDampingCompression(length float64) { log.Println("Calling VehicleWheel.SetDampingCompression()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_damping_compression", goArguments, "") - + godotCallVoidFloat(o, "set_damping_compression", length) log.Println(" Function successfully completed.") } @@ -105748,14 +68696,7 @@ func (o *VehicleWheel) SetDampingCompression(length float64) { func (o *VehicleWheel) SetDampingRelaxation(length float64) { log.Println("Calling VehicleWheel.SetDampingRelaxation()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_damping_relaxation", goArguments, "") - + godotCallVoidFloat(o, "set_damping_relaxation", length) log.Println(" Function successfully completed.") } @@ -105766,14 +68707,7 @@ func (o *VehicleWheel) SetDampingRelaxation(length float64) { func (o *VehicleWheel) SetFrictionSlip(length float64) { log.Println("Calling VehicleWheel.SetFrictionSlip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_friction_slip", goArguments, "") - + godotCallVoidFloat(o, "set_friction_slip", length) log.Println(" Function successfully completed.") } @@ -105784,14 +68718,7 @@ func (o *VehicleWheel) SetFrictionSlip(length float64) { func (o *VehicleWheel) SetRadius(length float64) { log.Println("Calling VehicleWheel.SetRadius()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_radius", goArguments, "") - + godotCallVoidFloat(o, "set_radius", length) log.Println(" Function successfully completed.") } @@ -105802,14 +68729,7 @@ func (o *VehicleWheel) SetRadius(length float64) { func (o *VehicleWheel) SetRollInfluence(rollInfluence float64) { log.Println("Calling VehicleWheel.SetRollInfluence()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rollInfluence) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_roll_influence", goArguments, "") - + godotCallVoidFloat(o, "set_roll_influence", rollInfluence) log.Println(" Function successfully completed.") } @@ -105820,14 +68740,7 @@ func (o *VehicleWheel) SetRollInfluence(rollInfluence float64) { func (o *VehicleWheel) SetSuspensionMaxForce(length float64) { log.Println("Calling VehicleWheel.SetSuspensionMaxForce()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_suspension_max_force", goArguments, "") - + godotCallVoidFloat(o, "set_suspension_max_force", length) log.Println(" Function successfully completed.") } @@ -105838,14 +68751,7 @@ func (o *VehicleWheel) SetSuspensionMaxForce(length float64) { func (o *VehicleWheel) SetSuspensionRestLength(length float64) { log.Println("Calling VehicleWheel.SetSuspensionRestLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_suspension_rest_length", goArguments, "") - + godotCallVoidFloat(o, "set_suspension_rest_length", length) log.Println(" Function successfully completed.") } @@ -105856,14 +68762,7 @@ func (o *VehicleWheel) SetSuspensionRestLength(length float64) { func (o *VehicleWheel) SetSuspensionStiffness(length float64) { log.Println("Calling VehicleWheel.SetSuspensionStiffness()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_suspension_stiffness", goArguments, "") - + godotCallVoidFloat(o, "set_suspension_stiffness", length) log.Println(" Function successfully completed.") } @@ -105874,14 +68773,7 @@ func (o *VehicleWheel) SetSuspensionStiffness(length float64) { func (o *VehicleWheel) SetSuspensionTravel(length float64) { log.Println("Calling VehicleWheel.SetSuspensionTravel()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_suspension_travel", goArguments, "") - + godotCallVoidFloat(o, "set_suspension_travel", length) log.Println(" Function successfully completed.") } @@ -105892,14 +68784,7 @@ func (o *VehicleWheel) SetSuspensionTravel(length float64) { func (o *VehicleWheel) SetUseAsSteering(enable bool) { log.Println("Calling VehicleWheel.SetUseAsSteering()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_as_steering", goArguments, "") - + godotCallVoidBool(o, "set_use_as_steering", enable) log.Println(" Function successfully completed.") } @@ -105910,14 +68795,7 @@ func (o *VehicleWheel) SetUseAsSteering(enable bool) { func (o *VehicleWheel) SetUseAsTraction(enable bool) { log.Println("Calling VehicleWheel.SetUseAsTraction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_as_traction", goArguments, "") - + godotCallVoidBool(o, "set_use_as_traction", enable) log.Println(" Function successfully completed.") } @@ -105946,16 +68824,9 @@ func (o *VideoPlayer) baseClass() string { func (o *VideoPlayer) GetAudioTrack() int64 { log.Println("Calling VideoPlayer.GetAudioTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_audio_track", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_audio_track") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105966,16 +68837,9 @@ func (o *VideoPlayer) GetAudioTrack() int64 { func (o *VideoPlayer) GetBufferingMsec() int64 { log.Println("Calling VideoPlayer.GetBufferingMsec()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_buffering_msec", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_buffering_msec") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -105986,16 +68850,9 @@ func (o *VideoPlayer) GetBufferingMsec() int64 { func (o *VideoPlayer) GetBus() string { log.Println("Calling VideoPlayer.GetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_bus", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_bus") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106006,17 +68863,12 @@ func (o *VideoPlayer) GetBus() string { func (o *VideoPlayer) GetStream() *VideoStream { log.Println("Calling VideoPlayer.GetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream", goArguments, "*VideoStream") - - returnValue := goRet.Interface().(*VideoStream) - + returnValue := godotCallObject(o, "get_stream") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VideoStream + ret.owner = returnValue.owner + return &ret } @@ -106026,16 +68878,9 @@ func (o *VideoPlayer) GetStream() *VideoStream { func (o *VideoPlayer) GetStreamName() string { log.Println("Calling VideoPlayer.GetStreamName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_stream_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106046,16 +68891,9 @@ func (o *VideoPlayer) GetStreamName() string { func (o *VideoPlayer) GetStreamPosition() float64 { log.Println("Calling VideoPlayer.GetStreamPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stream_position", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_stream_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106066,17 +68904,12 @@ func (o *VideoPlayer) GetStreamPosition() float64 { func (o *VideoPlayer) GetVideoTexture() *Texture { log.Println("Calling VideoPlayer.GetVideoTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_video_texture", goArguments, "*Texture") - - returnValue := goRet.Interface().(*Texture) - + returnValue := godotCallObject(o, "get_video_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Texture + ret.owner = returnValue.owner + return &ret } @@ -106086,16 +68919,9 @@ func (o *VideoPlayer) GetVideoTexture() *Texture { func (o *VideoPlayer) GetVolume() float64 { log.Println("Calling VideoPlayer.GetVolume()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_volume", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_volume") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106106,16 +68932,9 @@ func (o *VideoPlayer) GetVolume() float64 { func (o *VideoPlayer) GetVolumeDb() float64 { log.Println("Calling VideoPlayer.GetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_volume_db", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_volume_db") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106126,16 +68945,9 @@ func (o *VideoPlayer) GetVolumeDb() float64 { func (o *VideoPlayer) HasAutoplay() bool { log.Println("Calling VideoPlayer.HasAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_autoplay", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_autoplay") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106146,16 +68958,9 @@ func (o *VideoPlayer) HasAutoplay() bool { func (o *VideoPlayer) HasExpand() bool { log.Println("Calling VideoPlayer.HasExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_expand", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_expand") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106166,16 +68971,9 @@ func (o *VideoPlayer) HasExpand() bool { func (o *VideoPlayer) IsPaused() bool { log.Println("Calling VideoPlayer.IsPaused()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_paused", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_paused") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106186,16 +68984,9 @@ func (o *VideoPlayer) IsPaused() bool { func (o *VideoPlayer) IsPlaying() bool { log.Println("Calling VideoPlayer.IsPlaying()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_playing", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_playing") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106206,13 +68997,7 @@ func (o *VideoPlayer) IsPlaying() bool { func (o *VideoPlayer) Play() { log.Println("Calling VideoPlayer.Play()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "play", goArguments, "") - + godotCallVoid(o, "play") log.Println(" Function successfully completed.") } @@ -106223,14 +69008,7 @@ func (o *VideoPlayer) Play() { func (o *VideoPlayer) SetAudioTrack(track int64) { log.Println("Calling VideoPlayer.SetAudioTrack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(track) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_audio_track", goArguments, "") - + godotCallVoidInt(o, "set_audio_track", track) log.Println(" Function successfully completed.") } @@ -106241,14 +69019,7 @@ func (o *VideoPlayer) SetAudioTrack(track int64) { func (o *VideoPlayer) SetAutoplay(enabled bool) { log.Println("Calling VideoPlayer.SetAutoplay()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_autoplay", goArguments, "") - + godotCallVoidBool(o, "set_autoplay", enabled) log.Println(" Function successfully completed.") } @@ -106259,14 +69030,7 @@ func (o *VideoPlayer) SetAutoplay(enabled bool) { func (o *VideoPlayer) SetBufferingMsec(msec int64) { log.Println("Calling VideoPlayer.SetBufferingMsec()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(msec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_buffering_msec", goArguments, "") - + godotCallVoidInt(o, "set_buffering_msec", msec) log.Println(" Function successfully completed.") } @@ -106277,14 +69041,7 @@ func (o *VideoPlayer) SetBufferingMsec(msec int64) { func (o *VideoPlayer) SetBus(bus string) { log.Println("Calling VideoPlayer.SetBus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(bus) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_bus", goArguments, "") - + godotCallVoidString(o, "set_bus", bus) log.Println(" Function successfully completed.") } @@ -106295,14 +69052,7 @@ func (o *VideoPlayer) SetBus(bus string) { func (o *VideoPlayer) SetExpand(enable bool) { log.Println("Calling VideoPlayer.SetExpand()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_expand", goArguments, "") - + godotCallVoidBool(o, "set_expand", enable) log.Println(" Function successfully completed.") } @@ -106313,14 +69063,7 @@ func (o *VideoPlayer) SetExpand(enable bool) { func (o *VideoPlayer) SetPaused(paused bool) { log.Println("Calling VideoPlayer.SetPaused()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(paused) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_paused", goArguments, "") - + godotCallVoidBool(o, "set_paused", paused) log.Println(" Function successfully completed.") } @@ -106331,14 +69074,7 @@ func (o *VideoPlayer) SetPaused(paused bool) { func (o *VideoPlayer) SetStream(stream *VideoStream) { log.Println("Calling VideoPlayer.SetStream()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(stream) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream", goArguments, "") - + godotCallVoidObject(o, "set_stream", &stream.Object) log.Println(" Function successfully completed.") } @@ -106349,14 +69085,7 @@ func (o *VideoPlayer) SetStream(stream *VideoStream) { func (o *VideoPlayer) SetStreamPosition(position float64) { log.Println("Calling VideoPlayer.SetStreamPosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stream_position", goArguments, "") - + godotCallVoidFloat(o, "set_stream_position", position) log.Println(" Function successfully completed.") } @@ -106367,14 +69096,7 @@ func (o *VideoPlayer) SetStreamPosition(position float64) { func (o *VideoPlayer) SetVolume(volume float64) { log.Println("Calling VideoPlayer.SetVolume()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(volume) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_volume", goArguments, "") - + godotCallVoidFloat(o, "set_volume", volume) log.Println(" Function successfully completed.") } @@ -106385,14 +69107,7 @@ func (o *VideoPlayer) SetVolume(volume float64) { func (o *VideoPlayer) SetVolumeDb(db float64) { log.Println("Calling VideoPlayer.SetVolumeDb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(db) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_volume_db", goArguments, "") - + godotCallVoidFloat(o, "set_volume_db", db) log.Println(" Function successfully completed.") } @@ -106403,13 +69118,7 @@ func (o *VideoPlayer) SetVolumeDb(db float64) { func (o *VideoPlayer) Stop() { log.Println("Calling VideoPlayer.Stop()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "stop", goArguments, "") - + godotCallVoid(o, "stop") log.Println(" Function successfully completed.") } @@ -106456,16 +69165,9 @@ func (o *VideoStreamTheora) baseClass() string { func (o *VideoStreamTheora) GetFile() string { log.Println("Calling VideoStreamTheora.GetFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_file") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106476,14 +69178,7 @@ func (o *VideoStreamTheora) GetFile() string { func (o *VideoStreamTheora) SetFile(file string) { log.Println("Calling VideoStreamTheora.SetFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_file", goArguments, "") - + godotCallVoidString(o, "set_file", file) log.Println(" Function successfully completed.") } @@ -106512,16 +69207,9 @@ func (o *VideoStreamWebm) baseClass() string { func (o *VideoStreamWebm) GetFile() string { log.Println("Calling VideoStreamWebm.GetFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_file", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_file") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106532,14 +69220,7 @@ func (o *VideoStreamWebm) GetFile() string { func (o *VideoStreamWebm) SetFile(file string) { log.Println("Calling VideoStreamWebm.SetFile()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_file", goArguments, "") - + godotCallVoidString(o, "set_file", file) log.Println(" Function successfully completed.") } @@ -106568,13 +69249,7 @@ func (o *Viewport) baseClass() string { func (o *Viewport) X_GuiRemoveFocus() { log.Println("Calling Viewport.X_GuiRemoveFocus()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_remove_focus", goArguments, "") - + godotCallVoid(o, "_gui_remove_focus") log.Println(" Function successfully completed.") } @@ -106585,13 +69260,7 @@ func (o *Viewport) X_GuiRemoveFocus() { func (o *Viewport) X_GuiShowTooltip() { log.Println("Calling Viewport.X_GuiShowTooltip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_show_tooltip", goArguments, "") - + godotCallVoid(o, "_gui_show_tooltip") log.Println(" Function successfully completed.") } @@ -106602,14 +69271,7 @@ func (o *Viewport) X_GuiShowTooltip() { func (o *Viewport) X_VpInput(arg0 *InputEvent) { log.Println("Calling Viewport.X_VpInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_vp_input", goArguments, "") - + godotCallVoidObject(o, "_vp_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -106620,14 +69282,7 @@ func (o *Viewport) X_VpInput(arg0 *InputEvent) { func (o *Viewport) X_VpInputText(text string) { log.Println("Calling Viewport.X_VpInputText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(text) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_vp_input_text", goArguments, "") - + godotCallVoidString(o, "_vp_input_text", text) log.Println(" Function successfully completed.") } @@ -106638,14 +69293,7 @@ func (o *Viewport) X_VpInputText(text string) { func (o *Viewport) X_VpUnhandledInput(arg0 *InputEvent) { log.Println("Calling Viewport.X_VpUnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_vp_unhandled_input", goArguments, "") - + godotCallVoidObject(o, "_vp_unhandled_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -106656,17 +69304,12 @@ func (o *Viewport) X_VpUnhandledInput(arg0 *InputEvent) { func (o *Viewport) FindWorld() *World { log.Println("Calling Viewport.FindWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_world", goArguments, "*World") - - returnValue := goRet.Interface().(*World) - + returnValue := godotCallObject(o, "find_world") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World + ret.owner = returnValue.owner + return &ret } @@ -106676,17 +69319,12 @@ func (o *Viewport) FindWorld() *World { func (o *Viewport) FindWorld2D() *World2D { log.Println("Calling Viewport.FindWorld2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "find_world_2d", goArguments, "*World2D") - - returnValue := goRet.Interface().(*World2D) - + returnValue := godotCallObject(o, "find_world_2d") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World2D + ret.owner = returnValue.owner + return &ret } @@ -106696,17 +69334,12 @@ func (o *Viewport) FindWorld2D() *World2D { func (o *Viewport) GetCamera() *Camera { log.Println("Calling Viewport.GetCamera()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_camera", goArguments, "*Camera") - - returnValue := goRet.Interface().(*Camera) - + returnValue := godotCallObject(o, "get_camera") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Camera + ret.owner = returnValue.owner + return &ret } @@ -106716,16 +69349,9 @@ func (o *Viewport) GetCamera() *Camera { func (o *Viewport) GetCanvasTransform() *Transform2D { log.Println("Calling Viewport.GetCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_canvas_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106736,16 +69362,9 @@ func (o *Viewport) GetCanvasTransform() *Transform2D { func (o *Viewport) GetClearMode() int64 { log.Println("Calling Viewport.GetClearMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_clear_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_clear_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106756,16 +69375,9 @@ func (o *Viewport) GetClearMode() int64 { func (o *Viewport) GetDebugDraw() int64 { log.Println("Calling Viewport.GetDebugDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_debug_draw", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_debug_draw") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106776,16 +69388,9 @@ func (o *Viewport) GetDebugDraw() int64 { func (o *Viewport) GetFinalTransform() *Transform2D { log.Println("Calling Viewport.GetFinalTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_final_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_final_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106796,16 +69401,9 @@ func (o *Viewport) GetFinalTransform() *Transform2D { func (o *Viewport) GetGlobalCanvasTransform() *Transform2D { log.Println("Calling Viewport.GetGlobalCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_canvas_transform", goArguments, "*Transform2D") - - returnValue := goRet.Interface().(*Transform2D) - + returnValue := godotCallTransform2D(o, "get_global_canvas_transform") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106816,16 +69414,9 @@ func (o *Viewport) GetGlobalCanvasTransform() *Transform2D { func (o *Viewport) GetHdr() bool { log.Println("Calling Viewport.GetHdr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_hdr", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_hdr") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106836,16 +69427,9 @@ func (o *Viewport) GetHdr() bool { func (o *Viewport) GetMousePosition() *Vector2 { log.Println("Calling Viewport.GetMousePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_mouse_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_mouse_position") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106856,16 +69440,9 @@ func (o *Viewport) GetMousePosition() *Vector2 { func (o *Viewport) GetMsaa() int64 { log.Println("Calling Viewport.GetMsaa()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_msaa", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_msaa") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106876,16 +69453,9 @@ func (o *Viewport) GetMsaa() int64 { func (o *Viewport) GetPhysicsObjectPicking() bool { log.Println("Calling Viewport.GetPhysicsObjectPicking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_physics_object_picking", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_physics_object_picking") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106896,17 +69466,9 @@ func (o *Viewport) GetPhysicsObjectPicking() bool { func (o *Viewport) GetRenderInfo(info int64) int64 { log.Println("Calling Viewport.GetRenderInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(info) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_render_info", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_render_info", info) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106917,17 +69479,9 @@ func (o *Viewport) GetRenderInfo(info int64) int64 { func (o *Viewport) GetShadowAtlasQuadrantSubdiv(quadrant int64) int64 { log.Println("Calling Viewport.GetShadowAtlasQuadrantSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(quadrant) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_atlas_quadrant_subdiv", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_shadow_atlas_quadrant_subdiv", quadrant) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106938,16 +69492,9 @@ func (o *Viewport) GetShadowAtlasQuadrantSubdiv(quadrant int64) int64 { func (o *Viewport) GetShadowAtlasSize() int64 { log.Println("Calling Viewport.GetShadowAtlasSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_shadow_atlas_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_shadow_atlas_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106958,16 +69505,9 @@ func (o *Viewport) GetShadowAtlasSize() int64 { func (o *Viewport) GetSize() *Vector2 { log.Println("Calling Viewport.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106978,16 +69518,9 @@ func (o *Viewport) GetSize() *Vector2 { func (o *Viewport) GetSizeOverride() *Vector2 { log.Println("Calling Viewport.GetSizeOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size_override", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size_override") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -106998,17 +69531,12 @@ func (o *Viewport) GetSizeOverride() *Vector2 { func (o *Viewport) GetTexture() *ViewportTexture { log.Println("Calling Viewport.GetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_texture", goArguments, "*ViewportTexture") - - returnValue := goRet.Interface().(*ViewportTexture) - + returnValue := godotCallObject(o, "get_texture") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret ViewportTexture + ret.owner = returnValue.owner + return &ret } @@ -107018,16 +69546,9 @@ func (o *Viewport) GetTexture() *ViewportTexture { func (o *Viewport) GetUpdateMode() int64 { log.Println("Calling Viewport.GetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_update_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_update_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107038,16 +69559,9 @@ func (o *Viewport) GetUpdateMode() int64 { func (o *Viewport) GetUsage() int64 { log.Println("Calling Viewport.GetUsage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_usage", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_usage") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107058,16 +69572,9 @@ func (o *Viewport) GetUsage() int64 { func (o *Viewport) GetVflip() bool { log.Println("Calling Viewport.GetVflip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_vflip", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_vflip") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107078,16 +69585,9 @@ func (o *Viewport) GetVflip() bool { func (o *Viewport) GetViewportRid() *RID { log.Println("Calling Viewport.GetViewportRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_viewport_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_viewport_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107098,16 +69598,9 @@ func (o *Viewport) GetViewportRid() *RID { func (o *Viewport) GetVisibleRect() *Rect2 { log.Println("Calling Viewport.GetVisibleRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visible_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_visible_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107118,17 +69611,12 @@ func (o *Viewport) GetVisibleRect() *Rect2 { func (o *Viewport) GetWorld() *World { log.Println("Calling Viewport.GetWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world", goArguments, "*World") - - returnValue := goRet.Interface().(*World) - + returnValue := godotCallObject(o, "get_world") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World + ret.owner = returnValue.owner + return &ret } @@ -107138,17 +69626,12 @@ func (o *Viewport) GetWorld() *World { func (o *Viewport) GetWorld2D() *World2D { log.Println("Calling Viewport.GetWorld2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_world_2d", goArguments, "*World2D") - - returnValue := goRet.Interface().(*World2D) - + returnValue := godotCallObject(o, "get_world_2d") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret World2D + ret.owner = returnValue.owner + return &ret } @@ -107158,16 +69641,9 @@ func (o *Viewport) GetWorld2D() *World2D { func (o *Viewport) GuiGetDragData() *Variant { log.Println("Calling Viewport.GuiGetDragData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "gui_get_drag_data", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "gui_get_drag_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107178,16 +69654,9 @@ func (o *Viewport) GuiGetDragData() *Variant { func (o *Viewport) GuiHasModalStack() bool { log.Println("Calling Viewport.GuiHasModalStack()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "gui_has_modal_stack", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "gui_has_modal_stack") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107198,16 +69667,9 @@ func (o *Viewport) GuiHasModalStack() bool { func (o *Viewport) HasTransparentBackground() bool { log.Println("Calling Viewport.HasTransparentBackground()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_transparent_background", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_transparent_background") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107218,14 +69680,7 @@ func (o *Viewport) HasTransparentBackground() bool { func (o *Viewport) Input(localEvent *InputEvent) { log.Println("Calling Viewport.Input()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localEvent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "input", goArguments, "") - + godotCallVoidObject(o, "input", &localEvent.Object) log.Println(" Function successfully completed.") } @@ -107236,16 +69691,9 @@ func (o *Viewport) Input(localEvent *InputEvent) { func (o *Viewport) Is3DDisabled() bool { log.Println("Calling Viewport.Is3DDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_3d_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_3d_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107256,16 +69704,9 @@ func (o *Viewport) Is3DDisabled() bool { func (o *Viewport) IsAudioListener() bool { log.Println("Calling Viewport.IsAudioListener()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_audio_listener", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_audio_listener") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107276,16 +69717,9 @@ func (o *Viewport) IsAudioListener() bool { func (o *Viewport) IsAudioListener2D() bool { log.Println("Calling Viewport.IsAudioListener2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_audio_listener_2d", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_audio_listener_2d") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107296,16 +69730,9 @@ func (o *Viewport) IsAudioListener2D() bool { func (o *Viewport) IsInputDisabled() bool { log.Println("Calling Viewport.IsInputDisabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_input_disabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_input_disabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107316,36 +69743,22 @@ func (o *Viewport) IsInputDisabled() bool { func (o *Viewport) IsSizeOverrideEnabled() bool { log.Println("Calling Viewport.IsSizeOverrideEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_size_override_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_size_override_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } /* - Get the enabled status of the size strech override set with [method set_size_override_stretch]. + Get the enabled status of the size stretch override set with [method set_size_override_stretch]. */ func (o *Viewport) IsSizeOverrideStretchEnabled() bool { log.Println("Calling Viewport.IsSizeOverrideStretchEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_size_override_stretch_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_size_override_stretch_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107356,16 +69769,9 @@ func (o *Viewport) IsSizeOverrideStretchEnabled() bool { func (o *Viewport) IsSnapControlsToPixelsEnabled() bool { log.Println("Calling Viewport.IsSnapControlsToPixelsEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_snap_controls_to_pixels_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_snap_controls_to_pixels_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107376,16 +69782,9 @@ func (o *Viewport) IsSnapControlsToPixelsEnabled() bool { func (o *Viewport) IsUsingOwnWorld() bool { log.Println("Calling Viewport.IsUsingOwnWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_using_own_world", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_using_own_world") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107396,14 +69795,7 @@ func (o *Viewport) IsUsingOwnWorld() bool { func (o *Viewport) SetAsAudioListener(enable bool) { log.Println("Calling Viewport.SetAsAudioListener()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_audio_listener", goArguments, "") - + godotCallVoidBool(o, "set_as_audio_listener", enable) log.Println(" Function successfully completed.") } @@ -107414,14 +69806,7 @@ func (o *Viewport) SetAsAudioListener(enable bool) { func (o *Viewport) SetAsAudioListener2D(enable bool) { log.Println("Calling Viewport.SetAsAudioListener2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_as_audio_listener_2d", goArguments, "") - + godotCallVoidBool(o, "set_as_audio_listener_2d", enable) log.Println(" Function successfully completed.") } @@ -107432,14 +69817,7 @@ func (o *Viewport) SetAsAudioListener2D(enable bool) { func (o *Viewport) SetAttachToScreenRect(rect *Rect2) { log.Println("Calling Viewport.SetAttachToScreenRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_attach_to_screen_rect", goArguments, "") - + godotCallVoidRect2(o, "set_attach_to_screen_rect", rect) log.Println(" Function successfully completed.") } @@ -107450,14 +69828,7 @@ func (o *Viewport) SetAttachToScreenRect(rect *Rect2) { func (o *Viewport) SetCanvasTransform(xform *Transform2D) { log.Println("Calling Viewport.SetCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_canvas_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_canvas_transform", xform) log.Println(" Function successfully completed.") } @@ -107468,14 +69839,7 @@ func (o *Viewport) SetCanvasTransform(xform *Transform2D) { func (o *Viewport) SetClearMode(mode int64) { log.Println("Calling Viewport.SetClearMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_clear_mode", goArguments, "") - + godotCallVoidInt(o, "set_clear_mode", mode) log.Println(" Function successfully completed.") } @@ -107486,14 +69850,7 @@ func (o *Viewport) SetClearMode(mode int64) { func (o *Viewport) SetDebugDraw(debugDraw int64) { log.Println("Calling Viewport.SetDebugDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(debugDraw) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_debug_draw", goArguments, "") - + godotCallVoidInt(o, "set_debug_draw", debugDraw) log.Println(" Function successfully completed.") } @@ -107504,14 +69861,7 @@ func (o *Viewport) SetDebugDraw(debugDraw int64) { func (o *Viewport) SetDisable3D(disable bool) { log.Println("Calling Viewport.SetDisable3D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disable_3d", goArguments, "") - + godotCallVoidBool(o, "set_disable_3d", disable) log.Println(" Function successfully completed.") } @@ -107522,14 +69872,7 @@ func (o *Viewport) SetDisable3D(disable bool) { func (o *Viewport) SetDisableInput(disable bool) { log.Println("Calling Viewport.SetDisableInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(disable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_disable_input", goArguments, "") - + godotCallVoidBool(o, "set_disable_input", disable) log.Println(" Function successfully completed.") } @@ -107540,14 +69883,7 @@ func (o *Viewport) SetDisableInput(disable bool) { func (o *Viewport) SetGlobalCanvasTransform(xform *Transform2D) { log.Println("Calling Viewport.SetGlobalCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(xform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_canvas_transform", goArguments, "") - + godotCallVoidTransform2D(o, "set_global_canvas_transform", xform) log.Println(" Function successfully completed.") } @@ -107558,14 +69894,7 @@ func (o *Viewport) SetGlobalCanvasTransform(xform *Transform2D) { func (o *Viewport) SetHdr(enable bool) { log.Println("Calling Viewport.SetHdr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_hdr", goArguments, "") - + godotCallVoidBool(o, "set_hdr", enable) log.Println(" Function successfully completed.") } @@ -107576,14 +69905,7 @@ func (o *Viewport) SetHdr(enable bool) { func (o *Viewport) SetMsaa(msaa int64) { log.Println("Calling Viewport.SetMsaa()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(msaa) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_msaa", goArguments, "") - + godotCallVoidInt(o, "set_msaa", msaa) log.Println(" Function successfully completed.") } @@ -107594,14 +69916,7 @@ func (o *Viewport) SetMsaa(msaa int64) { func (o *Viewport) SetPhysicsObjectPicking(enable bool) { log.Println("Calling Viewport.SetPhysicsObjectPicking()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_physics_object_picking", goArguments, "") - + godotCallVoidBool(o, "set_physics_object_picking", enable) log.Println(" Function successfully completed.") } @@ -107612,15 +69927,7 @@ func (o *Viewport) SetPhysicsObjectPicking(enable bool) { func (o *Viewport) SetShadowAtlasQuadrantSubdiv(quadrant int64, subdiv int64) { log.Println("Calling Viewport.SetShadowAtlasQuadrantSubdiv()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(quadrant) - goArguments[1] = reflect.ValueOf(subdiv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_atlas_quadrant_subdiv", goArguments, "") - + godotCallVoidIntInt(o, "set_shadow_atlas_quadrant_subdiv", quadrant, subdiv) log.Println(" Function successfully completed.") } @@ -107631,14 +69938,7 @@ func (o *Viewport) SetShadowAtlasQuadrantSubdiv(quadrant int64, subdiv int64) { func (o *Viewport) SetShadowAtlasSize(size int64) { log.Println("Calling Viewport.SetShadowAtlasSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_shadow_atlas_size", goArguments, "") - + godotCallVoidInt(o, "set_shadow_atlas_size", size) log.Println(" Function successfully completed.") } @@ -107649,14 +69949,7 @@ func (o *Viewport) SetShadowAtlasSize(size int64) { func (o *Viewport) SetSize(size *Vector2) { log.Println("Calling Viewport.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -107667,16 +69960,7 @@ func (o *Viewport) SetSize(size *Vector2) { func (o *Viewport) SetSizeOverride(enable bool, size *Vector2, margin *Vector2) { log.Println("Calling Viewport.SetSizeOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(enable) - goArguments[1] = reflect.ValueOf(size) - goArguments[2] = reflect.ValueOf(margin) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size_override", goArguments, "") - + godotCallVoidBoolVector2Vector2(o, "set_size_override", enable, size, margin) log.Println(" Function successfully completed.") } @@ -107687,14 +69971,7 @@ func (o *Viewport) SetSizeOverride(enable bool, size *Vector2, margin *Vector2) func (o *Viewport) SetSizeOverrideStretch(enabled bool) { log.Println("Calling Viewport.SetSizeOverrideStretch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size_override_stretch", goArguments, "") - + godotCallVoidBool(o, "set_size_override_stretch", enabled) log.Println(" Function successfully completed.") } @@ -107705,14 +69982,7 @@ func (o *Viewport) SetSizeOverrideStretch(enabled bool) { func (o *Viewport) SetSnapControlsToPixels(enabled bool) { log.Println("Calling Viewport.SetSnapControlsToPixels()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_snap_controls_to_pixels", goArguments, "") - + godotCallVoidBool(o, "set_snap_controls_to_pixels", enabled) log.Println(" Function successfully completed.") } @@ -107723,14 +69993,7 @@ func (o *Viewport) SetSnapControlsToPixels(enabled bool) { func (o *Viewport) SetTransparentBackground(enable bool) { log.Println("Calling Viewport.SetTransparentBackground()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_transparent_background", goArguments, "") - + godotCallVoidBool(o, "set_transparent_background", enable) log.Println(" Function successfully completed.") } @@ -107741,14 +70004,7 @@ func (o *Viewport) SetTransparentBackground(enable bool) { func (o *Viewport) SetUpdateMode(mode int64) { log.Println("Calling Viewport.SetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_update_mode", goArguments, "") - + godotCallVoidInt(o, "set_update_mode", mode) log.Println(" Function successfully completed.") } @@ -107759,14 +70015,7 @@ func (o *Viewport) SetUpdateMode(mode int64) { func (o *Viewport) SetUsage(usage int64) { log.Println("Calling Viewport.SetUsage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(usage) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_usage", goArguments, "") - + godotCallVoidInt(o, "set_usage", usage) log.Println(" Function successfully completed.") } @@ -107777,14 +70026,7 @@ func (o *Viewport) SetUsage(usage int64) { func (o *Viewport) SetUseArvr(use bool) { log.Println("Calling Viewport.SetUseArvr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(use) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_arvr", goArguments, "") - + godotCallVoidBool(o, "set_use_arvr", use) log.Println(" Function successfully completed.") } @@ -107795,14 +70037,7 @@ func (o *Viewport) SetUseArvr(use bool) { func (o *Viewport) SetUseOwnWorld(enable bool) { log.Println("Calling Viewport.SetUseOwnWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_own_world", goArguments, "") - + godotCallVoidBool(o, "set_use_own_world", enable) log.Println(" Function successfully completed.") } @@ -107813,14 +70048,7 @@ func (o *Viewport) SetUseOwnWorld(enable bool) { func (o *Viewport) SetVflip(enable bool) { log.Println("Calling Viewport.SetVflip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_vflip", goArguments, "") - + godotCallVoidBool(o, "set_vflip", enable) log.Println(" Function successfully completed.") } @@ -107831,14 +70059,7 @@ func (o *Viewport) SetVflip(enable bool) { func (o *Viewport) SetWorld(world *World) { log.Println("Calling Viewport.SetWorld()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(world) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_world", goArguments, "") - + godotCallVoidObject(o, "set_world", &world.Object) log.Println(" Function successfully completed.") } @@ -107849,14 +70070,7 @@ func (o *Viewport) SetWorld(world *World) { func (o *Viewport) SetWorld2D(world2D *World2D) { log.Println("Calling Viewport.SetWorld2D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(world2D) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_world_2d", goArguments, "") - + godotCallVoidObject(o, "set_world_2d", &world2D.Object) log.Println(" Function successfully completed.") } @@ -107867,14 +70081,7 @@ func (o *Viewport) SetWorld2D(world2D *World2D) { func (o *Viewport) UnhandledInput(localEvent *InputEvent) { log.Println("Calling Viewport.UnhandledInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(localEvent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "unhandled_input", goArguments, "") - + godotCallVoidObject(o, "unhandled_input", &localEvent.Object) log.Println(" Function successfully completed.") } @@ -107885,13 +70092,7 @@ func (o *Viewport) UnhandledInput(localEvent *InputEvent) { func (o *Viewport) UpdateWorlds() { log.Println("Calling Viewport.UpdateWorlds()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "update_worlds", goArguments, "") - + godotCallVoid(o, "update_worlds") log.Println(" Function successfully completed.") } @@ -107902,16 +70103,9 @@ func (o *Viewport) UpdateWorlds() { func (o *Viewport) UseArvr() bool { log.Println("Calling Viewport.UseArvr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "use_arvr", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "use_arvr") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107922,14 +70116,7 @@ func (o *Viewport) UseArvr() bool { func (o *Viewport) WarpMouse(toPosition *Vector2) { log.Println("Calling Viewport.WarpMouse()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(toPosition) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "warp_mouse", goArguments, "") - + godotCallVoidVector2(o, "warp_mouse", toPosition) log.Println(" Function successfully completed.") } @@ -107958,14 +70145,7 @@ func (o *ViewportContainer) baseClass() string { func (o *ViewportContainer) X_Input(event *InputEvent) { log.Println("Calling ViewportContainer.X_Input()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(event) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_input", goArguments, "") - + godotCallVoidObject(o, "_input", &event.Object) log.Println(" Function successfully completed.") } @@ -107976,16 +70156,9 @@ func (o *ViewportContainer) X_Input(event *InputEvent) { func (o *ViewportContainer) GetStretchShrink() int64 { log.Println("Calling ViewportContainer.GetStretchShrink()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_stretch_shrink", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_stretch_shrink") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -107996,16 +70169,9 @@ func (o *ViewportContainer) GetStretchShrink() int64 { func (o *ViewportContainer) IsStretchEnabled() bool { log.Println("Calling ViewportContainer.IsStretchEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_stretch_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_stretch_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108016,14 +70182,7 @@ func (o *ViewportContainer) IsStretchEnabled() bool { func (o *ViewportContainer) SetStretch(enable bool) { log.Println("Calling ViewportContainer.SetStretch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch", goArguments, "") - + godotCallVoidBool(o, "set_stretch", enable) log.Println(" Function successfully completed.") } @@ -108034,14 +70193,7 @@ func (o *ViewportContainer) SetStretch(enable bool) { func (o *ViewportContainer) SetStretchShrink(amount int64) { log.Println("Calling ViewportContainer.SetStretchShrink()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_stretch_shrink", goArguments, "") - + godotCallVoidInt(o, "set_stretch_shrink", amount) log.Println(" Function successfully completed.") } @@ -108070,16 +70222,9 @@ func (o *ViewportTexture) baseClass() string { func (o *ViewportTexture) GetViewportPathInScene() *NodePath { log.Println("Calling ViewportTexture.GetViewportPathInScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_viewport_path_in_scene", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_viewport_path_in_scene") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108090,14 +70235,7 @@ func (o *ViewportTexture) GetViewportPathInScene() *NodePath { func (o *ViewportTexture) SetViewportPathInScene(path *NodePath) { log.Println("Calling ViewportTexture.SetViewportPathInScene()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_viewport_path_in_scene", goArguments, "") - + godotCallVoidNodePath(o, "set_viewport_path_in_scene", path) log.Println(" Function successfully completed.") } @@ -108126,14 +70264,7 @@ func (o *VisibilityEnabler) baseClass() string { func (o *VisibilityEnabler) X_NodeRemoved(arg0 *Object) { log.Println("Calling VisibilityEnabler.X_NodeRemoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_node_removed", goArguments, "") - + godotCallVoidObject(o, "_node_removed", arg0) log.Println(" Function successfully completed.") } @@ -108144,17 +70275,9 @@ func (o *VisibilityEnabler) X_NodeRemoved(arg0 *Object) { func (o *VisibilityEnabler) IsEnablerEnabled(enabler int64) bool { log.Println("Calling VisibilityEnabler.IsEnablerEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabler) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabler_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_enabler_enabled", enabler) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108165,15 +70288,7 @@ func (o *VisibilityEnabler) IsEnablerEnabled(enabler int64) bool { func (o *VisibilityEnabler) SetEnabler(enabler int64, enabled bool) { log.Println("Calling VisibilityEnabler.SetEnabler()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(enabler) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabler", goArguments, "") - + godotCallVoidIntBool(o, "set_enabler", enabler, enabled) log.Println(" Function successfully completed.") } @@ -108202,14 +70317,7 @@ func (o *VisibilityEnabler2D) baseClass() string { func (o *VisibilityEnabler2D) X_NodeRemoved(arg0 *Object) { log.Println("Calling VisibilityEnabler2D.X_NodeRemoved()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_node_removed", goArguments, "") - + godotCallVoidObject(o, "_node_removed", arg0) log.Println(" Function successfully completed.") } @@ -108220,17 +70328,9 @@ func (o *VisibilityEnabler2D) X_NodeRemoved(arg0 *Object) { func (o *VisibilityEnabler2D) IsEnablerEnabled(enabler int64) bool { log.Println("Calling VisibilityEnabler2D.IsEnablerEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabler) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_enabler_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "is_enabler_enabled", enabler) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108241,15 +70341,7 @@ func (o *VisibilityEnabler2D) IsEnablerEnabled(enabler int64) bool { func (o *VisibilityEnabler2D) SetEnabler(enabler int64, enabled bool) { log.Println("Calling VisibilityEnabler2D.SetEnabler()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(enabler) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enabler", goArguments, "") - + godotCallVoidIntBool(o, "set_enabler", enabler, enabled) log.Println(" Function successfully completed.") } @@ -108278,16 +70370,9 @@ func (o *VisibilityNotifier) baseClass() string { func (o *VisibilityNotifier) GetAabb() *AABB { log.Println("Calling VisibilityNotifier.GetAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108298,16 +70383,9 @@ func (o *VisibilityNotifier) GetAabb() *AABB { func (o *VisibilityNotifier) IsOnScreen() bool { log.Println("Calling VisibilityNotifier.IsOnScreen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_screen", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_screen") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108318,14 +70396,7 @@ func (o *VisibilityNotifier) IsOnScreen() bool { func (o *VisibilityNotifier) SetAabb(rect *AABB) { log.Println("Calling VisibilityNotifier.SetAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_aabb", goArguments, "") - + godotCallVoidAabb(o, "set_aabb", rect) log.Println(" Function successfully completed.") } @@ -108354,16 +70425,9 @@ func (o *VisibilityNotifier2D) baseClass() string { func (o *VisibilityNotifier2D) GetRect() *Rect2 { log.Println("Calling VisibilityNotifier2D.GetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rect", goArguments, "*Rect2") - - returnValue := goRet.Interface().(*Rect2) - + returnValue := godotCallRect2(o, "get_rect") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108374,16 +70438,9 @@ func (o *VisibilityNotifier2D) GetRect() *Rect2 { func (o *VisibilityNotifier2D) IsOnScreen() bool { log.Println("Calling VisibilityNotifier2D.IsOnScreen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_on_screen", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_on_screen") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108394,14 +70451,7 @@ func (o *VisibilityNotifier2D) IsOnScreen() bool { func (o *VisibilityNotifier2D) SetRect(rect *Rect2) { log.Println("Calling VisibilityNotifier2D.SetRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rect", goArguments, "") - + godotCallVoidRect2(o, "set_rect", rect) log.Println(" Function successfully completed.") } @@ -108430,16 +70480,9 @@ func (o *VisualInstance) baseClass() string { func (o *VisualInstance) X_GetVisualInstanceRid() *RID { log.Println("Calling VisualInstance.X_GetVisualInstanceRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_visual_instance_rid", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "_get_visual_instance_rid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108450,16 +70493,9 @@ func (o *VisualInstance) X_GetVisualInstanceRid() *RID { func (o *VisualInstance) GetAabb() *AABB { log.Println("Calling VisualInstance.GetAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108470,16 +70506,9 @@ func (o *VisualInstance) GetAabb() *AABB { func (o *VisualInstance) GetLayerMask() int64 { log.Println("Calling VisualInstance.GetLayerMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_layer_mask", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_layer_mask") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108490,16 +70519,9 @@ func (o *VisualInstance) GetLayerMask() int64 { func (o *VisualInstance) GetTransformedAabb() *AABB { log.Println("Calling VisualInstance.GetTransformedAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_transformed_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabb(o, "get_transformed_aabb") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108510,14 +70532,7 @@ func (o *VisualInstance) GetTransformedAabb() *AABB { func (o *VisualInstance) SetBase(base *RID) { log.Println("Calling VisualInstance.SetBase()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(base) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base", goArguments, "") - + godotCallVoidRid(o, "set_base", base) log.Println(" Function successfully completed.") } @@ -108528,14 +70543,7 @@ func (o *VisualInstance) SetBase(base *RID) { func (o *VisualInstance) SetLayerMask(mask int64) { log.Println("Calling VisualInstance.SetLayerMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_layer_mask", goArguments, "") - + godotCallVoidInt(o, "set_layer_mask", mask) log.Println(" Function successfully completed.") } @@ -108564,16 +70572,9 @@ func (o *VisualScript) baseClass() string { func (o *VisualScript) X_GetData() *Dictionary { log.Println("Calling VisualScript.X_GetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_data", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108584,14 +70585,7 @@ func (o *VisualScript) X_GetData() *Dictionary { func (o *VisualScript) X_NodePortsChanged(arg0 int64) { log.Println("Calling VisualScript.X_NodePortsChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_node_ports_changed", goArguments, "") - + godotCallVoidInt(o, "_node_ports_changed", arg0) log.Println(" Function successfully completed.") } @@ -108602,14 +70596,7 @@ func (o *VisualScript) X_NodePortsChanged(arg0 int64) { func (o *VisualScript) X_SetData(data *Dictionary) { log.Println("Calling VisualScript.X_SetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(data) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_data", goArguments, "") - + godotCallVoidDictionary(o, "_set_data", data) log.Println(" Function successfully completed.") } @@ -108620,14 +70607,7 @@ func (o *VisualScript) X_SetData(data *Dictionary) { func (o *VisualScript) AddCustomSignal(name string) { log.Println("Calling VisualScript.AddCustomSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_custom_signal", goArguments, "") - + godotCallVoidString(o, "add_custom_signal", name) log.Println(" Function successfully completed.") } @@ -108638,14 +70618,7 @@ func (o *VisualScript) AddCustomSignal(name string) { func (o *VisualScript) AddFunction(name string) { log.Println("Calling VisualScript.AddFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_function", goArguments, "") - + godotCallVoidString(o, "add_function", name) log.Println(" Function successfully completed.") } @@ -108656,17 +70629,7 @@ func (o *VisualScript) AddFunction(name string) { func (o *VisualScript) AddNode(function string, id int64, node *VisualScriptNode, position *Vector2) { log.Println("Calling VisualScript.AddNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(node) - goArguments[3] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_node", goArguments, "") - + godotCallVoidStringIntObjectVector2(o, "add_node", function, id, &node.Object, position) log.Println(" Function successfully completed.") } @@ -108677,16 +70640,7 @@ func (o *VisualScript) AddNode(function string, id int64, node *VisualScriptNode func (o *VisualScript) AddVariable(name string, defaultValue *Variant, export bool) { log.Println("Calling VisualScript.AddVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(defaultValue) - goArguments[2] = reflect.ValueOf(export) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "add_variable", goArguments, "") - + godotCallVoidStringVariantBool(o, "add_variable", name, defaultValue, export) log.Println(" Function successfully completed.") } @@ -108697,17 +70651,7 @@ func (o *VisualScript) AddVariable(name string, defaultValue *Variant, export bo func (o *VisualScript) CustomSignalAddArgument(name string, aType int64, argname string, index int64) { log.Println("Calling VisualScript.CustomSignalAddArgument()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(aType) - goArguments[2] = reflect.ValueOf(argname) - goArguments[3] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "custom_signal_add_argument", goArguments, "") - + godotCallVoidStringIntStringInt(o, "custom_signal_add_argument", name, aType, argname, index) log.Println(" Function successfully completed.") } @@ -108718,17 +70662,9 @@ func (o *VisualScript) CustomSignalAddArgument(name string, aType int64, argname func (o *VisualScript) CustomSignalGetArgumentCount(name string) int64 { log.Println("Calling VisualScript.CustomSignalGetArgumentCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "custom_signal_get_argument_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "custom_signal_get_argument_count", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108739,18 +70675,9 @@ func (o *VisualScript) CustomSignalGetArgumentCount(name string) int64 { func (o *VisualScript) CustomSignalGetArgumentName(name string, argidx int64) string { log.Println("Calling VisualScript.CustomSignalGetArgumentName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "custom_signal_get_argument_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringStringInt(o, "custom_signal_get_argument_name", name, argidx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108761,18 +70688,9 @@ func (o *VisualScript) CustomSignalGetArgumentName(name string, argidx int64) st func (o *VisualScript) CustomSignalGetArgumentType(name string, argidx int64) int64 { log.Println("Calling VisualScript.CustomSignalGetArgumentType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "custom_signal_get_argument_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntStringInt(o, "custom_signal_get_argument_type", name, argidx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108783,15 +70701,7 @@ func (o *VisualScript) CustomSignalGetArgumentType(name string, argidx int64) in func (o *VisualScript) CustomSignalRemoveArgument(name string, argidx int64) { log.Println("Calling VisualScript.CustomSignalRemoveArgument()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "custom_signal_remove_argument", goArguments, "") - + godotCallVoidStringInt(o, "custom_signal_remove_argument", name, argidx) log.Println(" Function successfully completed.") } @@ -108802,16 +70712,7 @@ func (o *VisualScript) CustomSignalRemoveArgument(name string, argidx int64) { func (o *VisualScript) CustomSignalSetArgumentName(name string, argidx int64, argname string) { log.Println("Calling VisualScript.CustomSignalSetArgumentName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - goArguments[2] = reflect.ValueOf(argname) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "custom_signal_set_argument_name", goArguments, "") - + godotCallVoidStringIntString(o, "custom_signal_set_argument_name", name, argidx, argname) log.Println(" Function successfully completed.") } @@ -108822,16 +70723,7 @@ func (o *VisualScript) CustomSignalSetArgumentName(name string, argidx int64, ar func (o *VisualScript) CustomSignalSetArgumentType(name string, argidx int64, aType int64) { log.Println("Calling VisualScript.CustomSignalSetArgumentType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - goArguments[2] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "custom_signal_set_argument_type", goArguments, "") - + godotCallVoidStringIntInt(o, "custom_signal_set_argument_type", name, argidx, aType) log.Println(" Function successfully completed.") } @@ -108842,16 +70734,7 @@ func (o *VisualScript) CustomSignalSetArgumentType(name string, argidx int64, aT func (o *VisualScript) CustomSignalSwapArgument(name string, argidx int64, withidx int64) { log.Println("Calling VisualScript.CustomSignalSwapArgument()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(argidx) - goArguments[2] = reflect.ValueOf(withidx) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "custom_signal_swap_argument", goArguments, "") - + godotCallVoidStringIntInt(o, "custom_signal_swap_argument", name, argidx, withidx) log.Println(" Function successfully completed.") } @@ -108862,18 +70745,7 @@ func (o *VisualScript) CustomSignalSwapArgument(name string, argidx int64, withi func (o *VisualScript) DataConnect(function string, fromNode int64, fromPort int64, toNode int64, toPort int64) { log.Println("Calling VisualScript.DataConnect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromPort) - goArguments[3] = reflect.ValueOf(toNode) - goArguments[4] = reflect.ValueOf(toPort) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "data_connect", goArguments, "") - + godotCallVoidStringIntIntIntInt(o, "data_connect", function, fromNode, fromPort, toNode, toPort) log.Println(" Function successfully completed.") } @@ -108884,18 +70756,7 @@ func (o *VisualScript) DataConnect(function string, fromNode int64, fromPort int func (o *VisualScript) DataDisconnect(function string, fromNode int64, fromPort int64, toNode int64, toPort int64) { log.Println("Calling VisualScript.DataDisconnect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromPort) - goArguments[3] = reflect.ValueOf(toNode) - goArguments[4] = reflect.ValueOf(toPort) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "data_disconnect", goArguments, "") - + godotCallVoidStringIntIntIntInt(o, "data_disconnect", function, fromNode, fromPort, toNode, toPort) log.Println(" Function successfully completed.") } @@ -108906,17 +70767,9 @@ func (o *VisualScript) DataDisconnect(function string, fromNode int64, fromPort func (o *VisualScript) GetFunctionNodeId(name string) int64 { log.Println("Calling VisualScript.GetFunctionNodeId()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_function_node_id", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "get_function_node_id", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108927,17 +70780,9 @@ func (o *VisualScript) GetFunctionNodeId(name string) int64 { func (o *VisualScript) GetFunctionScroll(name string) *Vector2 { log.Println("Calling VisualScript.GetFunctionScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_function_scroll", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2String(o, "get_function_scroll", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108948,19 +70793,12 @@ func (o *VisualScript) GetFunctionScroll(name string) *Vector2 { func (o *VisualScript) GetNode(function string, id int64) *VisualScriptNode { log.Println("Calling VisualScript.GetNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node", goArguments, "*VisualScriptNode") - - returnValue := goRet.Interface().(*VisualScriptNode) - + returnValue := godotCallObjectStringInt(o, "get_node", function, id) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VisualScriptNode + ret.owner = returnValue.owner + return &ret } @@ -108970,18 +70808,9 @@ func (o *VisualScript) GetNode(function string, id int64) *VisualScriptNode { func (o *VisualScript) GetNodePosition(function string, id int64) *Vector2 { log.Println("Calling VisualScript.GetNodePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_position", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2StringInt(o, "get_node_position", function, id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -108992,17 +70821,9 @@ func (o *VisualScript) GetNodePosition(function string, id int64) *Vector2 { func (o *VisualScript) GetVariableDefaultValue(name string) *Variant { log.Println("Calling VisualScript.GetVariableDefaultValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_variable_default_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantString(o, "get_variable_default_value", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109013,17 +70834,9 @@ func (o *VisualScript) GetVariableDefaultValue(name string) *Variant { func (o *VisualScript) GetVariableExport(name string) bool { log.Println("Calling VisualScript.GetVariableExport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_variable_export", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "get_variable_export", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109034,17 +70847,9 @@ func (o *VisualScript) GetVariableExport(name string) bool { func (o *VisualScript) GetVariableInfo(name string) *Dictionary { log.Println("Calling VisualScript.GetVariableInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_variable_info", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionaryString(o, "get_variable_info", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109055,17 +70860,9 @@ func (o *VisualScript) GetVariableInfo(name string) *Dictionary { func (o *VisualScript) HasCustomSignal(name string) bool { log.Println("Calling VisualScript.HasCustomSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_custom_signal", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_custom_signal", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109076,21 +70873,9 @@ func (o *VisualScript) HasCustomSignal(name string) bool { func (o *VisualScript) HasDataConnection(function string, fromNode int64, fromPort int64, toNode int64, toPort int64) bool { log.Println("Calling VisualScript.HasDataConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromPort) - goArguments[3] = reflect.ValueOf(toNode) - goArguments[4] = reflect.ValueOf(toPort) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_data_connection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringIntIntIntInt(o, "has_data_connection", function, fromNode, fromPort, toNode, toPort) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109101,17 +70886,9 @@ func (o *VisualScript) HasDataConnection(function string, fromNode int64, fromPo func (o *VisualScript) HasFunction(name string) bool { log.Println("Calling VisualScript.HasFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_function", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_function", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109122,18 +70899,9 @@ func (o *VisualScript) HasFunction(name string) bool { func (o *VisualScript) HasNode(function string, id int64) bool { log.Println("Calling VisualScript.HasNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_node", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringInt(o, "has_node", function, id) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109144,20 +70912,9 @@ func (o *VisualScript) HasNode(function string, id int64) bool { func (o *VisualScript) HasSequenceConnection(function string, fromNode int64, fromOutput int64, toNode int64) bool { log.Println("Calling VisualScript.HasSequenceConnection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromOutput) - goArguments[3] = reflect.ValueOf(toNode) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_sequence_connection", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolStringIntIntInt(o, "has_sequence_connection", function, fromNode, fromOutput, toNode) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109168,17 +70925,9 @@ func (o *VisualScript) HasSequenceConnection(function string, fromNode int64, fr func (o *VisualScript) HasVariable(name string) bool { log.Println("Calling VisualScript.HasVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_variable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_variable", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109189,14 +70938,7 @@ func (o *VisualScript) HasVariable(name string) bool { func (o *VisualScript) RemoveCustomSignal(name string) { log.Println("Calling VisualScript.RemoveCustomSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_custom_signal", goArguments, "") - + godotCallVoidString(o, "remove_custom_signal", name) log.Println(" Function successfully completed.") } @@ -109207,14 +70949,7 @@ func (o *VisualScript) RemoveCustomSignal(name string) { func (o *VisualScript) RemoveFunction(name string) { log.Println("Calling VisualScript.RemoveFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_function", goArguments, "") - + godotCallVoidString(o, "remove_function", name) log.Println(" Function successfully completed.") } @@ -109225,15 +70960,7 @@ func (o *VisualScript) RemoveFunction(name string) { func (o *VisualScript) RemoveNode(function string, id int64) { log.Println("Calling VisualScript.RemoveNode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_node", goArguments, "") - + godotCallVoidStringInt(o, "remove_node", function, id) log.Println(" Function successfully completed.") } @@ -109244,14 +70971,7 @@ func (o *VisualScript) RemoveNode(function string, id int64) { func (o *VisualScript) RemoveVariable(name string) { log.Println("Calling VisualScript.RemoveVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "remove_variable", goArguments, "") - + godotCallVoidString(o, "remove_variable", name) log.Println(" Function successfully completed.") } @@ -109262,15 +70982,7 @@ func (o *VisualScript) RemoveVariable(name string) { func (o *VisualScript) RenameCustomSignal(name string, newName string) { log.Println("Calling VisualScript.RenameCustomSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(newName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_custom_signal", goArguments, "") - + godotCallVoidStringString(o, "rename_custom_signal", name, newName) log.Println(" Function successfully completed.") } @@ -109281,15 +70993,7 @@ func (o *VisualScript) RenameCustomSignal(name string, newName string) { func (o *VisualScript) RenameFunction(name string, newName string) { log.Println("Calling VisualScript.RenameFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(newName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_function", goArguments, "") - + godotCallVoidStringString(o, "rename_function", name, newName) log.Println(" Function successfully completed.") } @@ -109300,15 +71004,7 @@ func (o *VisualScript) RenameFunction(name string, newName string) { func (o *VisualScript) RenameVariable(name string, newName string) { log.Println("Calling VisualScript.RenameVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(newName) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "rename_variable", goArguments, "") - + godotCallVoidStringString(o, "rename_variable", name, newName) log.Println(" Function successfully completed.") } @@ -109319,17 +71015,7 @@ func (o *VisualScript) RenameVariable(name string, newName string) { func (o *VisualScript) SequenceConnect(function string, fromNode int64, fromOutput int64, toNode int64) { log.Println("Calling VisualScript.SequenceConnect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromOutput) - goArguments[3] = reflect.ValueOf(toNode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "sequence_connect", goArguments, "") - + godotCallVoidStringIntIntInt(o, "sequence_connect", function, fromNode, fromOutput, toNode) log.Println(" Function successfully completed.") } @@ -109340,17 +71026,7 @@ func (o *VisualScript) SequenceConnect(function string, fromNode int64, fromOutp func (o *VisualScript) SequenceDisconnect(function string, fromNode int64, fromOutput int64, toNode int64) { log.Println("Calling VisualScript.SequenceDisconnect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(fromNode) - goArguments[2] = reflect.ValueOf(fromOutput) - goArguments[3] = reflect.ValueOf(toNode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "sequence_disconnect", goArguments, "") - + godotCallVoidStringIntIntInt(o, "sequence_disconnect", function, fromNode, fromOutput, toNode) log.Println(" Function successfully completed.") } @@ -109361,15 +71037,7 @@ func (o *VisualScript) SequenceDisconnect(function string, fromNode int64, fromO func (o *VisualScript) SetFunctionScroll(name string, ofs *Vector2) { log.Println("Calling VisualScript.SetFunctionScroll()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(ofs) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_function_scroll", goArguments, "") - + godotCallVoidStringVector2(o, "set_function_scroll", name, ofs) log.Println(" Function successfully completed.") } @@ -109380,14 +71048,7 @@ func (o *VisualScript) SetFunctionScroll(name string, ofs *Vector2) { func (o *VisualScript) SetInstanceBaseType(aType string) { log.Println("Calling VisualScript.SetInstanceBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_instance_base_type", goArguments, "") - + godotCallVoidString(o, "set_instance_base_type", aType) log.Println(" Function successfully completed.") } @@ -109398,16 +71059,7 @@ func (o *VisualScript) SetInstanceBaseType(aType string) { func (o *VisualScript) SetNodePosition(function string, id int64, position *Vector2) { log.Println("Calling VisualScript.SetNodePosition()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(function) - goArguments[1] = reflect.ValueOf(id) - goArguments[2] = reflect.ValueOf(position) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_position", goArguments, "") - + godotCallVoidStringIntVector2(o, "set_node_position", function, id, position) log.Println(" Function successfully completed.") } @@ -109418,15 +71070,7 @@ func (o *VisualScript) SetNodePosition(function string, id int64, position *Vect func (o *VisualScript) SetVariableDefaultValue(name string, value *Variant) { log.Println("Calling VisualScript.SetVariableDefaultValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_variable_default_value", goArguments, "") - + godotCallVoidStringVariant(o, "set_variable_default_value", name, value) log.Println(" Function successfully completed.") } @@ -109437,15 +71081,7 @@ func (o *VisualScript) SetVariableDefaultValue(name string, value *Variant) { func (o *VisualScript) SetVariableExport(name string, enable bool) { log.Println("Calling VisualScript.SetVariableExport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_variable_export", goArguments, "") - + godotCallVoidStringBool(o, "set_variable_export", name, enable) log.Println(" Function successfully completed.") } @@ -109456,15 +71092,7 @@ func (o *VisualScript) SetVariableExport(name string, enable bool) { func (o *VisualScript) SetVariableInfo(name string, value *Dictionary) { log.Println("Calling VisualScript.SetVariableInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(name) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_variable_info", goArguments, "") - + godotCallVoidStringDictionary(o, "set_variable_info", name, value) log.Println(" Function successfully completed.") } @@ -109493,16 +71121,9 @@ func (o *VisualScriptBasicTypeConstant) baseClass() string { func (o *VisualScriptBasicTypeConstant) GetBasicType() int64 { log.Println("Calling VisualScriptBasicTypeConstant.GetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_basic_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_basic_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109513,16 +71134,9 @@ func (o *VisualScriptBasicTypeConstant) GetBasicType() int64 { func (o *VisualScriptBasicTypeConstant) GetBasicTypeConstant() string { log.Println("Calling VisualScriptBasicTypeConstant.GetBasicTypeConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_basic_type_constant", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_basic_type_constant") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109533,14 +71147,7 @@ func (o *VisualScriptBasicTypeConstant) GetBasicTypeConstant() string { func (o *VisualScriptBasicTypeConstant) SetBasicType(name int64) { log.Println("Calling VisualScriptBasicTypeConstant.SetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_basic_type", goArguments, "") - + godotCallVoidInt(o, "set_basic_type", name) log.Println(" Function successfully completed.") } @@ -109551,14 +71158,7 @@ func (o *VisualScriptBasicTypeConstant) SetBasicType(name int64) { func (o *VisualScriptBasicTypeConstant) SetBasicTypeConstant(name string) { log.Println("Calling VisualScriptBasicTypeConstant.SetBasicTypeConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_basic_type_constant", goArguments, "") - + godotCallVoidString(o, "set_basic_type_constant", name) log.Println(" Function successfully completed.") } @@ -109587,16 +71187,9 @@ func (o *VisualScriptBuiltinFunc) baseClass() string { func (o *VisualScriptBuiltinFunc) GetFunc() int64 { log.Println("Calling VisualScriptBuiltinFunc.GetFunc()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_func", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_func") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109607,14 +71200,7 @@ func (o *VisualScriptBuiltinFunc) GetFunc() int64 { func (o *VisualScriptBuiltinFunc) SetFunc(which int64) { log.Println("Calling VisualScriptBuiltinFunc.SetFunc()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(which) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_func", goArguments, "") - + godotCallVoidInt(o, "set_func", which) log.Println(" Function successfully completed.") } @@ -109643,16 +71229,9 @@ func (o *VisualScriptClassConstant) baseClass() string { func (o *VisualScriptClassConstant) GetBaseType() string { log.Println("Calling VisualScriptClassConstant.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109663,16 +71242,9 @@ func (o *VisualScriptClassConstant) GetBaseType() string { func (o *VisualScriptClassConstant) GetClassConstant() string { log.Println("Calling VisualScriptClassConstant.GetClassConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_class_constant", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_class_constant") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109683,14 +71255,7 @@ func (o *VisualScriptClassConstant) GetClassConstant() string { func (o *VisualScriptClassConstant) SetBaseType(name string) { log.Println("Calling VisualScriptClassConstant.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", name) log.Println(" Function successfully completed.") } @@ -109701,14 +71266,7 @@ func (o *VisualScriptClassConstant) SetBaseType(name string) { func (o *VisualScriptClassConstant) SetClassConstant(name string) { log.Println("Calling VisualScriptClassConstant.SetClassConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_class_constant", goArguments, "") - + godotCallVoidString(o, "set_class_constant", name) log.Println(" Function successfully completed.") } @@ -109737,16 +71295,9 @@ func (o *VisualScriptComment) baseClass() string { func (o *VisualScriptComment) GetDescription() string { log.Println("Calling VisualScriptComment.GetDescription()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_description", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_description") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109757,16 +71308,9 @@ func (o *VisualScriptComment) GetDescription() string { func (o *VisualScriptComment) GetSize() *Vector2 { log.Println("Calling VisualScriptComment.GetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_size", goArguments, "*Vector2") - - returnValue := goRet.Interface().(*Vector2) - + returnValue := godotCallVector2(o, "get_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109777,16 +71321,9 @@ func (o *VisualScriptComment) GetSize() *Vector2 { func (o *VisualScriptComment) GetTitle() string { log.Println("Calling VisualScriptComment.GetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_title") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109797,14 +71334,7 @@ func (o *VisualScriptComment) GetTitle() string { func (o *VisualScriptComment) SetDescription(description string) { log.Println("Calling VisualScriptComment.SetDescription()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(description) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_description", goArguments, "") - + godotCallVoidString(o, "set_description", description) log.Println(" Function successfully completed.") } @@ -109815,14 +71345,7 @@ func (o *VisualScriptComment) SetDescription(description string) { func (o *VisualScriptComment) SetSize(size *Vector2) { log.Println("Calling VisualScriptComment.SetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_size", goArguments, "") - + godotCallVoidVector2(o, "set_size", size) log.Println(" Function successfully completed.") } @@ -109833,14 +71356,7 @@ func (o *VisualScriptComment) SetSize(size *Vector2) { func (o *VisualScriptComment) SetTitle(title string) { log.Println("Calling VisualScriptComment.SetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_title", goArguments, "") - + godotCallVoidString(o, "set_title", title) log.Println(" Function successfully completed.") } @@ -109887,16 +71403,9 @@ func (o *VisualScriptConstant) baseClass() string { func (o *VisualScriptConstant) GetConstantType() int64 { log.Println("Calling VisualScriptConstant.GetConstantType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_constant_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109907,16 +71416,9 @@ func (o *VisualScriptConstant) GetConstantType() int64 { func (o *VisualScriptConstant) GetConstantValue() *Variant { log.Println("Calling VisualScriptConstant.GetConstantValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constant_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_constant_value") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -109927,14 +71429,7 @@ func (o *VisualScriptConstant) GetConstantValue() *Variant { func (o *VisualScriptConstant) SetConstantType(aType int64) { log.Println("Calling VisualScriptConstant.SetConstantType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_type", goArguments, "") - + godotCallVoidInt(o, "set_constant_type", aType) log.Println(" Function successfully completed.") } @@ -109945,14 +71440,7 @@ func (o *VisualScriptConstant) SetConstantType(aType int64) { func (o *VisualScriptConstant) SetConstantValue(value *Variant) { log.Println("Calling VisualScriptConstant.SetConstantValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constant_value", goArguments, "") - + godotCallVoidVariant(o, "set_constant_value", value) log.Println(" Function successfully completed.") } @@ -109981,16 +71469,9 @@ func (o *VisualScriptConstructor) baseClass() string { func (o *VisualScriptConstructor) GetConstructor() *Dictionary { log.Println("Calling VisualScriptConstructor.GetConstructor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constructor", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "get_constructor") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110001,16 +71482,9 @@ func (o *VisualScriptConstructor) GetConstructor() *Dictionary { func (o *VisualScriptConstructor) GetConstructorType() int64 { log.Println("Calling VisualScriptConstructor.GetConstructorType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_constructor_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_constructor_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110021,14 +71495,7 @@ func (o *VisualScriptConstructor) GetConstructorType() int64 { func (o *VisualScriptConstructor) SetConstructor(constructor *Dictionary) { log.Println("Calling VisualScriptConstructor.SetConstructor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(constructor) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constructor", goArguments, "") - + godotCallVoidDictionary(o, "set_constructor", constructor) log.Println(" Function successfully completed.") } @@ -110039,14 +71506,7 @@ func (o *VisualScriptConstructor) SetConstructor(constructor *Dictionary) { func (o *VisualScriptConstructor) SetConstructorType(aType int64) { log.Println("Calling VisualScriptConstructor.SetConstructorType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_constructor_type", goArguments, "") - + godotCallVoidInt(o, "set_constructor_type", aType) log.Println(" Function successfully completed.") } @@ -110075,16 +71535,9 @@ func (o *VisualScriptCustomNode) baseClass() string { func (o *VisualScriptCustomNode) X_GetCaption() string { log.Println("Calling VisualScriptCustomNode.X_GetCaption()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_caption", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "_get_caption") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110095,16 +71548,9 @@ func (o *VisualScriptCustomNode) X_GetCaption() string { func (o *VisualScriptCustomNode) X_GetCategory() string { log.Println("Calling VisualScriptCustomNode.X_GetCategory()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_category", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "_get_category") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110115,16 +71561,9 @@ func (o *VisualScriptCustomNode) X_GetCategory() string { func (o *VisualScriptCustomNode) X_GetInputValuePortCount() int64 { log.Println("Calling VisualScriptCustomNode.X_GetInputValuePortCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_input_value_port_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_input_value_port_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110135,17 +71574,9 @@ func (o *VisualScriptCustomNode) X_GetInputValuePortCount() int64 { func (o *VisualScriptCustomNode) X_GetInputValuePortName(idx int64) string { log.Println("Calling VisualScriptCustomNode.X_GetInputValuePortName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_input_value_port_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "_get_input_value_port_name", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110156,17 +71587,9 @@ func (o *VisualScriptCustomNode) X_GetInputValuePortName(idx int64) string { func (o *VisualScriptCustomNode) X_GetInputValuePortType(idx int64) int64 { log.Println("Calling VisualScriptCustomNode.X_GetInputValuePortType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_input_value_port_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "_get_input_value_port_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110177,16 +71600,9 @@ func (o *VisualScriptCustomNode) X_GetInputValuePortType(idx int64) int64 { func (o *VisualScriptCustomNode) X_GetOutputSequencePortCount() int64 { log.Println("Calling VisualScriptCustomNode.X_GetOutputSequencePortCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_output_sequence_port_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_output_sequence_port_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110197,17 +71613,9 @@ func (o *VisualScriptCustomNode) X_GetOutputSequencePortCount() int64 { func (o *VisualScriptCustomNode) X_GetOutputSequencePortText(idx int64) string { log.Println("Calling VisualScriptCustomNode.X_GetOutputSequencePortText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_output_sequence_port_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "_get_output_sequence_port_text", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110218,16 +71626,9 @@ func (o *VisualScriptCustomNode) X_GetOutputSequencePortText(idx int64) string { func (o *VisualScriptCustomNode) X_GetOutputValuePortCount() int64 { log.Println("Calling VisualScriptCustomNode.X_GetOutputValuePortCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_output_value_port_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_output_value_port_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110238,17 +71639,9 @@ func (o *VisualScriptCustomNode) X_GetOutputValuePortCount() int64 { func (o *VisualScriptCustomNode) X_GetOutputValuePortName(idx int64) string { log.Println("Calling VisualScriptCustomNode.X_GetOutputValuePortName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_output_value_port_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "_get_output_value_port_name", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110259,17 +71652,9 @@ func (o *VisualScriptCustomNode) X_GetOutputValuePortName(idx int64) string { func (o *VisualScriptCustomNode) X_GetOutputValuePortType(idx int64) int64 { log.Println("Calling VisualScriptCustomNode.X_GetOutputValuePortType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_output_value_port_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "_get_output_value_port_type", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110280,16 +71665,9 @@ func (o *VisualScriptCustomNode) X_GetOutputValuePortType(idx int64) int64 { func (o *VisualScriptCustomNode) X_GetText() string { log.Println("Calling VisualScriptCustomNode.X_GetText()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_text", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "_get_text") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110300,16 +71678,9 @@ func (o *VisualScriptCustomNode) X_GetText() string { func (o *VisualScriptCustomNode) X_GetWorkingMemorySize() int64 { log.Println("Calling VisualScriptCustomNode.X_GetWorkingMemorySize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_working_memory_size", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_working_memory_size") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110320,16 +71691,9 @@ func (o *VisualScriptCustomNode) X_GetWorkingMemorySize() int64 { func (o *VisualScriptCustomNode) X_HasInputSequencePort() bool { log.Println("Calling VisualScriptCustomNode.X_HasInputSequencePort()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_has_input_sequence_port", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "_has_input_sequence_port") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110340,13 +71704,7 @@ func (o *VisualScriptCustomNode) X_HasInputSequencePort() bool { func (o *VisualScriptCustomNode) X_ScriptChanged() { log.Println("Calling VisualScriptCustomNode.X_ScriptChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_script_changed", goArguments, "") - + godotCallVoid(o, "_script_changed") log.Println(" Function successfully completed.") } @@ -110357,20 +71715,9 @@ func (o *VisualScriptCustomNode) X_ScriptChanged() { func (o *VisualScriptCustomNode) X_Step(inputs *Array, outputs *Array, startMode int64, workingMem *Array) *Variant { log.Println("Calling VisualScriptCustomNode.X_Step()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(inputs) - goArguments[1] = reflect.ValueOf(outputs) - goArguments[2] = reflect.ValueOf(startMode) - goArguments[3] = reflect.ValueOf(workingMem) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_step", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArrayArrayIntArray(o, "_step", inputs, outputs, startMode, workingMem) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110399,16 +71746,9 @@ func (o *VisualScriptDeconstruct) baseClass() string { func (o *VisualScriptDeconstruct) X_GetElemCache() *Array { log.Println("Calling VisualScriptDeconstruct.X_GetElemCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_elem_cache", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_elem_cache") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110419,14 +71759,7 @@ func (o *VisualScriptDeconstruct) X_GetElemCache() *Array { func (o *VisualScriptDeconstruct) X_SetElemCache(cache *Array) { log.Println("Calling VisualScriptDeconstruct.X_SetElemCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(cache) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_elem_cache", goArguments, "") - + godotCallVoidArray(o, "_set_elem_cache", cache) log.Println(" Function successfully completed.") } @@ -110437,16 +71770,9 @@ func (o *VisualScriptDeconstruct) X_SetElemCache(cache *Array) { func (o *VisualScriptDeconstruct) GetDeconstructType() int64 { log.Println("Calling VisualScriptDeconstruct.GetDeconstructType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_deconstruct_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_deconstruct_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110457,14 +71783,7 @@ func (o *VisualScriptDeconstruct) GetDeconstructType() int64 { func (o *VisualScriptDeconstruct) SetDeconstructType(aType int64) { log.Println("Calling VisualScriptDeconstruct.SetDeconstructType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_deconstruct_type", goArguments, "") - + godotCallVoidInt(o, "set_deconstruct_type", aType) log.Println(" Function successfully completed.") } @@ -110493,16 +71812,9 @@ func (o *VisualScriptEmitSignal) baseClass() string { func (o *VisualScriptEmitSignal) GetSignal() string { log.Println("Calling VisualScriptEmitSignal.GetSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_signal", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_signal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110513,14 +71825,7 @@ func (o *VisualScriptEmitSignal) GetSignal() string { func (o *VisualScriptEmitSignal) SetSignal(name string) { log.Println("Calling VisualScriptEmitSignal.SetSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_signal", goArguments, "") - + godotCallVoidString(o, "set_signal", name) log.Println(" Function successfully completed.") } @@ -110549,16 +71854,9 @@ func (o *VisualScriptEngineSingleton) baseClass() string { func (o *VisualScriptEngineSingleton) GetSingleton() string { log.Println("Calling VisualScriptEngineSingleton.GetSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_singleton", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_singleton") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110569,14 +71867,7 @@ func (o *VisualScriptEngineSingleton) GetSingleton() string { func (o *VisualScriptEngineSingleton) SetSingleton(name string) { log.Println("Calling VisualScriptEngineSingleton.SetSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_singleton", goArguments, "") - + godotCallVoidString(o, "set_singleton", name) log.Println(" Function successfully completed.") } @@ -110641,16 +71932,9 @@ func (o *VisualScriptFunctionCall) baseClass() string { func (o *VisualScriptFunctionCall) X_GetArgumentCache() *Dictionary { log.Println("Calling VisualScriptFunctionCall.X_GetArgumentCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_argument_cache", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_argument_cache") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110661,14 +71945,7 @@ func (o *VisualScriptFunctionCall) X_GetArgumentCache() *Dictionary { func (o *VisualScriptFunctionCall) X_SetArgumentCache(argumentCache *Dictionary) { log.Println("Calling VisualScriptFunctionCall.X_SetArgumentCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(argumentCache) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_argument_cache", goArguments, "") - + godotCallVoidDictionary(o, "_set_argument_cache", argumentCache) log.Println(" Function successfully completed.") } @@ -110679,16 +71956,9 @@ func (o *VisualScriptFunctionCall) X_SetArgumentCache(argumentCache *Dictionary) func (o *VisualScriptFunctionCall) GetBasePath() *NodePath { log.Println("Calling VisualScriptFunctionCall.GetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_base_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110699,16 +71969,9 @@ func (o *VisualScriptFunctionCall) GetBasePath() *NodePath { func (o *VisualScriptFunctionCall) GetBaseScript() string { log.Println("Calling VisualScriptFunctionCall.GetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_script", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_script") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110719,16 +71982,9 @@ func (o *VisualScriptFunctionCall) GetBaseScript() string { func (o *VisualScriptFunctionCall) GetBaseType() string { log.Println("Calling VisualScriptFunctionCall.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110739,16 +71995,9 @@ func (o *VisualScriptFunctionCall) GetBaseType() string { func (o *VisualScriptFunctionCall) GetBasicType() int64 { log.Println("Calling VisualScriptFunctionCall.GetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_basic_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_basic_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110759,16 +72008,9 @@ func (o *VisualScriptFunctionCall) GetBasicType() int64 { func (o *VisualScriptFunctionCall) GetCallMode() int64 { log.Println("Calling VisualScriptFunctionCall.GetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_call_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_call_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110779,16 +72021,9 @@ func (o *VisualScriptFunctionCall) GetCallMode() int64 { func (o *VisualScriptFunctionCall) GetFunction() string { log.Println("Calling VisualScriptFunctionCall.GetFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_function", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_function") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110799,16 +72034,9 @@ func (o *VisualScriptFunctionCall) GetFunction() string { func (o *VisualScriptFunctionCall) GetRpcCallMode() int64 { log.Println("Calling VisualScriptFunctionCall.GetRpcCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_rpc_call_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_rpc_call_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110819,16 +72047,9 @@ func (o *VisualScriptFunctionCall) GetRpcCallMode() int64 { func (o *VisualScriptFunctionCall) GetSingleton() string { log.Println("Calling VisualScriptFunctionCall.GetSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_singleton", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_singleton") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110839,16 +72060,9 @@ func (o *VisualScriptFunctionCall) GetSingleton() string { func (o *VisualScriptFunctionCall) GetUseDefaultArgs() int64 { log.Println("Calling VisualScriptFunctionCall.GetUseDefaultArgs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_use_default_args", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_use_default_args") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110859,16 +72073,9 @@ func (o *VisualScriptFunctionCall) GetUseDefaultArgs() int64 { func (o *VisualScriptFunctionCall) GetValidate() bool { log.Println("Calling VisualScriptFunctionCall.GetValidate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_validate", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_validate") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -110879,14 +72086,7 @@ func (o *VisualScriptFunctionCall) GetValidate() bool { func (o *VisualScriptFunctionCall) SetBasePath(basePath *NodePath) { log.Println("Calling VisualScriptFunctionCall.SetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_path", goArguments, "") - + godotCallVoidNodePath(o, "set_base_path", basePath) log.Println(" Function successfully completed.") } @@ -110897,14 +72097,7 @@ func (o *VisualScriptFunctionCall) SetBasePath(basePath *NodePath) { func (o *VisualScriptFunctionCall) SetBaseScript(baseScript string) { log.Println("Calling VisualScriptFunctionCall.SetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseScript) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_script", goArguments, "") - + godotCallVoidString(o, "set_base_script", baseScript) log.Println(" Function successfully completed.") } @@ -110915,14 +72108,7 @@ func (o *VisualScriptFunctionCall) SetBaseScript(baseScript string) { func (o *VisualScriptFunctionCall) SetBaseType(baseType string) { log.Println("Calling VisualScriptFunctionCall.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", baseType) log.Println(" Function successfully completed.") } @@ -110933,14 +72119,7 @@ func (o *VisualScriptFunctionCall) SetBaseType(baseType string) { func (o *VisualScriptFunctionCall) SetBasicType(basicType int64) { log.Println("Calling VisualScriptFunctionCall.SetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basicType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_basic_type", goArguments, "") - + godotCallVoidInt(o, "set_basic_type", basicType) log.Println(" Function successfully completed.") } @@ -110951,14 +72130,7 @@ func (o *VisualScriptFunctionCall) SetBasicType(basicType int64) { func (o *VisualScriptFunctionCall) SetCallMode(mode int64) { log.Println("Calling VisualScriptFunctionCall.SetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_call_mode", goArguments, "") - + godotCallVoidInt(o, "set_call_mode", mode) log.Println(" Function successfully completed.") } @@ -110969,14 +72141,7 @@ func (o *VisualScriptFunctionCall) SetCallMode(mode int64) { func (o *VisualScriptFunctionCall) SetFunction(function string) { log.Println("Calling VisualScriptFunctionCall.SetFunction()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(function) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_function", goArguments, "") - + godotCallVoidString(o, "set_function", function) log.Println(" Function successfully completed.") } @@ -110987,14 +72152,7 @@ func (o *VisualScriptFunctionCall) SetFunction(function string) { func (o *VisualScriptFunctionCall) SetRpcCallMode(mode int64) { log.Println("Calling VisualScriptFunctionCall.SetRpcCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_rpc_call_mode", goArguments, "") - + godotCallVoidInt(o, "set_rpc_call_mode", mode) log.Println(" Function successfully completed.") } @@ -111005,14 +72163,7 @@ func (o *VisualScriptFunctionCall) SetRpcCallMode(mode int64) { func (o *VisualScriptFunctionCall) SetSingleton(singleton string) { log.Println("Calling VisualScriptFunctionCall.SetSingleton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(singleton) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_singleton", goArguments, "") - + godotCallVoidString(o, "set_singleton", singleton) log.Println(" Function successfully completed.") } @@ -111023,14 +72174,7 @@ func (o *VisualScriptFunctionCall) SetSingleton(singleton string) { func (o *VisualScriptFunctionCall) SetUseDefaultArgs(amount int64) { log.Println("Calling VisualScriptFunctionCall.SetUseDefaultArgs()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_use_default_args", goArguments, "") - + godotCallVoidInt(o, "set_use_default_args", amount) log.Println(" Function successfully completed.") } @@ -111041,14 +72185,7 @@ func (o *VisualScriptFunctionCall) SetUseDefaultArgs(amount int64) { func (o *VisualScriptFunctionCall) SetValidate(enable bool) { log.Println("Calling VisualScriptFunctionCall.SetValidate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_validate", goArguments, "") - + godotCallVoidBool(o, "set_validate", enable) log.Println(" Function successfully completed.") } @@ -111077,16 +72214,9 @@ func (o *VisualScriptFunctionState) baseClass() string { func (o *VisualScriptFunctionState) X_SignalCallback() *Variant { log.Println("Calling VisualScriptFunctionState.X_SignalCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_signal_callback", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "_signal_callback") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111097,16 +72227,7 @@ func (o *VisualScriptFunctionState) X_SignalCallback() *Variant { func (o *VisualScriptFunctionState) ConnectToSignal(obj *Object, signals string, args *Array) { log.Println("Calling VisualScriptFunctionState.ConnectToSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(obj) - goArguments[1] = reflect.ValueOf(signals) - goArguments[2] = reflect.ValueOf(args) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "connect_to_signal", goArguments, "") - + godotCallVoidObjectStringArray(o, "connect_to_signal", obj, signals, args) log.Println(" Function successfully completed.") } @@ -111117,16 +72238,9 @@ func (o *VisualScriptFunctionState) ConnectToSignal(obj *Object, signals string, func (o *VisualScriptFunctionState) IsValid() bool { log.Println("Calling VisualScriptFunctionState.IsValid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_valid", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_valid") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111137,17 +72251,9 @@ func (o *VisualScriptFunctionState) IsValid() bool { func (o *VisualScriptFunctionState) Resume(args *Array) *Variant { log.Println("Calling VisualScriptFunctionState.Resume()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(args) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "resume", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantArray(o, "resume", args) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111176,16 +72282,9 @@ func (o *VisualScriptGlobalConstant) baseClass() string { func (o *VisualScriptGlobalConstant) GetGlobalConstant() int64 { log.Println("Calling VisualScriptGlobalConstant.GetGlobalConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_global_constant", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_global_constant") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111196,14 +72295,7 @@ func (o *VisualScriptGlobalConstant) GetGlobalConstant() int64 { func (o *VisualScriptGlobalConstant) SetGlobalConstant(index int64) { log.Println("Calling VisualScriptGlobalConstant.SetGlobalConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_global_constant", goArguments, "") - + godotCallVoidInt(o, "set_global_constant", index) log.Println(" Function successfully completed.") } @@ -111268,16 +72360,9 @@ func (o *VisualScriptInputAction) baseClass() string { func (o *VisualScriptInputAction) GetActionMode() int64 { log.Println("Calling VisualScriptInputAction.GetActionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_action_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111288,16 +72373,9 @@ func (o *VisualScriptInputAction) GetActionMode() int64 { func (o *VisualScriptInputAction) GetActionName() string { log.Println("Calling VisualScriptInputAction.GetActionName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_action_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_action_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111308,14 +72386,7 @@ func (o *VisualScriptInputAction) GetActionName() string { func (o *VisualScriptInputAction) SetActionMode(mode int64) { log.Println("Calling VisualScriptInputAction.SetActionMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_action_mode", goArguments, "") - + godotCallVoidInt(o, "set_action_mode", mode) log.Println(" Function successfully completed.") } @@ -111326,14 +72397,7 @@ func (o *VisualScriptInputAction) SetActionMode(mode int64) { func (o *VisualScriptInputAction) SetActionName(name string) { log.Println("Calling VisualScriptInputAction.SetActionName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_action_name", goArguments, "") - + godotCallVoidString(o, "set_action_name", name) log.Println(" Function successfully completed.") } @@ -111380,16 +72444,9 @@ func (o *VisualScriptLocalVar) baseClass() string { func (o *VisualScriptLocalVar) GetVarName() string { log.Println("Calling VisualScriptLocalVar.GetVarName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_var_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111400,16 +72457,9 @@ func (o *VisualScriptLocalVar) GetVarName() string { func (o *VisualScriptLocalVar) GetVarType() int64 { log.Println("Calling VisualScriptLocalVar.GetVarType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_var_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111420,14 +72470,7 @@ func (o *VisualScriptLocalVar) GetVarType() int64 { func (o *VisualScriptLocalVar) SetVarName(name string) { log.Println("Calling VisualScriptLocalVar.SetVarName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_var_name", goArguments, "") - + godotCallVoidString(o, "set_var_name", name) log.Println(" Function successfully completed.") } @@ -111438,14 +72481,7 @@ func (o *VisualScriptLocalVar) SetVarName(name string) { func (o *VisualScriptLocalVar) SetVarType(aType int64) { log.Println("Calling VisualScriptLocalVar.SetVarType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_var_type", goArguments, "") - + godotCallVoidInt(o, "set_var_type", aType) log.Println(" Function successfully completed.") } @@ -111474,16 +72510,9 @@ func (o *VisualScriptLocalVarSet) baseClass() string { func (o *VisualScriptLocalVarSet) GetVarName() string { log.Println("Calling VisualScriptLocalVarSet.GetVarName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_var_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111494,16 +72523,9 @@ func (o *VisualScriptLocalVarSet) GetVarName() string { func (o *VisualScriptLocalVarSet) GetVarType() int64 { log.Println("Calling VisualScriptLocalVarSet.GetVarType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_var_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_var_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111514,14 +72536,7 @@ func (o *VisualScriptLocalVarSet) GetVarType() int64 { func (o *VisualScriptLocalVarSet) SetVarName(name string) { log.Println("Calling VisualScriptLocalVarSet.SetVarName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_var_name", goArguments, "") - + godotCallVoidString(o, "set_var_name", name) log.Println(" Function successfully completed.") } @@ -111532,14 +72547,7 @@ func (o *VisualScriptLocalVarSet) SetVarName(name string) { func (o *VisualScriptLocalVarSet) SetVarType(aType int64) { log.Println("Calling VisualScriptLocalVarSet.SetVarType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_var_type", goArguments, "") - + godotCallVoidInt(o, "set_var_type", aType) log.Println(" Function successfully completed.") } @@ -111568,16 +72576,9 @@ func (o *VisualScriptMathConstant) baseClass() string { func (o *VisualScriptMathConstant) GetMathConstant() int64 { log.Println("Calling VisualScriptMathConstant.GetMathConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_math_constant", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_math_constant") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111588,14 +72589,7 @@ func (o *VisualScriptMathConstant) GetMathConstant() int64 { func (o *VisualScriptMathConstant) SetMathConstant(which int64) { log.Println("Calling VisualScriptMathConstant.SetMathConstant()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(which) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_math_constant", goArguments, "") - + godotCallVoidInt(o, "set_math_constant", which) log.Println(" Function successfully completed.") } @@ -111624,16 +72618,9 @@ func (o *VisualScriptNode) baseClass() string { func (o *VisualScriptNode) X_GetDefaultInputValues() *Array { log.Println("Calling VisualScriptNode.X_GetDefaultInputValues()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_default_input_values", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "_get_default_input_values") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111644,14 +72631,7 @@ func (o *VisualScriptNode) X_GetDefaultInputValues() *Array { func (o *VisualScriptNode) X_SetDefaultInputValues(values *Array) { log.Println("Calling VisualScriptNode.X_SetDefaultInputValues()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(values) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_default_input_values", goArguments, "") - + godotCallVoidArray(o, "_set_default_input_values", values) log.Println(" Function successfully completed.") } @@ -111662,17 +72642,9 @@ func (o *VisualScriptNode) X_SetDefaultInputValues(values *Array) { func (o *VisualScriptNode) GetDefaultInputValue(portIdx int64) *Variant { log.Println("Calling VisualScriptNode.GetDefaultInputValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(portIdx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_default_input_value", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantInt(o, "get_default_input_value", portIdx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111683,17 +72655,12 @@ func (o *VisualScriptNode) GetDefaultInputValue(portIdx int64) *Variant { func (o *VisualScriptNode) GetVisualScript() *VisualScript { log.Println("Calling VisualScriptNode.GetVisualScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_visual_script", goArguments, "*VisualScript") - - returnValue := goRet.Interface().(*VisualScript) - + returnValue := godotCallObject(o, "get_visual_script") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret VisualScript + ret.owner = returnValue.owner + return &ret } @@ -111703,13 +72670,7 @@ func (o *VisualScriptNode) GetVisualScript() *VisualScript { func (o *VisualScriptNode) PortsChangedNotify() { log.Println("Calling VisualScriptNode.PortsChangedNotify()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "ports_changed_notify", goArguments, "") - + godotCallVoid(o, "ports_changed_notify") log.Println(" Function successfully completed.") } @@ -111720,15 +72681,7 @@ func (o *VisualScriptNode) PortsChangedNotify() { func (o *VisualScriptNode) SetDefaultInputValue(portIdx int64, value *Variant) { log.Println("Calling VisualScriptNode.SetDefaultInputValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(portIdx) - goArguments[1] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_input_value", goArguments, "") - + godotCallVoidIntVariant(o, "set_default_input_value", portIdx, value) log.Println(" Function successfully completed.") } @@ -111757,16 +72710,9 @@ func (o *VisualScriptOperator) baseClass() string { func (o *VisualScriptOperator) GetOperator() int64 { log.Println("Calling VisualScriptOperator.GetOperator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_operator", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_operator") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111777,16 +72723,9 @@ func (o *VisualScriptOperator) GetOperator() int64 { func (o *VisualScriptOperator) GetTyped() int64 { log.Println("Calling VisualScriptOperator.GetTyped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_typed", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_typed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111797,14 +72736,7 @@ func (o *VisualScriptOperator) GetTyped() int64 { func (o *VisualScriptOperator) SetOperator(op int64) { log.Println("Calling VisualScriptOperator.SetOperator()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(op) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_operator", goArguments, "") - + godotCallVoidInt(o, "set_operator", op) log.Println(" Function successfully completed.") } @@ -111815,14 +72747,7 @@ func (o *VisualScriptOperator) SetOperator(op int64) { func (o *VisualScriptOperator) SetTyped(aType int64) { log.Println("Calling VisualScriptOperator.SetTyped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_typed", goArguments, "") - + godotCallVoidInt(o, "set_typed", aType) log.Println(" Function successfully completed.") } @@ -111851,17 +72776,12 @@ func (o *VisualScriptPreload) baseClass() string { func (o *VisualScriptPreload) GetPreload() *Resource { log.Println("Calling VisualScriptPreload.GetPreload()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_preload", goArguments, "*Resource") - - returnValue := goRet.Interface().(*Resource) - + returnValue := godotCallObject(o, "get_preload") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Resource + ret.owner = returnValue.owner + return &ret } @@ -111871,14 +72791,7 @@ func (o *VisualScriptPreload) GetPreload() *Resource { func (o *VisualScriptPreload) SetPreload(resource *Resource) { log.Println("Calling VisualScriptPreload.SetPreload()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resource) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_preload", goArguments, "") - + godotCallVoidObject(o, "set_preload", &resource.Object) log.Println(" Function successfully completed.") } @@ -111907,16 +72820,9 @@ func (o *VisualScriptPropertyGet) baseClass() string { func (o *VisualScriptPropertyGet) X_GetTypeCache() int64 { log.Println("Calling VisualScriptPropertyGet.X_GetTypeCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_type_cache", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "_get_type_cache") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111927,14 +72833,7 @@ func (o *VisualScriptPropertyGet) X_GetTypeCache() int64 { func (o *VisualScriptPropertyGet) X_SetTypeCache(typeCache int64) { log.Println("Calling VisualScriptPropertyGet.X_SetTypeCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(typeCache) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_type_cache", goArguments, "") - + godotCallVoidInt(o, "_set_type_cache", typeCache) log.Println(" Function successfully completed.") } @@ -111945,16 +72844,9 @@ func (o *VisualScriptPropertyGet) X_SetTypeCache(typeCache int64) { func (o *VisualScriptPropertyGet) GetBasePath() *NodePath { log.Println("Calling VisualScriptPropertyGet.GetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_base_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111965,16 +72857,9 @@ func (o *VisualScriptPropertyGet) GetBasePath() *NodePath { func (o *VisualScriptPropertyGet) GetBaseScript() string { log.Println("Calling VisualScriptPropertyGet.GetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_script", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_script") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -111985,16 +72870,9 @@ func (o *VisualScriptPropertyGet) GetBaseScript() string { func (o *VisualScriptPropertyGet) GetBaseType() string { log.Println("Calling VisualScriptPropertyGet.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112005,16 +72883,9 @@ func (o *VisualScriptPropertyGet) GetBaseType() string { func (o *VisualScriptPropertyGet) GetBasicType() int64 { log.Println("Calling VisualScriptPropertyGet.GetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_basic_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_basic_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112025,16 +72896,9 @@ func (o *VisualScriptPropertyGet) GetBasicType() int64 { func (o *VisualScriptPropertyGet) GetCallMode() int64 { log.Println("Calling VisualScriptPropertyGet.GetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_call_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_call_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112045,16 +72909,9 @@ func (o *VisualScriptPropertyGet) GetCallMode() int64 { func (o *VisualScriptPropertyGet) GetIndex() string { log.Println("Calling VisualScriptPropertyGet.GetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_index", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112065,16 +72922,9 @@ func (o *VisualScriptPropertyGet) GetIndex() string { func (o *VisualScriptPropertyGet) GetProperty() string { log.Println("Calling VisualScriptPropertyGet.GetProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_property", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_property") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112085,14 +72935,7 @@ func (o *VisualScriptPropertyGet) GetProperty() string { func (o *VisualScriptPropertyGet) SetBasePath(basePath *NodePath) { log.Println("Calling VisualScriptPropertyGet.SetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_path", goArguments, "") - + godotCallVoidNodePath(o, "set_base_path", basePath) log.Println(" Function successfully completed.") } @@ -112103,14 +72946,7 @@ func (o *VisualScriptPropertyGet) SetBasePath(basePath *NodePath) { func (o *VisualScriptPropertyGet) SetBaseScript(baseScript string) { log.Println("Calling VisualScriptPropertyGet.SetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseScript) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_script", goArguments, "") - + godotCallVoidString(o, "set_base_script", baseScript) log.Println(" Function successfully completed.") } @@ -112121,14 +72957,7 @@ func (o *VisualScriptPropertyGet) SetBaseScript(baseScript string) { func (o *VisualScriptPropertyGet) SetBaseType(baseType string) { log.Println("Calling VisualScriptPropertyGet.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", baseType) log.Println(" Function successfully completed.") } @@ -112139,14 +72968,7 @@ func (o *VisualScriptPropertyGet) SetBaseType(baseType string) { func (o *VisualScriptPropertyGet) SetBasicType(basicType int64) { log.Println("Calling VisualScriptPropertyGet.SetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basicType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_basic_type", goArguments, "") - + godotCallVoidInt(o, "set_basic_type", basicType) log.Println(" Function successfully completed.") } @@ -112157,14 +72979,7 @@ func (o *VisualScriptPropertyGet) SetBasicType(basicType int64) { func (o *VisualScriptPropertyGet) SetCallMode(mode int64) { log.Println("Calling VisualScriptPropertyGet.SetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_call_mode", goArguments, "") - + godotCallVoidInt(o, "set_call_mode", mode) log.Println(" Function successfully completed.") } @@ -112175,14 +72990,7 @@ func (o *VisualScriptPropertyGet) SetCallMode(mode int64) { func (o *VisualScriptPropertyGet) SetIndex(index string) { log.Println("Calling VisualScriptPropertyGet.SetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_index", goArguments, "") - + godotCallVoidString(o, "set_index", index) log.Println(" Function successfully completed.") } @@ -112193,14 +73001,7 @@ func (o *VisualScriptPropertyGet) SetIndex(index string) { func (o *VisualScriptPropertyGet) SetProperty(property string) { log.Println("Calling VisualScriptPropertyGet.SetProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_property", goArguments, "") - + godotCallVoidString(o, "set_property", property) log.Println(" Function successfully completed.") } @@ -112229,16 +73030,9 @@ func (o *VisualScriptPropertySet) baseClass() string { func (o *VisualScriptPropertySet) X_GetTypeCache() *Dictionary { log.Println("Calling VisualScriptPropertySet.X_GetTypeCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_get_type_cache", goArguments, "*Dictionary") - - returnValue := goRet.Interface().(*Dictionary) - + returnValue := godotCallDictionary(o, "_get_type_cache") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112249,14 +73043,7 @@ func (o *VisualScriptPropertySet) X_GetTypeCache() *Dictionary { func (o *VisualScriptPropertySet) X_SetTypeCache(typeCache *Dictionary) { log.Println("Calling VisualScriptPropertySet.X_SetTypeCache()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(typeCache) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_set_type_cache", goArguments, "") - + godotCallVoidDictionary(o, "_set_type_cache", typeCache) log.Println(" Function successfully completed.") } @@ -112267,16 +73054,9 @@ func (o *VisualScriptPropertySet) X_SetTypeCache(typeCache *Dictionary) { func (o *VisualScriptPropertySet) GetAssignOp() int64 { log.Println("Calling VisualScriptPropertySet.GetAssignOp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_assign_op", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_assign_op") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112287,16 +73067,9 @@ func (o *VisualScriptPropertySet) GetAssignOp() int64 { func (o *VisualScriptPropertySet) GetBasePath() *NodePath { log.Println("Calling VisualScriptPropertySet.GetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_base_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112307,16 +73080,9 @@ func (o *VisualScriptPropertySet) GetBasePath() *NodePath { func (o *VisualScriptPropertySet) GetBaseScript() string { log.Println("Calling VisualScriptPropertySet.GetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_script", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_script") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112327,16 +73093,9 @@ func (o *VisualScriptPropertySet) GetBaseScript() string { func (o *VisualScriptPropertySet) GetBaseType() string { log.Println("Calling VisualScriptPropertySet.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112347,16 +73106,9 @@ func (o *VisualScriptPropertySet) GetBaseType() string { func (o *VisualScriptPropertySet) GetBasicType() int64 { log.Println("Calling VisualScriptPropertySet.GetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_basic_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_basic_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112367,16 +73119,9 @@ func (o *VisualScriptPropertySet) GetBasicType() int64 { func (o *VisualScriptPropertySet) GetCallMode() int64 { log.Println("Calling VisualScriptPropertySet.GetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_call_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_call_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112387,16 +73132,9 @@ func (o *VisualScriptPropertySet) GetCallMode() int64 { func (o *VisualScriptPropertySet) GetIndex() string { log.Println("Calling VisualScriptPropertySet.GetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_index", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_index") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112407,16 +73145,9 @@ func (o *VisualScriptPropertySet) GetIndex() string { func (o *VisualScriptPropertySet) GetProperty() string { log.Println("Calling VisualScriptPropertySet.GetProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_property", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_property") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112427,14 +73158,7 @@ func (o *VisualScriptPropertySet) GetProperty() string { func (o *VisualScriptPropertySet) SetAssignOp(assignOp int64) { log.Println("Calling VisualScriptPropertySet.SetAssignOp()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(assignOp) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_assign_op", goArguments, "") - + godotCallVoidInt(o, "set_assign_op", assignOp) log.Println(" Function successfully completed.") } @@ -112445,14 +73169,7 @@ func (o *VisualScriptPropertySet) SetAssignOp(assignOp int64) { func (o *VisualScriptPropertySet) SetBasePath(basePath *NodePath) { log.Println("Calling VisualScriptPropertySet.SetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_path", goArguments, "") - + godotCallVoidNodePath(o, "set_base_path", basePath) log.Println(" Function successfully completed.") } @@ -112463,14 +73180,7 @@ func (o *VisualScriptPropertySet) SetBasePath(basePath *NodePath) { func (o *VisualScriptPropertySet) SetBaseScript(baseScript string) { log.Println("Calling VisualScriptPropertySet.SetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseScript) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_script", goArguments, "") - + godotCallVoidString(o, "set_base_script", baseScript) log.Println(" Function successfully completed.") } @@ -112481,14 +73191,7 @@ func (o *VisualScriptPropertySet) SetBaseScript(baseScript string) { func (o *VisualScriptPropertySet) SetBaseType(baseType string) { log.Println("Calling VisualScriptPropertySet.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", baseType) log.Println(" Function successfully completed.") } @@ -112499,14 +73202,7 @@ func (o *VisualScriptPropertySet) SetBaseType(baseType string) { func (o *VisualScriptPropertySet) SetBasicType(basicType int64) { log.Println("Calling VisualScriptPropertySet.SetBasicType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basicType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_basic_type", goArguments, "") - + godotCallVoidInt(o, "set_basic_type", basicType) log.Println(" Function successfully completed.") } @@ -112517,14 +73213,7 @@ func (o *VisualScriptPropertySet) SetBasicType(basicType int64) { func (o *VisualScriptPropertySet) SetCallMode(mode int64) { log.Println("Calling VisualScriptPropertySet.SetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_call_mode", goArguments, "") - + godotCallVoidInt(o, "set_call_mode", mode) log.Println(" Function successfully completed.") } @@ -112535,14 +73224,7 @@ func (o *VisualScriptPropertySet) SetCallMode(mode int64) { func (o *VisualScriptPropertySet) SetIndex(index string) { log.Println("Calling VisualScriptPropertySet.SetIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_index", goArguments, "") - + godotCallVoidString(o, "set_index", index) log.Println(" Function successfully completed.") } @@ -112553,14 +73235,7 @@ func (o *VisualScriptPropertySet) SetIndex(index string) { func (o *VisualScriptPropertySet) SetProperty(property string) { log.Println("Calling VisualScriptPropertySet.SetProperty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(property) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_property", goArguments, "") - + godotCallVoidString(o, "set_property", property) log.Println(" Function successfully completed.") } @@ -112589,16 +73264,9 @@ func (o *VisualScriptResourcePath) baseClass() string { func (o *VisualScriptResourcePath) GetResourcePath() string { log.Println("Calling VisualScriptResourcePath.GetResourcePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resource_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_resource_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112609,14 +73277,7 @@ func (o *VisualScriptResourcePath) GetResourcePath() string { func (o *VisualScriptResourcePath) SetResourcePath(path string) { log.Println("Calling VisualScriptResourcePath.SetResourcePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_resource_path", goArguments, "") - + godotCallVoidString(o, "set_resource_path", path) log.Println(" Function successfully completed.") } @@ -112645,16 +73306,9 @@ func (o *VisualScriptReturn) baseClass() string { func (o *VisualScriptReturn) GetReturnType() int64 { log.Println("Calling VisualScriptReturn.GetReturnType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_return_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_return_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112665,16 +73319,9 @@ func (o *VisualScriptReturn) GetReturnType() int64 { func (o *VisualScriptReturn) IsReturnValueEnabled() bool { log.Println("Calling VisualScriptReturn.IsReturnValueEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_return_value_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_return_value_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112685,14 +73332,7 @@ func (o *VisualScriptReturn) IsReturnValueEnabled() bool { func (o *VisualScriptReturn) SetEnableReturnValue(enable bool) { log.Println("Calling VisualScriptReturn.SetEnableReturnValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_enable_return_value", goArguments, "") - + godotCallVoidBool(o, "set_enable_return_value", enable) log.Println(" Function successfully completed.") } @@ -112703,14 +73343,7 @@ func (o *VisualScriptReturn) SetEnableReturnValue(enable bool) { func (o *VisualScriptReturn) SetReturnType(aType int64) { log.Println("Calling VisualScriptReturn.SetReturnType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_return_type", goArguments, "") - + godotCallVoidInt(o, "set_return_type", aType) log.Println(" Function successfully completed.") } @@ -112739,16 +73372,9 @@ func (o *VisualScriptSceneNode) baseClass() string { func (o *VisualScriptSceneNode) GetNodePath() *NodePath { log.Println("Calling VisualScriptSceneNode.GetNodePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_node_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112759,14 +73385,7 @@ func (o *VisualScriptSceneNode) GetNodePath() *NodePath { func (o *VisualScriptSceneNode) SetNodePath(path *NodePath) { log.Println("Calling VisualScriptSceneNode.SetNodePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_node_path", goArguments, "") - + godotCallVoidNodePath(o, "set_node_path", path) log.Println(" Function successfully completed.") } @@ -112813,16 +73432,9 @@ func (o *VisualScriptSelect) baseClass() string { func (o *VisualScriptSelect) GetTyped() int64 { log.Println("Calling VisualScriptSelect.GetTyped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_typed", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_typed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112833,14 +73445,7 @@ func (o *VisualScriptSelect) GetTyped() int64 { func (o *VisualScriptSelect) SetTyped(aType int64) { log.Println("Calling VisualScriptSelect.SetTyped()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_typed", goArguments, "") - + godotCallVoidInt(o, "set_typed", aType) log.Println(" Function successfully completed.") } @@ -112887,16 +73492,9 @@ func (o *VisualScriptSequence) baseClass() string { func (o *VisualScriptSequence) GetSteps() int64 { log.Println("Calling VisualScriptSequence.GetSteps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_steps", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_steps") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -112907,14 +73505,7 @@ func (o *VisualScriptSequence) GetSteps() int64 { func (o *VisualScriptSequence) SetSteps(steps int64) { log.Println("Calling VisualScriptSequence.SetSteps()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(steps) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_steps", goArguments, "") - + godotCallVoidInt(o, "set_steps", steps) log.Println(" Function successfully completed.") } @@ -112943,17 +73534,9 @@ func (o *VisualScriptSubCall) baseClass() string { func (o *VisualScriptSubCall) X_Subcall(arguments *Variant) *Variant { log.Println("Calling VisualScriptSubCall.X_Subcall()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arguments) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "_subcall", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantVariant(o, "_subcall", arguments) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113000,16 +73583,9 @@ func (o *VisualScriptTypeCast) baseClass() string { func (o *VisualScriptTypeCast) GetBaseScript() string { log.Println("Calling VisualScriptTypeCast.GetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_script", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_script") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113020,16 +73596,9 @@ func (o *VisualScriptTypeCast) GetBaseScript() string { func (o *VisualScriptTypeCast) GetBaseType() string { log.Println("Calling VisualScriptTypeCast.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113040,14 +73609,7 @@ func (o *VisualScriptTypeCast) GetBaseType() string { func (o *VisualScriptTypeCast) SetBaseScript(path string) { log.Println("Calling VisualScriptTypeCast.SetBaseScript()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_script", goArguments, "") - + godotCallVoidString(o, "set_base_script", path) log.Println(" Function successfully completed.") } @@ -113058,14 +73620,7 @@ func (o *VisualScriptTypeCast) SetBaseScript(path string) { func (o *VisualScriptTypeCast) SetBaseType(aType string) { log.Println("Calling VisualScriptTypeCast.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(aType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", aType) log.Println(" Function successfully completed.") } @@ -113094,16 +73649,9 @@ func (o *VisualScriptVariableGet) baseClass() string { func (o *VisualScriptVariableGet) GetVariable() string { log.Println("Calling VisualScriptVariableGet.GetVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_variable", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_variable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113114,14 +73662,7 @@ func (o *VisualScriptVariableGet) GetVariable() string { func (o *VisualScriptVariableGet) SetVariable(name string) { log.Println("Calling VisualScriptVariableGet.SetVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_variable", goArguments, "") - + godotCallVoidString(o, "set_variable", name) log.Println(" Function successfully completed.") } @@ -113150,16 +73691,9 @@ func (o *VisualScriptVariableSet) baseClass() string { func (o *VisualScriptVariableSet) GetVariable() string { log.Println("Calling VisualScriptVariableSet.GetVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_variable", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_variable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113170,14 +73704,7 @@ func (o *VisualScriptVariableSet) GetVariable() string { func (o *VisualScriptVariableSet) SetVariable(name string) { log.Println("Calling VisualScriptVariableSet.SetVariable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_variable", goArguments, "") - + godotCallVoidString(o, "set_variable", name) log.Println(" Function successfully completed.") } @@ -113224,16 +73751,9 @@ func (o *VisualScriptYield) baseClass() string { func (o *VisualScriptYield) GetWaitTime() float64 { log.Println("Calling VisualScriptYield.GetWaitTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_wait_time", goArguments, "float64") - - returnValue := goRet.Interface().(float64) - + returnValue := godotCallFloat(o, "get_wait_time") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113244,16 +73764,9 @@ func (o *VisualScriptYield) GetWaitTime() float64 { func (o *VisualScriptYield) GetYieldMode() int64 { log.Println("Calling VisualScriptYield.GetYieldMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_yield_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_yield_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113264,14 +73777,7 @@ func (o *VisualScriptYield) GetYieldMode() int64 { func (o *VisualScriptYield) SetWaitTime(sec float64) { log.Println("Calling VisualScriptYield.SetWaitTime()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(sec) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_wait_time", goArguments, "") - + godotCallVoidFloat(o, "set_wait_time", sec) log.Println(" Function successfully completed.") } @@ -113282,14 +73788,7 @@ func (o *VisualScriptYield) SetWaitTime(sec float64) { func (o *VisualScriptYield) SetYieldMode(mode int64) { log.Println("Calling VisualScriptYield.SetYieldMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_yield_mode", goArguments, "") - + godotCallVoidInt(o, "set_yield_mode", mode) log.Println(" Function successfully completed.") } @@ -113318,16 +73817,9 @@ func (o *VisualScriptYieldSignal) baseClass() string { func (o *VisualScriptYieldSignal) GetBasePath() *NodePath { log.Println("Calling VisualScriptYieldSignal.GetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_path", goArguments, "*NodePath") - - returnValue := goRet.Interface().(*NodePath) - + returnValue := godotCallNodePath(o, "get_base_path") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113338,16 +73830,9 @@ func (o *VisualScriptYieldSignal) GetBasePath() *NodePath { func (o *VisualScriptYieldSignal) GetBaseType() string { log.Println("Calling VisualScriptYieldSignal.GetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_base_type", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_base_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113358,16 +73843,9 @@ func (o *VisualScriptYieldSignal) GetBaseType() string { func (o *VisualScriptYieldSignal) GetCallMode() int64 { log.Println("Calling VisualScriptYieldSignal.GetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_call_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_call_mode") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113378,16 +73856,9 @@ func (o *VisualScriptYieldSignal) GetCallMode() int64 { func (o *VisualScriptYieldSignal) GetSignal() string { log.Println("Calling VisualScriptYieldSignal.GetSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_signal", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_signal") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113398,14 +73869,7 @@ func (o *VisualScriptYieldSignal) GetSignal() string { func (o *VisualScriptYieldSignal) SetBasePath(basePath *NodePath) { log.Println("Calling VisualScriptYieldSignal.SetBasePath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(basePath) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_path", goArguments, "") - + godotCallVoidNodePath(o, "set_base_path", basePath) log.Println(" Function successfully completed.") } @@ -113416,14 +73880,7 @@ func (o *VisualScriptYieldSignal) SetBasePath(basePath *NodePath) { func (o *VisualScriptYieldSignal) SetBaseType(baseType string) { log.Println("Calling VisualScriptYieldSignal.SetBaseType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(baseType) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_base_type", goArguments, "") - + godotCallVoidString(o, "set_base_type", baseType) log.Println(" Function successfully completed.") } @@ -113434,14 +73891,7 @@ func (o *VisualScriptYieldSignal) SetBaseType(baseType string) { func (o *VisualScriptYieldSignal) SetCallMode(mode int64) { log.Println("Calling VisualScriptYieldSignal.SetCallMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_call_mode", goArguments, "") - + godotCallVoidInt(o, "set_call_mode", mode) log.Println(" Function successfully completed.") } @@ -113452,14 +73902,7 @@ func (o *VisualScriptYieldSignal) SetCallMode(mode int64) { func (o *VisualScriptYieldSignal) SetSignal(signal string) { log.Println("Calling VisualScriptYieldSignal.SetSignal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(signal) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_signal", goArguments, "") - + godotCallVoidString(o, "set_signal", signal) log.Println(" Function successfully completed.") } @@ -113473,7 +73916,9 @@ type VisualScriptYieldSignalImplementer interface { func newSingletonVisualServer() *visualServer { obj := &visualServer{} - ptr := C.godot_global_get_singleton(C.CString("VisualServer")) + name := C.CString("VisualServer") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -113500,17 +73945,7 @@ func (o *visualServer) baseClass() string { func (o *visualServer) BlackBarsSetImages(left *RID, top *RID, right *RID, bottom *RID) { log.Println("Calling VisualServer.BlackBarsSetImages()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(left) - goArguments[1] = reflect.ValueOf(top) - goArguments[2] = reflect.ValueOf(right) - goArguments[3] = reflect.ValueOf(bottom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "black_bars_set_images", goArguments, "") - + godotCallVoidRidRidRidRid(o, "black_bars_set_images", left, top, right, bottom) log.Println(" Function successfully completed.") } @@ -113521,17 +73956,7 @@ func (o *visualServer) BlackBarsSetImages(left *RID, top *RID, right *RID, botto func (o *visualServer) BlackBarsSetMargins(left int64, top int64, right int64, bottom int64) { log.Println("Calling VisualServer.BlackBarsSetMargins()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(left) - goArguments[1] = reflect.ValueOf(top) - goArguments[2] = reflect.ValueOf(right) - goArguments[3] = reflect.ValueOf(bottom) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "black_bars_set_margins", goArguments, "") - + godotCallVoidIntIntIntInt(o, "black_bars_set_margins", left, top, right, bottom) log.Println(" Function successfully completed.") } @@ -113542,16 +73967,9 @@ func (o *visualServer) BlackBarsSetMargins(left int64, top int64, right int64, b func (o *visualServer) CanvasCreate() *RID { log.Println("Calling VisualServer.CanvasCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "canvas_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "canvas_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113562,17 +73980,7 @@ func (o *visualServer) CanvasCreate() *RID { func (o *visualServer) CanvasItemAddCircle(item *RID, pos *Vector2, radius float64, color *Color) { log.Println("Calling VisualServer.CanvasItemAddCircle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 4, 4) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(pos) - goArguments[2] = reflect.ValueOf(radius) - goArguments[3] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_circle", goArguments, "") - + godotCallVoidRidVector2FloatColor(o, "canvas_item_add_circle", item, pos, radius, color) log.Println(" Function successfully completed.") } @@ -113583,15 +73991,7 @@ func (o *visualServer) CanvasItemAddCircle(item *RID, pos *Vector2, radius float func (o *visualServer) CanvasItemAddClipIgnore(item *RID, ignore bool) { log.Println("Calling VisualServer.CanvasItemAddClipIgnore()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(ignore) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_clip_ignore", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_add_clip_ignore", item, ignore) log.Println(" Function successfully completed.") } @@ -113602,19 +74002,7 @@ func (o *visualServer) CanvasItemAddClipIgnore(item *RID, ignore bool) { func (o *visualServer) CanvasItemAddLine(item *RID, from *Vector2, to *Vector2, color *Color, width float64, antialiased bool) { log.Println("Calling VisualServer.CanvasItemAddLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(from) - goArguments[2] = reflect.ValueOf(to) - goArguments[3] = reflect.ValueOf(color) - goArguments[4] = reflect.ValueOf(width) - goArguments[5] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_line", goArguments, "") - + godotCallVoidRidVector2Vector2ColorFloatBool(o, "canvas_item_add_line", item, from, to, color, width, antialiased) log.Println(" Function successfully completed.") } @@ -113625,16 +74013,7 @@ func (o *visualServer) CanvasItemAddLine(item *RID, from *Vector2, to *Vector2, func (o *visualServer) CanvasItemAddMesh(item *RID, mesh *RID, skeleton *RID) { log.Println("Calling VisualServer.CanvasItemAddMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(mesh) - goArguments[2] = reflect.ValueOf(skeleton) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_mesh", goArguments, "") - + godotCallVoidRidRidRid(o, "canvas_item_add_mesh", item, mesh, skeleton) log.Println(" Function successfully completed.") } @@ -113645,16 +74024,7 @@ func (o *visualServer) CanvasItemAddMesh(item *RID, mesh *RID, skeleton *RID) { func (o *visualServer) CanvasItemAddMultimesh(item *RID, mesh *RID, skeleton *RID) { log.Println("Calling VisualServer.CanvasItemAddMultimesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(mesh) - goArguments[2] = reflect.ValueOf(skeleton) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_multimesh", goArguments, "") - + godotCallVoidRidRidRid(o, "canvas_item_add_multimesh", item, mesh, skeleton) log.Println(" Function successfully completed.") } @@ -113665,24 +74035,7 @@ func (o *visualServer) CanvasItemAddMultimesh(item *RID, mesh *RID, skeleton *RI func (o *visualServer) CanvasItemAddNinePatch(item *RID, rect *Rect2, source *Rect2, texture *RID, topleft *Vector2, bottomright *Vector2, xAxisMode int64, yAxisMode int64, drawCenter bool, modulate *Color, normalMap *RID) { log.Println("Calling VisualServer.CanvasItemAddNinePatch()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 11, 11) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(source) - goArguments[3] = reflect.ValueOf(texture) - goArguments[4] = reflect.ValueOf(topleft) - goArguments[5] = reflect.ValueOf(bottomright) - goArguments[6] = reflect.ValueOf(xAxisMode) - goArguments[7] = reflect.ValueOf(yAxisMode) - goArguments[8] = reflect.ValueOf(drawCenter) - goArguments[9] = reflect.ValueOf(modulate) - goArguments[10] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_nine_patch", goArguments, "") - + godotCallVoidRidRect2Rect2RidVector2Vector2IntIntBoolColorRid(o, "canvas_item_add_nine_patch", item, rect, source, texture, topleft, bottomright, xAxisMode, yAxisMode, drawCenter, modulate, normalMap) log.Println(" Function successfully completed.") } @@ -113693,19 +74046,7 @@ func (o *visualServer) CanvasItemAddNinePatch(item *RID, rect *Rect2, source *Re func (o *visualServer) CanvasItemAddParticles(item *RID, particles *RID, texture *RID, normalMap *RID, hFrames int64, vFrames int64) { log.Println("Calling VisualServer.CanvasItemAddParticles()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 6, 6) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(particles) - goArguments[2] = reflect.ValueOf(texture) - goArguments[3] = reflect.ValueOf(normalMap) - goArguments[4] = reflect.ValueOf(hFrames) - goArguments[5] = reflect.ValueOf(vFrames) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_particles", goArguments, "") - + godotCallVoidRidRidRidRidIntInt(o, "canvas_item_add_particles", item, particles, texture, normalMap, hFrames, vFrames) log.Println(" Function successfully completed.") } @@ -113716,20 +74057,7 @@ func (o *visualServer) CanvasItemAddParticles(item *RID, particles *RID, texture func (o *visualServer) CanvasItemAddPolygon(item *RID, points *PoolVector2Array, colors *PoolColorArray, uvs *PoolVector2Array, texture *RID, normalMap *RID, antialiased bool) { log.Println("Calling VisualServer.CanvasItemAddPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(points) - goArguments[2] = reflect.ValueOf(colors) - goArguments[3] = reflect.ValueOf(uvs) - goArguments[4] = reflect.ValueOf(texture) - goArguments[5] = reflect.ValueOf(normalMap) - goArguments[6] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_polygon", goArguments, "") - + godotCallVoidRidPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidRidBool(o, "canvas_item_add_polygon", item, points, colors, uvs, texture, normalMap, antialiased) log.Println(" Function successfully completed.") } @@ -113740,18 +74068,7 @@ func (o *visualServer) CanvasItemAddPolygon(item *RID, points *PoolVector2Array, func (o *visualServer) CanvasItemAddPolyline(item *RID, points *PoolVector2Array, colors *PoolColorArray, width float64, antialiased bool) { log.Println("Calling VisualServer.CanvasItemAddPolyline()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(points) - goArguments[2] = reflect.ValueOf(colors) - goArguments[3] = reflect.ValueOf(width) - goArguments[4] = reflect.ValueOf(antialiased) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_polyline", goArguments, "") - + godotCallVoidRidPoolVector2ArrayPoolColorArrayFloatBool(o, "canvas_item_add_polyline", item, points, colors, width, antialiased) log.Println(" Function successfully completed.") } @@ -113762,20 +74079,7 @@ func (o *visualServer) CanvasItemAddPolyline(item *RID, points *PoolVector2Array func (o *visualServer) CanvasItemAddPrimitive(item *RID, points *PoolVector2Array, colors *PoolColorArray, uvs *PoolVector2Array, texture *RID, width float64, normalMap *RID) { log.Println("Calling VisualServer.CanvasItemAddPrimitive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(points) - goArguments[2] = reflect.ValueOf(colors) - goArguments[3] = reflect.ValueOf(uvs) - goArguments[4] = reflect.ValueOf(texture) - goArguments[5] = reflect.ValueOf(width) - goArguments[6] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_primitive", goArguments, "") - + godotCallVoidRidPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidFloatRid(o, "canvas_item_add_primitive", item, points, colors, uvs, texture, width, normalMap) log.Println(" Function successfully completed.") } @@ -113786,16 +74090,7 @@ func (o *visualServer) CanvasItemAddPrimitive(item *RID, points *PoolVector2Arra func (o *visualServer) CanvasItemAddRect(item *RID, rect *Rect2, color *Color) { log.Println("Calling VisualServer.CanvasItemAddRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_rect", goArguments, "") - + godotCallVoidRidRect2Color(o, "canvas_item_add_rect", item, rect, color) log.Println(" Function successfully completed.") } @@ -113806,15 +74101,7 @@ func (o *visualServer) CanvasItemAddRect(item *RID, rect *Rect2, color *Color) { func (o *visualServer) CanvasItemAddSetTransform(item *RID, transform *Transform2D) { log.Println("Calling VisualServer.CanvasItemAddSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_set_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "canvas_item_add_set_transform", item, transform) log.Println(" Function successfully completed.") } @@ -113825,20 +74112,7 @@ func (o *visualServer) CanvasItemAddSetTransform(item *RID, transform *Transform func (o *visualServer) CanvasItemAddTextureRect(item *RID, rect *Rect2, texture *RID, tile bool, modulate *Color, transpose bool, normalMap *RID) { log.Println("Calling VisualServer.CanvasItemAddTextureRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 7, 7) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(texture) - goArguments[3] = reflect.ValueOf(tile) - goArguments[4] = reflect.ValueOf(modulate) - goArguments[5] = reflect.ValueOf(transpose) - goArguments[6] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_texture_rect", goArguments, "") - + godotCallVoidRidRect2RidBoolColorBoolRid(o, "canvas_item_add_texture_rect", item, rect, texture, tile, modulate, transpose, normalMap) log.Println(" Function successfully completed.") } @@ -113849,21 +74123,7 @@ func (o *visualServer) CanvasItemAddTextureRect(item *RID, rect *Rect2, texture func (o *visualServer) CanvasItemAddTextureRectRegion(item *RID, rect *Rect2, texture *RID, srcRect *Rect2, modulate *Color, transpose bool, normalMap *RID, clipUv bool) { log.Println("Calling VisualServer.CanvasItemAddTextureRectRegion()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(texture) - goArguments[3] = reflect.ValueOf(srcRect) - goArguments[4] = reflect.ValueOf(modulate) - goArguments[5] = reflect.ValueOf(transpose) - goArguments[6] = reflect.ValueOf(normalMap) - goArguments[7] = reflect.ValueOf(clipUv) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_texture_rect_region", goArguments, "") - + godotCallVoidRidRect2RidRect2ColorBoolRidBool(o, "canvas_item_add_texture_rect_region", item, rect, texture, srcRect, modulate, transpose, normalMap, clipUv) log.Println(" Function successfully completed.") } @@ -113874,21 +74134,7 @@ func (o *visualServer) CanvasItemAddTextureRectRegion(item *RID, rect *Rect2, te func (o *visualServer) CanvasItemAddTriangleArray(item *RID, indices *PoolIntArray, points *PoolVector2Array, colors *PoolColorArray, uvs *PoolVector2Array, texture *RID, count int64, normalMap *RID) { log.Println("Calling VisualServer.CanvasItemAddTriangleArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 8, 8) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(indices) - goArguments[2] = reflect.ValueOf(points) - goArguments[3] = reflect.ValueOf(colors) - goArguments[4] = reflect.ValueOf(uvs) - goArguments[5] = reflect.ValueOf(texture) - goArguments[6] = reflect.ValueOf(count) - goArguments[7] = reflect.ValueOf(normalMap) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_add_triangle_array", goArguments, "") - + godotCallVoidRidPoolIntArrayPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidIntRid(o, "canvas_item_add_triangle_array", item, indices, points, colors, uvs, texture, count, normalMap) log.Println(" Function successfully completed.") } @@ -113899,14 +74145,7 @@ func (o *visualServer) CanvasItemAddTriangleArray(item *RID, indices *PoolIntArr func (o *visualServer) CanvasItemClear(item *RID) { log.Println("Calling VisualServer.CanvasItemClear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(item) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_clear", goArguments, "") - + godotCallVoidRid(o, "canvas_item_clear", item) log.Println(" Function successfully completed.") } @@ -113917,16 +74156,9 @@ func (o *visualServer) CanvasItemClear(item *RID) { func (o *visualServer) CanvasItemCreate() *RID { log.Println("Calling VisualServer.CanvasItemCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "canvas_item_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "canvas_item_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -113937,15 +74169,7 @@ func (o *visualServer) CanvasItemCreate() *RID { func (o *visualServer) CanvasItemSetClip(item *RID, clip bool) { log.Println("Calling VisualServer.CanvasItemSetClip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(clip) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_clip", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_clip", item, clip) log.Println(" Function successfully completed.") } @@ -113956,16 +74180,7 @@ func (o *visualServer) CanvasItemSetClip(item *RID, clip bool) { func (o *visualServer) CanvasItemSetCopyToBackbuffer(item *RID, enabled bool, rect *Rect2) { log.Println("Calling VisualServer.CanvasItemSetCopyToBackbuffer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - goArguments[2] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_copy_to_backbuffer", goArguments, "") - + godotCallVoidRidBoolRect2(o, "canvas_item_set_copy_to_backbuffer", item, enabled, rect) log.Println(" Function successfully completed.") } @@ -113976,16 +74191,7 @@ func (o *visualServer) CanvasItemSetCopyToBackbuffer(item *RID, enabled bool, re func (o *visualServer) CanvasItemSetCustomRect(item *RID, useCustomRect bool, rect *Rect2) { log.Println("Calling VisualServer.CanvasItemSetCustomRect()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(useCustomRect) - goArguments[2] = reflect.ValueOf(rect) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_custom_rect", goArguments, "") - + godotCallVoidRidBoolRect2(o, "canvas_item_set_custom_rect", item, useCustomRect, rect) log.Println(" Function successfully completed.") } @@ -113996,15 +74202,7 @@ func (o *visualServer) CanvasItemSetCustomRect(item *RID, useCustomRect bool, re func (o *visualServer) CanvasItemSetDistanceFieldMode(item *RID, enabled bool) { log.Println("Calling VisualServer.CanvasItemSetDistanceFieldMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_distance_field_mode", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_distance_field_mode", item, enabled) log.Println(" Function successfully completed.") } @@ -114015,15 +74213,7 @@ func (o *visualServer) CanvasItemSetDistanceFieldMode(item *RID, enabled bool) { func (o *visualServer) CanvasItemSetDrawBehindParent(item *RID, enabled bool) { log.Println("Calling VisualServer.CanvasItemSetDrawBehindParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_draw_behind_parent", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_draw_behind_parent", item, enabled) log.Println(" Function successfully completed.") } @@ -114034,15 +74224,7 @@ func (o *visualServer) CanvasItemSetDrawBehindParent(item *RID, enabled bool) { func (o *visualServer) CanvasItemSetDrawIndex(item *RID, index int64) { log.Println("Calling VisualServer.CanvasItemSetDrawIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_draw_index", goArguments, "") - + godotCallVoidRidInt(o, "canvas_item_set_draw_index", item, index) log.Println(" Function successfully completed.") } @@ -114053,15 +74235,7 @@ func (o *visualServer) CanvasItemSetDrawIndex(item *RID, index int64) { func (o *visualServer) CanvasItemSetLightMask(item *RID, mask int64) { log.Println("Calling VisualServer.CanvasItemSetLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_light_mask", goArguments, "") - + godotCallVoidRidInt(o, "canvas_item_set_light_mask", item, mask) log.Println(" Function successfully completed.") } @@ -114072,15 +74246,7 @@ func (o *visualServer) CanvasItemSetLightMask(item *RID, mask int64) { func (o *visualServer) CanvasItemSetMaterial(item *RID, material *RID) { log.Println("Calling VisualServer.CanvasItemSetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_material", goArguments, "") - + godotCallVoidRidRid(o, "canvas_item_set_material", item, material) log.Println(" Function successfully completed.") } @@ -114091,15 +74257,7 @@ func (o *visualServer) CanvasItemSetMaterial(item *RID, material *RID) { func (o *visualServer) CanvasItemSetModulate(item *RID, color *Color) { log.Println("Calling VisualServer.CanvasItemSetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_modulate", goArguments, "") - + godotCallVoidRidColor(o, "canvas_item_set_modulate", item, color) log.Println(" Function successfully completed.") } @@ -114110,15 +74268,7 @@ func (o *visualServer) CanvasItemSetModulate(item *RID, color *Color) { func (o *visualServer) CanvasItemSetParent(item *RID, parent *RID) { log.Println("Calling VisualServer.CanvasItemSetParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(parent) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_parent", goArguments, "") - + godotCallVoidRidRid(o, "canvas_item_set_parent", item, parent) log.Println(" Function successfully completed.") } @@ -114129,15 +74279,7 @@ func (o *visualServer) CanvasItemSetParent(item *RID, parent *RID) { func (o *visualServer) CanvasItemSetSelfModulate(item *RID, color *Color) { log.Println("Calling VisualServer.CanvasItemSetSelfModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_self_modulate", goArguments, "") - + godotCallVoidRidColor(o, "canvas_item_set_self_modulate", item, color) log.Println(" Function successfully completed.") } @@ -114148,15 +74290,7 @@ func (o *visualServer) CanvasItemSetSelfModulate(item *RID, color *Color) { func (o *visualServer) CanvasItemSetSortChildrenByY(item *RID, enabled bool) { log.Println("Calling VisualServer.CanvasItemSetSortChildrenByY()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_sort_children_by_y", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_sort_children_by_y", item, enabled) log.Println(" Function successfully completed.") } @@ -114167,15 +74301,7 @@ func (o *visualServer) CanvasItemSetSortChildrenByY(item *RID, enabled bool) { func (o *visualServer) CanvasItemSetTransform(item *RID, transform *Transform2D) { log.Println("Calling VisualServer.CanvasItemSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "canvas_item_set_transform", item, transform) log.Println(" Function successfully completed.") } @@ -114186,15 +74312,7 @@ func (o *visualServer) CanvasItemSetTransform(item *RID, transform *Transform2D) func (o *visualServer) CanvasItemSetUseParentMaterial(item *RID, enabled bool) { log.Println("Calling VisualServer.CanvasItemSetUseParentMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_use_parent_material", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_use_parent_material", item, enabled) log.Println(" Function successfully completed.") } @@ -114205,15 +74323,7 @@ func (o *visualServer) CanvasItemSetUseParentMaterial(item *RID, enabled bool) { func (o *visualServer) CanvasItemSetVisible(item *RID, visible bool) { log.Println("Calling VisualServer.CanvasItemSetVisible()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(visible) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_visible", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_visible", item, visible) log.Println(" Function successfully completed.") } @@ -114224,15 +74334,7 @@ func (o *visualServer) CanvasItemSetVisible(item *RID, visible bool) { func (o *visualServer) CanvasItemSetZAsRelativeToParent(item *RID, enabled bool) { log.Println("Calling VisualServer.CanvasItemSetZAsRelativeToParent()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_z_as_relative_to_parent", goArguments, "") - + godotCallVoidRidBool(o, "canvas_item_set_z_as_relative_to_parent", item, enabled) log.Println(" Function successfully completed.") } @@ -114243,15 +74345,7 @@ func (o *visualServer) CanvasItemSetZAsRelativeToParent(item *RID, enabled bool) func (o *visualServer) CanvasItemSetZIndex(item *RID, zIndex int64) { log.Println("Calling VisualServer.CanvasItemSetZIndex()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(item) - goArguments[1] = reflect.ValueOf(zIndex) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_item_set_z_index", goArguments, "") - + godotCallVoidRidInt(o, "canvas_item_set_z_index", item, zIndex) log.Println(" Function successfully completed.") } @@ -114262,15 +74356,7 @@ func (o *visualServer) CanvasItemSetZIndex(item *RID, zIndex int64) { func (o *visualServer) CanvasLightAttachToCanvas(light *RID, canvas *RID) { log.Println("Calling VisualServer.CanvasLightAttachToCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(canvas) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_attach_to_canvas", goArguments, "") - + godotCallVoidRidRid(o, "canvas_light_attach_to_canvas", light, canvas) log.Println(" Function successfully completed.") } @@ -114281,16 +74367,9 @@ func (o *visualServer) CanvasLightAttachToCanvas(light *RID, canvas *RID) { func (o *visualServer) CanvasLightCreate() *RID { log.Println("Calling VisualServer.CanvasLightCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "canvas_light_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "canvas_light_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -114301,15 +74380,7 @@ func (o *visualServer) CanvasLightCreate() *RID { func (o *visualServer) CanvasLightOccluderAttachToCanvas(occluder *RID, canvas *RID) { log.Println("Calling VisualServer.CanvasLightOccluderAttachToCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluder) - goArguments[1] = reflect.ValueOf(canvas) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_occluder_attach_to_canvas", goArguments, "") - + godotCallVoidRidRid(o, "canvas_light_occluder_attach_to_canvas", occluder, canvas) log.Println(" Function successfully completed.") } @@ -114320,16 +74391,9 @@ func (o *visualServer) CanvasLightOccluderAttachToCanvas(occluder *RID, canvas * func (o *visualServer) CanvasLightOccluderCreate() *RID { log.Println("Calling VisualServer.CanvasLightOccluderCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "canvas_light_occluder_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "canvas_light_occluder_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -114340,15 +74404,7 @@ func (o *visualServer) CanvasLightOccluderCreate() *RID { func (o *visualServer) CanvasLightOccluderSetEnabled(occluder *RID, enabled bool) { log.Println("Calling VisualServer.CanvasLightOccluderSetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluder) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_occluder_set_enabled", goArguments, "") - + godotCallVoidRidBool(o, "canvas_light_occluder_set_enabled", occluder, enabled) log.Println(" Function successfully completed.") } @@ -114359,15 +74415,7 @@ func (o *visualServer) CanvasLightOccluderSetEnabled(occluder *RID, enabled bool func (o *visualServer) CanvasLightOccluderSetLightMask(occluder *RID, mask int64) { log.Println("Calling VisualServer.CanvasLightOccluderSetLightMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluder) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_occluder_set_light_mask", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_occluder_set_light_mask", occluder, mask) log.Println(" Function successfully completed.") } @@ -114378,15 +74426,7 @@ func (o *visualServer) CanvasLightOccluderSetLightMask(occluder *RID, mask int64 func (o *visualServer) CanvasLightOccluderSetPolygon(occluder *RID, polygon *RID) { log.Println("Calling VisualServer.CanvasLightOccluderSetPolygon()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluder) - goArguments[1] = reflect.ValueOf(polygon) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_occluder_set_polygon", goArguments, "") - + godotCallVoidRidRid(o, "canvas_light_occluder_set_polygon", occluder, polygon) log.Println(" Function successfully completed.") } @@ -114397,15 +74437,7 @@ func (o *visualServer) CanvasLightOccluderSetPolygon(occluder *RID, polygon *RID func (o *visualServer) CanvasLightOccluderSetTransform(occluder *RID, transform *Transform2D) { log.Println("Calling VisualServer.CanvasLightOccluderSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluder) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_occluder_set_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "canvas_light_occluder_set_transform", occluder, transform) log.Println(" Function successfully completed.") } @@ -114416,15 +74448,7 @@ func (o *visualServer) CanvasLightOccluderSetTransform(occluder *RID, transform func (o *visualServer) CanvasLightSetColor(light *RID, color *Color) { log.Println("Calling VisualServer.CanvasLightSetColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_color", goArguments, "") - + godotCallVoidRidColor(o, "canvas_light_set_color", light, color) log.Println(" Function successfully completed.") } @@ -114435,15 +74459,7 @@ func (o *visualServer) CanvasLightSetColor(light *RID, color *Color) { func (o *visualServer) CanvasLightSetEnabled(light *RID, enabled bool) { log.Println("Calling VisualServer.CanvasLightSetEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_enabled", goArguments, "") - + godotCallVoidRidBool(o, "canvas_light_set_enabled", light, enabled) log.Println(" Function successfully completed.") } @@ -114454,15 +74470,7 @@ func (o *visualServer) CanvasLightSetEnabled(light *RID, enabled bool) { func (o *visualServer) CanvasLightSetEnergy(light *RID, energy float64) { log.Println("Calling VisualServer.CanvasLightSetEnergy()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(energy) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_energy", goArguments, "") - + godotCallVoidRidFloat(o, "canvas_light_set_energy", light, energy) log.Println(" Function successfully completed.") } @@ -114473,15 +74481,7 @@ func (o *visualServer) CanvasLightSetEnergy(light *RID, energy float64) { func (o *visualServer) CanvasLightSetHeight(light *RID, height float64) { log.Println("Calling VisualServer.CanvasLightSetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_height", goArguments, "") - + godotCallVoidRidFloat(o, "canvas_light_set_height", light, height) log.Println(" Function successfully completed.") } @@ -114492,15 +74492,7 @@ func (o *visualServer) CanvasLightSetHeight(light *RID, height float64) { func (o *visualServer) CanvasLightSetItemCullMask(light *RID, mask int64) { log.Println("Calling VisualServer.CanvasLightSetItemCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_item_cull_mask", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_set_item_cull_mask", light, mask) log.Println(" Function successfully completed.") } @@ -114511,15 +74503,7 @@ func (o *visualServer) CanvasLightSetItemCullMask(light *RID, mask int64) { func (o *visualServer) CanvasLightSetItemShadowCullMask(light *RID, mask int64) { log.Println("Calling VisualServer.CanvasLightSetItemShadowCullMask()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(mask) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_item_shadow_cull_mask", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_set_item_shadow_cull_mask", light, mask) log.Println(" Function successfully completed.") } @@ -114530,16 +74514,7 @@ func (o *visualServer) CanvasLightSetItemShadowCullMask(light *RID, mask int64) func (o *visualServer) CanvasLightSetLayerRange(light *RID, minLayer int64, maxLayer int64) { log.Println("Calling VisualServer.CanvasLightSetLayerRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(minLayer) - goArguments[2] = reflect.ValueOf(maxLayer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_layer_range", goArguments, "") - + godotCallVoidRidIntInt(o, "canvas_light_set_layer_range", light, minLayer, maxLayer) log.Println(" Function successfully completed.") } @@ -114550,15 +74525,7 @@ func (o *visualServer) CanvasLightSetLayerRange(light *RID, minLayer int64, maxL func (o *visualServer) CanvasLightSetMode(light *RID, mode int64) { log.Println("Calling VisualServer.CanvasLightSetMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_mode", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_set_mode", light, mode) log.Println(" Function successfully completed.") } @@ -114569,15 +74536,7 @@ func (o *visualServer) CanvasLightSetMode(light *RID, mode int64) { func (o *visualServer) CanvasLightSetScale(light *RID, scale float64) { log.Println("Calling VisualServer.CanvasLightSetScale()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_scale", goArguments, "") - + godotCallVoidRidFloat(o, "canvas_light_set_scale", light, scale) log.Println(" Function successfully completed.") } @@ -114588,15 +74547,7 @@ func (o *visualServer) CanvasLightSetScale(light *RID, scale float64) { func (o *visualServer) CanvasLightSetShadowBufferSize(light *RID, size int64) { log.Println("Calling VisualServer.CanvasLightSetShadowBufferSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_buffer_size", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_set_shadow_buffer_size", light, size) log.Println(" Function successfully completed.") } @@ -114607,15 +74558,7 @@ func (o *visualServer) CanvasLightSetShadowBufferSize(light *RID, size int64) { func (o *visualServer) CanvasLightSetShadowColor(light *RID, color *Color) { log.Println("Calling VisualServer.CanvasLightSetShadowColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_color", goArguments, "") - + godotCallVoidRidColor(o, "canvas_light_set_shadow_color", light, color) log.Println(" Function successfully completed.") } @@ -114626,15 +74569,7 @@ func (o *visualServer) CanvasLightSetShadowColor(light *RID, color *Color) { func (o *visualServer) CanvasLightSetShadowEnabled(light *RID, enabled bool) { log.Println("Calling VisualServer.CanvasLightSetShadowEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_enabled", goArguments, "") - + godotCallVoidRidBool(o, "canvas_light_set_shadow_enabled", light, enabled) log.Println(" Function successfully completed.") } @@ -114645,15 +74580,7 @@ func (o *visualServer) CanvasLightSetShadowEnabled(light *RID, enabled bool) { func (o *visualServer) CanvasLightSetShadowFilter(light *RID, filter int64) { log.Println("Calling VisualServer.CanvasLightSetShadowFilter()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(filter) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_filter", goArguments, "") - + godotCallVoidRidInt(o, "canvas_light_set_shadow_filter", light, filter) log.Println(" Function successfully completed.") } @@ -114664,15 +74591,7 @@ func (o *visualServer) CanvasLightSetShadowFilter(light *RID, filter int64) { func (o *visualServer) CanvasLightSetShadowGradientLength(light *RID, length float64) { log.Println("Calling VisualServer.CanvasLightSetShadowGradientLength()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(length) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_gradient_length", goArguments, "") - + godotCallVoidRidFloat(o, "canvas_light_set_shadow_gradient_length", light, length) log.Println(" Function successfully completed.") } @@ -114683,15 +74602,7 @@ func (o *visualServer) CanvasLightSetShadowGradientLength(light *RID, length flo func (o *visualServer) CanvasLightSetShadowSmooth(light *RID, smooth float64) { log.Println("Calling VisualServer.CanvasLightSetShadowSmooth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(smooth) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_shadow_smooth", goArguments, "") - + godotCallVoidRidFloat(o, "canvas_light_set_shadow_smooth", light, smooth) log.Println(" Function successfully completed.") } @@ -114702,15 +74613,7 @@ func (o *visualServer) CanvasLightSetShadowSmooth(light *RID, smooth float64) { func (o *visualServer) CanvasLightSetTexture(light *RID, texture *RID) { log.Println("Calling VisualServer.CanvasLightSetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_texture", goArguments, "") - + godotCallVoidRidRid(o, "canvas_light_set_texture", light, texture) log.Println(" Function successfully completed.") } @@ -114721,15 +74624,7 @@ func (o *visualServer) CanvasLightSetTexture(light *RID, texture *RID) { func (o *visualServer) CanvasLightSetTextureOffset(light *RID, offset *Vector2) { log.Println("Calling VisualServer.CanvasLightSetTextureOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_texture_offset", goArguments, "") - + godotCallVoidRidVector2(o, "canvas_light_set_texture_offset", light, offset) log.Println(" Function successfully completed.") } @@ -114740,15 +74635,7 @@ func (o *visualServer) CanvasLightSetTextureOffset(light *RID, offset *Vector2) func (o *visualServer) CanvasLightSetTransform(light *RID, transform *Transform2D) { log.Println("Calling VisualServer.CanvasLightSetTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "canvas_light_set_transform", light, transform) log.Println(" Function successfully completed.") } @@ -114759,16 +74646,7 @@ func (o *visualServer) CanvasLightSetTransform(light *RID, transform *Transform2 func (o *visualServer) CanvasLightSetZRange(light *RID, minZ int64, maxZ int64) { log.Println("Calling VisualServer.CanvasLightSetZRange()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(light) - goArguments[1] = reflect.ValueOf(minZ) - goArguments[2] = reflect.ValueOf(maxZ) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_light_set_z_range", goArguments, "") - + godotCallVoidRidIntInt(o, "canvas_light_set_z_range", light, minZ, maxZ) log.Println(" Function successfully completed.") } @@ -114779,16 +74657,9 @@ func (o *visualServer) CanvasLightSetZRange(light *RID, minZ int64, maxZ int64) func (o *visualServer) CanvasOccluderPolygonCreate() *RID { log.Println("Calling VisualServer.CanvasOccluderPolygonCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "canvas_occluder_polygon_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "canvas_occluder_polygon_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -114799,15 +74670,7 @@ func (o *visualServer) CanvasOccluderPolygonCreate() *RID { func (o *visualServer) CanvasOccluderPolygonSetCullMode(occluderPolygon *RID, mode int64) { log.Println("Calling VisualServer.CanvasOccluderPolygonSetCullMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluderPolygon) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_occluder_polygon_set_cull_mode", goArguments, "") - + godotCallVoidRidInt(o, "canvas_occluder_polygon_set_cull_mode", occluderPolygon, mode) log.Println(" Function successfully completed.") } @@ -114818,16 +74681,7 @@ func (o *visualServer) CanvasOccluderPolygonSetCullMode(occluderPolygon *RID, mo func (o *visualServer) CanvasOccluderPolygonSetShape(occluderPolygon *RID, shape *PoolVector2Array, closed bool) { log.Println("Calling VisualServer.CanvasOccluderPolygonSetShape()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(occluderPolygon) - goArguments[1] = reflect.ValueOf(shape) - goArguments[2] = reflect.ValueOf(closed) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_occluder_polygon_set_shape", goArguments, "") - + godotCallVoidRidPoolVector2ArrayBool(o, "canvas_occluder_polygon_set_shape", occluderPolygon, shape, closed) log.Println(" Function successfully completed.") } @@ -114838,15 +74692,7 @@ func (o *visualServer) CanvasOccluderPolygonSetShape(occluderPolygon *RID, shape func (o *visualServer) CanvasOccluderPolygonSetShapeAsLines(occluderPolygon *RID, shape *PoolVector2Array) { log.Println("Calling VisualServer.CanvasOccluderPolygonSetShapeAsLines()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(occluderPolygon) - goArguments[1] = reflect.ValueOf(shape) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_occluder_polygon_set_shape_as_lines", goArguments, "") - + godotCallVoidRidPoolVector2Array(o, "canvas_occluder_polygon_set_shape_as_lines", occluderPolygon, shape) log.Println(" Function successfully completed.") } @@ -114857,16 +74703,7 @@ func (o *visualServer) CanvasOccluderPolygonSetShapeAsLines(occluderPolygon *RID func (o *visualServer) CanvasSetItemMirroring(canvas *RID, item *RID, mirroring *Vector2) { log.Println("Calling VisualServer.CanvasSetItemMirroring()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(canvas) - goArguments[1] = reflect.ValueOf(item) - goArguments[2] = reflect.ValueOf(mirroring) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_set_item_mirroring", goArguments, "") - + godotCallVoidRidRidVector2(o, "canvas_set_item_mirroring", canvas, item, mirroring) log.Println(" Function successfully completed.") } @@ -114877,15 +74714,7 @@ func (o *visualServer) CanvasSetItemMirroring(canvas *RID, item *RID, mirroring func (o *visualServer) CanvasSetModulate(canvas *RID, color *Color) { log.Println("Calling VisualServer.CanvasSetModulate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(canvas) - goArguments[1] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "canvas_set_modulate", goArguments, "") - + godotCallVoidRidColor(o, "canvas_set_modulate", canvas, color) log.Println(" Function successfully completed.") } @@ -114896,14 +74725,7 @@ func (o *visualServer) CanvasSetModulate(canvas *RID, color *Color) { func (o *visualServer) Draw(swapBuffers bool) { log.Println("Calling VisualServer.Draw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(swapBuffers) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "draw", goArguments, "") - + godotCallVoidBool(o, "draw", swapBuffers) log.Println(" Function successfully completed.") } @@ -114914,13 +74736,7 @@ func (o *visualServer) Draw(swapBuffers bool) { func (o *visualServer) Finish() { log.Println("Calling VisualServer.Finish()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "finish", goArguments, "") - + godotCallVoid(o, "finish") log.Println(" Function successfully completed.") } @@ -114931,31 +74747,18 @@ func (o *visualServer) Finish() { func (o *visualServer) ForceDraw(swapBuffers bool) { log.Println("Calling VisualServer.ForceDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(swapBuffers) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_draw", goArguments, "") - + godotCallVoidBool(o, "force_draw", swapBuffers) log.Println(" Function successfully completed.") } /* - Syncronizes threads. + Synchronizes threads. */ func (o *visualServer) ForceSync() { log.Println("Calling VisualServer.ForceSync()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "force_sync", goArguments, "") - + godotCallVoid(o, "force_sync") log.Println(" Function successfully completed.") } @@ -114966,14 +74769,7 @@ func (o *visualServer) ForceSync() { func (o *visualServer) FreeRid(rid *RID) { log.Println("Calling VisualServer.FreeRid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(rid) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "free_rid", goArguments, "") - + godotCallVoidRid(o, "free_rid", rid) log.Println(" Function successfully completed.") } @@ -114984,17 +74780,9 @@ func (o *visualServer) FreeRid(rid *RID) { func (o *visualServer) GetRenderInfo(info int64) int64 { log.Println("Calling VisualServer.GetRenderInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(info) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_render_info", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "get_render_info", info) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115005,16 +74793,9 @@ func (o *visualServer) GetRenderInfo(info int64) int64 { func (o *visualServer) GetTestCube() *RID { log.Println("Calling VisualServer.GetTestCube()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_test_cube", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_test_cube") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115025,16 +74806,9 @@ func (o *visualServer) GetTestCube() *RID { func (o *visualServer) GetTestTexture() *RID { log.Println("Calling VisualServer.GetTestTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_test_texture", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_test_texture") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115045,16 +74819,9 @@ func (o *visualServer) GetTestTexture() *RID { func (o *visualServer) GetWhiteTexture() *RID { log.Println("Calling VisualServer.GetWhiteTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_white_texture", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_white_texture") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115065,16 +74832,9 @@ func (o *visualServer) GetWhiteTexture() *RID { func (o *visualServer) HasChanged() bool { log.Println("Calling VisualServer.HasChanged()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_changed", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "has_changed") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115085,17 +74845,9 @@ func (o *visualServer) HasChanged() bool { func (o *visualServer) HasFeature(feature int64) bool { log.Println("Calling VisualServer.HasFeature()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(feature) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_feature", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolInt(o, "has_feature", feature) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115106,17 +74858,9 @@ func (o *visualServer) HasFeature(feature int64) bool { func (o *visualServer) HasOsFeature(feature string) bool { log.Println("Calling VisualServer.HasOsFeature()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(feature) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_os_feature", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_os_feature", feature) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115127,13 +74871,7 @@ func (o *visualServer) HasOsFeature(feature string) bool { func (o *visualServer) Init() { log.Println("Calling VisualServer.Init()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "init", goArguments, "") - + godotCallVoid(o, "init") log.Println(" Function successfully completed.") } @@ -115144,19 +74882,9 @@ func (o *visualServer) Init() { func (o *visualServer) MakeSphereMesh(latitudes int64, longitudes int64, radius float64) *RID { log.Println("Calling VisualServer.MakeSphereMesh()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(latitudes) - goArguments[1] = reflect.ValueOf(longitudes) - goArguments[2] = reflect.ValueOf(radius) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "make_sphere_mesh", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidIntIntFloat(o, "make_sphere_mesh", latitudes, longitudes, radius) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115167,16 +74895,9 @@ func (o *visualServer) MakeSphereMesh(latitudes int64, longitudes int64, radius func (o *visualServer) MaterialCreate() *RID { log.Println("Calling VisualServer.MaterialCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "material_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "material_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115187,18 +74908,9 @@ func (o *visualServer) MaterialCreate() *RID { func (o *visualServer) MaterialGetParam(material *RID, parameter string) *Variant { log.Println("Calling VisualServer.MaterialGetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(parameter) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "material_get_param", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariantRidString(o, "material_get_param", material, parameter) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115209,17 +74921,9 @@ func (o *visualServer) MaterialGetParam(material *RID, parameter string) *Varian func (o *visualServer) MaterialGetShader(shaderMaterial *RID) *RID { log.Println("Calling VisualServer.MaterialGetShader()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shaderMaterial) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "material_get_shader", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "material_get_shader", shaderMaterial) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115230,15 +74934,7 @@ func (o *visualServer) MaterialGetShader(shaderMaterial *RID) *RID { func (o *visualServer) MaterialSetLineWidth(material *RID, width float64) { log.Println("Calling VisualServer.MaterialSetLineWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(width) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "material_set_line_width", goArguments, "") - + godotCallVoidRidFloat(o, "material_set_line_width", material, width) log.Println(" Function successfully completed.") } @@ -115249,15 +74945,7 @@ func (o *visualServer) MaterialSetLineWidth(material *RID, width float64) { func (o *visualServer) MaterialSetNextPass(material *RID, nextMaterial *RID) { log.Println("Calling VisualServer.MaterialSetNextPass()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(nextMaterial) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "material_set_next_pass", goArguments, "") - + godotCallVoidRidRid(o, "material_set_next_pass", material, nextMaterial) log.Println(" Function successfully completed.") } @@ -115268,16 +74956,7 @@ func (o *visualServer) MaterialSetNextPass(material *RID, nextMaterial *RID) { func (o *visualServer) MaterialSetParam(material *RID, parameter string, value *Variant) { log.Println("Calling VisualServer.MaterialSetParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(parameter) - goArguments[2] = reflect.ValueOf(value) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "material_set_param", goArguments, "") - + godotCallVoidRidStringVariant(o, "material_set_param", material, parameter, value) log.Println(" Function successfully completed.") } @@ -115288,15 +74967,7 @@ func (o *visualServer) MaterialSetParam(material *RID, parameter string, value * func (o *visualServer) MaterialSetRenderPriority(material *RID, priority int64) { log.Println("Calling VisualServer.MaterialSetRenderPriority()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(material) - goArguments[1] = reflect.ValueOf(priority) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "material_set_render_priority", goArguments, "") - + godotCallVoidRidInt(o, "material_set_render_priority", material, priority) log.Println(" Function successfully completed.") } @@ -115307,15 +74978,7 @@ func (o *visualServer) MaterialSetRenderPriority(material *RID, priority int64) func (o *visualServer) MaterialSetShader(shaderMaterial *RID, shader *RID) { log.Println("Calling VisualServer.MaterialSetShader()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shaderMaterial) - goArguments[1] = reflect.ValueOf(shader) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "material_set_shader", goArguments, "") - + godotCallVoidRidRid(o, "material_set_shader", shaderMaterial, shader) log.Println(" Function successfully completed.") } @@ -115326,18 +74989,7 @@ func (o *visualServer) MaterialSetShader(shaderMaterial *RID, shader *RID) { func (o *visualServer) MeshAddSurfaceFromArrays(mesh *RID, primtive int64, arrays *Array, blendShapes *Array, compressFormat int64) { log.Println("Calling VisualServer.MeshAddSurfaceFromArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(primtive) - goArguments[2] = reflect.ValueOf(arrays) - goArguments[3] = reflect.ValueOf(blendShapes) - goArguments[4] = reflect.ValueOf(compressFormat) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_add_surface_from_arrays", goArguments, "") - + godotCallVoidRidIntArrayArrayInt(o, "mesh_add_surface_from_arrays", mesh, primtive, arrays, blendShapes, compressFormat) log.Println(" Function successfully completed.") } @@ -115348,14 +75000,7 @@ func (o *visualServer) MeshAddSurfaceFromArrays(mesh *RID, primtive int64, array func (o *visualServer) MeshClear(mesh *RID) { log.Println("Calling VisualServer.MeshClear()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_clear", goArguments, "") - + godotCallVoidRid(o, "mesh_clear", mesh) log.Println(" Function successfully completed.") } @@ -115366,16 +75011,9 @@ func (o *visualServer) MeshClear(mesh *RID) { func (o *visualServer) MeshCreate() *RID { log.Println("Calling VisualServer.MeshCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "mesh_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115386,17 +75024,9 @@ func (o *visualServer) MeshCreate() *RID { func (o *visualServer) MeshGetBlendShapeCount(mesh *RID) int64 { log.Println("Calling VisualServer.MeshGetBlendShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_get_blend_shape_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "mesh_get_blend_shape_count", mesh) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115407,17 +75037,9 @@ func (o *visualServer) MeshGetBlendShapeCount(mesh *RID) int64 { func (o *visualServer) MeshGetBlendShapeMode(mesh *RID) int64 { log.Println("Calling VisualServer.MeshGetBlendShapeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_get_blend_shape_mode", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "mesh_get_blend_shape_mode", mesh) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115428,17 +75050,9 @@ func (o *visualServer) MeshGetBlendShapeMode(mesh *RID) int64 { func (o *visualServer) MeshGetCustomAabb(mesh *RID) *AABB { log.Println("Calling VisualServer.MeshGetCustomAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_get_custom_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabbRid(o, "mesh_get_custom_aabb", mesh) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115449,17 +75063,9 @@ func (o *visualServer) MeshGetCustomAabb(mesh *RID) *AABB { func (o *visualServer) MeshGetSurfaceCount(mesh *RID) int64 { log.Println("Calling VisualServer.MeshGetSurfaceCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(mesh) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_get_surface_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "mesh_get_surface_count", mesh) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115470,15 +75076,7 @@ func (o *visualServer) MeshGetSurfaceCount(mesh *RID) int64 { func (o *visualServer) MeshRemoveSurface(mesh *RID, index int64) { log.Println("Calling VisualServer.MeshRemoveSurface()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(index) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_remove_surface", goArguments, "") - + godotCallVoidRidInt(o, "mesh_remove_surface", mesh, index) log.Println(" Function successfully completed.") } @@ -115489,15 +75087,7 @@ func (o *visualServer) MeshRemoveSurface(mesh *RID, index int64) { func (o *visualServer) MeshSetBlendShapeCount(mesh *RID, amount int64) { log.Println("Calling VisualServer.MeshSetBlendShapeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(amount) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_set_blend_shape_count", goArguments, "") - + godotCallVoidRidInt(o, "mesh_set_blend_shape_count", mesh, amount) log.Println(" Function successfully completed.") } @@ -115508,15 +75098,7 @@ func (o *visualServer) MeshSetBlendShapeCount(mesh *RID, amount int64) { func (o *visualServer) MeshSetBlendShapeMode(mesh *RID, mode int64) { log.Println("Calling VisualServer.MeshSetBlendShapeMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(mode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_set_blend_shape_mode", goArguments, "") - + godotCallVoidRidInt(o, "mesh_set_blend_shape_mode", mesh, mode) log.Println(" Function successfully completed.") } @@ -115527,15 +75109,7 @@ func (o *visualServer) MeshSetBlendShapeMode(mesh *RID, mode int64) { func (o *visualServer) MeshSetCustomAabb(mesh *RID, aabb *AABB) { log.Println("Calling VisualServer.MeshSetCustomAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(aabb) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_set_custom_aabb", goArguments, "") - + godotCallVoidRidAabb(o, "mesh_set_custom_aabb", mesh, aabb) log.Println(" Function successfully completed.") } @@ -115546,18 +75120,9 @@ func (o *visualServer) MeshSetCustomAabb(mesh *RID, aabb *AABB) { func (o *visualServer) MeshSurfaceGetAabb(mesh *RID, surface int64) *AABB { log.Println("Calling VisualServer.MeshSurfaceGetAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_aabb", goArguments, "*AABB") - - returnValue := goRet.Interface().(*AABB) - + returnValue := godotCallAabbRidInt(o, "mesh_surface_get_aabb", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115568,18 +75133,9 @@ func (o *visualServer) MeshSurfaceGetAabb(mesh *RID, surface int64) *AABB { func (o *visualServer) MeshSurfaceGetArray(mesh *RID, surface int64) *PoolByteArray { log.Println("Calling VisualServer.MeshSurfaceGetArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_array", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArrayRidInt(o, "mesh_surface_get_array", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115590,18 +75146,9 @@ func (o *visualServer) MeshSurfaceGetArray(mesh *RID, surface int64) *PoolByteAr func (o *visualServer) MeshSurfaceGetArrayIndexLen(mesh *RID, surface int64) int64 { log.Println("Calling VisualServer.MeshSurfaceGetArrayIndexLen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_array_index_len", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRidInt(o, "mesh_surface_get_array_index_len", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115612,18 +75159,9 @@ func (o *visualServer) MeshSurfaceGetArrayIndexLen(mesh *RID, surface int64) int func (o *visualServer) MeshSurfaceGetArrayLen(mesh *RID, surface int64) int64 { log.Println("Calling VisualServer.MeshSurfaceGetArrayLen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_array_len", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRidInt(o, "mesh_surface_get_array_len", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115634,18 +75172,9 @@ func (o *visualServer) MeshSurfaceGetArrayLen(mesh *RID, surface int64) int64 { func (o *visualServer) MeshSurfaceGetArrays(mesh *RID, surface int64) *Array { log.Println("Calling VisualServer.MeshSurfaceGetArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_arrays", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayRidInt(o, "mesh_surface_get_arrays", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115656,21 +75185,12 @@ func (o *visualServer) MeshSurfaceGetArrays(mesh *RID, surface int64) *Array { func (o *visualServer) MeshSurfaceGetBlendShapeArrays(mesh *RID, surface int64) *Array { log.Println("Calling VisualServer.MeshSurfaceGetBlendShapeArrays()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) + returnValue := godotCallArrayRidInt(o, "mesh_surface_get_blend_shape_arrays", mesh, surface) + log.Println(" Got return value: ", returnValue) - // Call the parent method. + return returnValue - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_blend_shape_arrays", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - - log.Println(" Got return value: ", returnValue) - return returnValue - -} +} /* Returns the format of a mesh's surface. @@ -115678,18 +75198,9 @@ func (o *visualServer) MeshSurfaceGetBlendShapeArrays(mesh *RID, surface int64) func (o *visualServer) MeshSurfaceGetFormat(mesh *RID, surface int64) int64 { log.Println("Calling VisualServer.MeshSurfaceGetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRidInt(o, "mesh_surface_get_format", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115700,18 +75211,9 @@ func (o *visualServer) MeshSurfaceGetFormat(mesh *RID, surface int64) int64 { func (o *visualServer) MeshSurfaceGetIndexArray(mesh *RID, surface int64) *PoolByteArray { log.Println("Calling VisualServer.MeshSurfaceGetIndexArray()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_index_array", goArguments, "*PoolByteArray") - - returnValue := goRet.Interface().(*PoolByteArray) - + returnValue := godotCallPoolByteArrayRidInt(o, "mesh_surface_get_index_array", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115722,18 +75224,9 @@ func (o *visualServer) MeshSurfaceGetIndexArray(mesh *RID, surface int64) *PoolB func (o *visualServer) MeshSurfaceGetMaterial(mesh *RID, surface int64) *RID { log.Println("Calling VisualServer.MeshSurfaceGetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_material", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidInt(o, "mesh_surface_get_material", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115744,18 +75237,9 @@ func (o *visualServer) MeshSurfaceGetMaterial(mesh *RID, surface int64) *RID { func (o *visualServer) MeshSurfaceGetPrimitiveType(mesh *RID, surface int64) int64 { log.Println("Calling VisualServer.MeshSurfaceGetPrimitiveType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_primitive_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRidInt(o, "mesh_surface_get_primitive_type", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115766,18 +75250,9 @@ func (o *visualServer) MeshSurfaceGetPrimitiveType(mesh *RID, surface int64) int func (o *visualServer) MeshSurfaceGetSkeletonAabb(mesh *RID, surface int64) *Array { log.Println("Calling VisualServer.MeshSurfaceGetSkeletonAabb()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "mesh_surface_get_skeleton_aabb", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayRidInt(o, "mesh_surface_get_skeleton_aabb", mesh, surface) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115788,16 +75263,7 @@ func (o *visualServer) MeshSurfaceGetSkeletonAabb(mesh *RID, surface int64) *Arr func (o *visualServer) MeshSurfaceSetMaterial(mesh *RID, surface int64, material *RID) { log.Println("Calling VisualServer.MeshSurfaceSetMaterial()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(mesh) - goArguments[1] = reflect.ValueOf(surface) - goArguments[2] = reflect.ValueOf(material) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "mesh_surface_set_material", goArguments, "") - + godotCallVoidRidIntRid(o, "mesh_surface_set_material", mesh, surface, material) log.Println(" Function successfully completed.") } @@ -115808,16 +75274,7 @@ func (o *visualServer) MeshSurfaceSetMaterial(mesh *RID, surface int64, material func (o *visualServer) RequestFrameDrawnCallback(where *Object, method string, userdata *Variant) { log.Println("Calling VisualServer.RequestFrameDrawnCallback()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(where) - goArguments[1] = reflect.ValueOf(method) - goArguments[2] = reflect.ValueOf(userdata) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "request_frame_drawn_callback", goArguments, "") - + godotCallVoidObjectStringVariant(o, "request_frame_drawn_callback", where, method, userdata) log.Println(" Function successfully completed.") } @@ -115828,16 +75285,7 @@ func (o *visualServer) RequestFrameDrawnCallback(where *Object, method string, u func (o *visualServer) SetBootImage(image *Image, color *Color, scale bool) { log.Println("Calling VisualServer.SetBootImage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(image) - goArguments[1] = reflect.ValueOf(color) - goArguments[2] = reflect.ValueOf(scale) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_boot_image", goArguments, "") - + godotCallVoidObjectColorBool(o, "set_boot_image", &image.Object, color, scale) log.Println(" Function successfully completed.") } @@ -115848,14 +75296,7 @@ func (o *visualServer) SetBootImage(image *Image, color *Color, scale bool) { func (o *visualServer) SetDebugGenerateWireframes(generate bool) { log.Println("Calling VisualServer.SetDebugGenerateWireframes()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(generate) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_debug_generate_wireframes", goArguments, "") - + godotCallVoidBool(o, "set_debug_generate_wireframes", generate) log.Println(" Function successfully completed.") } @@ -115866,14 +75307,7 @@ func (o *visualServer) SetDebugGenerateWireframes(generate bool) { func (o *visualServer) SetDefaultClearColor(color *Color) { log.Println("Calling VisualServer.SetDefaultClearColor()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(color) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_default_clear_color", goArguments, "") - + godotCallVoidColor(o, "set_default_clear_color", color) log.Println(" Function successfully completed.") } @@ -115884,16 +75318,9 @@ func (o *visualServer) SetDefaultClearColor(color *Color) { func (o *visualServer) ShaderCreate() *RID { log.Println("Calling VisualServer.ShaderCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shader_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "shader_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115904,17 +75331,9 @@ func (o *visualServer) ShaderCreate() *RID { func (o *visualServer) ShaderGetCode(shader *RID) string { log.Println("Calling VisualServer.ShaderGetCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shader) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shader_get_code", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringRid(o, "shader_get_code", shader) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115925,18 +75344,9 @@ func (o *visualServer) ShaderGetCode(shader *RID) string { func (o *visualServer) ShaderGetDefaultTextureParam(shader *RID, name string) *RID { log.Println("Calling VisualServer.ShaderGetDefaultTextureParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shader) - goArguments[1] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shader_get_default_texture_param", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRidString(o, "shader_get_default_texture_param", shader, name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115947,17 +75357,9 @@ func (o *visualServer) ShaderGetDefaultTextureParam(shader *RID, name string) *R func (o *visualServer) ShaderGetParamList(shader *RID) *Array { log.Println("Calling VisualServer.ShaderGetParamList()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shader) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "shader_get_param_list", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArrayRid(o, "shader_get_param_list", shader) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -115968,15 +75370,7 @@ func (o *visualServer) ShaderGetParamList(shader *RID) *Array { func (o *visualServer) ShaderSetCode(shader *RID, code string) { log.Println("Calling VisualServer.ShaderSetCode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(shader) - goArguments[1] = reflect.ValueOf(code) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shader_set_code", goArguments, "") - + godotCallVoidRidString(o, "shader_set_code", shader, code) log.Println(" Function successfully completed.") } @@ -115987,16 +75381,7 @@ func (o *visualServer) ShaderSetCode(shader *RID, code string) { func (o *visualServer) ShaderSetDefaultTextureParam(shader *RID, name string, texture *RID) { log.Println("Calling VisualServer.ShaderSetDefaultTextureParam()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(shader) - goArguments[1] = reflect.ValueOf(name) - goArguments[2] = reflect.ValueOf(texture) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "shader_set_default_texture_param", goArguments, "") - + godotCallVoidRidStringRid(o, "shader_set_default_texture_param", shader, name, texture) log.Println(" Function successfully completed.") } @@ -116007,16 +75392,9 @@ func (o *visualServer) ShaderSetDefaultTextureParam(shader *RID, name string, te func (o *visualServer) SkyCreate() *RID { log.Println("Calling VisualServer.SkyCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "sky_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "sky_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116027,16 +75405,7 @@ func (o *visualServer) SkyCreate() *RID { func (o *visualServer) SkySetTexture(sky *RID, cubeMap *RID, radianceSize int64) { log.Println("Calling VisualServer.SkySetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(sky) - goArguments[1] = reflect.ValueOf(cubeMap) - goArguments[2] = reflect.ValueOf(radianceSize) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "sky_set_texture", goArguments, "") - + godotCallVoidRidRidInt(o, "sky_set_texture", sky, cubeMap, radianceSize) log.Println(" Function successfully completed.") } @@ -116047,13 +75416,7 @@ func (o *visualServer) SkySetTexture(sky *RID, cubeMap *RID, radianceSize int64) func (o *visualServer) Sync() { log.Println("Calling VisualServer.Sync()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "sync", goArguments, "") - + godotCallVoid(o, "sync") log.Println(" Function successfully completed.") } @@ -116064,18 +75427,7 @@ func (o *visualServer) Sync() { func (o *visualServer) TextureAllocate(texture *RID, width int64, height int64, format int64, flags int64) { log.Println("Calling VisualServer.TextureAllocate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 5, 5) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(width) - goArguments[2] = reflect.ValueOf(height) - goArguments[3] = reflect.ValueOf(format) - goArguments[4] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_allocate", goArguments, "") - + godotCallVoidRidIntIntIntInt(o, "texture_allocate", texture, width, height, format, flags) log.Println(" Function successfully completed.") } @@ -116086,16 +75438,9 @@ func (o *visualServer) TextureAllocate(texture *RID, width int64, height int64, func (o *visualServer) TextureCreate() *RID { log.Println("Calling VisualServer.TextureCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "texture_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116106,18 +75451,9 @@ func (o *visualServer) TextureCreate() *RID { func (o *visualServer) TextureCreateFromImage(image *Image, flags int64) *RID { log.Println("Calling VisualServer.TextureCreateFromImage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(image) - goArguments[1] = reflect.ValueOf(flags) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_create_from_image", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidObjectInt(o, "texture_create_from_image", &image.Object, flags) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116128,16 +75464,9 @@ func (o *visualServer) TextureCreateFromImage(image *Image, flags int64) *RID { func (o *visualServer) TextureDebugUsage() *Array { log.Println("Calling VisualServer.TextureDebugUsage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_debug_usage", goArguments, "*Array") - - returnValue := goRet.Interface().(*Array) - + returnValue := godotCallArray(o, "texture_debug_usage") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116148,19 +75477,12 @@ func (o *visualServer) TextureDebugUsage() *Array { func (o *visualServer) TextureGetData(texture *RID, cubeSide int64) *Image { log.Println("Calling VisualServer.TextureGetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(cubeSide) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_data", goArguments, "*Image") - - returnValue := goRet.Interface().(*Image) - + returnValue := godotCallObjectRidInt(o, "texture_get_data", texture, cubeSide) log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Image + ret.owner = returnValue.owner + return &ret } @@ -116170,17 +75492,9 @@ func (o *visualServer) TextureGetData(texture *RID, cubeSide int64) *Image { func (o *visualServer) TextureGetFlags(texture *RID) int64 { log.Println("Calling VisualServer.TextureGetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_flags", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "texture_get_flags", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116191,17 +75505,9 @@ func (o *visualServer) TextureGetFlags(texture *RID) int64 { func (o *visualServer) TextureGetFormat(texture *RID) int64 { log.Println("Calling VisualServer.TextureGetFormat()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_format", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "texture_get_format", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116212,17 +75518,9 @@ func (o *visualServer) TextureGetFormat(texture *RID) int64 { func (o *visualServer) TextureGetHeight(texture *RID) int64 { log.Println("Calling VisualServer.TextureGetHeight()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_height", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "texture_get_height", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116233,17 +75531,9 @@ func (o *visualServer) TextureGetHeight(texture *RID) int64 { func (o *visualServer) TextureGetPath(texture *RID) string { log.Println("Calling VisualServer.TextureGetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_path", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringRid(o, "texture_get_path", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116254,17 +75544,9 @@ func (o *visualServer) TextureGetPath(texture *RID) string { func (o *visualServer) TextureGetTexid(texture *RID) int64 { log.Println("Calling VisualServer.TextureGetTexid()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_texid", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "texture_get_texid", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116275,17 +75557,9 @@ func (o *visualServer) TextureGetTexid(texture *RID) int64 { func (o *visualServer) TextureGetWidth(texture *RID) int64 { log.Println("Calling VisualServer.TextureGetWidth()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(texture) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "texture_get_width", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRid(o, "texture_get_width", texture) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116296,16 +75570,7 @@ func (o *visualServer) TextureGetWidth(texture *RID) int64 { func (o *visualServer) TextureSetData(texture *RID, image *Image, cubeSide int64) { log.Println("Calling VisualServer.TextureSetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(image) - goArguments[2] = reflect.ValueOf(cubeSide) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_set_data", goArguments, "") - + godotCallVoidRidObjectInt(o, "texture_set_data", texture, &image.Object, cubeSide) log.Println(" Function successfully completed.") } @@ -116316,15 +75581,7 @@ func (o *visualServer) TextureSetData(texture *RID, image *Image, cubeSide int64 func (o *visualServer) TextureSetFlags(texture *RID, flags int64) { log.Println("Calling VisualServer.TextureSetFlags()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(flags) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_set_flags", goArguments, "") - + godotCallVoidRidInt(o, "texture_set_flags", texture, flags) log.Println(" Function successfully completed.") } @@ -116335,15 +75592,7 @@ func (o *visualServer) TextureSetFlags(texture *RID, flags int64) { func (o *visualServer) TextureSetPath(texture *RID, path string) { log.Println("Calling VisualServer.TextureSetPath()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(path) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_set_path", goArguments, "") - + godotCallVoidRidString(o, "texture_set_path", texture, path) log.Println(" Function successfully completed.") } @@ -116354,14 +75603,7 @@ func (o *visualServer) TextureSetPath(texture *RID, path string) { func (o *visualServer) TextureSetShrinkAllX2OnSetData(shrink bool) { log.Println("Calling VisualServer.TextureSetShrinkAllX2OnSetData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(shrink) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_set_shrink_all_x2_on_set_data", goArguments, "") - + godotCallVoidBool(o, "texture_set_shrink_all_x2_on_set_data", shrink) log.Println(" Function successfully completed.") } @@ -116372,16 +75614,7 @@ func (o *visualServer) TextureSetShrinkAllX2OnSetData(shrink bool) { func (o *visualServer) TextureSetSizeOverride(texture *RID, width int64, height int64) { log.Println("Calling VisualServer.TextureSetSizeOverride()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(texture) - goArguments[1] = reflect.ValueOf(width) - goArguments[2] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "texture_set_size_override", goArguments, "") - + godotCallVoidRidIntInt(o, "texture_set_size_override", texture, width, height) log.Println(" Function successfully completed.") } @@ -116392,14 +75625,7 @@ func (o *visualServer) TextureSetSizeOverride(texture *RID, width int64, height func (o *visualServer) TexturesKeepOriginal(enable bool) { log.Println("Calling VisualServer.TexturesKeepOriginal()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "textures_keep_original", goArguments, "") - + godotCallVoidBool(o, "textures_keep_original", enable) log.Println(" Function successfully completed.") } @@ -116410,15 +75636,7 @@ func (o *visualServer) TexturesKeepOriginal(enable bool) { func (o *visualServer) ViewportAttachCamera(viewport *RID, camera *RID) { log.Println("Calling VisualServer.ViewportAttachCamera()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(camera) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_attach_camera", goArguments, "") - + godotCallVoidRidRid(o, "viewport_attach_camera", viewport, camera) log.Println(" Function successfully completed.") } @@ -116429,15 +75647,7 @@ func (o *visualServer) ViewportAttachCamera(viewport *RID, camera *RID) { func (o *visualServer) ViewportAttachCanvas(viewport *RID, canvas *RID) { log.Println("Calling VisualServer.ViewportAttachCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(canvas) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_attach_canvas", goArguments, "") - + godotCallVoidRidRid(o, "viewport_attach_canvas", viewport, canvas) log.Println(" Function successfully completed.") } @@ -116448,16 +75658,7 @@ func (o *visualServer) ViewportAttachCanvas(viewport *RID, canvas *RID) { func (o *visualServer) ViewportAttachToScreen(viewport *RID, rect *Rect2, screen int64) { log.Println("Calling VisualServer.ViewportAttachToScreen()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(rect) - goArguments[2] = reflect.ValueOf(screen) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_attach_to_screen", goArguments, "") - + godotCallVoidRidRect2Int(o, "viewport_attach_to_screen", viewport, rect, screen) log.Println(" Function successfully completed.") } @@ -116468,16 +75669,9 @@ func (o *visualServer) ViewportAttachToScreen(viewport *RID, rect *Rect2, screen func (o *visualServer) ViewportCreate() *RID { log.Println("Calling VisualServer.ViewportCreate()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "viewport_create", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "viewport_create") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116488,14 +75682,7 @@ func (o *visualServer) ViewportCreate() *RID { func (o *visualServer) ViewportDetach(viewport *RID) { log.Println("Calling VisualServer.ViewportDetach()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(viewport) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_detach", goArguments, "") - + godotCallVoidRid(o, "viewport_detach", viewport) log.Println(" Function successfully completed.") } @@ -116506,18 +75693,9 @@ func (o *visualServer) ViewportDetach(viewport *RID) { func (o *visualServer) ViewportGetRenderInfo(viewport *RID, info int64) int64 { log.Println("Calling VisualServer.ViewportGetRenderInfo()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(info) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "viewport_get_render_info", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntRidInt(o, "viewport_get_render_info", viewport, info) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116528,17 +75706,9 @@ func (o *visualServer) ViewportGetRenderInfo(viewport *RID, info int64) int64 { func (o *visualServer) ViewportGetTexture(viewport *RID) *RID { log.Println("Calling VisualServer.ViewportGetTexture()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(viewport) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "viewport_get_texture", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRidRid(o, "viewport_get_texture", viewport) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -116549,15 +75719,7 @@ func (o *visualServer) ViewportGetTexture(viewport *RID) *RID { func (o *visualServer) ViewportRemoveCanvas(viewport *RID, canvas *RID) { log.Println("Calling VisualServer.ViewportRemoveCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(canvas) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_remove_canvas", goArguments, "") - + godotCallVoidRidRid(o, "viewport_remove_canvas", viewport, canvas) log.Println(" Function successfully completed.") } @@ -116568,15 +75730,7 @@ func (o *visualServer) ViewportRemoveCanvas(viewport *RID, canvas *RID) { func (o *visualServer) ViewportSetActive(viewport *RID, active bool) { log.Println("Calling VisualServer.ViewportSetActive()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(active) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_active", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_active", viewport, active) log.Println(" Function successfully completed.") } @@ -116587,16 +75741,7 @@ func (o *visualServer) ViewportSetActive(viewport *RID, active bool) { func (o *visualServer) ViewportSetCanvasLayer(viewport *RID, canvas *RID, layer int64) { log.Println("Calling VisualServer.ViewportSetCanvasLayer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(canvas) - goArguments[2] = reflect.ValueOf(layer) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_canvas_layer", goArguments, "") - + godotCallVoidRidRidInt(o, "viewport_set_canvas_layer", viewport, canvas, layer) log.Println(" Function successfully completed.") } @@ -116607,16 +75752,7 @@ func (o *visualServer) ViewportSetCanvasLayer(viewport *RID, canvas *RID, layer func (o *visualServer) ViewportSetCanvasTransform(viewport *RID, canvas *RID, offset *Transform2D) { log.Println("Calling VisualServer.ViewportSetCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(canvas) - goArguments[2] = reflect.ValueOf(offset) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_canvas_transform", goArguments, "") - + godotCallVoidRidRidTransform2D(o, "viewport_set_canvas_transform", viewport, canvas, offset) log.Println(" Function successfully completed.") } @@ -116627,15 +75763,7 @@ func (o *visualServer) ViewportSetCanvasTransform(viewport *RID, canvas *RID, of func (o *visualServer) ViewportSetClearMode(viewport *RID, clearMode int64) { log.Println("Calling VisualServer.ViewportSetClearMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(clearMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_clear_mode", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_clear_mode", viewport, clearMode) log.Println(" Function successfully completed.") } @@ -116646,15 +75774,7 @@ func (o *visualServer) ViewportSetClearMode(viewport *RID, clearMode int64) { func (o *visualServer) ViewportSetDebugDraw(viewport *RID, draw int64) { log.Println("Calling VisualServer.ViewportSetDebugDraw()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(draw) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_debug_draw", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_debug_draw", viewport, draw) log.Println(" Function successfully completed.") } @@ -116665,15 +75785,7 @@ func (o *visualServer) ViewportSetDebugDraw(viewport *RID, draw int64) { func (o *visualServer) ViewportSetDisable3D(viewport *RID, disabled bool) { log.Println("Calling VisualServer.ViewportSetDisable3D()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_disable_3d", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_disable_3d", viewport, disabled) log.Println(" Function successfully completed.") } @@ -116684,15 +75796,7 @@ func (o *visualServer) ViewportSetDisable3D(viewport *RID, disabled bool) { func (o *visualServer) ViewportSetDisableEnvironment(viewport *RID, disabled bool) { log.Println("Calling VisualServer.ViewportSetDisableEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(disabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_disable_environment", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_disable_environment", viewport, disabled) log.Println(" Function successfully completed.") } @@ -116703,15 +75807,7 @@ func (o *visualServer) ViewportSetDisableEnvironment(viewport *RID, disabled boo func (o *visualServer) ViewportSetGlobalCanvasTransform(viewport *RID, transform *Transform2D) { log.Println("Calling VisualServer.ViewportSetGlobalCanvasTransform()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(transform) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_global_canvas_transform", goArguments, "") - + godotCallVoidRidTransform2D(o, "viewport_set_global_canvas_transform", viewport, transform) log.Println(" Function successfully completed.") } @@ -116722,15 +75818,7 @@ func (o *visualServer) ViewportSetGlobalCanvasTransform(viewport *RID, transform func (o *visualServer) ViewportSetHdr(viewport *RID, enabled bool) { log.Println("Calling VisualServer.ViewportSetHdr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_hdr", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_hdr", viewport, enabled) log.Println(" Function successfully completed.") } @@ -116741,15 +75829,7 @@ func (o *visualServer) ViewportSetHdr(viewport *RID, enabled bool) { func (o *visualServer) ViewportSetHideCanvas(viewport *RID, hidden bool) { log.Println("Calling VisualServer.ViewportSetHideCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(hidden) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_hide_canvas", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_hide_canvas", viewport, hidden) log.Println(" Function successfully completed.") } @@ -116760,15 +75840,7 @@ func (o *visualServer) ViewportSetHideCanvas(viewport *RID, hidden bool) { func (o *visualServer) ViewportSetHideScenario(viewport *RID, hidden bool) { log.Println("Calling VisualServer.ViewportSetHideScenario()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(hidden) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_hide_scenario", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_hide_scenario", viewport, hidden) log.Println(" Function successfully completed.") } @@ -116779,15 +75851,7 @@ func (o *visualServer) ViewportSetHideScenario(viewport *RID, hidden bool) { func (o *visualServer) ViewportSetMsaa(viewport *RID, msaa int64) { log.Println("Calling VisualServer.ViewportSetMsaa()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(msaa) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_msaa", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_msaa", viewport, msaa) log.Println(" Function successfully completed.") } @@ -116798,15 +75862,7 @@ func (o *visualServer) ViewportSetMsaa(viewport *RID, msaa int64) { func (o *visualServer) ViewportSetParentViewport(viewport *RID, parentViewport *RID) { log.Println("Calling VisualServer.ViewportSetParentViewport()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(parentViewport) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_parent_viewport", goArguments, "") - + godotCallVoidRidRid(o, "viewport_set_parent_viewport", viewport, parentViewport) log.Println(" Function successfully completed.") } @@ -116817,15 +75873,7 @@ func (o *visualServer) ViewportSetParentViewport(viewport *RID, parentViewport * func (o *visualServer) ViewportSetScenario(viewport *RID, scenario *RID) { log.Println("Calling VisualServer.ViewportSetScenario()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(scenario) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_scenario", goArguments, "") - + godotCallVoidRidRid(o, "viewport_set_scenario", viewport, scenario) log.Println(" Function successfully completed.") } @@ -116836,16 +75884,7 @@ func (o *visualServer) ViewportSetScenario(viewport *RID, scenario *RID) { func (o *visualServer) ViewportSetShadowAtlasQuadrantSubdivision(viewport *RID, quadrant int64, subdivision int64) { log.Println("Calling VisualServer.ViewportSetShadowAtlasQuadrantSubdivision()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(quadrant) - goArguments[2] = reflect.ValueOf(subdivision) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_shadow_atlas_quadrant_subdivision", goArguments, "") - + godotCallVoidRidIntInt(o, "viewport_set_shadow_atlas_quadrant_subdivision", viewport, quadrant, subdivision) log.Println(" Function successfully completed.") } @@ -116856,15 +75895,7 @@ func (o *visualServer) ViewportSetShadowAtlasQuadrantSubdivision(viewport *RID, func (o *visualServer) ViewportSetShadowAtlasSize(viewport *RID, size int64) { log.Println("Calling VisualServer.ViewportSetShadowAtlasSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(size) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_shadow_atlas_size", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_shadow_atlas_size", viewport, size) log.Println(" Function successfully completed.") } @@ -116875,16 +75906,7 @@ func (o *visualServer) ViewportSetShadowAtlasSize(viewport *RID, size int64) { func (o *visualServer) ViewportSetSize(viewport *RID, width int64, height int64) { log.Println("Calling VisualServer.ViewportSetSize()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 3, 3) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(width) - goArguments[2] = reflect.ValueOf(height) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_size", goArguments, "") - + godotCallVoidRidIntInt(o, "viewport_set_size", viewport, width, height) log.Println(" Function successfully completed.") } @@ -116895,15 +75917,7 @@ func (o *visualServer) ViewportSetSize(viewport *RID, width int64, height int64) func (o *visualServer) ViewportSetTransparentBackground(viewport *RID, enabled bool) { log.Println("Calling VisualServer.ViewportSetTransparentBackground()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_transparent_background", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_transparent_background", viewport, enabled) log.Println(" Function successfully completed.") } @@ -116914,15 +75928,7 @@ func (o *visualServer) ViewportSetTransparentBackground(viewport *RID, enabled b func (o *visualServer) ViewportSetUpdateMode(viewport *RID, updateMode int64) { log.Println("Calling VisualServer.ViewportSetUpdateMode()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(updateMode) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_update_mode", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_update_mode", viewport, updateMode) log.Println(" Function successfully completed.") } @@ -116933,15 +75939,7 @@ func (o *visualServer) ViewportSetUpdateMode(viewport *RID, updateMode int64) { func (o *visualServer) ViewportSetUsage(viewport *RID, usage int64) { log.Println("Calling VisualServer.ViewportSetUsage()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(usage) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_usage", goArguments, "") - + godotCallVoidRidInt(o, "viewport_set_usage", viewport, usage) log.Println(" Function successfully completed.") } @@ -116952,15 +75950,7 @@ func (o *visualServer) ViewportSetUsage(viewport *RID, usage int64) { func (o *visualServer) ViewportSetUseArvr(viewport *RID, useArvr bool) { log.Println("Calling VisualServer.ViewportSetUseArvr()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(useArvr) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_use_arvr", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_use_arvr", viewport, useArvr) log.Println(" Function successfully completed.") } @@ -116971,15 +75961,7 @@ func (o *visualServer) ViewportSetUseArvr(viewport *RID, useArvr bool) { func (o *visualServer) ViewportSetVflip(viewport *RID, enabled bool) { log.Println("Calling VisualServer.ViewportSetVflip()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 2, 2) - goArguments[0] = reflect.ValueOf(viewport) - goArguments[1] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "viewport_set_vflip", goArguments, "") - + godotCallVoidRidBool(o, "viewport_set_vflip", viewport, enabled) log.Println(" Function successfully completed.") } @@ -117001,16 +75983,9 @@ func (o *WeakRef) baseClass() string { func (o *WeakRef) GetRef() *Variant { log.Println("Calling WeakRef.GetRef()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_ref", goArguments, "*Variant") - - returnValue := goRet.Interface().(*Variant) - + returnValue := godotCallVariant(o, "get_ref") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117039,13 +76014,7 @@ func (o *WindowDialog) baseClass() string { func (o *WindowDialog) X_Closed() { log.Println("Calling WindowDialog.X_Closed()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_closed", goArguments, "") - + godotCallVoid(o, "_closed") log.Println(" Function successfully completed.") } @@ -117056,14 +76025,7 @@ func (o *WindowDialog) X_Closed() { func (o *WindowDialog) X_GuiInput(arg0 *InputEvent) { log.Println("Calling WindowDialog.X_GuiInput()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(arg0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "_gui_input", goArguments, "") - + godotCallVoidObject(o, "_gui_input", &arg0.Object) log.Println(" Function successfully completed.") } @@ -117074,17 +76036,12 @@ func (o *WindowDialog) X_GuiInput(arg0 *InputEvent) { func (o *WindowDialog) GetCloseButton() *TextureButton { log.Println("Calling WindowDialog.GetCloseButton()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_close_button", goArguments, "*TextureButton") - - returnValue := goRet.Interface().(*TextureButton) - + returnValue := godotCallObject(o, "get_close_button") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret TextureButton + ret.owner = returnValue.owner + return &ret } @@ -117094,16 +76051,9 @@ func (o *WindowDialog) GetCloseButton() *TextureButton { func (o *WindowDialog) GetResizable() bool { log.Println("Calling WindowDialog.GetResizable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_resizable", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "get_resizable") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117114,16 +76064,9 @@ func (o *WindowDialog) GetResizable() bool { func (o *WindowDialog) GetTitle() string { log.Println("Calling WindowDialog.GetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_title", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_title") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117134,14 +76077,7 @@ func (o *WindowDialog) GetTitle() string { func (o *WindowDialog) SetResizable(resizable bool) { log.Println("Calling WindowDialog.SetResizable()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(resizable) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_resizable", goArguments, "") - + godotCallVoidBool(o, "set_resizable", resizable) log.Println(" Function successfully completed.") } @@ -117152,14 +76088,7 @@ func (o *WindowDialog) SetResizable(resizable bool) { func (o *WindowDialog) SetTitle(title string) { log.Println("Calling WindowDialog.SetTitle()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(title) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_title", goArguments, "") - + godotCallVoidString(o, "set_title", title) log.Println(" Function successfully completed.") } @@ -117188,17 +76117,12 @@ func (o *World) baseClass() string { func (o *World) GetDirectSpaceState() *PhysicsDirectSpaceState { log.Println("Calling World.GetDirectSpaceState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_direct_space_state", goArguments, "*PhysicsDirectSpaceState") - - returnValue := goRet.Interface().(*PhysicsDirectSpaceState) - + returnValue := godotCallObject(o, "get_direct_space_state") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret PhysicsDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -117208,17 +76132,12 @@ func (o *World) GetDirectSpaceState() *PhysicsDirectSpaceState { func (o *World) GetEnvironment() *Environment { log.Println("Calling World.GetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_environment", goArguments, "*Environment") - - returnValue := goRet.Interface().(*Environment) - + returnValue := godotCallObject(o, "get_environment") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Environment + ret.owner = returnValue.owner + return &ret } @@ -117228,17 +76147,12 @@ func (o *World) GetEnvironment() *Environment { func (o *World) GetFallbackEnvironment() *Environment { log.Println("Calling World.GetFallbackEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_fallback_environment", goArguments, "*Environment") - - returnValue := goRet.Interface().(*Environment) - + returnValue := godotCallObject(o, "get_fallback_environment") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Environment + ret.owner = returnValue.owner + return &ret } @@ -117248,16 +76162,9 @@ func (o *World) GetFallbackEnvironment() *Environment { func (o *World) GetScenario() *RID { log.Println("Calling World.GetScenario()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_scenario", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_scenario") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117268,16 +76175,9 @@ func (o *World) GetScenario() *RID { func (o *World) GetSpace() *RID { log.Println("Calling World.GetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_space") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117288,14 +76188,7 @@ func (o *World) GetSpace() *RID { func (o *World) SetEnvironment(env *Environment) { log.Println("Calling World.SetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(env) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_environment", goArguments, "") - + godotCallVoidObject(o, "set_environment", &env.Object) log.Println(" Function successfully completed.") } @@ -117306,14 +76199,7 @@ func (o *World) SetEnvironment(env *Environment) { func (o *World) SetFallbackEnvironment(env *Environment) { log.Println("Calling World.SetFallbackEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(env) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_fallback_environment", goArguments, "") - + godotCallVoidObject(o, "set_fallback_environment", &env.Object) log.Println(" Function successfully completed.") } @@ -117342,16 +76228,9 @@ func (o *World2D) baseClass() string { func (o *World2D) GetCanvas() *RID { log.Println("Calling World2D.GetCanvas()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_canvas", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_canvas") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117362,17 +76241,12 @@ func (o *World2D) GetCanvas() *RID { func (o *World2D) GetDirectSpaceState() *Physics2DDirectSpaceState { log.Println("Calling World2D.GetDirectSpaceState()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_direct_space_state", goArguments, "*Physics2DDirectSpaceState") - - returnValue := goRet.Interface().(*Physics2DDirectSpaceState) - + returnValue := godotCallObject(o, "get_direct_space_state") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Physics2DDirectSpaceState + ret.owner = returnValue.owner + return &ret } @@ -117382,16 +76256,9 @@ func (o *World2D) GetDirectSpaceState() *Physics2DDirectSpaceState { func (o *World2D) GetSpace() *RID { log.Println("Calling World2D.GetSpace()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_space", goArguments, "*RID") - - returnValue := goRet.Interface().(*RID) - + returnValue := godotCallRid(o, "get_space") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117420,17 +76287,12 @@ func (o *WorldEnvironment) baseClass() string { func (o *WorldEnvironment) GetEnvironment() *Environment { log.Println("Calling WorldEnvironment.GetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_environment", goArguments, "*Environment") - - returnValue := goRet.Interface().(*Environment) - + returnValue := godotCallObject(o, "get_environment") log.Println(" Got return value: ", returnValue) - return returnValue + + var ret Environment + ret.owner = returnValue.owner + return &ret } @@ -117440,14 +76302,7 @@ func (o *WorldEnvironment) GetEnvironment() *Environment { func (o *WorldEnvironment) SetEnvironment(env *Environment) { log.Println("Calling WorldEnvironment.SetEnvironment()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(env) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_environment", goArguments, "") - + godotCallVoidObject(o, "set_environment", &env.Object) log.Println(" Function successfully completed.") } @@ -117476,16 +76331,9 @@ func (o *XMLParser) baseClass() string { func (o *XMLParser) GetAttributeCount() int64 { log.Println("Calling XMLParser.GetAttributeCount()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attribute_count", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_attribute_count") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117496,17 +76344,9 @@ func (o *XMLParser) GetAttributeCount() int64 { func (o *XMLParser) GetAttributeName(idx int64) string { log.Println("Calling XMLParser.GetAttributeName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attribute_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_attribute_name", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117517,17 +76357,9 @@ func (o *XMLParser) GetAttributeName(idx int64) string { func (o *XMLParser) GetAttributeValue(idx int64) string { log.Println("Calling XMLParser.GetAttributeValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(idx) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_attribute_value", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringInt(o, "get_attribute_value", idx) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117538,16 +76370,9 @@ func (o *XMLParser) GetAttributeValue(idx int64) string { func (o *XMLParser) GetCurrentLine() int64 { log.Println("Calling XMLParser.GetCurrentLine()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_current_line", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_current_line") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117558,17 +76383,9 @@ func (o *XMLParser) GetCurrentLine() int64 { func (o *XMLParser) GetNamedAttributeValue(name string) string { log.Println("Calling XMLParser.GetNamedAttributeValue()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_named_attribute_value", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "get_named_attribute_value", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117579,17 +76396,9 @@ func (o *XMLParser) GetNamedAttributeValue(name string) string { func (o *XMLParser) GetNamedAttributeValueSafe(name string) string { log.Println("Calling XMLParser.GetNamedAttributeValueSafe()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_named_attribute_value_safe", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallStringString(o, "get_named_attribute_value_safe", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117600,16 +76409,9 @@ func (o *XMLParser) GetNamedAttributeValueSafe(name string) string { func (o *XMLParser) GetNodeData() string { log.Println("Calling XMLParser.GetNodeData()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_data", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_node_data") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117620,16 +76422,9 @@ func (o *XMLParser) GetNodeData() string { func (o *XMLParser) GetNodeName() string { log.Println("Calling XMLParser.GetNodeName()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_name", goArguments, "string") - - returnValue := goRet.Interface().(string) - + returnValue := godotCallString(o, "get_node_name") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117640,16 +76435,9 @@ func (o *XMLParser) GetNodeName() string { func (o *XMLParser) GetNodeOffset() int64 { log.Println("Calling XMLParser.GetNodeOffset()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_offset", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_node_offset") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117660,16 +76448,9 @@ func (o *XMLParser) GetNodeOffset() int64 { func (o *XMLParser) GetNodeType() int64 { log.Println("Calling XMLParser.GetNodeType()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "get_node_type", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "get_node_type") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117680,17 +76461,9 @@ func (o *XMLParser) GetNodeType() int64 { func (o *XMLParser) HasAttribute(name string) bool { log.Println("Calling XMLParser.HasAttribute()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(name) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "has_attribute", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBoolString(o, "has_attribute", name) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117701,16 +76474,9 @@ func (o *XMLParser) HasAttribute(name string) bool { func (o *XMLParser) IsEmpty() bool { log.Println("Calling XMLParser.IsEmpty()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_empty", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_empty") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117721,17 +76487,9 @@ func (o *XMLParser) IsEmpty() bool { func (o *XMLParser) Open(file string) int64 { log.Println("Calling XMLParser.Open()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(file) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "open", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntString(o, "open", file) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117742,17 +76500,9 @@ func (o *XMLParser) Open(file string) int64 { func (o *XMLParser) OpenBuffer(buffer *PoolByteArray) int64 { log.Println("Calling XMLParser.OpenBuffer()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(buffer) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "open_buffer", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntPoolByteArray(o, "open_buffer", buffer) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117763,16 +76513,9 @@ func (o *XMLParser) OpenBuffer(buffer *PoolByteArray) int64 { func (o *XMLParser) Read() int64 { log.Println("Calling XMLParser.Read()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "read", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallInt(o, "read") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117783,17 +76526,9 @@ func (o *XMLParser) Read() int64 { func (o *XMLParser) Seek(position int64) int64 { log.Println("Calling XMLParser.Seek()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(position) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "seek", goArguments, "int64") - - returnValue := goRet.Interface().(int64) - + returnValue := godotCallIntInt(o, "seek", position) log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117804,13 +76539,7 @@ func (o *XMLParser) Seek(position int64) int64 { func (o *XMLParser) SkipSection() { log.Println("Calling XMLParser.SkipSection()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "skip_section", goArguments, "") - + godotCallVoid(o, "skip_section") log.Println(" Function successfully completed.") } @@ -117839,16 +76568,9 @@ func (o *YSort) baseClass() string { func (o *YSort) IsSortEnabled() bool { log.Println("Calling YSort.IsSortEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 0, 0) - - // Call the parent method. - - goRet := o.callParentMethod(o.baseClass(), "is_sort_enabled", goArguments, "bool") - - returnValue := goRet.Interface().(bool) - + returnValue := godotCallBool(o, "is_sort_enabled") log.Println(" Got return value: ", returnValue) + return returnValue } @@ -117859,14 +76581,7 @@ func (o *YSort) IsSortEnabled() bool { func (o *YSort) SetSortEnabled(enabled bool) { log.Println("Calling YSort.SetSortEnabled()") - // Build out the method's arguments - goArguments := make([]reflect.Value, 1, 1) - goArguments[0] = reflect.ValueOf(enabled) - - // Call the parent method. - - o.callParentMethod(o.baseClass(), "set_sort_enabled", goArguments, "") - + godotCallVoidBool(o, "set_sort_enabled", enabled) log.Println(" Function successfully completed.") } @@ -117877,3612 +76592,3 @@ func (o *YSort) SetSortEnabled(enabled bool) { type YSortImplementer interface { Class } - -// godotToGoConverter is a function that will convert a Godot object into -// a Go object. -type godotToGoConverter func(gdObject unsafe.Pointer) reflect.Value - -// godotToGoConversionMap is an internal mapping of Godot types to functions that can -// convert to Go types. This mapping is essentially a more optimal case/switch -// system for converting Godot types to Go types. -var godotToGoConversionMap = map[string]godotToGoConverter{ - "bool": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_bool)(gdObject) - return reflect.ValueOf(godotBoolAsBool(*converted)) - }, - "int64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_int)(gdObject) - return reflect.ValueOf(godotIntAsInt(*converted)) - }, - "uint64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.uint64_t)(gdObject) - return reflect.ValueOf(uint64(*converted)) - }, - "float64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_real)(gdObject) - return reflect.ValueOf(float64(*converted)) - }, - "string": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_string)(gdObject) - return reflect.ValueOf(godotStringAsString(converted)) - }, - "*Array": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Array{} - converted.array = (*C.godot_array)(gdObject) - return reflect.ValueOf(converted) - }, - "*Basis": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Basis{} - converted.basis = (*C.godot_basis)(gdObject) - return reflect.ValueOf(converted) - }, - "*Color": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Color{} - converted.color = (*C.godot_color)(gdObject) - return reflect.ValueOf(converted) - }, - "*Dictionary": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Dictionary{} - converted.dictionary = (*C.godot_dictionary)(gdObject) - return reflect.ValueOf(converted) - }, - "*NodePath": func(gdObject unsafe.Pointer) reflect.Value { - converted := &NodePath{} - converted.nodePath = (*C.godot_node_path)(gdObject) - return reflect.ValueOf(converted) - }, - "*Plane": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Plane{} - converted.plane = (*C.godot_plane)(gdObject) - return reflect.ValueOf(converted) - }, - "*Quat": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Quat{} - converted.quat = (*C.godot_quat)(gdObject) - return reflect.ValueOf(converted) - }, - "*Rect2": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Rect2{} - converted.rect2 = (*C.godot_rect2)(gdObject) - return reflect.ValueOf(converted) - }, - "*AABB": func(gdObject unsafe.Pointer) reflect.Value { - converted := &AABB{} - converted.aabb = (*C.godot_aabb)(gdObject) - return reflect.ValueOf(converted) - }, - "*RID": func(gdObject unsafe.Pointer) reflect.Value { - converted := &RID{} - converted.rid = (*C.godot_rid)(gdObject) - return reflect.ValueOf(converted) - }, - "*Transform": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Transform{} - converted.transform = (*C.godot_transform)(gdObject) - return reflect.ValueOf(converted) - }, - "*Transform2D": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Transform2D{} - converted.transform2d = (*C.godot_transform2d)(gdObject) - return reflect.ValueOf(converted) - }, - "*Variant": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Variant{} - converted.variant = (*C.godot_variant)(gdObject) - return reflect.ValueOf(converted) - }, - "*Vector2": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Vector2{} - converted.vector2 = (*C.godot_vector2)(gdObject) - return reflect.ValueOf(converted) - }, - "*Vector3": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Vector3{} - converted.vector3 = (*C.godot_vector3)(gdObject) - return reflect.ValueOf(converted) - }, - - "*ARVRAnchor": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRAnchor{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVRCamera": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRCamera{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVRController": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRController{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVRInterface": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRInterface{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVRInterfaceGDNative": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRInterfaceGDNative{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVROrigin": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVROrigin{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ARVRPositionalTracker": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ARVRPositionalTracker{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*arvrServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &arvrServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AStar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AStar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AcceptDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AcceptDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AnimatedSprite": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AnimatedSprite{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AnimatedSprite3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AnimatedSprite3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Animation": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Animation{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AnimationPlayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AnimationPlayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AnimationTreePlayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AnimationTreePlayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Area": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Area{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Area2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Area2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ArrayMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ArrayMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AtlasTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AtlasTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioBusLayout": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioBusLayout{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectAmplify": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectAmplify{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectBandLimitFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectBandLimitFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectBandPassFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectBandPassFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectChorus": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectChorus{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectCompressor": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectCompressor{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectDelay": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectDelay{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectDistortion": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectDistortion{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectEQ": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectEQ{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectEQ10": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectEQ10{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectEQ21": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectEQ21{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectEQ6": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectEQ6{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectHighPassFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectHighPassFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectHighShelfFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectHighShelfFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectLimiter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectLimiter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectLowPassFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectLowPassFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectLowShelfFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectLowShelfFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectNotchFilter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectNotchFilter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectPanner": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectPanner{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectPhaser": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectPhaser{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectPitchShift": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectPitchShift{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectReverb": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectReverb{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioEffectStereoEnhance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioEffectStereoEnhance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*audioServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &audioServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStream": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStream{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamOGGVorbis": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamOGGVorbis{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamPlayback": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamPlayback{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamPlayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamPlayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamPlayer2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamPlayer2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamPlayer3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamPlayer3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamRandomPitch": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamRandomPitch{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*AudioStreamSample": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &AudioStreamSample{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BackBufferCopy": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BackBufferCopy{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BakedLightmap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BakedLightmap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BakedLightmapData": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BakedLightmapData{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BaseButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BaseButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BitMap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BitMap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BitmapFont": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BitmapFont{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BoneAttachment": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BoneAttachment{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BoxContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BoxContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BoxShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BoxShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BulletPhysicsDirectBodyState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BulletPhysicsDirectBodyState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*BulletPhysicsServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &BulletPhysicsServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Button": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Button{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ButtonGroup": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ButtonGroup{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Camera": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Camera{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Camera2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Camera2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CanvasItem": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CanvasItem{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CanvasItemMaterial": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CanvasItemMaterial{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CanvasLayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CanvasLayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CanvasModulate": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CanvasModulate{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CapsuleMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CapsuleMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CapsuleShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CapsuleShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CapsuleShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CapsuleShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CenterContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CenterContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CheckBox": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CheckBox{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CheckButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CheckButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CircleShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CircleShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionObject": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionObject{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionObject2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionObject2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionPolygon": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionPolygon{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionPolygon2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionPolygon2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CollisionShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CollisionShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ColorPicker": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ColorPicker{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ColorPickerButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ColorPickerButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ColorRect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ColorRect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConcavePolygonShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConcavePolygonShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConcavePolygonShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConcavePolygonShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConeTwistJoint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConeTwistJoint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConfigFile": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConfigFile{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConfirmationDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConfirmationDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Container": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Container{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Control": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Control{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConvexPolygonShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConvexPolygonShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ConvexPolygonShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ConvexPolygonShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CubeMap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CubeMap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CubeMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CubeMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Curve": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Curve{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Curve2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Curve2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Curve3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Curve3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CurveTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CurveTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*CylinderMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &CylinderMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*DampedSpringJoint2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &DampedSpringJoint2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*DirectionalLight": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &DirectionalLight{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*DynamicFont": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &DynamicFont{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*DynamicFontData": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &DynamicFontData{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorExportPlugin": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorExportPlugin{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorFileDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorFileDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorFileSystem": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorFileSystem{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorFileSystemDirectory": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorFileSystemDirectory{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorImportPlugin": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorImportPlugin{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorInterface": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorInterface{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorPlugin": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorPlugin{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorResourceConversionPlugin": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorResourceConversionPlugin{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorResourcePreview": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorResourcePreview{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorResourcePreviewGenerator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorResourcePreviewGenerator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorSceneImporter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorSceneImporter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorScenePostImport": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorScenePostImport{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorSelection": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorSelection{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorSettings": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorSettings{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EditorSpatialGizmo": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EditorSpatialGizmo{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*EncodedObjectAsID": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &EncodedObjectAsID{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Environment": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Environment{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*FileDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &FileDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Font": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Font{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*FuncRef": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &FuncRef{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GDNative": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GDNative{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GDNativeLibrary": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GDNativeLibrary{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GDScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GDScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GDScriptFunctionState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GDScriptFunctionState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GIProbe": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GIProbe{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GIProbeData": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GIProbeData{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Generic6DOFJoint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Generic6DOFJoint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GeometryInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GeometryInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Gradient": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Gradient{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GradientTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GradientTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GraphEdit": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GraphEdit{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GraphNode": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GraphNode{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GridContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GridContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GridMap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GridMap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*GrooveJoint2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &GrooveJoint2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HBoxContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HBoxContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HScrollBar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HScrollBar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HSeparator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HSeparator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HSlider": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HSlider{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HSplitContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HSplitContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HTTPClient": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HTTPClient{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HTTPRequest": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HTTPRequest{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*HingeJoint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &HingeJoint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ip": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ip{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*IP_Unix": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &IP_Unix{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Image": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Image{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ImageTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ImageTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ImmediateGeometry": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ImmediateGeometry{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*input": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &input{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputDefault": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputDefault{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEvent": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEvent{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventAction": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventAction{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventGesture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventGesture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventJoypadButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventJoypadButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventJoypadMotion": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventJoypadMotion{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventKey": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventKey{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventMagnifyGesture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventMagnifyGesture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventMouse": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventMouse{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventMouseButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventMouseButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventMouseMotion": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventMouseMotion{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventPanGesture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventPanGesture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventScreenDrag": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventScreenDrag{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventScreenTouch": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventScreenTouch{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InputEventWithModifiers": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InputEventWithModifiers{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*inputMap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &inputMap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InstancePlaceholder": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InstancePlaceholder{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*InterpolatedCamera": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &InterpolatedCamera{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ItemList": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ItemList{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*JSONParseResult": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &JSONParseResult{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*javaScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &javaScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Joint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Joint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Joint2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Joint2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*KinematicBody": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &KinematicBody{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*KinematicBody2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &KinematicBody2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*KinematicCollision": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &KinematicCollision{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*KinematicCollision2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &KinematicCollision2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Label": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Label{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*LargeTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &LargeTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Light": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Light{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Light2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Light2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*LightOccluder2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &LightOccluder2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Line2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Line2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*LineEdit": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &LineEdit{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*LineShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &LineShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*LinkButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &LinkButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Listener": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Listener{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MainLoop": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MainLoop{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MarginContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MarginContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Material": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Material{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MenuButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MenuButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Mesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Mesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MeshDataTool": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MeshDataTool{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MeshInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MeshInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MeshLibrary": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MeshLibrary{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MobileVRInterface": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MobileVRInterface{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MultiMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MultiMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*MultiMeshInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &MultiMeshInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NativeScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NativeScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Navigation": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Navigation{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Navigation2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Navigation2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NavigationMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NavigationMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NavigationMeshInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NavigationMeshInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NavigationPolygon": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NavigationPolygon{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NavigationPolygonInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NavigationPolygonInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NetworkedMultiplayerENet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NetworkedMultiplayerENet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NetworkedMultiplayerPeer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NetworkedMultiplayerPeer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*NinePatchRect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &NinePatchRect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Node": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Node{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Node2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Node2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Object": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Object{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*OccluderPolygon2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &OccluderPolygon2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*OmniLight": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &OmniLight{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*OptionButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &OptionButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PCKPacker": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PCKPacker{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PHashTranslation": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PHashTranslation{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PackedDataContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PackedDataContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PackedDataContainerRef": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PackedDataContainerRef{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PackedScene": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PackedScene{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PacketPeer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PacketPeer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PacketPeerStream": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PacketPeerStream{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PacketPeerUDP": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PacketPeerUDP{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Panel": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Panel{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PanelContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PanelContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PanoramaSky": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PanoramaSky{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ParallaxBackground": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ParallaxBackground{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ParallaxLayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ParallaxLayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Particles": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Particles{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Particles2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Particles2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ParticlesMaterial": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ParticlesMaterial{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Path": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Path{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Path2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Path2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PathFollow": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PathFollow{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PathFollow2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PathFollow2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*performance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &performance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DDirectBodyState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DDirectBodyState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DDirectBodyStateSW": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DDirectBodyStateSW{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DDirectSpaceState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DDirectSpaceState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*physics2DServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &physics2DServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DServerSW": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DServerSW{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DShapeQueryParameters": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DShapeQueryParameters{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DShapeQueryResult": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DShapeQueryResult{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Physics2DTestMotionResult": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Physics2DTestMotionResult{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsBody": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsBody{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsBody2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsBody2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsDirectBodyState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsDirectBodyState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsDirectSpaceState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsDirectSpaceState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*physicsServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &physicsServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsShapeQueryParameters": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsShapeQueryParameters{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PhysicsShapeQueryResult": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PhysicsShapeQueryResult{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PinJoint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PinJoint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PinJoint2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PinJoint2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PlaneMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PlaneMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PlaneShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PlaneShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PluginScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PluginScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Polygon2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Polygon2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PolygonPathFinder": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PolygonPathFinder{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Popup": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Popup{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PopupDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PopupDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PopupMenu": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PopupMenu{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PopupPanel": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PopupPanel{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Position2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Position2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Position3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Position3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PrimitiveMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PrimitiveMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*PrismMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &PrismMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ProceduralSky": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ProceduralSky{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ProgressBar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ProgressBar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*projectSettings": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &projectSettings{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ProximityGroup": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ProximityGroup{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ProxyTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ProxyTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*QuadMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &QuadMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Range": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Range{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RayCast": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RayCast{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RayCast2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RayCast2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RayShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RayShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RayShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RayShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RectangleShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RectangleShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Reference": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Reference{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ReferenceRect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ReferenceRect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ReflectionProbe": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ReflectionProbe{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RegEx": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RegEx{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RegExMatch": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RegExMatch{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RemoteTransform": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RemoteTransform{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RemoteTransform2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RemoteTransform2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Resource": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Resource{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourceImporter": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourceImporter{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourceImporterOGGVorbis": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourceImporterOGGVorbis{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourceImporterTheora": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourceImporterTheora{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourceImporterWebm": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourceImporterWebm{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourceInteractiveLoader": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourceInteractiveLoader{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ResourcePreloader": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ResourcePreloader{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RichTextLabel": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RichTextLabel{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RigidBody": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RigidBody{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*RigidBody2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &RigidBody2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SceneState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SceneState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SceneTree": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SceneTree{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SceneTreeTimer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SceneTreeTimer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Script": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Script{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ScriptEditor": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ScriptEditor{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ScrollBar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ScrollBar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ScrollContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ScrollContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SegmentShape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SegmentShape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Separator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Separator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Shader": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Shader{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ShaderMaterial": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ShaderMaterial{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Shape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Shape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Shape2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Shape2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ShortCut": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ShortCut{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Skeleton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Skeleton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Sky": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Sky{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Slider": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Slider{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SliderJoint": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SliderJoint{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Spatial": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Spatial{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpatialGizmo": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpatialGizmo{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpatialMaterial": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpatialMaterial{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpatialVelocityTracker": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpatialVelocityTracker{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SphereMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SphereMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SphereShape": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SphereShape{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpinBox": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpinBox{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SplitContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SplitContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpotLight": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpotLight{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Sprite": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Sprite{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Sprite3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Sprite3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpriteBase3D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpriteBase3D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SpriteFrames": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SpriteFrames{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StaticBody": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StaticBody{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StaticBody2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StaticBody2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StreamPeer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StreamPeer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StreamPeerBuffer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StreamPeerBuffer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StreamPeerSSL": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StreamPeerSSL{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StreamPeerTCP": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StreamPeerTCP{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StreamTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StreamTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StyleBox": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StyleBox{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StyleBoxEmpty": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StyleBoxEmpty{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StyleBoxFlat": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StyleBoxFlat{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StyleBoxLine": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StyleBoxLine{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*StyleBoxTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &StyleBoxTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*SurfaceTool": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &SurfaceTool{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TCP_Server": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TCP_Server{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TabContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TabContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Tabs": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Tabs{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TextEdit": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TextEdit{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Texture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Texture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TextureButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TextureButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TextureProgress": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TextureProgress{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TextureRect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TextureRect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Theme": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Theme{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TileMap": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TileMap{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TileSet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TileSet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Timer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Timer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ToolButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ToolButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TouchScreenButton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TouchScreenButton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Translation": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Translation{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*translationServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &translationServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Tree": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Tree{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TreeItem": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TreeItem{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*TriangleMesh": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &TriangleMesh{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Tween": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Tween{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*UndoRedo": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &UndoRedo{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VBoxContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VBoxContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VScrollBar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VScrollBar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VSeparator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VSeparator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VSlider": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VSlider{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VSplitContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VSplitContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VehicleBody": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VehicleBody{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VehicleWheel": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VehicleWheel{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VideoPlayer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VideoPlayer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VideoStream": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VideoStream{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VideoStreamTheora": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VideoStreamTheora{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VideoStreamWebm": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VideoStreamWebm{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*Viewport": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &Viewport{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ViewportContainer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ViewportContainer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*ViewportTexture": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &ViewportTexture{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisibilityEnabler": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisibilityEnabler{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisibilityEnabler2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisibilityEnabler2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisibilityNotifier": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisibilityNotifier{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisibilityNotifier2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisibilityNotifier2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualInstance": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualInstance{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScript": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScript{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptBasicTypeConstant": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptBasicTypeConstant{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptBuiltinFunc": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptBuiltinFunc{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptClassConstant": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptClassConstant{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptComment": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptComment{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptCondition": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptCondition{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptConstant": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptConstant{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptConstructor": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptConstructor{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptCustomNode": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptCustomNode{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptDeconstruct": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptDeconstruct{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptEmitSignal": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptEmitSignal{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptEngineSingleton": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptEngineSingleton{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptExpression": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptExpression{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptFunction": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptFunction{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptFunctionCall": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptFunctionCall{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptFunctionState": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptFunctionState{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptGlobalConstant": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptGlobalConstant{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptIndexGet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptIndexGet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptIndexSet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptIndexSet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptInputAction": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptInputAction{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptIterator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptIterator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptLocalVar": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptLocalVar{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptLocalVarSet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptLocalVarSet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptMathConstant": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptMathConstant{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptNode": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptNode{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptOperator": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptOperator{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptPreload": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptPreload{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptPropertyGet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptPropertyGet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptPropertySet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptPropertySet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptResourcePath": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptResourcePath{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptReturn": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptReturn{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSceneNode": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSceneNode{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSceneTree": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSceneTree{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSelect": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSelect{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSelf": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSelf{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSequence": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSequence{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSubCall": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSubCall{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptSwitch": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptSwitch{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptTypeCast": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptTypeCast{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptVariableGet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptVariableGet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptVariableSet": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptVariableSet{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptWhile": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptWhile{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptYield": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptYield{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*VisualScriptYieldSignal": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &VisualScriptYieldSignal{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*visualServer": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &visualServer{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*WeakRef": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &WeakRef{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*WindowDialog": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &WindowDialog{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*World": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &World{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*World2D": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &World2D{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*WorldEnvironment": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &WorldEnvironment{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*XMLParser": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &XMLParser{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - - "*YSort": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &YSort{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, -} diff --git a/godot/godotcalls.go b/godot/godotcalls.go new file mode 100644 index 00000000..6f33262b --- /dev/null +++ b/godot/godotcalls.go @@ -0,0 +1,21530 @@ +package godot + +/* +#include +#include +#include +#include + +void **build_array(int length); +void **build_array(int length) { + void *ptr; + void **arr = malloc(sizeof(void *) * length); + for (int i = 0; i < length; i++) { + arr[i] = ptr; + } + + return arr; +} + +void add_element(void**, void*, int); +void add_element(void **array, void *element, int index) { + printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); + array[index] = element; + printf("CGO: Index %i %p\n", index, element); + printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); +} +*/ +import "C" + +import ( + "log" + "unsafe" +) + +func getGodotMethod(baseClass string, methodName string) *C.godot_method_bind { + // Convert the base class and method names to C strings. + log.Println(" Using base class: ", baseClass) + classCString := C.CString(baseClass) + defer C.free(unsafe.Pointer(classCString)) + + log.Println(" Using method name: ", methodName) + methodCString := C.CString(methodName) + defer C.free(unsafe.Pointer(methodCString)) + + // Get the Godot method bind pointer so we can pass it to godot_method_bind_ptrcall. + var methodBind *C.godot_method_bind + methodBind = C.godot_method_bind_get_method(classCString, methodCString) + log.Println(" Using method bind pointer: ", methodBind) + return methodBind +} + +func godotCallPoolIntArrayIntFloatFloat(o Class, methodName string, arg0 int64, arg1 float64, arg2 float64) *PoolIntArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_int_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolIntArray{&ret} + +} +func godotCallIntIntFloatBool(o Class, methodName string, arg0 int64, arg1 float64, arg2 bool) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVector2Int(o Class, methodName string, arg0 int64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidRidVector2StringColorInt(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 string, arg3 *Color, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidTransform2DVector2(o Class, methodName string, arg0 *Transform2D, arg1 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidFloat(o Class, methodName string, arg0 *RID, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRect2BoolColorBoolObject(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 bool, arg3 *Color, arg4 bool, arg5 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.owner) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntObjectString(o Class, methodName string, arg0 int64, arg1 *Object, arg2 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidFloatFloatFloat(o Class, methodName string, arg0 float64, arg1 float64, arg2 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayString(o Class, methodName string, arg0 string) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallBoolFloat(o Class, methodName string, arg0 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntIntObject(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolStringArrayInt(o Class, methodName string, arg0 *PoolStringArray, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallTransform2DRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallBoolStringIntIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64, arg4 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallBoolStringIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallBoolStringInt(o Class, methodName string, arg0 string, arg1 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidStringStringColor(o Class, methodName string, arg0 string, arg1 string, arg2 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2StringInt(o Class, methodName string, arg0 string, arg1 int64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallObjectTransform2DVector2(o Class, methodName string, arg0 *Transform2D, arg1 *Vector2) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidIntPoolRealArray(o Class, methodName string, arg0 int64, arg1 *PoolRealArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRidTransform(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector3Float(o Class, methodName string, arg0 *Vector3, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolVector2Array(o Class, methodName string) *PoolVector2Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector2_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector2Array{&ret} + +} +func godotCallVector3Vector3Vector3Bool(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 bool) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallNodePathIntBool(o Class, methodName string, arg0 int64, arg1 bool) *NodePath { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_node_path + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &NodePath{&ret} + +} +func godotCallVoidRect2(o Class, methodName string, arg0 *Rect2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rect2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntObjectVector2(o Class, methodName string, arg0 int64, arg1 *Object, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2Vector2Vector2FloatIntFloat(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 float64, arg3 int64, arg4 float64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidIntFloatFloatFloatBool(o Class, methodName string, arg0 int64, arg1 float64, arg2 float64, arg3 float64, arg4 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringString(o Class, methodName string, arg0 string, arg1 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVector2FloatBool(o Class, methodName string, arg0 float64, arg1 bool) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidObjectRect2Vector2(o Class, methodName string, arg0 *Object, arg1 *Rect2, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringIntObject(o Class, methodName string, arg0 string, arg1 int64, arg2 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntVector3Float(o Class, methodName string, arg0 int64, arg1 *Vector3, arg2 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntFloat(o Class, methodName string, arg0 int64, arg1 int64, arg2 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringInt(o Class, methodName string, arg0 string, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringDictionary(o Class, methodName string, arg0 string, arg1 *Dictionary) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.dictionary) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntInt(o Class, methodName string, arg0 int64, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolVector3ArrayIntInt(o Class, methodName string, arg0 int64, arg1 int64) *PoolVector3Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector3_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector3Array{&ret} + +} +func godotCallVoidIntFloatVariantFloat(o Class, methodName string, arg0 int64, arg1 float64, arg2 *Variant, arg3 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolRidIntInt(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidStringIntString(o Class, methodName string, arg0 string, arg1 int64, arg2 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayPoolColorArrayPoolVector2ArrayObjectFloatObject(o Class, methodName string, arg0 *PoolVector2Array, arg1 *PoolColorArray, arg2 *PoolVector2Array, arg3 *Object, arg4 float64, arg5 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.owner) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringStringDictionaryArrayArray(o Class, methodName string, arg0 string, arg1 string, arg2 *Dictionary, arg3 *Array, arg4 *Array) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.dictionary) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.array) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallBoolTransform2DVector2(o Class, methodName string, arg0 *Transform2D, arg1 *Vector2) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallIntInt(o Class, methodName string, arg0 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidDictionary(o Class, methodName string, arg0 *Dictionary) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.dictionary) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector3Vector3Vector3Int(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 *Vector3, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector3) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolTransformVector3(o Class, methodName string, arg0 *Transform, arg1 *Vector3) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallPoolVector3ArrayVector3Vector3Bool(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 bool) *PoolVector3Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector3_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector3Array{&ret} + +} +func godotCallVoidString(o Class, methodName string, arg0 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringIntInt(o Class, methodName string, arg0 int64, arg1 int64) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallPoolVector3Array(o Class, methodName string) *PoolVector3Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector3_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector3Array{&ret} + +} +func godotCallColorInt(o Class, methodName string, arg0 int64) *Color { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_color + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Color{&ret} + +} +func godotCallVoidRidVector2Vector2(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallPoolColorArray(o Class, methodName string) *PoolColorArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_color_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolColorArray{&ret} + +} +func godotCallVoidStringIntStringInt(o Class, methodName string, arg0 string, arg1 int64, arg2 string, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallFloatVector2(o Class, methodName string, arg0 *Vector2) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidRidRect2Int(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantStringBool(o Class, methodName string, arg0 string, arg1 bool) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallArrayObject(o Class, methodName string, arg0 *Object) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallObjectFloatBool(o Class, methodName string, arg0 float64, arg1 bool) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidStringVector2(o Class, methodName string, arg0 string, arg1 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRidInt(o Class, methodName string, arg0 int64) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallPlaneInt(o Class, methodName string, arg0 int64) *Plane { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_plane + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Plane{&ret} + +} +func godotCallVoidRidVector3Vector3(o Class, methodName string, arg0 *RID, arg1 *Vector3, arg2 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector3) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolVector3(o Class, methodName string, arg0 *Vector3) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntColorBool(o Class, methodName string, arg0 int64, arg1 *Color, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectRect2(o Class, methodName string, arg0 *Object, arg1 *Rect2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringVariantBool(o Class, methodName string, arg0 string, arg1 *Variant, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntArray(o Class, methodName string, arg0 int64, arg1 *Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRidVector2Vector2RidRid(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 *RID, arg3 *RID) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rid) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVariantTransform2DObjectTransform2D(o Class, methodName string, arg0 *Transform2D, arg1 *Object, arg2 *Transform2D) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVariant(o Class, methodName string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallDictionaryObject(o Class, methodName string, arg0 *Object) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallObjectRid(o Class, methodName string, arg0 *RID) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidObjectObjectIntBool(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 int64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolObjectStringVariantVariantFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 string, arg2 *Variant, arg3 *Variant, arg4 float64, arg5 int64, arg6 int64, arg7 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(8)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_int(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_real(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallTransformInt(o Class, methodName string, arg0 int64) *Transform { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform{&ret} + +} +func godotCallVector3IntFloat(o Class, methodName string, arg0 int64, arg1 float64) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidIntVariant(o Class, methodName string, arg0 int64, arg1 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantVector2Object(o Class, methodName string, arg0 *Vector2, arg1 *Object) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallIntString(o Class, methodName string, arg0 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallIntStringObjectStringArrayInt(o Class, methodName string, arg0 string, arg1 *Object, arg2 string, arg3 *Array, arg4 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVariantNodePath(o Class, methodName string, arg0 *NodePath) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVector3Rid(o Class, methodName string, arg0 *RID) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidStringIntVector2(o Class, methodName string, arg0 string, arg1 int64, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringStringInt(o Class, methodName string, arg0 string, arg1 string, arg2 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVariantString(o Class, methodName string, arg0 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidPoolVector3ArrayPoolVector2ArrayPoolColorArrayPoolVector2ArrayPoolVector3ArrayArray(o Class, methodName string, arg0 *PoolVector3Array, arg1 *PoolVector2Array, arg2 *PoolColorArray, arg3 *PoolVector2Array, arg4 *PoolVector3Array, arg5 *Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.array) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.array) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringObjectIntStringVariant(o Class, methodName string, arg0 string, arg1 *Object, arg2 int64, arg3 string, arg4 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(stringAsGodotString(arg3)) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.variant) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolRealArray(o Class, methodName string, arg0 *PoolRealArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringString(o Class, methodName string, arg0 string, arg1 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringObject(o Class, methodName string, arg0 *Object) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidStringBool(o Class, methodName string, arg0 string, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringInt(o Class, methodName string, arg0 int64) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidAabb(o Class, methodName string, arg0 *AABB) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.aabb) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectRect2Rect2ColorBoolObjectBool(o Class, methodName string, arg0 *Object, arg1 *Rect2, arg2 *Rect2, arg3 *Color, arg4 bool, arg5 *Object, arg6 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.owner) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_bool(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolStringArrayString(o Class, methodName string, arg0 string) *PoolStringArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_string_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolStringArray{&ret} + +} +func godotCallVoidStringStringVariant(o Class, methodName string, arg0 string, arg1 string, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantIntString(o Class, methodName string, arg0 int64, arg1 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidIntStringInt(o Class, methodName string, arg0 int64, arg1 string, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallTransform(o Class, methodName string) *Transform { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform{&ret} + +} +func godotCallVoidPoolByteArray(o Class, methodName string, arg0 *PoolByteArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringPoolStringArrayBoolIntString(o Class, methodName string, arg0 string, arg1 *PoolStringArray, arg2 bool, arg3 int64, arg4 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(stringAsGodotString(arg4)) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidNodePath(o Class, methodName string, arg0 *NodePath) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2IntBoolBoolBool(o Class, methodName string, arg0 *Vector2, arg1 int64, arg2 bool, arg3 bool, arg4 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallNodePath(o Class, methodName string) *NodePath { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_node_path + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &NodePath{&ret} + +} +func godotCallVoidRidIntIntBool(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolObjectNodePathVariantObjectNodePathFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 *NodePath, arg2 *Variant, arg3 *Object, arg4 *NodePath, arg5 float64, arg6 int64, arg7 int64, arg8 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(9)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.nodePath) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.nodePath) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_real(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_int(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + primArg8 := C.godot_real(arg8) + cArg8 := unsafe.Pointer(&primArg8) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallIntIntInt(o Class, methodName string, arg0 int64, arg1 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVector3Vector2(o Class, methodName string, arg0 *Vector2) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidStringPoolByteArrayBool(o Class, methodName string, arg0 string, arg1 *PoolByteArray, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntVariantBool(o Class, methodName string, arg0 int64, arg1 *Variant, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidTransform(o Class, methodName string, arg0 *RID, arg1 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntRidInt(o Class, methodName string, arg0 *RID, arg1 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallIntStringObject(o Class, methodName string, arg0 string, arg1 *Object) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidPoolIntArray(o Class, methodName string, arg0 *PoolIntArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringStringObject(o Class, methodName string, arg0 string, arg1 string, arg2 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectColorBool(o Class, methodName string, arg0 *Object, arg1 *Color, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringRid(o Class, methodName string, arg0 *RID) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidIntRidIntIntInt(o Class, methodName string, arg0 int64, arg1 *RID, arg2 int64, arg3 int64, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantStringStringArray(o Class, methodName string, arg0 string, arg1 string, arg2 *Array) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidNodePathVariant(o Class, methodName string, arg0 *NodePath, arg1 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRect2Rect2ColorBoolObjectBool(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 *Rect2, arg3 *Color, arg4 bool, arg5 *Object, arg6 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.owner) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_bool(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRect2RidBoolColorBoolRid(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 *RID, arg3 bool, arg4 *Color, arg5 bool, arg6 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.color) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.rid) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidPoolVector2ArrayBool(o Class, methodName string, arg0 *RID, arg1 *PoolVector2Array, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidStringVariant(o Class, methodName string, arg0 *RID, arg1 string, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntFloat(o Class, methodName string, arg0 int64, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntVector2(o Class, methodName string, arg0 *Vector2) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidIntColor(o Class, methodName string, arg0 int64, arg1 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRid(o Class, methodName string, arg0 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectObjectBool(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidBoolRect2(o Class, methodName string, arg0 *RID, arg1 bool, arg2 *Rect2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector3(o Class, methodName string) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallBoolObjectString(o Class, methodName string, arg0 *Object, arg1 string) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidObjectStringInt(o Class, methodName string, arg0 *Object, arg1 string, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntRid(o Class, methodName string, arg0 *RID) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidBool(o Class, methodName string, arg0 *RID, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolByteArrayRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *PoolByteArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_byte_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolByteArray{&ret} + +} +func godotCallNodePathObject(o Class, methodName string, arg0 *Object) *NodePath { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_node_path + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &NodePath{&ret} + +} +func godotCallFloatRid(o Class, methodName string, arg0 *RID) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallRidRidTransformRidTransform(o Class, methodName string, arg0 *RID, arg1 *Transform, arg2 *RID, arg3 *Transform) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.transform) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidIntObject(o Class, methodName string, arg0 int64, arg1 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2IntFloat(o Class, methodName string, arg0 int64, arg1 float64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallBoolObjectObject(o Class, methodName string, arg0 *Object, arg1 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallBoolRidTransform2DVector2FloatObject(o Class, methodName string, arg0 *RID, arg1 *Transform2D, arg2 *Vector2, arg3 float64, arg4 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform2d) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.owner) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallPoolIntArrayInt(o Class, methodName string, arg0 int64) *PoolIntArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_int_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolIntArray{&ret} + +} +func godotCallVoidFloatBool(o Class, methodName string, arg0 float64, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectVector2(o Class, methodName string, arg0 *Vector2) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallObjectStringString(o Class, methodName string, arg0 string, arg1 string) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidRidVariant(o Class, methodName string, arg0 *RID, arg1 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringFloat(o Class, methodName string, arg0 string, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2Float(o Class, methodName string, arg0 float64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVariantVariant(o Class, methodName string, arg0 *Variant) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.variant) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidInt(o Class, methodName string, arg0 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolVector2ArrayVector2Vector2Bool(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 bool) *PoolVector2Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector2_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector2Array{&ret} + +} +func godotCallVoidRidRect2RidRect2ColorBoolRidBool(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 *RID, arg3 *Rect2, arg4 *Color, arg5 bool, arg6 *RID, arg7 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(8)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rect2) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.color) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.rid) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_bool(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolByteArray(o Class, methodName string) *PoolByteArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_byte_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolByteArray{&ret} + +} +func godotCallArrayNodePath(o Class, methodName string, arg0 *NodePath) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidStringArrayBool(o Class, methodName string, arg0 string, arg1 *Array, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBool(o Class, methodName string) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallStringVector2(o Class, methodName string, arg0 *Vector2) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidIntTransform(o Class, methodName string, arg0 int64, arg1 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVariantObject(o Class, methodName string, arg0 *Variant, arg1 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.variant) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntObjectIntBoolString(o Class, methodName string, arg0 int64, arg1 *Object, arg2 int64, arg3 bool, arg4 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(stringAsGodotString(arg4)) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallFloatIntInt(o Class, methodName string, arg0 int64, arg1 int64) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidStringFloatFloatBool(o Class, methodName string, arg0 string, arg1 float64, arg2 float64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntPoolByteArray(o Class, methodName string, arg0 *PoolByteArray) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidStringStringColorBool(o Class, methodName string, arg0 string, arg1 string, arg2 *Color, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayArrayInt(o Class, methodName string, arg0 *Array, arg1 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidIntIntFloatBool(o Class, methodName string, arg0 int64, arg1 int64, arg2 float64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntStringPoolStringArrayPoolByteArray(o Class, methodName string, arg0 int64, arg1 string, arg2 *PoolStringArray, arg3 *PoolByteArray) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVariantRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidBoolVector2Vector2(o Class, methodName string, arg0 bool, arg1 *Vector2, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectObject(o Class, methodName string, arg0 *Object) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVector3Vector3Vector3FloatIntFloat(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 float64, arg3 int64, arg4 float64) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallIntStringIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallObject(o Class, methodName string) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallStringStringInt(o Class, methodName string, arg0 string, arg1 int64) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidIntObjectInt(o Class, methodName string, arg0 int64, arg1 *Object, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidArray(o Class, methodName string, arg0 *Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallColorFloat(o Class, methodName string, arg0 float64) *Color { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_color + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Color{&ret} + +} +func godotCallVariantIntStringString(o Class, methodName string, arg0 int64, arg1 string, arg2 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidRidStringRid(o Class, methodName string, arg0 *RID, arg1 string, arg2 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidFloat(o Class, methodName string, arg0 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallAabbRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *AABB { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_aabb + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &AABB{&ret} + +} +func godotCallRect2Int(o Class, methodName string, arg0 int64) *Rect2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rect2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Rect2{&ret} + +} +func godotCallObjectBool(o Class, methodName string, arg0 bool) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallIntVector2FloatFloatIntInt(o Class, methodName string, arg0 *Vector2, arg1 float64, arg2 float64, arg3 int64, arg4 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRidRid(o Class, methodName string, arg0 *RID) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidIntBoolBool(o Class, methodName string, arg0 int64, arg1 bool, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2Vector2Bool(o Class, methodName string, arg0 *Vector2, arg1 bool) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidRidPoolVector2Array(o Class, methodName string, arg0 *RID, arg1 *PoolVector2Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidString(o Class, methodName string, arg0 *RID, arg1 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectBoolRid(o Class, methodName string, arg0 *Object, arg1 bool, arg2 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringIntBoolBool(o Class, methodName string, arg0 string, arg1 int64, arg2 bool, arg3 bool) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallBoolRid(o Class, methodName string, arg0 *RID) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallInt(o Class, methodName string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidStringNodePathBool(o Class, methodName string, arg0 string, arg1 *NodePath, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.nodePath) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallString(o Class, methodName string) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidIntVector3(o Class, methodName string, arg0 int64, arg1 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayPoolColorArrayFloatBool(o Class, methodName string, arg0 *PoolVector2Array, arg1 *PoolColorArray, arg2 float64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallDictionaryVector2Vector2ArrayInt(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 *Array, arg3 int64) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallIntNodePath(o Class, methodName string, arg0 *NodePath) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidObject(o Class, methodName string, arg0 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayColorFloatBool(o Class, methodName string, arg0 *PoolVector2Array, arg1 *Color, arg2 float64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2Vector2Vector2Int(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 *Vector2, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantInt(o Class, methodName string, arg0 int64) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallObjectStringBoolBool(o Class, methodName string, arg0 string, arg1 bool, arg2 bool) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallArrayObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallPlane(o Class, methodName string) *Plane { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_plane + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Plane{&ret} + +} +func godotCallVector2IntInt(o Class, methodName string, arg0 int64, arg1 int64) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidPoolVector3ArrayBoolBool(o Class, methodName string, arg0 *PoolVector3Array, arg1 bool, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayPoolIntArray(o Class, methodName string, arg0 *PoolVector2Array, arg1 *PoolIntArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRidVector2Vector2Vector2RidRid(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 *Vector2, arg3 *RID, arg4 *RID) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rid) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.rid) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVariantStringString(o Class, methodName string, arg0 string, arg1 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidBoolBool(o Class, methodName string, arg0 bool, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVariantObjectString(o Class, methodName string, arg0 *Object, arg1 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallRidRidString(o Class, methodName string, arg0 *RID, arg1 string) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallArrayRid(o Class, methodName string, arg0 *RID) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallArrayIntFloat(o Class, methodName string, arg0 int64, arg1 float64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidRidIntFloat(o Class, methodName string, arg0 *RID, arg1 int64, arg2 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantRid(o Class, methodName string, arg0 *RID) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallBoolObjectNodePathObjectNodePathVariantFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 *NodePath, arg2 *Object, arg3 *NodePath, arg4 *Variant, arg5 float64, arg6 int64, arg7 int64, arg8 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(9)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.nodePath) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.nodePath) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.variant) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_real(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_int(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + primArg8 := C.godot_real(arg8) + cArg8 := unsafe.Pointer(&primArg8) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntIntColor(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringObjectString(o Class, methodName string, arg0 string, arg1 *Object, arg2 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallTransformRid(o Class, methodName string, arg0 *RID) *Transform { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform{&ret} + +} +func godotCallVoidPlane(o Class, methodName string, arg0 *Plane) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.plane) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantIntInt(o Class, methodName string, arg0 int64, arg1 int64) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidVector2FloatVector2(o Class, methodName string, arg0 *Vector2, arg1 float64, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2Array(o Class, methodName string, arg0 *PoolVector2Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectRect2(o Class, methodName string, arg0 *Rect2) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rect2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidIntPoolVector2Array(o Class, methodName string, arg0 int64, arg1 *PoolVector2Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidVector2(o Class, methodName string, arg0 *RID, arg1 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectStringBool(o Class, methodName string, arg0 *Object, arg1 string, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRidRidRidIntInt(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *RID, arg3 *RID, arg4 int64, arg5 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rid) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_int(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector3Vector3(o Class, methodName string, arg0 *Vector3) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidObjectStringPoolStringArray(o Class, methodName string, arg0 *Object, arg1 string, arg2 *PoolStringArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRidRidRid(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *RID, arg3 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rid) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRect2ColorBool(o Class, methodName string, arg0 *Rect2, arg1 *Color, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rect2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolIntArrayStringIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64) *PoolIntArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_int_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolIntArray{&ret} + +} +func godotCallVoidObjectStringVariant(o Class, methodName string, arg0 *Object, arg1 string, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntFloatVector3QuatVector3(o Class, methodName string, arg0 int64, arg1 float64, arg2 *Vector3, arg3 *Quat, arg4 *Vector3) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector3) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.quat) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.vector3) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallStringDictionary(o Class, methodName string, arg0 *Dictionary) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.dictionary) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidIntIntBoolInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 bool, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallFloatInt(o Class, methodName string, arg0 int64) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallRect2(o Class, methodName string) *Rect2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rect2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Rect2{&ret} + +} +func godotCallRidVector2RidRid(o Class, methodName string, arg0 *Vector2, arg1 *RID, arg2 *RID) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidStringIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector3(o Class, methodName string, arg0 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidIntStringVariant(o Class, methodName string, arg0 int64, arg1 string, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectStringInt(o Class, methodName string, arg0 string, arg1 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidIntBool(o Class, methodName string, arg0 int64, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringIntBool(o Class, methodName string, arg0 string, arg1 int64, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallDictionaryVector3Vector3ArrayInt(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 *Array, arg3 int64) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallVoidRidVector2ColorBoolObject(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 *Color, arg3 bool, arg4 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.owner) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRidIntIntFloat(o Class, methodName string, arg0 int64, arg1 int64, arg2 float64) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallFloat(o Class, methodName string) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidRidIntVariant(o Class, methodName string, arg0 *RID, arg1 int64, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2Vector2(o Class, methodName string, arg0 *Vector2, arg1 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntObjectBoolString(o Class, methodName string, arg0 *Object, arg1 bool, arg2 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidVector2Vector2ColorFloatBool(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 *Vector2, arg3 *Color, arg4 float64, arg5 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectFloat(o Class, methodName string, arg0 float64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidStringStringInt(o Class, methodName string, arg0 string, arg1 string, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2VariantObject(o Class, methodName string, arg0 *Vector2, arg1 *Variant, arg2 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectStringArray(o Class, methodName string, arg0 *Object, arg1 string, arg2 *Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidIntIntIntInt(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64, arg3 int64, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringColor(o Class, methodName string, arg0 string, arg1 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallDictionaryBool(o Class, methodName string, arg0 bool) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallVoidStringArray(o Class, methodName string, arg0 string, arg1 *Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolTransform2DObjectTransform2D(o Class, methodName string, arg0 *Transform2D, arg1 *Object, arg2 *Transform2D) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallNodePathInt(o Class, methodName string, arg0 int64) *NodePath { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_node_path + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &NodePath{&ret} + +} +func godotCallObjectVector3(o Class, methodName string, arg0 *Vector3) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallTransformRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *Transform { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform{&ret} + +} +func godotCallStringStringStringBoolIntInt(o Class, methodName string, arg0 string, arg1 string, arg2 bool, arg3 int64, arg4 int64) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallIntIntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallIntBool(o Class, methodName string, arg0 bool) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallRidObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallIntVector3(o Class, methodName string, arg0 *Vector3) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidColor(o Class, methodName string, arg0 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.color) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallColorStringString(o Class, methodName string, arg0 string, arg1 string) *Color { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_color + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Color{&ret} + +} +func godotCallPoolVector3ArrayIntFloat(o Class, methodName string, arg0 int64, arg1 float64) *PoolVector3Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector3_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector3Array{&ret} + +} +func godotCallVoidObjectFloat(o Class, methodName string, arg0 *Object, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntIntFloat(o Class, methodName string, arg0 int64, arg1 int64, arg2 float64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidRidTransform2D(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallFloatStringString(o Class, methodName string, arg0 string, arg1 string) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallIntIntFloat(o Class, methodName string, arg0 int64, arg1 float64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidStringObjectVariant(o Class, methodName string, arg0 string, arg1 *Object, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolStringArrayInt(o Class, methodName string, arg0 int64) *PoolStringArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_string_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolStringArray{&ret} + +} +func godotCallRidRidVector3RidVector3(o Class, methodName string, arg0 *RID, arg1 *Vector3, arg2 *RID, arg3 *Vector3) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidObjectStringIntInt(o Class, methodName string, arg0 *Object, arg1 string, arg2 int64, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallTransform2DIntInt(o Class, methodName string, arg0 int64, arg1 int64) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallObjectString(o Class, methodName string, arg0 string) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallPoolIntArrayIntInt(o Class, methodName string, arg0 int64, arg1 int64) *PoolIntArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_int_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolIntArray{&ret} + +} +func godotCallVoidStringObject(o Class, methodName string, arg0 string, arg1 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolBool(o Class, methodName string, arg0 bool) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntNodePath(o Class, methodName string, arg0 int64, arg1 *NodePath) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.nodePath) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolStringIntStringInt(o Class, methodName string, arg0 string, arg1 int64, arg2 string, arg3 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidRidRid(o Class, methodName string, arg0 *RID, arg1 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntVector2Float(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Vector2, arg3 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolNodePath(o Class, methodName string, arg0 *NodePath) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallRidIntBool(o Class, methodName string, arg0 int64, arg1 bool) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidRidRidInt(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectInt(o Class, methodName string, arg0 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallRidRidInt(o Class, methodName string, arg0 *RID, arg1 int64) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidVector3Vector3Vector3(o Class, methodName string, arg0 *Vector3, arg1 *Vector3, arg2 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector3) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRidRid(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolVector2ArrayInt(o Class, methodName string, arg0 int64) *PoolVector2Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector2_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector2Array{&ret} + +} +func godotCallBoolVector2VariantObject(o Class, methodName string, arg0 *Vector2, arg1 *Variant, arg2 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallTransformBool(o Class, methodName string, arg0 bool) *Transform { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform{&ret} + +} +func godotCallBoolObject(o Class, methodName string, arg0 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntFloatBoolBool(o Class, methodName string, arg0 int64, arg1 float64, arg2 bool, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectObjectStringVariant(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 string, arg3 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectObjectString(o Class, methodName string, arg0 *Object, arg1 string) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallBoolStringObjectString(o Class, methodName string, arg0 string, arg1 *Object, arg2 string) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidRidRect2Rect2RidVector2Vector2IntIntBoolColorRid(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 *Rect2, arg3 *RID, arg4 *Vector2, arg5 *Vector2, arg6 int64, arg7 int64, arg8 bool, arg9 *Color, arg10 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(11)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.rid) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.vector2) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.vector2) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_int(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + primArg8 := C.godot_bool(arg8) + cArg8 := unsafe.Pointer(&primArg8) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + cArg9 := unsafe.Pointer(arg9.color) + + C.add_element(cArgsArray, cArg9, C.int(9)) + + cArg10 := unsafe.Pointer(arg10.rid) + + C.add_element(cArgsArray, cArg10, C.int(10)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolVector2Variant(o Class, methodName string, arg0 *Vector2, arg1 *Variant) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidPoolStringArray(o Class, methodName string, arg0 *PoolStringArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolVector2Rect2(o Class, methodName string, arg0 *Vector2, arg1 *Rect2) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntIntVariant(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectString(o Class, methodName string, arg0 *Object, arg1 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidObjectString(o Class, methodName string, arg0 *RID, arg1 *Object, arg2 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantTransform2DVector2ObjectTransform2DVector2(o Class, methodName string, arg0 *Transform2D, arg1 *Vector2, arg2 *Object, arg3 *Transform2D, arg4 *Vector2) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.transform2d) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.vector2) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallFloatString(o Class, methodName string, arg0 string) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallDictionary(o Class, methodName string) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallIntObject(o Class, methodName string, arg0 *Object) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallIntVector2Object(o Class, methodName string, arg0 *Vector2, arg1 *Object) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidPoolVector2ArrayInt(o Class, methodName string, arg0 *PoolVector2Array, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectIntTransform(o Class, methodName string, arg0 *Object, arg1 int64, arg2 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntTransform2D(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallDictionaryString(o Class, methodName string, arg0 string) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallVoidRidPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidFloatRid(o Class, methodName string, arg0 *RID, arg1 *PoolVector2Array, arg2 *PoolColorArray, arg3 *PoolVector2Array, arg4 *RID, arg5 float64, arg6 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.rid) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_real(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.rid) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidBoolFloat(o Class, methodName string, arg0 bool, arg1 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntObjectTransform2DObject(o Class, methodName string, arg0 *Object, arg1 *Transform2D, arg2 *Object) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform2d) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallDictionaryInt(o Class, methodName string, arg0 int64) *Dictionary { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_dictionary + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Dictionary{&ret} + +} +func godotCallVoidRidObjectInt(o Class, methodName string, arg0 *RID, arg1 *Object, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolStringArray(o Class, methodName string) *PoolStringArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_string_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolStringArray{&ret} + +} +func godotCallObjectStringIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVector2(o Class, methodName string) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallBoolStringVariant(o Class, methodName string, arg0 string, arg1 *Variant) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallFloatRidIntInt(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidRidPoolVector2ArrayPoolColorArrayFloatBool(o Class, methodName string, arg0 *RID, arg1 *PoolVector2Array, arg2 *PoolColorArray, arg3 float64, arg4 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallAabbRid(o Class, methodName string, arg0 *RID) *AABB { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_aabb + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &AABB{&ret} + +} +func godotCallVoidIntIntPoolByteArray(o Class, methodName string, arg0 int64, arg1 int64, arg2 *PoolByteArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVariant(o Class, methodName string, arg0 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.variant) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringStringObject(o Class, methodName string, arg0 string, arg1 *Object) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallIntObjectBool(o Class, methodName string, arg0 *Object, arg1 bool) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallTransform2D(o Class, methodName string) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallVoidRidTransform2D(o Class, methodName string, arg0 *RID, arg1 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform2d) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2(o Class, methodName string, arg0 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidIntTransform(o Class, methodName string, arg0 *RID, arg1 int64, arg2 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringIntObjectVector2(o Class, methodName string, arg0 string, arg1 int64, arg2 *Object, arg3 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector2) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidBool(o Class, methodName string, arg0 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntVector2(o Class, methodName string, arg0 int64, arg1 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringPoolStringArray(o Class, methodName string, arg0 string, arg1 *PoolStringArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector3Int(o Class, methodName string, arg0 int64) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidRect2Bool(o Class, methodName string, arg0 *Rect2, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rect2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolRealArray(o Class, methodName string) *PoolRealArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_real_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolRealArray{&ret} + +} +func godotCallBoolObjectStringVariantObjectStringFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 string, arg2 *Variant, arg3 *Object, arg4 string, arg5 float64, arg6 int64, arg7 int64, arg8 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(9)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(stringAsGodotString(arg4)) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_real(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_int(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + primArg8 := C.godot_real(arg8) + cArg8 := unsafe.Pointer(&primArg8) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidRidAabb(o Class, methodName string, arg0 *RID, arg1 *AABB) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.aabb) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector2String(o Class, methodName string, arg0 string) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidIntArrayArrayInt(o Class, methodName string, arg0 int64, arg1 *Array, arg2 *Array, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2FloatColor(o Class, methodName string, arg0 *Vector2, arg1 float64, arg2 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector3FloatBool(o Class, methodName string, arg0 float64, arg1 bool) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallBoolStringObject(o Class, methodName string, arg0 string, arg1 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidRidColor(o Class, methodName string, arg0 *RID, arg1 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayIntInt(o Class, methodName string, arg0 int64, arg1 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidPoolVector3ArrayObjectBool(o Class, methodName string, arg0 *PoolVector3Array, arg1 *Object, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayVector2IntArrayInt(o Class, methodName string, arg0 *Vector2, arg1 int64, arg2 *Array, arg3 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallTransform2DInt(o Class, methodName string, arg0 int64) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallPoolVector2ArrayIntFloat(o Class, methodName string, arg0 int64, arg1 float64) *PoolVector2Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector2_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector2Array{&ret} + +} +func godotCallVoidIntPoolIntArray(o Class, methodName string, arg0 int64, arg1 *PoolIntArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidIntInt(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntBool(o Class, methodName string, arg0 int64, arg1 int64, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolIntArray(o Class, methodName string) *PoolIntArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_int_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolIntArray{&ret} + +} +func godotCallVector2Vector3(o Class, methodName string, arg0 *Vector3) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidObjectVector2ColorObject(o Class, methodName string, arg0 *Object, arg1 *Vector2, arg2 *Color, arg3 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringStringPoolStringArray(o Class, methodName string, arg0 string, arg1 string, arg2 *PoolStringArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantStringArray(o Class, methodName string, arg0 string, arg1 *Array) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidIntBoolInt(o Class, methodName string, arg0 int64, arg1 bool, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringIntIntIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64, arg3 int64, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringStringFloat(o Class, methodName string, arg0 string, arg1 string, arg2 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallAabb(o Class, methodName string) *AABB { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_aabb + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &AABB{&ret} + +} +func godotCallVoidVector2Bool(o Class, methodName string, arg0 *Vector2, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolStringDictionary(o Class, methodName string, arg0 string, arg1 *Dictionary) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.dictionary) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidObjectBool(o Class, methodName string, arg0 *Object, arg1 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringObjectBool(o Class, methodName string, arg0 string, arg1 *Object, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantStringStringVariant(o Class, methodName string, arg0 string, arg1 string, arg2 *Variant) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallVoidPoolStringArrayBoolStringInt(o Class, methodName string, arg0 *PoolStringArray, arg1 bool, arg2 string, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayPoolColorArrayPoolVector2ArrayObjectObjectBool(o Class, methodName string, arg0 *PoolVector2Array, arg1 *PoolColorArray, arg2 *PoolVector2Array, arg3 *Object, arg4 *Object, arg5 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.owner) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectObjectRect2Vector2(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 *Rect2, arg3 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector2) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallColorIntInt(o Class, methodName string, arg0 int64, arg1 int64) *Color { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_color + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Color{&ret} + +} +func godotCallVoidRidPoolIntArrayPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidIntRid(o Class, methodName string, arg0 *RID, arg1 *PoolIntArray, arg2 *PoolVector2Array, arg3 *PoolColorArray, arg4 *PoolVector2Array, arg5 *RID, arg6 int64, arg7 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(8)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.array) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.rid) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + cArg7 := unsafe.Pointer(arg7.rid) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidBasis(o Class, methodName string, arg0 *Basis) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.basis) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolRealArrayInt(o Class, methodName string, arg0 int64) *PoolRealArray { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_real_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolRealArray{&ret} + +} +func godotCallVoidRidIntRid(o Class, methodName string, arg0 *RID, arg1 int64, arg2 *RID) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rid) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidVector2Vector2ColorFloatBool(o Class, methodName string, arg0 *Vector2, arg1 *Vector2, arg2 *Color, arg3 float64, arg4 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidTransform2D(o Class, methodName string, arg0 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringStringObjectObject(o Class, methodName string, arg0 string, arg1 string, arg2 *Object, arg3 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntVariant(o Class, methodName string, arg0 *Variant) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.variant) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidIntBool(o Class, methodName string, arg0 *RID, arg1 int64, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolObjectNodePathVariantVariantFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 *NodePath, arg2 *Variant, arg3 *Variant, arg4 float64, arg5 int64, arg6 int64, arg7 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(8)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.nodePath) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.variant) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_int(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_real(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidStringObjectStringVariant(o Class, methodName string, arg0 string, arg1 *Object, arg2 string, arg3 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVector3IntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallIntVector2Bool(o Class, methodName string, arg0 *Vector2, arg1 bool) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidVector3Vector3(o Class, methodName string, arg0 *Vector3, arg1 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector3) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolObjectStringObjectStringVariantFloatIntIntFloat(o Class, methodName string, arg0 *Object, arg1 string, arg2 *Object, arg3 string, arg4 *Variant, arg5 float64, arg6 int64, arg7 int64, arg8 float64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(9)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(stringAsGodotString(arg3)) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.variant) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_real(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_int(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + primArg7 := C.godot_int(arg7) + cArg7 := unsafe.Pointer(&primArg7) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + primArg8 := C.godot_real(arg8) + cArg8 := unsafe.Pointer(&primArg8) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidRidPoolVector2ArrayPoolColorArrayPoolVector2ArrayRidRidBool(o Class, methodName string, arg0 *RID, arg1 *PoolVector2Array, arg2 *PoolColorArray, arg3 *PoolVector2Array, arg4 *RID, arg5 *RID, arg6 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.rid) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.rid) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + primArg6 := C.godot_bool(arg6) + cArg6 := unsafe.Pointer(&primArg6) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidTransform(o Class, methodName string, arg0 *Transform) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectIntVector2(o Class, methodName string, arg0 *Object, arg1 int64, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntFloatFloatFloat(o Class, methodName string, arg0 int64, arg1 float64, arg2 float64, arg3 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRect2Color(o Class, methodName string, arg0 *RID, arg1 *Rect2, arg2 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.color) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringVariant(o Class, methodName string, arg0 *Variant) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.variant) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallVoidFloatColor(o Class, methodName string, arg0 float64, arg1 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntStringInt(o Class, methodName string, arg0 string, arg1 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallBoolObjectFloatStringVariantVariantVariantVariantVariant(o Class, methodName string, arg0 *Object, arg1 float64, arg2 string, arg3 *Variant, arg4 *Variant, arg5 *Variant, arg6 *Variant, arg7 *Variant) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(8)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.variant) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.variant) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.variant) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + cArg7 := unsafe.Pointer(arg7.variant) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidObjectRect2BoolColorBoolObject(o Class, methodName string, arg0 *Object, arg1 *Rect2, arg2 bool, arg3 *Color, arg4 bool, arg5 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + cArg5 := unsafe.Pointer(arg5.owner) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidObjectStringVariant(o Class, methodName string, arg0 *RID, arg1 *Object, arg2 string, arg3 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolVector2FloatObject(o Class, methodName string, arg0 *Vector2, arg1 float64, arg2 *Object) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallColor(o Class, methodName string) *Color { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_color + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Color{&ret} + +} +func godotCallVector3Float(o Class, methodName string, arg0 float64) *Vector3 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector3 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector3{&ret} + +} +func godotCallVoidStringVariant(o Class, methodName string, arg0 string, arg1 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntStringPoolStringArrayString(o Class, methodName string, arg0 int64, arg1 string, arg2 *PoolStringArray, arg3 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(stringAsGodotString(arg3)) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidIntRect2(o Class, methodName string, arg0 int64, arg1 *Rect2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidIntTransform2D(o Class, methodName string, arg0 *RID, arg1 int64, arg2 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidStringObjectInt(o Class, methodName string, arg0 string, arg1 *Object, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolVector2(o Class, methodName string, arg0 *Vector2) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidVector2Variant(o Class, methodName string, arg0 *Vector2, arg1 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.variant) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallPoolVector2ArrayVector2Vector2(o Class, methodName string, arg0 *Vector2, arg1 *Vector2) *PoolVector2Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_pool_vector2_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &PoolVector2Array{&ret} + +} +func godotCallArray(o Class, methodName string) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallBoolString(o Class, methodName string, arg0 string) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallFloatObjectVector2StringStringColor(o Class, methodName string, arg0 *Object, arg1 *Vector2, arg2 string, arg3 string, arg4 *Color) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(stringAsGodotString(arg3)) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.color) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallBoolStringString(o Class, methodName string, arg0 string, arg1 string) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntBoolIntColorBoolIntColorObjectObject(o Class, methodName string, arg0 int64, arg1 bool, arg2 int64, arg3 *Color, arg4 bool, arg5 int64, arg6 *Color, arg7 *Object, arg8 *Object) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(9)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_int(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.color) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + cArg7 := unsafe.Pointer(arg7.owner) + + C.add_element(cArgsArray, cArg7, C.int(7)) + + cArg8 := unsafe.Pointer(arg8.owner) + + C.add_element(cArgsArray, cArg8, C.int(8)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntStringInt(o Class, methodName string, arg0 int64, arg1 string, arg2 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidVector3(o Class, methodName string, arg0 *RID, arg1 *Vector3) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallStringString(o Class, methodName string, arg0 string) string { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_string + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return godotStringAsString(&ret) + +} +func godotCallIntStringIntStringInt(o Class, methodName string, arg0 string, arg1 int64, arg2 string, arg3 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallIntIntIntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64, arg3 int64) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidObjectIntBool(o Class, methodName string, arg0 *Object, arg1 int64, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayInt(o Class, methodName string, arg0 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidIntIntRect2Vector2Float(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Rect2, arg3 *Vector2, arg4 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.rect2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector2) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_real(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector3Array(o Class, methodName string, arg0 *PoolVector3Array) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntStringStringVariant(o Class, methodName string, arg0 int64, arg1 string, arg2 string, arg3 *Variant) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.variant) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectObjectVector3Vector3Int(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 *Vector3, arg3 *Vector3, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector3) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolColorArray(o Class, methodName string, arg0 *PoolColorArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntPlane(o Class, methodName string, arg0 int64, arg1 *Plane) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.plane) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntObjectBool(o Class, methodName string, arg0 int64, arg1 *Object, arg2 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntIntIntBoolBoolBoolVector2(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64, arg3 bool, arg4 bool, arg5 bool, arg6 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(7)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_bool(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + cArg6 := unsafe.Pointer(arg6.vector2) + + C.add_element(cArgsArray, cArg6, C.int(6)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolIntInt(o Class, methodName string, arg0 int64, arg1 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallFloatFloat(o Class, methodName string, arg0 float64) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidIntIntIntIntInt(o Class, methodName string, arg0 int64, arg1 int64, arg2 int64, arg3 int64, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallObjectNodePath(o Class, methodName string, arg0 *NodePath) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVariantArray(o Class, methodName string, arg0 *Array) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallArrayStringIntInt(o Class, methodName string, arg0 string, arg1 int64, arg2 int64) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVoidObjectVector2StringColorInt(o Class, methodName string, arg0 *Object, arg1 *Vector2, arg2 string, arg3 *Color, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectAabb(o Class, methodName string, arg0 *Object, arg1 *AABB) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.aabb) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallFloatRidVector2IntIntColor(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 int64, arg3 int64, arg4 *Color) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.color) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallVoidIntIntPoolStringArrayPoolByteArray(o Class, methodName string, arg0 int64, arg1 int64, arg2 *PoolStringArray, arg3 *PoolByteArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidIntBoolStringString(o Class, methodName string, arg0 int64, arg1 bool, arg2 string, arg3 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(stringAsGodotString(arg3)) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolRidInt(o Class, methodName string, arg0 *RID, arg1 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidFloatFloatFloatFloat(o Class, methodName string, arg0 float64, arg1 float64, arg2 float64, arg3 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_real(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidObjectObjectInt(o Class, methodName string, arg0 *Object, arg1 *Object, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolTransform2DVector2ObjectTransform2DVector2(o Class, methodName string, arg0 *Transform2D, arg1 *Vector2, arg2 *Object, arg3 *Transform2D, arg4 *Vector2) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.transform2d) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.transform2d) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.vector2) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidIntString(o Class, methodName string, arg0 int64, arg1 string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBoolStringStringInt(o Class, methodName string, arg0 string, arg1 string, arg2 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidBoolBoolIntInt(o Class, methodName string, arg0 bool, arg1 bool, arg2 int64, arg3 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_bool(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallTransform2DRid(o Class, methodName string, arg0 *RID) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallVoid(o Class, methodName string) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRid(o Class, methodName string) *RID { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rid + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &RID{&ret} + +} +func godotCallVoidIntTransform2D(o Class, methodName string, arg0 int64, arg1 *Transform2D) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform2d) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallRect2ObjectInt(o Class, methodName string, arg0 *Object, arg1 int64) *Rect2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_rect2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Rect2{&ret} + +} +func godotCallVoidRidVector2FloatColor(o Class, methodName string, arg0 *RID, arg1 *Vector2, arg2 float64, arg3 *Color) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.color) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRidVector2(o Class, methodName string, arg0 *RID, arg1 *RID, arg2 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rid) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.vector2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVariantRidString(o Class, methodName string, arg0 *RID, arg1 string) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} +func godotCallObjectIntInt(o Class, methodName string, arg0 int64, arg1 int64) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVoidIntIntBoolIntPoolByteArray(o Class, methodName string, arg0 int64, arg1 int64, arg2 bool, arg3 int64, arg4 *PoolByteArray) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_bool(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_int(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.array) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntObjectTransformObject(o Class, methodName string, arg0 *Object, arg1 *Transform, arg2 *Object) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.transform) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallTransform2DObject(o Class, methodName string, arg0 *Object) *Transform2D { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_transform2d + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Transform2D{&ret} + +} +func godotCallVoidIntFloatFloatBool(o Class, methodName string, arg0 int64, arg1 float64, arg2 float64, arg3 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_real(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_real(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallFloatRidInt(o Class, methodName string, arg0 *RID, arg1 int64) float64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_real + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return float64(ret) + +} +func godotCallArrayObjectVector3(o Class, methodName string, arg0 *Object, arg1 *Vector3) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.owner) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.vector3) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVector2IntIntObjectVector2(o Class, methodName string, arg0 int64, arg1 int64, arg2 *Object, arg3 *Vector2) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.owner) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.vector2) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallObjectStringBoolString(o Class, methodName string, arg0 string, arg1 bool, arg2 string) *Object { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(stringAsGodotString(arg0)) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_bool(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(stringAsGodotString(arg2)) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_object + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Object{&ret} + +} +func godotCallVector2Vector2(o Class, methodName string, arg0 *Vector2) *Vector2 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.vector2) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_vector2 + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Vector2{&ret} + +} +func godotCallVoidIntObjectTransform2DBoolVector2(o Class, methodName string, arg0 int64, arg1 *Object, arg2 *Transform2D, arg3 bool, arg4 *Vector2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.transform2d) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_bool(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.vector2) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallBasis(o Class, methodName string) *Basis { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(0)) + log.Println(" C Array: ", cArgsArray) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_basis + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Basis{&ret} + +} +func godotCallBoolInt(o Class, methodName string, arg0 int64) bool { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_bool + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return bool(ret) + +} +func godotCallVoidNodePathObjectInt(o Class, methodName string, arg0 *NodePath, arg1 *Object, arg2 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(3)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.nodePath) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.owner) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidRect2(o Class, methodName string, arg0 *RID, arg1 *Rect2) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.rect2) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallIntIntString(o Class, methodName string, arg0 int64, arg1 string) int64 { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + primArg0 := C.godot_int(arg0) + cArg0 := unsafe.Pointer(&primArg0) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(stringAsGodotString(arg1)) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_int + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return int64(ret) + +} +func godotCallVoidRidIntArrayArrayInt(o Class, methodName string, arg0 *RID, arg1 int64, arg2 *Array, arg3 *Array, arg4 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(5)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + primArg4 := C.godot_int(arg4) + cArg4 := unsafe.Pointer(&primArg4) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidPoolVector2ArrayColorPoolVector2ArrayObjectObjectBool(o Class, methodName string, arg0 *PoolVector2Array, arg1 *Color, arg2 *PoolVector2Array, arg3 *Object, arg4 *Object, arg5 bool) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(6)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.color) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + cArg2 := unsafe.Pointer(arg2.array) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.owner) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + cArg4 := unsafe.Pointer(arg4.owner) + + C.add_element(cArgsArray, cArg4, C.int(4)) + + primArg5 := C.godot_bool(arg5) + cArg5 := unsafe.Pointer(&primArg5) + + C.add_element(cArgsArray, cArg5, C.int(5)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidInt(o Class, methodName string, arg0 *RID, arg1 int64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(2)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallVoidRidIntIntFloat(o Class, methodName string, arg0 *RID, arg1 int64, arg2 int64, arg3 float64) { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.rid) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + primArg1 := C.godot_int(arg1) + cArg1 := unsafe.Pointer(&primArg1) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + primArg3 := C.godot_real(arg3) + cArg3 := unsafe.Pointer(&primArg3) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + log.Println(" No return value.") + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + nil, // void* + ) + log.Println(" Finished calling method") + +} +func godotCallArrayPoolByteArray(o Class, methodName string, arg0 *PoolByteArray) *Array { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(1)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_array + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Array{&ret} + +} +func godotCallVariantArrayArrayIntArray(o Class, methodName string, arg0 *Array, arg1 *Array, arg2 int64, arg3 *Array) *Variant { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + log.Println(" Allocating argument array in C.") + cArgsArray := C.build_array(C.int(4)) + log.Println(" C Array: ", cArgsArray) + + cArg0 := unsafe.Pointer(arg0.array) + + C.add_element(cArgsArray, cArg0, C.int(0)) + + cArg1 := unsafe.Pointer(arg1.array) + + C.add_element(cArgsArray, cArg1, C.int(1)) + + primArg2 := C.godot_int(arg2) + cArg2 := unsafe.Pointer(&primArg2) + + C.add_element(cArgsArray, cArg2, C.int(2)) + + cArg3 := unsafe.Pointer(arg3.array) + + C.add_element(cArgsArray, cArg3, C.int(3)) + + log.Println(" Built argument array from variant arguments: ", cArgsArray) + + // Construct our return object that will be populated by the method call. + log.Println(" Building return value.") + var ret C.godot_variant + retPtr := unsafe.Pointer(&ret) + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + log.Println(" Using godot object owner:", o.getOwner()) + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + log.Println(" Calling bind_ptrcall...") + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + retPtr, // void* + ) + log.Println(" Finished calling method") + + // Convert the return value based on the type. + return &Variant{&ret} + +} diff --git a/templates/classes.go.template b/templates/classes.go.template index ec42265c..e856c5cc 100644 --- a/templates/classes.go.template +++ b/templates/classes.go.template @@ -8,31 +8,11 @@ package godot #include #include #include - -void **build_array(int length); -void **build_array(int length) { - void *ptr; - void **arr = malloc(sizeof(void *) * length); - for (int i = 0; i < length; i++) { - arr[i] = ptr; - } - - return arr; -} - -void add_element(void**, void*, int); -void add_element(void **array, void *element, int index) { - printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); - array[index] = element; - printf("CGO: Index %i %p\n", index, element); - printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); -} */ import "C" import ( - "log" - "reflect" + {{ if $view.Debug }}"log"{{end}} "unsafe" ) @@ -49,7 +29,9 @@ type Class interface { {{ if $class.Singleton -}} func newSingleton{{ $view.GoClassName $class.Name }}() *{{ $view.SetClassName $class.Name $class.Singleton}} { obj := &{{ $view.SetClassName $class.Name $class.Singleton }}{} - ptr := C.godot_global_get_singleton(C.CString("{{ $class.Name }}")) + name := C.CString("{{ $class.Name }}") + defer C.free(unsafe.Pointer(name)) + ptr := C.godot_global_get_singleton(name) obj.owner = (*C.godot_object)(ptr) return obj } @@ -77,32 +59,23 @@ type Class interface { /* {{ $view.MethodDoc $class.Name $method.Name }} */ - func (o *{{ $view.SetClassName $class.Name $class.Singleton }}) {{ $view.GoMethodName $method.Name }}({{ range $k, $arg := $method.Arguments }}{{ $view.GoArgName $arg.Name }} {{ $view.GoValue $arg.Type }},{{ end }}) {{ if $method.ReturnType }}{{ $view.GoValue $method.ReturnType }}{{ end }} { - log.Println("Calling {{ $class.Name }}.{{ $view.GoMethodName $method.Name }}()") + func (o *{{ $view.SetClassName $class.Name $class.Singleton }}) {{ $view.GoMethodName $method.Name }}({{ range $k, $arg := $method.Arguments }}{{ $view.GoArgName $arg.Name }} {{ $view.GoValue $arg.Type }},{{ end }}) {{ $view.GoValue $method.ReturnType }} { + {{ if $view.Debug }}log.Println("Calling {{ $class.Name }}.{{ $view.GoMethodName $method.Name }}()"){{end}} - // Build out the method's arguments - goArguments := make([]reflect.Value, {{ len $method.Arguments }}, {{ len $method.Arguments }}) - {{ range $k, $arg := $method.Arguments -}} - goArguments[{{ $k }}] = reflect.ValueOf({{ $view.GoArgName $arg.Name }}) - {{ end }} + {{ if ne $method.ReturnType "void" }} + returnValue := {{ $view.GodotCall $method }} + {{ if $view.Debug }}log.Println(" Got return value: ", returnValue){{end}} - // Call the parent method. - {{ if $method.ReturnType }} - {{ $returnType := $view.GoValue $method.ReturnType }}{{ if ne $returnType "" }} - goRet := o.callParentMethod(o.baseClass(), "{{ $method.Name }}", goArguments, "{{ if $method.ReturnType }}{{ $view.GoValue $method.ReturnType }}{{ end }}") + {{ if $view.IsClassType $method.ReturnType }} + var ret {{ $method.ReturnType }} + ret.owner = returnValue.owner + return &ret {{ else }} - o.callParentMethod(o.baseClass(), "{{ $method.Name }}", goArguments, "{{ if $method.ReturnType }}{{ $view.GoValue $method.ReturnType }}{{ end }}") - {{ end }} - {{ end -}} - {{ if $method.ReturnType }} - {{ $returnType := $view.GoValue $method.ReturnType }}{{ if ne $returnType "" }} - returnValue := goRet.Interface().({{ $view.GoValue $method.ReturnType }}) - - log.Println(" Got return value: ", returnValue) return returnValue + {{ end}} {{else}} - log.Println(" Function successfully completed.") - {{ end }} + {{ $view.GodotCall $method }} + {{ if $view.Debug }}log.Println(" Function successfully completed."){{end}} {{ end }} } {{ end }} @@ -118,86 +91,6 @@ type Class interface { func (o *Object) getOwner() *C.godot_object { return o.owner } - - // callParentMethod will call this object's method with the given method name. - func (o *Object) callParentMethod(baseClass, methodName string, args []reflect.Value, returns string) reflect.Value { - log.Println("Calling parent method!") - - // Convert the base class and method names to C strings. - log.Println(" Using base class: ", baseClass) - classCString := C.CString(baseClass) - log.Println(" Using method name: ", methodName) - methodCString := C.CString(methodName) - - // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. - log.Println(" Using godot object owner:", o.getOwner()) - objectOwner := unsafe.Pointer(o.getOwner()) - - // Get the Godot method bind pointer so we can pass it to godot_method_bind_ptrcall. - var methodBind *C.godot_method_bind - methodBind = C.godot_method_bind_get_method(classCString, methodCString) - log.Println(" Using method bind pointer: ", methodBind) - - // Loop through the given arguments and see what type they are. When we know what - // type it is, we need to convert them to the correct godot objects. - // TODO: Probably pull this out into its own function? - variantArgs := []unsafe.Pointer{} - for _, arg := range args { - log.Println(" Argument type: ", arg.Type().String()) - - // Look up our conversion function in our map of conversion functions - // based on the Go type. This is essentially a more optimal case/switch - // statement on the type of Go object, so we can know how to convert it - // to a Godot object. - if convert, ok := goToGodotConversionMap[arg.Type().String()]; ok { - argValue := convert(arg.Interface()) - variantArgs = append(variantArgs, argValue) - } else { - err := "Unknown type of argument value when calling parent method: " + arg.Type().String() - Log.Error(err) - panic(err) - } - } - log.Println(" Built variant arguments: ", variantArgs) - - // Construct a C array that will contain pointers to our arguments. - log.Println(" Allocating argument array in C.") - cArgsArray := C.build_array(C.int(len(variantArgs))) - log.Println(" C Array: ", cArgsArray) - - // Loop through and add each argument to our C args array. - for i, arg := range variantArgs { - C.add_element(cArgsArray, arg, C.int(i)) - } - log.Println(" Built argument array from variant arguments: ", cArgsArray) - - // Construct our return object that will be populated by the method call. - // Here we're just using a CString - log.Println(" Building return value.") - ret := unsafe.Pointer(C.CString("")) - - // Call the parent method. "ret" will be populated with the return value. - log.Println(" Calling bind_ptrcall...") - C.godot_method_bind_ptrcall( - methodBind, - objectOwner, - cArgsArray, // void** - ret, // void* - ) - log.Println(" Finished calling method") - - // Convert the return value based on the type. - var retValue reflect.Value - if _, ok := godotToGoConversionMap[returns]; ok { - retValue = godotToGoConversionMap[returns](ret) - } else { - panic("Return type not found when calling parent method: " + returns) - } - - // Return the converted variant. - return retValue - } - {{ end }} {{ if eq $class.Singleton false -}} /* @@ -209,121 +102,3 @@ type Class interface { {{ end -}} {{ end -}} {{ end }} - - -// godotToGoConverter is a function that will convert a Godot object into -// a Go object. -type godotToGoConverter func(gdObject unsafe.Pointer) reflect.Value - -// godotToGoConversionMap is an internal mapping of Godot types to functions that can -// convert to Go types. This mapping is essentially a more optimal case/switch -// system for converting Godot types to Go types. -var godotToGoConversionMap = map[string]godotToGoConverter{ - "bool": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_bool)(gdObject) - return reflect.ValueOf(godotBoolAsBool(*converted)) - }, - "int64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_int)(gdObject) - return reflect.ValueOf(godotIntAsInt(*converted)) - }, - "uint64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.uint64_t)(gdObject) - return reflect.ValueOf(uint64(*converted)) - }, - "float64": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_real)(gdObject) - return reflect.ValueOf(float64(*converted)) - }, - "string": func(gdObject unsafe.Pointer) reflect.Value { - converted := (*C.godot_string)(gdObject) - return reflect.ValueOf(godotStringAsString(converted)) - }, - "*Array": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Array{} - converted.array = (*C.godot_array)(gdObject) - return reflect.ValueOf(converted) - }, - "*Basis": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Basis{} - converted.basis = (*C.godot_basis)(gdObject) - return reflect.ValueOf(converted) - }, - "*Color": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Color{} - converted.color = (*C.godot_color)(gdObject) - return reflect.ValueOf(converted) - }, - "*Dictionary": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Dictionary{} - converted.dictionary = (*C.godot_dictionary)(gdObject) - return reflect.ValueOf(converted) - }, - "*NodePath": func(gdObject unsafe.Pointer) reflect.Value { - converted := &NodePath{} - converted.nodePath = (*C.godot_node_path)(gdObject) - return reflect.ValueOf(converted) - }, - "*Plane": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Plane{} - converted.plane = (*C.godot_plane)(gdObject) - return reflect.ValueOf(converted) - }, - "*Quat": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Quat{} - converted.quat = (*C.godot_quat)(gdObject) - return reflect.ValueOf(converted) - }, - "*Rect2": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Rect2{} - converted.rect2 = (*C.godot_rect2)(gdObject) - return reflect.ValueOf(converted) - }, - "*AABB": func(gdObject unsafe.Pointer) reflect.Value { - converted := &AABB{} - converted.aabb = (*C.godot_aabb)(gdObject) - return reflect.ValueOf(converted) - }, - "*RID": func(gdObject unsafe.Pointer) reflect.Value { - converted := &RID{} - converted.rid = (*C.godot_rid)(gdObject) - return reflect.ValueOf(converted) - }, - "*Transform": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Transform{} - converted.transform = (*C.godot_transform)(gdObject) - return reflect.ValueOf(converted) - }, - "*Transform2D": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Transform2D{} - converted.transform2d = (*C.godot_transform2d)(gdObject) - return reflect.ValueOf(converted) - }, - "*Variant": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Variant{} - converted.variant = (*C.godot_variant)(gdObject) - return reflect.ValueOf(converted) - }, - "*Vector2": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Vector2{} - converted.vector2 = (*C.godot_vector2)(gdObject) - return reflect.ValueOf(converted) - }, - "*Vector3": func(gdObject unsafe.Pointer) reflect.Value { - converted := &Vector3{} - converted.vector3 = (*C.godot_vector3)(gdObject) - return reflect.ValueOf(converted) - }, - - {{ range $i, $class := $view.APIs -}} - {{ if $view.IsValidClass $class.Name $class.BaseClass -}} - "*{{ $view.SetClassName $class.Name $class.Singleton }}": func(gdObject unsafe.Pointer) reflect.Value { - owner := (*C.godot_object)(gdObject) - goObject := &{{ $view.SetClassName $class.Name $class.Singleton }}{} - goObject.setOwner(owner) - - return reflect.ValueOf(goObject) - }, - {{ end }} - {{ end }} -} diff --git a/templates/go2godot.template b/templates/go2godot.template new file mode 100644 index 00000000..5f534cf2 --- /dev/null +++ b/templates/go2godot.template @@ -0,0 +1,28 @@ +{{ if eq "bool" .Type -}}C.godot_bool({{.Name}}) +{{- else if eq "int" .Type -}}C.godot_int({{.Name}}) +{{- else if eq "float" .Type -}}C.godot_real({{.Name}}) +{{- else if eq "String" .Type -}}stringAsGodotString({{.Name}}) +{{- else if eq "Array" .Type -}}{{.Name}}.array +{{- else if eq "Basis" .Type -}}{{.Name}}.basis +{{- else if eq "Color" .Type -}}{{.Name}}.color +{{- else if eq "Dictionary" .Type -}}{{.Name}}.dictionary +{{- else if eq "NodePath" .Type -}}{{.Name}}.nodePath +{{- else if eq "Plane" .Type -}}{{.Name}}.plane +{{- else if eq "Quat" .Type -}}{{.Name}}.quat +{{- else if eq "Rect2" .Type -}}{{.Name}}.rect2 +{{- else if eq "AABB" .Type -}}{{.Name}}.aabb +{{- else if eq "RID" .Type -}}{{.Name}}.rid +{{- else if eq "Transform" .Type -}}{{.Name}}.transform +{{- else if eq "Transform2D" .Type -}}{{.Name}}.transform2d +{{- else if eq "Variant" .Type -}}{{.Name}}.variant +{{- else if eq "Vector2" .Type -}}{{.Name}}.vector2 +{{- else if eq "Vector3" .Type -}}{{.Name}}.vector3 +{{- else if eq "PoolByteArray" .Type -}}{{.Name}}.array +{{- else if eq "PoolIntArray" .Type -}}{{.Name}}.array +{{- else if eq "PoolRealArray" .Type -}}{{.Name}}.array +{{- else if eq "PoolStringArray" .Type -}}{{.Name}}.array +{{- else if eq "PoolVector2Array" .Type -}}{{.Name}}.array +{{- else if eq "PoolVector3Array" .Type -}}{{.Name}}.array +{{- else if eq "PoolColorArray" .Type -}}{{.Name}}.array +{{- else -}}{{.Name}}.owner +{{- end}} \ No newline at end of file diff --git a/templates/godot2go.template b/templates/godot2go.template new file mode 100644 index 00000000..906ef9dc --- /dev/null +++ b/templates/godot2go.template @@ -0,0 +1,28 @@ +{{ if eq "C.godot_bool" . -}}bool(ret) +{{- else if eq "C.godot_int" . -}}int64(ret) +{{- else if eq "C.godot_real" . -}}float64(ret) +{{- else if eq "C.godot_string" . -}}godotStringAsString(&ret) +{{- else if eq "C.godot_array" . -}}&Array{&ret} +{{- else if eq "C.godot_basis" . -}}&Basis{&ret} +{{- else if eq "C.godot_color" . -}}&Color{&ret} +{{- else if eq "C.godot_dictionary" . -}}&Dictionary{&ret} +{{- else if eq "C.godot_node_path" . -}}&NodePath{&ret} +{{- else if eq "C.godot_plane" . -}}&Plane{&ret} +{{- else if eq "C.godot_quat" . -}}&Quat{&ret} +{{- else if eq "C.godot_rect2" . -}}&Rect2{&ret} +{{- else if eq "C.godot_aabb" . -}}&AABB{&ret} +{{- else if eq "C.godot_rid" . -}}&RID{&ret} +{{- else if eq "C.godot_transform" . -}}&Transform{&ret} +{{- else if eq "C.godot_transform2d" . -}}&Transform2D{&ret} +{{- else if eq "C.godot_variant" . -}}&Variant{&ret} +{{- else if eq "C.godot_vector2" . -}}&Vector2{&ret} +{{- else if eq "C.godot_vector3" . -}}&Vector3{&ret} +{{- else if eq "C.godot_pool_byte_array" . -}}&PoolByteArray{&ret} +{{- else if eq "C.godot_pool_int_array" . -}}&PoolIntArray{&ret} +{{- else if eq "C.godot_pool_real_array" . -}}&PoolRealArray{&ret} +{{- else if eq "C.godot_pool_string_array" . -}}&PoolStringArray{&ret} +{{- else if eq "C.godot_pool_vector2_array" . -}}&PoolVector2Array{&ret} +{{- else if eq "C.godot_pool_vector3_array" . -}}&PoolVector3Array{&ret} +{{- else if eq "C.godot_pool_color_array" . -}}&PoolColorArray{&ret} +{{- else -}}&Object{&ret} +{{- end}} \ No newline at end of file diff --git a/templates/godotcall.template b/templates/godotcall.template new file mode 100644 index 00000000..aac34f61 --- /dev/null +++ b/templates/godotcall.template @@ -0,0 +1,50 @@ +{{ $view := . -}} + +func {{ $view.GodotCallDef }} { + + methodBind := getGodotMethod(o.baseClass(), methodName) + + // Construct a C array that will contain pointers to our arguments. + {{ if $view.Debug }}log.Println(" Allocating argument array in C."){{end}} + cArgsArray := C.build_array(C.int({{ len .Arguments }})) + {{ if $view.Debug }}log.Println(" C Array: ", cArgsArray){{end}} + + {{ range $i, $arg := .Arguments }} + {{ if $arg.IsPrimitive }} + primArg{{ $i }} := {{ template "go2godot.template" $arg}} + cArg{{ $i }} := unsafe.Pointer(&primArg{{ $i }}) + {{ else }} + cArg{{ $i }} := unsafe.Pointer({{ template "go2godot.template" $arg}}) + {{ end }} + C.add_element(cArgsArray, cArg{{ $i }}, C.int({{ $i }})) + {{ end }} + {{ if $view.Debug }}log.Println(" Built argument array from variant arguments: ", cArgsArray){{end}} + + {{ if eq .ReturnType "void" }} + {{ if $view.Debug }}log.Println(" No return value."){{end}} + {{ else }} + // Construct our return object that will be populated by the method call. + {{ if $view.Debug }}log.Println(" Building return value."){{end}} + var ret {{ $view.GetReturnType }} + retPtr := unsafe.Pointer(&ret) + {{ end }} + + // Get the Godot objects owner so we can pass it to godot_method_bind_ptrcall. + {{ if $view.Debug }}log.Println(" Using godot object owner:", o.getOwner()){{end}} + objectOwner := unsafe.Pointer(o.getOwner()) + + // Call the parent method. "ret" will be populated with the return value. + {{ if $view.Debug }}log.Println(" Calling bind_ptrcall..."){{end}} + C.godot_method_bind_ptrcall( + methodBind, + objectOwner, + cArgsArray, // void** + {{ if eq .ReturnType "void" -}}nil{{ else }}retPtr{{end}}, // void* + ) + {{ if $view.Debug }}log.Println(" Finished calling method"){{end}} + + {{ if ne .ReturnType "void" }} + // Convert the return value based on the type. + return {{ template "godot2go.template" $view.GetReturnType }} + {{end}} +} \ No newline at end of file diff --git a/templates/godotcalls.go.template b/templates/godotcalls.go.template new file mode 100644 index 00000000..4fffbb86 --- /dev/null +++ b/templates/godotcalls.go.template @@ -0,0 +1,56 @@ +package godot + +/* +#include +#include +#include +#include + +void **build_array(int length); +void **build_array(int length) { + void *ptr; + void **arr = malloc(sizeof(void *) * length); + for (int i = 0; i < length; i++) { + arr[i] = ptr; + } + + return arr; +} + +void add_element(void**, void*, int); +void add_element(void **array, void *element, int index) { + {{ if .Debug }}printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]);{{end}} + array[index] = element; + {{ if .Debug }} + printf("CGO: Index %i %p\n", index, element); + printf("CGO: Array %p %p %p %p %p\n", &array, array, &array[index], *array, array[index]); + {{end}} +} +*/ +import "C" + +import ( + {{ if .Debug }}"log"{{end}} + "unsafe" +) + +func getGodotMethod(baseClass string, methodName string) *C.godot_method_bind { + // Convert the base class and method names to C strings. + {{ if .Debug }}log.Println(" Using base class: ", baseClass){{end}} + classCString := C.CString(baseClass) + defer C.free(unsafe.Pointer(classCString)) + + {{ if .Debug }}log.Println(" Using method name: ", methodName){{end}} + methodCString := C.CString(methodName) + defer C.free(unsafe.Pointer(methodCString)) + + // Get the Godot method bind pointer so we can pass it to godot_method_bind_ptrcall. + var methodBind *C.godot_method_bind + methodBind = C.godot_method_bind_get_method(classCString, methodCString) + {{ if .Debug }}log.Println(" Using method bind pointer: ", methodBind){{end}} + return methodBind +} + +{{ range .GodotCalls -}} + {{ template "godotcall.template" .}} +{{ end }} \ No newline at end of file