Fixed virtual method not showing up in autocomplete and docs

This commit is contained in:
WiggleWizard 2019-05-23 22:31:02 +01:00
parent 9738ed567c
commit aebca30c43
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() {