From 17c1d1fd502e2eb32b4a3dfff11182865db542f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 15 Jul 2022 09:57:17 +0200 Subject: [PATCH] headers: Sync with upstream commit 9904a9db5 --- godot-headers/extension_api.json | 266 ++++++++++++++++++------------- 1 file changed, 154 insertions(+), 112 deletions(-) diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index c0c832e5..13f5b07d 100644 --- a/godot-headers/extension_api.json +++ b/godot-headers/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 0, "version_patch": 0, - "version_status": "alpha12", - "version_build": "official", - "version_full_name": "Godot Engine v4.0.alpha12.official" + "version_status": "alpha", + "version_build": "custom_build", + "version_full_name": "Godot Engine v4.0.alpha.custom_build" }, "builtin_class_sizes": [ { @@ -3413,6 +3413,10 @@ "name": "PROPERTY_USAGE_SUBGROUP", "value": 256 }, + { + "name": "PROPERTY_USAGE_CLASS_IS_BITFIELD", + "value": 512 + }, { "name": "PROPERTY_USAGE_NO_INSTANCE_STATE", "value": 1024 @@ -55763,7 +55767,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1614871041, + "hash": 2853740748, "arguments": [ { "name": "font", @@ -55800,9 +55804,8 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" }, { @@ -55823,7 +55826,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 732249721, + "hash": 3563325278, "arguments": [ { "name": "font", @@ -55866,10 +55869,14 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" }, { "name": "direction", @@ -55889,7 +55896,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2688642466, + "hash": 2218291162, "arguments": [ { "name": "font", @@ -55932,9 +55939,8 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" }, { @@ -55955,7 +55961,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1462333669, + "hash": 696040085, "arguments": [ { "name": "font", @@ -56004,10 +56010,14 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" }, { "name": "direction", @@ -89336,10 +89346,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 2520224254, "return_value": { - "type": "int", - "meta": "uint32" + "type": "bitfield::TextServer.FontStyle" } }, { @@ -89397,7 +89406,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2331164061, + "hash": 3678918099, "return_value": { "type": "Vector2" }, @@ -89424,9 +89433,8 @@ "default_value": "16" }, { - "name": "flags", - "type": "int", - "meta": "uint16", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" }, { @@ -89447,7 +89455,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3379992431, + "hash": 2427690650, "return_value": { "type": "Vector2" }, @@ -89480,10 +89488,14 @@ "default_value": "-1" }, { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "96" + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" }, { "name": "direction", @@ -89503,7 +89515,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 138580444, + "hash": 1845275776, "arguments": [ { "name": "canvas_item", @@ -89540,9 +89552,8 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" }, { @@ -89563,7 +89574,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 940169859, + "hash": 75068056, "arguments": [ { "name": "canvas_item", @@ -89606,10 +89617,14 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" }, { "name": "direction", @@ -89629,7 +89644,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2847927244, + "hash": 1078083147, "arguments": [ { "name": "canvas_item", @@ -89672,9 +89687,8 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" }, { @@ -89695,7 +89709,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1121509675, + "hash": 3263989537, "arguments": [ { "name": "canvas_item", @@ -89744,10 +89758,14 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" }, { "name": "direction", @@ -90059,12 +90077,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 918070724, "arguments": [ { "name": "style", - "type": "int", - "meta": "uint32" + "type": "bitfield::TextServer.FontStyle" } ] }, @@ -182428,7 +182445,7 @@ }, { "name": "flags", - "type": "enum::ResourceSaver.SaverFlags", + "type": "bitfield::ResourceSaver.SaverFlags", "default_value": "0" } ] @@ -211157,12 +211174,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 2877345813, "arguments": [ { "name": "flags", - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.JustificationFlag" } ] }, @@ -211172,10 +211188,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 1583363614, "return_value": { - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.JustificationFlag" } }, { @@ -212213,30 +212228,53 @@ ] }, { - "name": "set_flags", + "name": "set_break_flags", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 2809697122, "arguments": [ { "name": "flags", - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, { - "name": "get_flags", + "name": "get_break_flags", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 2340632602, "return_value": { - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.LineBreakFlag" + } + }, + { + "name": "set_justification_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2877345813, + "arguments": [ + { + "name": "flags", + "type": "bitfield::TextServer.JustificationFlag" + } + ] + }, + { + "name": "get_justification_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1583363614, + "return_value": { + "type": "bitfield::TextServer.JustificationFlag" } }, { @@ -212826,9 +212864,16 @@ }, { "type": "int", - "name": "flags", - "setter": "set_flags", - "getter": "get_flags", + "name": "break_flags", + "setter": "set_break_flags", + "getter": "get_break_flags", + "index": -1 + }, + { + "type": "int", + "name": "justification_flags", + "setter": "set_justification_flags", + "getter": "get_justification_flags", "index": -1 }, { @@ -212895,7 +212940,7 @@ }, { "name": "JustificationFlag", - "is_bitfield": false, + "is_bitfield": true, "values": [ { "name": "JUSTIFICATION_NONE", @@ -212947,7 +212992,7 @@ }, { "name": "LineBreakFlag", - "is_bitfield": false, + "is_bitfield": true, "values": [ { "name": "BREAK_NONE", @@ -212955,19 +213000,19 @@ }, { "name": "BREAK_MANDATORY", - "value": 32 + "value": 1 }, { "name": "BREAK_WORD_BOUND", - "value": 64 + "value": 2 }, { "name": "BREAK_GRAPHEME_BOUND", - "value": 128 + "value": 4 }, { - "name": "BREAK_WORD_BOUND_ADAPTIVE", - "value": 320 + "name": "BREAK_ADAPTIVE", + "value": 8 } ] }, @@ -213025,7 +213070,7 @@ }, { "name": "TextOverrunFlag", - "is_bitfield": false, + "is_bitfield": true, "values": [ { "name": "OVERRUN_NO_TRIM", @@ -213055,7 +213100,7 @@ }, { "name": "GraphemeFlag", - "is_bitfield": false, + "is_bitfield": true, "values": [ { "name": "GRAPHEME_IS_VALID", @@ -213246,12 +213291,16 @@ { "name": "SPACING_BOTTOM", "value": 3 + }, + { + "name": "SPACING_MAX", + "value": 4 } ] }, { "name": "FontStyle", - "is_bitfield": false, + "is_bitfield": true, "values": [ { "name": "FONT_BOLD", @@ -213573,7 +213622,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2347056579, + "hash": 126051074, "arguments": [ { "name": "font_rid", @@ -213581,8 +213630,7 @@ }, { "name": "style", - "type": "int", - "meta": "int64" + "type": "bitfield::TextServer.FontStyle" } ] }, @@ -213592,10 +213640,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2246043824, + "hash": 3185464023, "return_value": { - "type": "int", - "meta": "int64" + "type": "bitfield::TextServer.FontStyle" }, "arguments": [ { @@ -216198,7 +216245,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1504114224, + "hash": 1188226230, "return_value": { "type": "float", "meta": "double" @@ -216215,8 +216262,7 @@ }, { "name": "jst_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" } ] @@ -216352,7 +216398,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1314516185, + "hash": 1598254745, "return_value": { "type": "PackedInt32Array" }, @@ -216378,9 +216424,8 @@ }, { "name": "break_flags", - "type": "int", - "meta": "int64", - "default_value": "96" + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" } ] }, @@ -216390,7 +216435,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3684626562, + "hash": 3097078424, "return_value": { "type": "PackedInt32Array" }, @@ -216412,9 +216457,8 @@ }, { "name": "break_flags", - "type": "int", - "meta": "int64", - "default_value": "96" + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" } ] }, @@ -216424,7 +216468,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 398697570, + "hash": 1186377815, "return_value": { "type": "PackedInt32Array" }, @@ -216435,8 +216479,7 @@ }, { "name": "grapheme_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.GraphemeFlag", "default_value": "264" } ] @@ -216518,7 +216561,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3993833698, + "hash": 1610150659, "arguments": [ { "name": "shaped", @@ -216532,8 +216575,7 @@ }, { "name": "overrun_trim_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.TextOverrunFlag", "default_value": "0" } ] @@ -217425,7 +217467,7 @@ }, { "name": "style", - "type": "int" + "type": "bitfield::TextServer.FontStyle" } ] }, @@ -217436,7 +217478,7 @@ "is_vararg": false, "is_virtual": true, "return_value": { - "type": "int" + "type": "bitfield::TextServer.FontStyle" }, "arguments": [ { @@ -219831,7 +219873,7 @@ }, { "name": "jst_flags", - "type": "int" + "type": "bitfield::TextServer.JustificationFlag" } ] }, @@ -220011,7 +220053,7 @@ }, { "name": "break_flags", - "type": "int" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, @@ -220039,7 +220081,7 @@ }, { "name": "break_flags", - "type": "int" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, @@ -220059,7 +220101,7 @@ }, { "name": "grapheme_flags", - "type": "int" + "type": "bitfield::TextServer.GraphemeFlag" } ] }, @@ -220144,7 +220186,7 @@ }, { "name": "trim_flags", - "type": "int" + "type": "bitfield::TextServer.TextOverrunFlag" } ] },