Bläddra i källkod

gdextension: Sync with upstream commit 15073afe3856abd2aa1622492fe50026c7d63dc1 (4.2.2-stable)

David Snopek 1 år sedan
förälder
incheckning
98c143a483
1 ändrade filer med 65 tillägg och 4 borttagningar
  1. 65 4
      gdextension/extension_api.json

+ 65 - 4
gdextension/extension_api.json

@@ -2,10 +2,10 @@
 	"header": {
 		"version_major": 4,
 		"version_minor": 2,
-		"version_patch": 1,
+		"version_patch": 2,
 		"version_status": "stable",
 		"version_build": "official",
-		"version_full_name": "Godot Engine v4.2.1.stable.official"
+		"version_full_name": "Godot Engine v4.2.2.stable.official"
 	},
 	"builtin_class_sizes": [
 		{
@@ -82143,6 +82143,24 @@
 						}
 					]
 				},
+				{
+					"name": "_begin_handle_action",
+					"is_const": false,
+					"is_static": false,
+					"is_vararg": false,
+					"is_virtual": true,
+					"arguments": [
+						{
+							"name": "id",
+							"type": "int",
+							"meta": "int32"
+						},
+						{
+							"name": "secondary",
+							"type": "bool"
+						}
+					]
+				},
 				{
 					"name": "_set_handle",
 					"is_const": false,
@@ -82700,6 +82718,28 @@
 						}
 					]
 				},
+				{
+					"name": "_begin_handle_action",
+					"is_const": false,
+					"is_static": false,
+					"is_vararg": false,
+					"is_virtual": true,
+					"arguments": [
+						{
+							"name": "gizmo",
+							"type": "EditorNode3DGizmo"
+						},
+						{
+							"name": "handle_id",
+							"type": "int",
+							"meta": "int32"
+						},
+						{
+							"name": "secondary",
+							"type": "bool"
+						}
+					]
+				},
 				{
 					"name": "_set_handle",
 					"is_const": false,
@@ -151041,6 +151081,10 @@
 				{
 					"name": "NOTIFICATION_PREDELETE",
 					"value": 1
+				},
+				{
+					"name": "NOTIFICATION_EXTENSION_RELOADED",
+					"value": 2
 				}
 			],
 			"enums": [
@@ -205983,6 +206027,23 @@
 						}
 					]
 				},
+				{
+					"name": "debug_canvas_item_get_rect",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 624227424,
+					"return_value": {
+						"type": "Rect2"
+					},
+					"arguments": [
+						{
+							"name": "item",
+							"type": "RID"
+						}
+					]
+				},
 				{
 					"name": "canvas_light_create",
 					"is_const": false,
@@ -207640,7 +207701,7 @@
 			"is_refcounted": true,
 			"is_instantiable": true,
 			"inherits": "ResourceImporter",
-			"api_type": "core"
+			"api_type": "editor"
 		},
 		{
 			"name": "ResourceImporterOBJ",
@@ -207654,7 +207715,7 @@
 			"is_refcounted": true,
 			"is_instantiable": true,
 			"inherits": "ResourceImporter",
-			"api_type": "core",
+			"api_type": "editor",
 			"methods": [
 				{
 					"name": "load_from_buffer",