Merge pull request #29139 from WiggleWizard/fix-export-plugin-doc

Fixed virtual method not showing up in autocomplete and docs
This commit is contained in:
Rémi Verschelde 2019-05-24 12:05:56 +02:00 committed by GitHub
commit 0fcd2bf982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,12 @@
<description>
</description>
</method>
<method name="_export_end" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_export_file" qualifiers="virtual">
<return type="void">
</return>

View File

@ -615,6 +615,7 @@ void EditorExportPlugin::_bind_methods() {
BIND_VMETHOD(MethodInfo("_export_file", PropertyInfo(Variant::STRING, "path"), PropertyInfo(Variant::STRING, "type"), PropertyInfo(Variant::POOL_STRING_ARRAY, "features")));
BIND_VMETHOD(MethodInfo("_export_begin", PropertyInfo(Variant::POOL_STRING_ARRAY, "features"), PropertyInfo(Variant::BOOL, "is_debug"), PropertyInfo(Variant::STRING, "path"), PropertyInfo(Variant::INT, "flags")));
BIND_VMETHOD(MethodInfo("_export_end"));
}
EditorExportPlugin::EditorExportPlugin() {