diff --git a/README.md b/README.md index 543dd80..60555a9 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,22 @@ > `NativeScript` uses GDNative to implement scripts backed by native code. +- [**Branches**](#branches) - [**Getting Started**](#getting-started) - [**FAQ**](#faq) +## Branches + +We maintain branches on this repo that relate directly to the main builds of Godot. +Make sure you use the correct branch for the version of Godot you are using! + +| Branch | Version of Godot | +| --- | --- | +| [master](https://github.com/GodotNativeTools/godot_headers) | Godot master | +| [3.2](https://github.com/GodotNativeTools/godot_headers/tree/3.2) | Godot 3.2.x | +| [3.1](https://github.com/GodotNativeTools/godot_headers/tree/3.1) | Godot 3.1.x | +| [3.0](https://github.com/GodotNativeTools/godot_headers/tree/3.0) | Godot 3.0.x | + ## Getting Started | **Build latest version of Godot** | [**GitHub**](https://github.com/godotengine/godot) | [**Docs**](https://godot.readthedocs.io/en/latest/development/compiling/index.html) | diff --git a/api.json b/api.json index 3853ced..1595842 100644 --- a/api.json +++ b/api.json @@ -1494,6 +1494,19 @@ "arguments": [ ] }, + { + "name": "get_tracker_id", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_tracks_orientation", "return_type": "bool", @@ -2529,6 +2542,56 @@ "signals": [ ], "methods": [ + { + "name": "_compute_cost", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "from_id", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "to_id", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_estimate_cost", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "from_id", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "to_id", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "add_point", "return_type": "void", @@ -4003,6 +4066,13 @@ "MAX_FRAMES": 256 }, "properties": [ + { + "name": "current_frame", + "type": "int", + "getter": "get_current_frame", + "setter": "set_current_frame", + "index": -1 + }, { "name": "fps", "type": "float", @@ -7600,6 +7670,20 @@ "getter": "get_frames", "setter": "set_frames", "index": -1 + }, + { + "name": "oneshot", + "type": "bool", + "getter": "get_oneshot", + "setter": "set_oneshot", + "index": -1 + }, + { + "name": "pause", + "type": "bool", + "getter": "get_pause", + "setter": "set_pause", + "index": -1 } ], "signals": [ @@ -7618,6 +7702,19 @@ "arguments": [ ] }, + { + "name": "get_current_frame", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_fps", "return_type": "float", @@ -7682,6 +7779,51 @@ "arguments": [ ] }, + { + "name": "get_oneshot", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_pause", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_current_frame", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "frame", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_fps", "return_type": "void", @@ -7769,6 +7911,44 @@ "default_value": "" } ] + }, + { + "name": "set_oneshot", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "oneshot", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_pause", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "pause", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ @@ -14099,6 +14279,31 @@ } ] }, + { + "name": "replace_node", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "name", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "node", + "type": "AnimationNode", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_end_node", "return_type": "void", @@ -33182,6 +33387,19 @@ "signals": [ ], "methods": [ + { + "name": "_texture_changed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "_update_render_thread", "return_type": "void", @@ -45729,7 +45947,26 @@ "default_value": "" }, { - "name": "pass", + "name": "password", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "parse", + "return_type": "enum.Error", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "data", "type": "String", "has_default_value": false, "default_value": "" @@ -45798,7 +46035,7 @@ "default_value": "" }, { - "name": "pass", + "name": "password", "type": "String", "has_default_value": false, "default_value": "" @@ -51315,6 +51552,75 @@ "enums": [ ] }, + { + "name": "DTLSServer", + "base_class": "Reference", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + ], + "signals": [ + ], + "methods": [ + { + "name": "setup", + "return_type": "enum.Error", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "key", + "type": "CryptoKey", + "has_default_value": false, + "default_value": "" + }, + { + "name": "certificate", + "type": "X509Certificate", + "has_default_value": false, + "default_value": "" + }, + { + "name": "chain", + "type": "X509Certificate", + "has_default_value": true, + "default_value": "[Object:null]" + } + ] + }, + { + "name": "take_connection", + "return_type": "PacketPeerDTLS", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "udp_peer", + "type": "PacketPeerUDP", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, { "name": "DampedSpringJoint2D", "base_class": "Joint2D", @@ -52490,6 +52796,25 @@ } ] }, + { + "name": "add_ios_project_static_lib", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "path", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "add_shared_object", "return_type": "void", @@ -55247,6 +55572,19 @@ "arguments": [ ] }, + { + "name": "get_file_system_dock", + "return_type": "FileSystemDock", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_inspector", "return_type": "EditorInspector", @@ -56196,7 +56534,7 @@ }, { "name": "get_plugin_icon", - "return_type": "Object", + "return_type": "Texture", "is_editor": false, "is_noscript": false, "is_const": false, @@ -63233,6 +63571,64 @@ "enums": [ ] }, + { + "name": "ExternalTexture", + "base_class": "Texture", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + { + "name": "size", + "type": "Vector2", + "getter": "get_size", + "setter": "set_size", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "get_external_texture_id", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_size", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "size", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, { "name": "FileDialog", "base_class": "ConfirmationDialog", @@ -63465,7 +63861,885 @@ ] }, { - "name": "_save_confirm_pressed", + "name": "_save_confirm_pressed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_select_drive", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_tree_item_activated", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_tree_multi_selected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_tree_selected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_unhandled_input", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "InputEvent", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_update_dir", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_update_file_list", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_update_file_name", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "add_filter", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "filter", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "clear_filters", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "deselect_items", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_access", + "return_type": "enum.FileDialog::Access", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_current_dir", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_current_file", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_current_path", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_filters", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_line_edit", + "return_type": "LineEdit", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_mode", + "return_type": "enum.FileDialog::Mode", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_vbox", + "return_type": "VBoxContainer", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "invalidate", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_mode_overriding_title", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_showing_hidden_files", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_access", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "access", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_current_dir", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "dir", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_current_file", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "file", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_current_path", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "path", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_filters", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "filters", + "type": "PoolStringArray", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_mode", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mode", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_mode_overrides_title", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "override", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_show_hidden_files", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "show", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + { + "name": "Mode", + "values": { + "MODE_OPEN_FILE": 0, + "MODE_OPEN_FILES": 1, + "MODE_OPEN_DIR": 2, + "MODE_OPEN_ANY": 3, + "MODE_SAVE_FILE": 4 + } + }, + { + "name": "Access", + "values": { + "ACCESS_RESOURCES": 0, + "ACCESS_USERDATA": 1, + "ACCESS_FILESYSTEM": 2 + } + } + ] + }, + { + "name": "FileSystemDock", + "base_class": "VBoxContainer", + "api_type": "tools", + "singleton": false, + "singleton_name": "", + "instanciable": false, + "is_reference": false, + "constants": { + }, + "properties": [ + ], + "signals": [ + { + "name": "display_mode_changed", + "arguments": [ + ] + }, + { + "name": "file_removed", + "arguments": [ + { + "name": "file", + "type": "String", + "default_value": "" + } + ] + }, + { + "name": "files_moved", + "arguments": [ + { + "name": "old_file", + "type": "String", + "default_value": "" + }, + { + "name": "new_file", + "type": "String", + "default_value": "" + } + ] + }, + { + "name": "folder_moved", + "arguments": [ + { + "name": "old_folder", + "type": "String", + "default_value": "" + }, + { + "name": "new_file", + "type": "String", + "default_value": "" + } + ] + }, + { + "name": "folder_removed", + "arguments": [ + { + "name": "folder", + "type": "String", + "default_value": "" + } + ] + }, + { + "name": "inherit", + "arguments": [ + { + "name": "file", + "type": "String", + "default_value": "" + } + ] + }, + { + "name": "instance", + "arguments": [ + { + "name": "files", + "type": "PoolStringArray", + "default_value": "" + } + ] + } + ], + "methods": [ + { + "name": "_bw_history", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_duplicate_operation_confirm", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_feature_profile_changed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_file_list_activate_file", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_list_gui_input", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "InputEvent", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_list_rmb_option", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "option", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_list_rmb_pressed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_list_rmb_select", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_list_thumbnail_done", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "Texture", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "Texture", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg3", + "type": "Variant", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_multi_selected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_file_removed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_folder_removed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_fs_changed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_fw_history", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_make_dir_confirm", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_make_scene_confirm", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63478,7 +64752,7 @@ ] }, { - "name": "_select_drive", + "name": "_move_operation_confirm", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63489,15 +64763,21 @@ "is_from_script": false, "arguments": [ { - "name": "arg0", - "type": "int", + "name": "to_path", + "type": "String", "has_default_value": false, "default_value": "" + }, + { + "name": "overwrite", + "type": "bool", + "has_default_value": true, + "default_value": "False" } ] }, { - "name": "_tree_item_activated", + "name": "_move_with_overwrite", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63510,7 +64790,7 @@ ] }, { - "name": "_tree_multi_selected", + "name": "_navigate_to_path", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63522,39 +64802,20 @@ "arguments": [ { "name": "arg0", - "type": "Object", + "type": "String", "has_default_value": false, "default_value": "" }, { "name": "arg1", - "type": "int", - "has_default_value": false, - "default_value": "" - }, - { - "name": "arg2", "type": "bool", - "has_default_value": false, - "default_value": "" + "has_default_value": true, + "default_value": "False" } ] }, { - "name": "_tree_selected", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": true, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "_unhandled_input", + "name": "_preview_invalidated", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63566,14 +64827,14 @@ "arguments": [ { "name": "arg0", - "type": "InputEvent", + "type": "String", "has_default_value": false, "default_value": "" } ] }, { - "name": "_update_dir", + "name": "_rename_operation_confirm", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63586,7 +64847,7 @@ ] }, { - "name": "_update_file_list", + "name": "_rescan", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63599,11 +64860,11 @@ ] }, { - "name": "_update_file_name", + "name": "_resource_created", "return_type": "void", "is_editor": false, "is_noscript": false, - "is_const": false, + "is_const": true, "is_reverse": false, "is_virtual": true, "has_varargs": false, @@ -63612,290 +64873,340 @@ ] }, { - "name": "add_filter", + "name": "_search_changed", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ { - "name": "filter", + "name": "arg0", "type": "String", "has_default_value": false, "default_value": "" + }, + { + "name": "arg1", + "type": "Control", + "has_default_value": false, + "default_value": "" } ] }, { - "name": "clear_filters", + "name": "_select_file", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "arg0", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "bool", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "deselect_items", + "name": "_toggle_file_display", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_access", - "return_type": "enum.FileDialog::Access", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_current_dir", - "return_type": "String", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_current_file", - "return_type": "String", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_current_path", - "return_type": "String", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ ] }, { - "name": "get_filters", - "return_type": "PoolStringArray", + "name": "_toggle_split_mode", + "return_type": "void", "is_editor": false, "is_noscript": false, - "is_const": true, + "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "arg0", + "type": "bool", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "get_line_edit", - "return_type": "LineEdit", + "name": "_tree_activate_file", + "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ ] }, { - "name": "get_mode", - "return_type": "enum.FileDialog::Mode", + "name": "_tree_empty_selected", + "return_type": "void", "is_editor": false, "is_noscript": false, - "is_const": true, + "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ ] }, { - "name": "get_vbox", - "return_type": "VBoxContainer", + "name": "_tree_gui_input", + "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "arg0", + "type": "InputEvent", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "invalidate", + "name": "_tree_multi_selected", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "arg0", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "bool", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "is_mode_overriding_title", - "return_type": "bool", + "name": "_tree_rmb_empty", + "return_type": "void", "is_editor": false, "is_noscript": false, - "is_const": true, + "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "arg0", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "is_showing_hidden_files", - "return_type": "bool", + "name": "_tree_rmb_option", + "return_type": "void", "is_editor": false, "is_noscript": false, - "is_const": true, + "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ + { + "name": "option", + "type": "int", + "has_default_value": false, + "default_value": "" + } ] }, { - "name": "set_access", + "name": "_tree_rmb_select", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ { - "name": "access", - "type": "int", + "name": "arg0", + "type": "Vector2", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_current_dir", + "name": "_tree_thumbnail_done", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ { - "name": "dir", + "name": "arg0", "type": "String", "has_default_value": false, "default_value": "" + }, + { + "name": "arg1", + "type": "Texture", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "Texture", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg3", + "type": "Variant", + "has_default_value": false, + "default_value": "" } ] }, { - "name": "set_current_file", + "name": "_update_import_dock", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ - { - "name": "file", - "type": "String", - "has_default_value": false, - "default_value": "" - } ] }, { - "name": "set_current_path", + "name": "_update_tree", "return_type": "void", "is_editor": false, "is_noscript": false, "is_const": false, "is_reverse": false, - "is_virtual": false, + "is_virtual": true, "has_varargs": false, "is_from_script": false, "arguments": [ { - "name": "path", - "type": "String", + "name": "arg0", + "type": "PoolStringArray", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "bool", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "bool", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg3", + "type": "bool", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_filters", - "return_type": "void", + "name": "can_drop_data_fw", + "return_type": "bool", "is_editor": false, "is_noscript": false, - "is_const": false, + "is_const": true, "is_reverse": false, "is_virtual": false, "has_varargs": false, "is_from_script": false, "arguments": [ { - "name": "filters", - "type": "PoolStringArray", + "name": "arg0", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "Variant", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "Control", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_mode", + "name": "drop_data_fw", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63906,16 +65217,28 @@ "is_from_script": false, "arguments": [ { - "name": "mode", - "type": "int", + "name": "arg0", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "Variant", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg2", + "type": "Control", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_mode_overrides_title", - "return_type": "void", + "name": "get_drag_data_fw", + "return_type": "Variant", "is_editor": false, "is_noscript": false, "is_const": false, @@ -63925,15 +65248,21 @@ "is_from_script": false, "arguments": [ { - "name": "override", - "type": "bool", + "name": "arg0", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arg1", + "type": "Control", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_show_hidden_files", + "name": "navigate_to_path", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -63944,8 +65273,8 @@ "is_from_script": false, "arguments": [ { - "name": "show", - "type": "bool", + "name": "arg0", + "type": "String", "has_default_value": false, "default_value": "" } @@ -63953,24 +65282,6 @@ } ], "enums": [ - { - "name": "Mode", - "values": { - "MODE_OPEN_FILE": 0, - "MODE_OPEN_FILES": 1, - "MODE_OPEN_DIR": 2, - "MODE_OPEN_ANY": 3, - "MODE_SAVE_FILE": 4 - } - }, - { - "name": "Access", - "values": { - "ACCESS_RESOURCES": 0, - "ACCESS_USERDATA": 1, - "ACCESS_FILESYSTEM": 2 - } - } ] }, { @@ -65728,6 +67039,9 @@ "PARAM_ANGULAR_MOTOR_FORCE_LIMIT": 18, "PARAM_ANGULAR_MOTOR_TARGET_VELOCITY": 17, "PARAM_ANGULAR_RESTITUTION": 14, + "PARAM_ANGULAR_SPRING_DAMPING": 20, + "PARAM_ANGULAR_SPRING_EQUILIBRIUM_POINT": 21, + "PARAM_ANGULAR_SPRING_STIFFNESS": 19, "PARAM_ANGULAR_UPPER_LIMIT": 11, "PARAM_LINEAR_DAMPING": 4, "PARAM_LINEAR_LIMIT_SOFTNESS": 2, @@ -65735,6 +67049,9 @@ "PARAM_LINEAR_MOTOR_FORCE_LIMIT": 6, "PARAM_LINEAR_MOTOR_TARGET_VELOCITY": 5, "PARAM_LINEAR_RESTITUTION": 3, + "PARAM_LINEAR_SPRING_DAMPING": 8, + "PARAM_LINEAR_SPRING_EQUILIBRIUM_POINT": 9, + "PARAM_LINEAR_SPRING_STIFFNESS": 7, "PARAM_LINEAR_UPPER_LIMIT": 1, "PARAM_MAX": 22 }, @@ -66838,6 +68155,9 @@ "PARAM_LINEAR_DAMPING": 4, "PARAM_LINEAR_MOTOR_TARGET_VELOCITY": 5, "PARAM_LINEAR_MOTOR_FORCE_LIMIT": 6, + "PARAM_LINEAR_SPRING_STIFFNESS": 7, + "PARAM_LINEAR_SPRING_DAMPING": 8, + "PARAM_LINEAR_SPRING_EQUILIBRIUM_POINT": 9, "PARAM_ANGULAR_LOWER_LIMIT": 10, "PARAM_ANGULAR_UPPER_LIMIT": 11, "PARAM_ANGULAR_LIMIT_SOFTNESS": 12, @@ -66847,6 +68167,9 @@ "PARAM_ANGULAR_ERP": 16, "PARAM_ANGULAR_MOTOR_TARGET_VELOCITY": 17, "PARAM_ANGULAR_MOTOR_FORCE_LIMIT": 18, + "PARAM_ANGULAR_SPRING_STIFFNESS": 19, + "PARAM_ANGULAR_SPRING_DAMPING": 20, + "PARAM_ANGULAR_SPRING_EQUILIBRIUM_POINT": 21, "PARAM_MAX": 22 } }, @@ -67781,6 +69104,16 @@ } ] }, + { + "name": "node_unselected", + "arguments": [ + { + "name": "node", + "type": "Node", + "default_value": "" + } + ] + }, { "name": "paste_nodes_request", "arguments": [ @@ -73065,6 +74398,19 @@ } ] }, + { + "name": "save_png_to_buffer", + "return_type": "PoolByteArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "set_pixel", "return_type": "void", @@ -75275,7 +76621,7 @@ "properties": [ { "name": "echo", - "type": "int", + "type": "bool", "getter": "is_echo", "setter": "set_echo", "index": -1 @@ -76010,7 +77356,7 @@ "return_type": "float", "is_editor": false, "is_noscript": false, - "is_const": false, + "is_const": true, "is_reverse": false, "is_virtual": false, "has_varargs": false, @@ -78805,6 +80151,25 @@ } ] }, + { + "name": "JNISingleton", + "base_class": "Object", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": false, + "constants": { + }, + "properties": [ + ], + "signals": [ + ], + "methods": [ + ], + "enums": [ + ] + }, { "name": "JSONParseResult", "base_class": "Reference", @@ -91434,6 +92799,13 @@ "setter": "set_compression_mode", "index": -1 }, + { + "name": "dtls_verify", + "type": "bool", + "getter": "is_dtls_verify_enabled", + "setter": "set_dtls_verify_enabled", + "index": -1 + }, { "name": "server_relay", "type": "bool", @@ -91447,6 +92819,13 @@ "getter": "get_transfer_channel", "setter": "set_transfer_channel", "index": -1 + }, + { + "name": "use_dtls", + "type": "bool", + "getter": "is_dtls_enabled", + "setter": "set_dtls_enabled", + "index": -1 } ], "signals": [ @@ -91692,6 +93071,32 @@ "arguments": [ ] }, + { + "name": "is_dtls_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_dtls_verify_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "is_server_relay_enabled", "return_type": "bool", @@ -91781,6 +93186,82 @@ } ] }, + { + "name": "set_dtls_certificate", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "certificate", + "type": "X509Certificate", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_dtls_enabled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_dtls_key", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "key", + "type": "CryptoKey", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_dtls_verify_enabled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_server_relay_enabled", "return_type": "void", @@ -94353,6 +95834,20 @@ "setter": "set_scale", "index": -1 }, + { + "name": "skew", + "type": "float", + "getter": "get_skew", + "setter": "set_skew", + "index": -1 + }, + { + "name": "skew_degrees", + "type": "float", + "getter": "get_skew_degrees", + "setter": "set_skew_degrees", + "index": -1 + }, { "name": "transform", "type": "Transform2D", @@ -94539,6 +96034,32 @@ "arguments": [ ] }, + { + "name": "get_skew", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_skew_degrees", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_z_index", "return_type": "int", @@ -94843,6 +96364,44 @@ } ] }, + { + "name": "set_skew", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "radians", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_skew_degrees", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "degrees", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_transform", "return_type": "void", @@ -95799,6 +97358,25 @@ } ] }, + { + "name": "has_signal", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "signal", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "has_user_signal", "return_type": "bool", @@ -96868,7 +98446,7 @@ "name": "item_focused", "arguments": [ { - "name": "id", + "name": "index", "type": "int", "default_value": "" } @@ -96878,7 +98456,7 @@ "name": "item_selected", "arguments": [ { - "name": "id", + "name": "index", "type": "int", "default_value": "" } @@ -98110,6 +99688,116 @@ "enums": [ ] }, + { + "name": "PacketPeerDTLS", + "base_class": "PacketPeer", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + "STATUS_CONNECTED": 2, + "STATUS_DISCONNECTED": 0, + "STATUS_ERROR": 3, + "STATUS_ERROR_HOSTNAME_MISMATCH": 4, + "STATUS_HANDSHAKING": 1 + }, + "properties": [ + ], + "signals": [ + ], + "methods": [ + { + "name": "connect_to_peer", + "return_type": "enum.Error", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "packet_peer", + "type": "PacketPeerUDP", + "has_default_value": false, + "default_value": "" + }, + { + "name": "validate_certs", + "type": "bool", + "has_default_value": true, + "default_value": "True" + }, + { + "name": "for_hostname", + "type": "String", + "has_default_value": true, + "default_value": "" + }, + { + "name": "valid_certificate", + "type": "X509Certificate", + "has_default_value": true, + "default_value": "[Object:null]" + } + ] + }, + { + "name": "disconnect_from_peer", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_status", + "return_type": "enum.PacketPeerDTLS::Status", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "poll", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + } + ], + "enums": [ + { + "name": "Status", + "values": { + "STATUS_DISCONNECTED": 0, + "STATUS_HANDSHAKING": 1, + "STATUS_CONNECTED": 2, + "STATUS_ERROR": 3, + "STATUS_ERROR_HOSTNAME_MISMATCH": 4 + } + } + ] + }, { "name": "PacketPeerGDNative", "base_class": "PacketPeer", @@ -98293,6 +99981,31 @@ "arguments": [ ] }, + { + "name": "connect_to_host", + "return_type": "enum.Error", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "host", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "port", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_packet_ip", "return_type": "String", @@ -98319,6 +100032,19 @@ "arguments": [ ] }, + { + "name": "is_connected_to_host", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "is_listening", "return_type": "bool", @@ -102355,33 +104081,35 @@ "instanciable": false, "is_reference": false, "constants": { - "AUDIO_OUTPUT_LATENCY": 28, + "AUDIO_OUTPUT_LATENCY": 30, "MEMORY_DYNAMIC": 4, "MEMORY_DYNAMIC_MAX": 6, "MEMORY_MESSAGE_BUFFER_MAX": 7, "MEMORY_STATIC": 3, "MEMORY_STATIC_MAX": 5, - "MONITOR_MAX": 29, + "MONITOR_MAX": 31, "OBJECT_COUNT": 8, "OBJECT_NODE_COUNT": 10, "OBJECT_ORPHAN_NODE_COUNT": 11, "OBJECT_RESOURCE_COUNT": 9, - "PHYSICS_2D_ACTIVE_OBJECTS": 22, - "PHYSICS_2D_COLLISION_PAIRS": 23, - "PHYSICS_2D_ISLAND_COUNT": 24, - "PHYSICS_3D_ACTIVE_OBJECTS": 25, - "PHYSICS_3D_COLLISION_PAIRS": 26, - "PHYSICS_3D_ISLAND_COUNT": 27, + "PHYSICS_2D_ACTIVE_OBJECTS": 24, + "PHYSICS_2D_COLLISION_PAIRS": 25, + "PHYSICS_2D_ISLAND_COUNT": 26, + "PHYSICS_3D_ACTIVE_OBJECTS": 27, + "PHYSICS_3D_COLLISION_PAIRS": 28, + "PHYSICS_3D_ISLAND_COUNT": 29, + "RENDER_2D_DRAW_CALLS_IN_FRAME": 19, + "RENDER_2D_ITEMS_IN_FRAME": 18, "RENDER_DRAW_CALLS_IN_FRAME": 17, "RENDER_MATERIAL_CHANGES_IN_FRAME": 14, "RENDER_OBJECTS_IN_FRAME": 12, "RENDER_SHADER_CHANGES_IN_FRAME": 15, "RENDER_SURFACE_CHANGES_IN_FRAME": 16, - "RENDER_TEXTURE_MEM_USED": 19, - "RENDER_USAGE_VIDEO_MEM_TOTAL": 21, - "RENDER_VERTEX_MEM_USED": 20, + "RENDER_TEXTURE_MEM_USED": 21, + "RENDER_USAGE_VIDEO_MEM_TOTAL": 23, + "RENDER_VERTEX_MEM_USED": 22, "RENDER_VERTICES_IN_FRAME": 13, - "RENDER_VIDEO_MEM_USED": 18, + "RENDER_VIDEO_MEM_USED": 20, "TIME_FPS": 0, "TIME_PHYSICS_PROCESS": 2, "TIME_PROCESS": 1 @@ -102433,18 +104161,20 @@ "RENDER_SHADER_CHANGES_IN_FRAME": 15, "RENDER_SURFACE_CHANGES_IN_FRAME": 16, "RENDER_DRAW_CALLS_IN_FRAME": 17, - "RENDER_VIDEO_MEM_USED": 18, - "RENDER_TEXTURE_MEM_USED": 19, - "RENDER_VERTEX_MEM_USED": 20, - "RENDER_USAGE_VIDEO_MEM_TOTAL": 21, - "PHYSICS_2D_ACTIVE_OBJECTS": 22, - "PHYSICS_2D_COLLISION_PAIRS": 23, - "PHYSICS_2D_ISLAND_COUNT": 24, - "PHYSICS_3D_ACTIVE_OBJECTS": 25, - "PHYSICS_3D_COLLISION_PAIRS": 26, - "PHYSICS_3D_ISLAND_COUNT": 27, - "AUDIO_OUTPUT_LATENCY": 28, - "MONITOR_MAX": 29 + "RENDER_2D_ITEMS_IN_FRAME": 18, + "RENDER_2D_DRAW_CALLS_IN_FRAME": 19, + "RENDER_VIDEO_MEM_USED": 20, + "RENDER_TEXTURE_MEM_USED": 21, + "RENDER_VERTEX_MEM_USED": 22, + "RENDER_USAGE_VIDEO_MEM_TOTAL": 23, + "PHYSICS_2D_ACTIVE_OBJECTS": 24, + "PHYSICS_2D_COLLISION_PAIRS": 25, + "PHYSICS_2D_ISLAND_COUNT": 26, + "PHYSICS_3D_ACTIVE_OBJECTS": 27, + "PHYSICS_3D_COLLISION_PAIRS": 28, + "PHYSICS_3D_ISLAND_COUNT": 29, + "AUDIO_OUTPUT_LATENCY": 30, + "MONITOR_MAX": 31 } } ] @@ -114764,6 +116494,19 @@ "arguments": [ ] }, + { + "name": "get_current_index", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_item_accelerator", "return_type": "int", @@ -121199,25 +122942,6 @@ "enums": [ ] }, - { - "name": "ResourceFormatLoaderCrypto", - "base_class": "ResourceFormatLoader", - "api_type": "core", - "singleton": false, - "singleton_name": "", - "instanciable": false, - "is_reference": true, - "constants": { - }, - "properties": [ - ], - "signals": [ - ], - "methods": [ - ], - "enums": [ - ] - }, { "name": "ResourceFormatSaver", "base_class": "Reference", @@ -121306,25 +123030,6 @@ "enums": [ ] }, - { - "name": "ResourceFormatSaverCrypto", - "base_class": "ResourceFormatSaver", - "api_type": "core", - "singleton": false, - "singleton_name": "", - "instanciable": false, - "is_reference": true, - "constants": { - }, - "properties": [ - ], - "signals": [ - ], - "methods": [ - ], - "enums": [ - ] - }, { "name": "ResourceImporter", "base_class": "Reference", @@ -129151,6 +130856,13 @@ "getter": "get_code", "setter": "set_code", "index": -1 + }, + { + "name": "custom_defines", + "type": "String", + "getter": "get_custom_defines", + "setter": "set_custom_defines", + "index": -1 } ], "signals": [ @@ -129169,6 +130881,19 @@ "arguments": [ ] }, + { + "name": "get_custom_defines", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_default_texture_param", "return_type": "Texture", @@ -129239,6 +130964,25 @@ } ] }, + { + "name": "set_custom_defines", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "custom_defines", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_default_texture_param", "return_type": "void", @@ -129869,6 +131613,19 @@ "arguments": [ ] }, + { + "name": "clear_bones_global_pose_override", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "find_bone", "return_type": "int", @@ -131012,6 +132769,25 @@ "arguments": [ ] }, + { + "name": "get_bind_name", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_bind_pose", "return_type": "Transform", @@ -131075,6 +132851,31 @@ } ] }, + { + "name": "set_bind_name", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "bind_index", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "name", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_bind_pose", "return_type": "void", @@ -143395,7 +145196,7 @@ "is_from_script": false, "arguments": [ { - "name": "idx", + "name": "tab_idx", "type": "int", "has_default_value": false, "default_value": "" @@ -146057,6 +147858,31 @@ } ] }, + { + "name": "set_line", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "line", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "new_text", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_line_as_hidden", "return_type": "void", @@ -154663,6 +156489,25 @@ } ] }, + { + "name": "get_suffix", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "column", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_text", "return_type": "String", @@ -155479,6 +157324,31 @@ } ] }, + { + "name": "set_suffix", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "column", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "text", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_text", "return_type": "void", @@ -156613,6 +158483,102 @@ } ] }, + { + "name": "UDPServer", + "base_class": "Reference", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + ], + "signals": [ + ], + "methods": [ + { + "name": "is_connection_available", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_listening", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "listen", + "return_type": "enum.Error", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "port", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "bind_address", + "type": "String", + "has_default_value": true, + "default_value": "*" + } + ] + }, + { + "name": "stop", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "take_connection", + "return_type": "PacketPeerUDP", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + } + ], + "enums": [ + ] + }, { "name": "UPNP", "base_class": "Reference", @@ -159278,9 +161244,11 @@ "MSAA_4X": 2, "MSAA_8X": 3, "MSAA_DISABLED": 0, + "RENDER_INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "RENDER_INFO_2D_ITEMS_IN_FRAME": 6, "RENDER_INFO_DRAW_CALLS_IN_FRAME": 5, "RENDER_INFO_MATERIAL_CHANGES_IN_FRAME": 2, - "RENDER_INFO_MAX": 6, + "RENDER_INFO_MAX": 8, "RENDER_INFO_OBJECTS_IN_FRAME": 0, "RENDER_INFO_SHADER_CHANGES_IN_FRAME": 3, "RENDER_INFO_SURFACE_CHANGES_IN_FRAME": 4, @@ -160896,7 +162864,9 @@ "RENDER_INFO_SHADER_CHANGES_IN_FRAME": 3, "RENDER_INFO_SURFACE_CHANGES_IN_FRAME": 4, "RENDER_INFO_DRAW_CALLS_IN_FRAME": 5, - "RENDER_INFO_MAX": 6 + "RENDER_INFO_2D_ITEMS_IN_FRAME": 6, + "RENDER_INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "RENDER_INFO_MAX": 8 } }, { @@ -167649,16 +169619,18 @@ "GLOW_BLEND_MODE_REPLACE": 3, "GLOW_BLEND_MODE_SCREEN": 1, "GLOW_BLEND_MODE_SOFTLIGHT": 2, + "INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "INFO_2D_ITEMS_IN_FRAME": 6, "INFO_DRAW_CALLS_IN_FRAME": 5, "INFO_MATERIAL_CHANGES_IN_FRAME": 2, "INFO_OBJECTS_IN_FRAME": 0, "INFO_SHADER_CHANGES_IN_FRAME": 3, "INFO_SURFACE_CHANGES_IN_FRAME": 4, - "INFO_TEXTURE_MEM_USED": 8, - "INFO_USAGE_VIDEO_MEM_TOTAL": 6, - "INFO_VERTEX_MEM_USED": 9, + "INFO_TEXTURE_MEM_USED": 10, + "INFO_USAGE_VIDEO_MEM_TOTAL": 8, + "INFO_VERTEX_MEM_USED": 11, "INFO_VERTICES_IN_FRAME": 1, - "INFO_VIDEO_MEM_USED": 7, + "INFO_VIDEO_MEM_USED": 9, "INSTANCE_FLAG_DRAW_NEXT_FRAME_IF_VISIBLE": 1, "INSTANCE_FLAG_MAX": 2, "INSTANCE_FLAG_USE_BAKED_LIGHT": 0, @@ -167750,9 +169722,9 @@ "TEXTURE_FLAG_REPEAT": 2, "TEXTURE_FLAG_USED_FOR_STREAMING": 2048, "TEXTURE_TYPE_2D": 0, - "TEXTURE_TYPE_2D_ARRAY": 2, - "TEXTURE_TYPE_3D": 3, - "TEXTURE_TYPE_CUBEMAP": 1, + "TEXTURE_TYPE_2D_ARRAY": 3, + "TEXTURE_TYPE_3D": 4, + "TEXTURE_TYPE_CUBEMAP": 2, "VIEWPORT_CLEAR_ALWAYS": 0, "VIEWPORT_CLEAR_NEVER": 1, "VIEWPORT_CLEAR_ONLY_NEXT_FRAME": 2, @@ -167767,9 +169739,11 @@ "VIEWPORT_MSAA_DISABLED": 0, "VIEWPORT_MSAA_EXT_2X": 5, "VIEWPORT_MSAA_EXT_4X": 6, + "VIEWPORT_RENDER_INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "VIEWPORT_RENDER_INFO_2D_ITEMS_IN_FRAME": 6, "VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME": 5, "VIEWPORT_RENDER_INFO_MATERIAL_CHANGES_IN_FRAME": 2, - "VIEWPORT_RENDER_INFO_MAX": 6, + "VIEWPORT_RENDER_INFO_MAX": 8, "VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME": 0, "VIEWPORT_RENDER_INFO_SHADER_CHANGES_IN_FRAME": 3, "VIEWPORT_RENDER_INFO_SURFACE_CHANGES_IN_FRAME": 4, @@ -177347,9 +179321,9 @@ "name": "TextureType", "values": { "TEXTURE_TYPE_2D": 0, - "TEXTURE_TYPE_CUBEMAP": 1, - "TEXTURE_TYPE_2D_ARRAY": 2, - "TEXTURE_TYPE_3D": 3 + "TEXTURE_TYPE_CUBEMAP": 2, + "TEXTURE_TYPE_2D_ARRAY": 3, + "TEXTURE_TYPE_3D": 4 } }, { @@ -177377,10 +179351,12 @@ "INFO_SHADER_CHANGES_IN_FRAME": 3, "INFO_SURFACE_CHANGES_IN_FRAME": 4, "INFO_DRAW_CALLS_IN_FRAME": 5, - "INFO_USAGE_VIDEO_MEM_TOTAL": 6, - "INFO_VIDEO_MEM_USED": 7, - "INFO_TEXTURE_MEM_USED": 8, - "INFO_VERTEX_MEM_USED": 9 + "INFO_2D_ITEMS_IN_FRAME": 6, + "INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "INFO_USAGE_VIDEO_MEM_TOTAL": 8, + "INFO_VIDEO_MEM_USED": 9, + "INFO_TEXTURE_MEM_USED": 10, + "INFO_VERTEX_MEM_USED": 11 } }, { @@ -177400,7 +179376,9 @@ "VIEWPORT_RENDER_INFO_SHADER_CHANGES_IN_FRAME": 3, "VIEWPORT_RENDER_INFO_SURFACE_CHANGES_IN_FRAME": 4, "VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME": 5, - "VIEWPORT_RENDER_INFO_MAX": 6 + "VIEWPORT_RENDER_INFO_2D_ITEMS_IN_FRAME": 6, + "VIEWPORT_RENDER_INFO_2D_DRAW_CALLS_IN_FRAME": 7, + "VIEWPORT_RENDER_INFO_MAX": 8 } }, { @@ -187555,7 +189533,7 @@ }, { "name": "_Marshalls", - "base_class": "Reference", + "base_class": "Object", "api_type": "core", "singleton": true, "singleton_name": "Marshalls", @@ -187871,6 +189849,13 @@ "setter": "set_screen_orientation", "index": -1 }, + { + "name": "tablet_driver", + "type": "String", + "getter": "get_current_tablet_driver", + "setter": "set_current_tablet_driver", + "index": -1 + }, { "name": "vsync_enabled", "type": "bool", @@ -188257,6 +190242,19 @@ "arguments": [ ] }, + { + "name": "get_current_tablet_driver", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_current_video_driver", "return_type": "enum._OS::VideoDriver", @@ -188779,6 +190777,38 @@ "arguments": [ ] }, + { + "name": "get_tablet_driver_count", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_tablet_driver_name", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "idx", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_ticks_msec", "return_type": "int", @@ -189676,6 +191706,25 @@ } ] }, + { + "name": "set_current_tablet_driver", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "name", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_exit_code", "return_type": "void", diff --git a/gdnative/variant.h b/gdnative/variant.h index c65f7a2..5da6d97 100644 --- a/gdnative/variant.h +++ b/gdnative/variant.h @@ -37,7 +37,7 @@ extern "C" { #include -#define GODOT_VARIANT_SIZE (16 + sizeof(void *)) +#define GODOT_VARIANT_SIZE (16 + sizeof(int64_t)) #ifndef GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED #define GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED