浏览代码

gdextension: Sync with upstream commit 7e79aead99a53ee7cdf383add9a6a2aea4f15beb (4.0-rc3)

Rémi Verschelde 2 年之前
父节点
当前提交
c1ff169bf3
共有 1 个文件被更改,包括 174 次插入183 次删除
  1. 174 183
      gdextension/extension_api.json

+ 174 - 183
gdextension/extension_api.json

@@ -3,9 +3,9 @@
 		"version_major": 4,
 		"version_minor": 0,
 		"version_patch": 0,
-		"version_status": "rc2",
+		"version_status": "rc3",
 		"version_build": "official",
-		"version_full_name": "Godot Engine v4.0.rc2.official"
+		"version_full_name": "Godot Engine v4.0.rc3.official"
 	},
 	"builtin_class_sizes": [
 		{
@@ -45858,33 +45858,6 @@
 						"meta": "int32"
 					}
 				},
-				{
-					"name": "set_default_length",
-					"is_const": false,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 373806689,
-					"arguments": [
-						{
-							"name": "default_length",
-							"type": "float",
-							"meta": "float"
-						}
-					]
-				},
-				{
-					"name": "get_default_length",
-					"is_const": true,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 1740695150,
-					"return_value": {
-						"type": "float",
-						"meta": "float"
-					}
-				},
 				{
 					"name": "set_autocalculate_length_and_angle",
 					"is_const": false,
@@ -78868,7 +78841,7 @@
 					"arguments": [
 						{
 							"name": "object",
-							"type": "Variant"
+							"type": "Object"
 						}
 					]
 				},
@@ -80857,7 +80830,7 @@
 					"arguments": [
 						{
 							"name": "object",
-							"type": "Variant"
+							"type": "Object"
 						}
 					]
 				},
@@ -80873,7 +80846,7 @@
 					"arguments": [
 						{
 							"name": "object",
-							"type": "Variant"
+							"type": "Object"
 						}
 					]
 				},
@@ -90064,6 +90037,14 @@
 						"type": "String"
 					}
 				},
+				{
+					"name": "close",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3218959716
+				},
 				{
 					"name": "file_exists",
 					"is_const": false,
@@ -96244,31 +96225,6 @@
 						}
 					]
 				},
-				{
-					"name": "get_joint",
-					"is_const": false,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 2240911060,
-					"return_value": {
-						"type": "bool"
-					}
-				},
-				{
-					"name": "set_joint",
-					"is_const": false,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 2586408642,
-					"arguments": [
-						{
-							"name": "joint",
-							"type": "bool"
-						}
-					]
-				},
 				{
 					"name": "get_position",
 					"is_const": false,
@@ -96475,12 +96431,6 @@
 					"setter": "set_skeleton",
 					"getter": "get_skeleton"
 				},
-				{
-					"type": "bool",
-					"name": "joint",
-					"setter": "set_joint",
-					"getter": "get_joint"
-				},
 				{
 					"type": "Vector3",
 					"name": "position",
@@ -117093,7 +117043,7 @@
 					"hash": 1286410249,
 					"arguments": [
 						{
-							"name": "visible_lines",
+							"name": "lines_visible",
 							"type": "int",
 							"meta": "int32"
 						}
@@ -128503,6 +128453,9 @@
 				}
 			],
 			"signals": [
+				{
+					"name": "synchronized"
+				},
 				{
 					"name": "visibility_changed",
 					"arguments": [
@@ -130356,6 +130309,56 @@
 						"type": "Vector2"
 					}
 				},
+				{
+					"name": "set_global_start_position",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 743155724,
+					"arguments": [
+						{
+							"name": "position",
+							"type": "Vector2"
+						}
+					]
+				},
+				{
+					"name": "get_global_start_position",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3341600327,
+					"return_value": {
+						"type": "Vector2"
+					}
+				},
+				{
+					"name": "set_global_end_position",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 743155724,
+					"arguments": [
+						{
+							"name": "position",
+							"type": "Vector2"
+						}
+					]
+				},
+				{
+					"name": "get_global_end_position",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3341600327,
+					"return_value": {
+						"type": "Vector2"
+					}
+				},
 				{
 					"name": "set_enter_cost",
 					"is_const": false,
@@ -130627,6 +130630,56 @@
 						"type": "Vector3"
 					}
 				},
