gdextension: Sync with upstream commit a2575cba48121a9e31c3a550ebd29398a7facf3f (4.1-beta2)

pull/1139/head
Rémi Verschelde 2023-06-14 10:05:18 +02:00
parent d12cf071bb
commit be25a50617
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 421 additions and 22 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4,
"version_minor": 1,
"version_patch": 0,
"version_status": "beta1",
"version_status": "beta2",
"version_build": "official",
"version_full_name": "Godot Engine v4.1.beta1.official"
"version_full_name": "Godot Engine v4.1.beta2.official"
},
"builtin_class_sizes": [
{
@ -60841,6 +60841,28 @@
"value": 9
}
]
},
{
"name": "CodeCompletionLocation",
"is_bitfield": false,
"values": [
{
"name": "LOCATION_LOCAL",
"value": 0
},
{
"name": "LOCATION_PARENT_MASK",
"value": 256
},
{
"name": "LOCATION_OTHER_USER_CODE",
"value": 512
},
{
"name": "LOCATION_OTHER",
"value": 1024
}
]
}
],
"methods": [
@ -61995,7 +62017,7 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3965792804,
"hash": 1629240608,
"arguments": [
{
"name": "type",
@ -62023,6 +62045,12 @@
"name": "value",
"type": "Variant",
"default_value": "0"
},
{
"name": "location",
"type": "int",
"meta": "int32",
"default_value": "1024"
}
]
},
@ -80318,6 +80346,14 @@
}
]
},
{
"name": "mark_scene_as_unsaved",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3218959716
},
{
"name": "play_main_scene",
"is_const": false,
@ -84668,7 +84704,7 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3766330317,
"hash": 3577985681,
"arguments": [
{
"name": "name",
@ -84683,6 +84719,11 @@
"name": "custom_context",
"type": "Object",
"default_value": "null"
},
{
"name": "backward_undo_ops",
"type": "bool",
"default_value": "false"
}
]
},
@ -95064,10 +95105,7 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2215643711,
"hash_compatibility": [
852856452
],
"hash": 852856452,
"return_value": {
"type": "enum::Error"
},
@ -95079,11 +95117,6 @@
{
"name": "entry_symbol",
"type": "String"
},
{
"name": "use_legacy_interface",
"type": "bool",
"default_value": "false"
}
]
},
@ -118604,6 +118637,31 @@
"type": "bool"
}
},
{
"name": "set_tab_stops",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2899603908,
"arguments": [
{
"name": "tab_stops",
"type": "PackedFloat32Array"
}
]
},
{
"name": "get_tab_stops",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 675695659,
"return_value": {
"type": "PackedFloat32Array"
}
},
{
"name": "set_text_overrun_behavior",
"is_const": false,
@ -118949,6 +119007,12 @@
"setter": "set_uppercase",
"getter": "is_uppercase"
},
{
"type": "PackedFloat32Array",
"name": "tab_stops",
"setter": "set_tab_stops",
"getter": "get_tab_stops"
},
{
"type": "int",
"name": "lines_skipped",
@ -134772,7 +134836,7 @@
"api_type": "core",
"methods": [
{
"name": "get_obstacle_rid",
"name": "get_rid",
"is_const": true,
"is_vararg": false,
"is_static": false,
@ -134783,14 +134847,28 @@
}
},
{
"name": "get_agent_rid",
"name": "set_avoidance_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "get_avoidance_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2944877500,
"hash": 36873697,
"return_value": {
"type": "RID"
"type": "bool"
}
},
{
@ -134961,6 +135039,12 @@
}
],
"properties": [
{
"type": "bool",
"name": "avoidance_enabled",
"setter": "set_avoidance_enabled",
"getter": "get_avoidance_enabled"
},
{
"type": "Vector2",
"name": "velocity",
@ -134995,7 +135079,7 @@
"api_type": "core",
"methods": [
{
"name": "get_obstacle_rid",
"name": "get_rid",
"is_const": true,
"is_vararg": false,
"is_static": false,
@ -135006,14 +135090,28 @@
}
},
{
"name": "get_agent_rid",
"name": "set_avoidance_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "get_avoidance_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2944877500,
"hash": 36873697,
"return_value": {
"type": "RID"
"type": "bool"
}
},
{
@ -135236,6 +135334,12 @@
}
],
"properties": [
{
"type": "bool",
"name": "avoidance_enabled",
"setter": "set_avoidance_enabled",
"getter": "get_avoidance_enabled"
},
{
"type": "Vector3",
"name": "velocity",
@ -136363,6 +136467,33 @@
"is_static": false,
"is_virtual": false,
"hash": 3218959716
},
{
"name": "set_cell_size",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 373806689,
"arguments": [
{
"name": "cell_size",
"type": "float",
"meta": "float"
}
]
},
{
"name": "get_cell_size",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1740695150,
"return_value": {
"type": "float",
"meta": "float"
}
}
],
"properties": [
@ -136383,6 +136514,12 @@
"name": "outlines",
"setter": "_set_outlines",
"getter": "_get_outlines"
},
{
"type": "float",
"name": "cell_size",
"setter": "set_cell_size",
"getter": "get_cell_size"
}
]
},
@ -138398,6 +138535,41 @@
"type": "RID"
}
},
{
"name": "obstacle_set_avoidance_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1265174801,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "obstacle_get_avoidance_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "obstacle",
"type": "RID"
}
]
},
{
"name": "obstacle_set_map",
"is_const": false,
@ -138433,6 +138605,43 @@
}
]
},
{
"name": "obstacle_set_radius",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1794382983,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "radius",
"type": "float",
"meta": "float"
}
]
},
{
"name": "obstacle_set_velocity",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3201125042,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "velocity",
"type": "Vector2"
}
]
},
{
"name": "obstacle_set_position",
"is_const": false,
@ -138723,6 +138932,43 @@
}
]
},
{
"name": "map_set_cell_height",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1794382983,
"arguments": [
{
"name": "map",
"type": "RID"
},
{
"name": "cell_height",
"type": "float",
"meta": "float"
}
]
},
{
"name": "map_get_cell_height",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 866169185,
"return_value": {
"type": "float",
"meta": "float"
},
"arguments": [
{
"name": "map",
"type": "RID"
}
]
},
{
"name": "map_set_use_edge_connections",
"is_const": false,
@ -140131,6 +140377,76 @@
"type": "RID"
}
},
{
"name": "obstacle_set_avoidance_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1265174801,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "obstacle_get_avoidance_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "obstacle",
"type": "RID"
}
]
},
{
"name": "obstacle_set_use_3d_avoidance",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1265174801,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "obstacle_get_use_3d_avoidance",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "obstacle",
"type": "RID"
}
]
},
{
"name": "obstacle_set_map",
"is_const": false,
@ -140166,6 +140482,25 @@
}
]
},
{
"name": "obstacle_set_radius",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1794382983,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "radius",
"type": "float",
"meta": "float"
}
]
},
{
"name": "obstacle_set_height",
"is_const": false,
@ -140185,6 +140520,24 @@
}
]
},
{
"name": "obstacle_set_velocity",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3227306858,
"arguments": [
{
"name": "obstacle",
"type": "RID"
},
{
"name": "velocity",
"type": "Vector3"
}
]
},
{
"name": "obstacle_set_position",
"is_const": false,
@ -142506,6 +142859,15 @@
},
{
"name": "child_order_changed"
},
{
"name": "replacing_by",
"arguments": [
{
"name": "node",
"type": "Node"
}
]
}
],
"properties": [
@ -185768,6 +186130,24 @@
}
]
},
{
"name": "texture_get_native_handle",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3917799429,
"return_value": {
"type": "int",
"meta": "uint64"
},
"arguments": [
{
"name": "texture",
"type": "RID"
}
]
},
{
"name": "framebuffer_format_create",
"is_const": false,
@ -242264,6 +242644,20 @@
"return_value": {
"type": "Variant"
}
},
{
"name": "set_thread_safety_checks_enabled",
"is_const": false,
"is_vararg": false,
"is_static": true,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
}
]
},
@ -253785,7 +254179,7 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 183245820,
"hash": 3900135403,
"arguments": [
{
"name": "name",
@ -253795,6 +254189,11 @@
"name": "merge_mode",
"type": "enum::UndoRedo.MergeMode",
"default_value": "0"
},
{
"name": "backward_undo_ops",
"type": "bool",
"default_value": "false"
}
]
},