Merge pull request #90916 from Naros/expose-classdb-class-get-property-default-value

Expose `ClassDB::class_get_property_default_value` method
This commit is contained in:
Rémi Verschelde 2024-04-22 22:18:26 +02:00
commit 2980a6b295
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 21 additions and 0 deletions

View file

@ -91,6 +91,14 @@
Returns the value of [param property] of [param object] or its ancestry.
</description>
</method>
<method name="class_get_property_default_value" qualifiers="const">
<return type="Variant" />
<param index="0" name="class" type="StringName" />
<param index="1" name="property" type="StringName" />
<description>
Returns the default value of [param property] of [param class] or its ancestor classes.
</description>
</method>
<method name="class_get_property_list" qualifiers="const">
<return type="Dictionary[]" />
<param index="0" name="class" type="StringName" />