+				{
+					"name": "set_global_start_position",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3460891852,
+					"arguments": [
+						{
+							"name": "position",
+							"type": "Vector3"
+						}
+					]
+				},
+				{
+					"name": "get_global_start_position",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3360562783,
+					"return_value": {
+						"type": "Vector3"
+					}
+				},
+				{
+					"name": "set_global_end_position",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3460891852,
+					"arguments": [
+						{
+							"name": "position",
+							"type": "Vector3"
+						}
+					]
+				},
+				{
+					"name": "get_global_end_position",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3360562783,
+					"return_value": {
+						"type": "Vector3"
+					}
+				},
 				{
 					"name": "set_enter_cost",
 					"is_const": false,
@@ -134715,6 +134768,31 @@
 							"type": "RID"
 						}
 					]
+				},
+				{
+					"name": "set_debug_enabled",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 2586408642,
+					"arguments": [
+						{
+							"name": "enabled",
+							"type": "bool"
+						}
+					]
+				},
+				{
+					"name": "get_debug_enabled",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 36873697,
+					"return_value": {
+						"type": "bool"
+					}
 				}
 			],
 			"signals": [
@@ -136086,20 +136164,30 @@
 					]
 				},
 				{
-					"name": "process",
+					"name": "set_debug_enabled",
 					"is_const": false,
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 373806689,
+					"hash": 2586408642,
 					"arguments": [
 						{
-							"name": "delta_time",
-							"type": "float",
-							"meta": "float"
+							"name": "enabled",
+							"type": "bool"
 						}
 					]
 				},
+				{
+					"name": "get_debug_enabled",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 36873697,
+					"return_value": {
+						"type": "bool"
+					}
+				},
 				{
 					"name": "get_process_info",
 					"is_const": true,
@@ -195206,120 +195294,6 @@
 						}
 					]
 				},
-				{
-					"name": "ItemType",
-					"is_bitfield": false,
-					"values": [
-						{
-							"name": "ITEM_FRAME",
-							"value": 0
-						},
-						{
-							"name": "ITEM_TEXT",
-							"value": 1
-						},
-						{
-							"name": "ITEM_IMAGE",
-							"value": 2
-						},
-						{
-							"name": "ITEM_NEWLINE",
-							"value": 3
-						},
-						{
-							"name": "ITEM_FONT",
-							"value": 4
-						},
-						{
-							"name": "ITEM_FONT_SIZE",
-							"value": 5
-						},
-						{
-							"name": "ITEM_FONT_FEATURES",
-							"value": 6
-						},
-						{
-							"name": "ITEM_COLOR",
-							"value": 7
-						},
-						{
-							"name": "ITEM_OUTLINE_SIZE",
-							"value": 8
-						},
-						{
-							"name": "ITEM_OUTLINE_COLOR",
-							"value": 9
-						},
-						{
-							"name": "ITEM_UNDERLINE",
-							"value": 10
-						},
-						{
-							"name": "ITEM_STRIKETHROUGH",
-							"value": 11
-						},
-						{
-							"name": "ITEM_PARAGRAPH",
-							"value": 12
-						},
-						{
-							"name": "ITEM_INDENT",
-							"value": 13
-						},
-						{
-							"name": "ITEM_LIST",
-							"value": 14
-						},
-						{
-							"name": "ITEM_TABLE",
-							"value": 15
-						},
-						{
-							"name": "ITEM_FADE",
-							"value": 16
-						},
-						{
-							"name": "ITEM_SHAKE",
-							"value": 17
-						},
-						{
-							"name": "ITEM_WAVE",
-							"value": 18
-						},
-						{
-							"name": "ITEM_TORNADO",
-							"value": 19
-						},
-						{
-							"name": "ITEM_RAINBOW",
-							"value": 20
-						},
-						{
-							"name": "ITEM_BGCOLOR",
-							"value": 21
-						},
-						{
-							"name": "ITEM_FGCOLOR",
-							"value": 22
-						},
-						{
-							"name": "ITEM_META",
-							"value": 23
-						},
-						{
-							"name": "ITEM_HINT",
-							"value": 24
-						},
-						{
-							"name": "ITEM_DROPCAP",
-							"value": 25
-						},
-						{
-							"name": "ITEM_CUSTOMFX",
-							"value": 26
-						}
-					]
-				},
 				{
 					"name": "MenuItems",
 					"is_bitfield": false,
@@ -201566,6 +201540,16 @@
 						"type": "Script"
 					}
 				},
+				{
+					"name": "_get_global_name",
+					"is_const": true,
+					"is_static": false,
+					"is_vararg": false,
+					"is_virtual": true,
+					"return_value": {
+						"type": "StringName"
+					}
+				},
 				{
 					"name": "_inherits_script",
 					"is_const": true,
@@ -217389,6 +217373,13 @@
 				}
 			]
 		},
+		{
+			"name": "TTS_Linux",
+			"is_refcounted": false,
+			"is_instantiable": false,
+			"inherits": "Object",
+			"api_type": "core"
+		},
 		{
 			"name": "TabBar",
 			"is_refcounted": false,