We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.dev.custom_build [cf67f18]
Linux, Vulkan
get_method_list()
doesn't return arg types
and both always return an empty 'default_args[]' array
extends Node func test(arg, default_arg: String): pass func _ready(): for method in get_method_list(): if method.name == "test": print(method.args, " default_args -> : ", method.default_args) #[{class_name:, hint:0, hint_string:, name:arg0, type:0, usage:7}, {class_name:, hint:0, hint_string:, name:arg1, type:0, usage:7}] default_args -> : [] for method in get_script().get_script_method_list(): if method.name == "test": print(method.args, " default_args -> : ", method.default_args) #[{class_name:, hint:0, hint_string:, name:arg, type:0, usage:524295}, {class_name:, hint:0, hint_string:, name:default_arg, type:4, usage:7}] default_args -> : []
No response
The text was updated successfully, but these errors were encountered:
Related to #33624.
Does this bug also occur on 3.4?
Sorry, something went wrong.
Yes, see godotengine/godot-proposals#3614.
get_*_list()
Successfully merging a pull request may close this issue.
Godot version
v4.0.dev.custom_build [cf67f18]
System information
Linux, Vulkan
Issue description
get_method_list()
doesn't return arg types
and both always return an empty 'default_args[]' array
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: