Use PropertyUsageFlags enum in parse_property

This commit is contained in:
Raul Santos 2023-01-31 19:08:46 +01:00
parent 9e9eac4676
commit c7f4ca36a4
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
17 changed files with 26 additions and 26 deletions

View file

@ -56,11 +56,11 @@
<method name="_parse_property" qualifiers="virtual">
<return type="bool" />
<param index="0" name="object" type="Object" />
<param index="1" name="type" type="int" />
<param index="1" name="type" type="int" enum="Variant.Type" />
<param index="2" name="name" type="String" />
<param index="3" name="hint_type" type="int" />
<param index="3" name="hint_type" type="int" enum="PropertyHint" />
<param index="4" name="hint_string" type="String" />
<param index="5" name="usage_flags" type="int" />
<param index="5" name="usage_flags" type="int" enum="PropertyUsageFlags" />
<param index="6" name="wide" type="bool" />
<description>
Called to allow adding property-specific editors to the property list for [param object]. The added editor control must extend [EditorProperty]. Returning [code]true[/code] removes the built-in editor for this property, otherwise allows to insert a custom editor before the built-in one.