Merge pull request #72860 from RedworkDE/editor-export-plugin-bind
Bind `EditorExportPlugin::_get_export_features`
This commit is contained in:
commit
0e97806c1d
2 changed files with 9 additions and 0 deletions
|
@ -87,6 +87,14 @@
|
||||||
Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations.
|
Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="_get_export_features" qualifiers="virtual const">
|
||||||
|
<return type="PackedStringArray" />
|
||||||
|
<param index="0" name="platform" type="EditorExportPlatform" />
|
||||||
|
<param index="1" name="debug" type="bool" />
|
||||||
|
<description>
|
||||||
|
Return a [PackedStringArray] of additional features this preset, for the given [param platform], should have.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="_get_name" qualifiers="virtual const">
|
<method name="_get_name" qualifiers="virtual const">
|
||||||
<return type="String" />
|
<return type="String" />
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -229,6 +229,7 @@ void EditorExportPlugin::_bind_methods() {
|
||||||
GDVIRTUAL_BIND(_end_customize_scenes);
|
GDVIRTUAL_BIND(_end_customize_scenes);
|
||||||
GDVIRTUAL_BIND(_end_customize_resources);
|
GDVIRTUAL_BIND(_end_customize_resources);
|
||||||
|
|
||||||
|
GDVIRTUAL_BIND(_get_export_features, "platform", "debug");
|
||||||
GDVIRTUAL_BIND(_get_name);
|
GDVIRTUAL_BIND(_get_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue