Merge pull request #64511 from derammo/derammo_fix_has_property_default_value

This commit is contained in:
Rémi Verschelde 2022-08-23 13:47:20 +02:00 committed by GitHub
commit 14f8a54a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -62,6 +62,7 @@ void ScriptExtension::_bind_methods() {
GDVIRTUAL_BIND(_has_script_signal, "signal"); GDVIRTUAL_BIND(_has_script_signal, "signal");
GDVIRTUAL_BIND(_get_script_signal_list); GDVIRTUAL_BIND(_get_script_signal_list);
GDVIRTUAL_BIND(_has_property_default_value, "property");
GDVIRTUAL_BIND(_get_property_default_value, "property"); GDVIRTUAL_BIND(_get_property_default_value, "property");
GDVIRTUAL_BIND(_update_exports); GDVIRTUAL_BIND(_update_exports);

View file

@ -96,6 +96,12 @@
<description> <description>
</description> </description>
</method> </method>
<method name="_has_property_default_value" qualifiers="virtual const">
<return type="bool" />
<param index="0" name="property" type="StringName" />
<description>
</description>
</method>
<method name="_has_script_signal" qualifiers="virtual const"> <method name="_has_script_signal" qualifiers="virtual const">
<return type="bool" /> <return type="bool" />
<param index="0" name="signal" type="StringName" /> <param index="0" name="signal" type="StringName" />