Skip to content
New issue

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

get_property_list method documentation unclear on what properties are returned #7533

Closed
jacob-winkler opened this issue Jun 17, 2023 · 1 comment · Fixed by godotengine/godot#81093
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository enhancement

Comments

@jacob-winkler
Copy link

Your Godot version:
4.3

Issue description:
The documentation isn't clear that this only returns properties that have been exported. Reading the documentation I was expecting this method to return all of the properties on my class, regardless of whether they were exported or not. A Godot property is different from a C# property (not sure if "property" is a concept in gdscript that could also cause confusion). Would be great if this was clarified in the docs.
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_object.html#id2

@Piralein Piralein added the area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository label Jun 18, 2023
@mateuseap
Copy link
Contributor

I've made explicit in my PR that the get_method_list method returns a list containing only the exported properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants