GDExtension: Mark virtual function as is_required in extension_api.json
Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
This commit is contained in:
parent
2c136e6170
commit
c2af6bcb59
36 changed files with 473 additions and 462 deletions
|
|
@ -187,7 +187,7 @@ bool EditorExportPlugin::_begin_customize_resources(const Ref<EditorExportPlatfo
|
|||
|
||||
Ref<Resource> EditorExportPlugin::_customize_resource(const Ref<Resource> &p_resource, const String &p_path) {
|
||||
Ref<Resource> ret;
|
||||
GDVIRTUAL_REQUIRED_CALL(_customize_resource, p_resource, p_path, ret);
|
||||
GDVIRTUAL_CALL(_customize_resource, p_resource, p_path, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -199,13 +199,13 @@ bool EditorExportPlugin::_begin_customize_scenes(const Ref<EditorExportPlatform>
|
|||
|
||||
Node *EditorExportPlugin::_customize_scene(Node *p_root, const String &p_path) {
|
||||
Node *ret = nullptr;
|
||||
GDVIRTUAL_REQUIRED_CALL(_customize_scene, p_root, p_path, ret);
|
||||
GDVIRTUAL_CALL(_customize_scene, p_root, p_path, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
uint64_t EditorExportPlugin::_get_customization_configuration_hash() const {
|
||||
uint64_t ret = 0;
|
||||
GDVIRTUAL_REQUIRED_CALL(_get_customization_configuration_hash, ret);
|
||||
GDVIRTUAL_CALL(_get_customization_configuration_hash, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ void EditorExportPlugin::_end_customize_resources() {
|
|||
|
||||
String EditorExportPlugin::get_name() const {
|
||||
String ret;
|
||||
GDVIRTUAL_REQUIRED_CALL(_get_name, ret);
|
||||
GDVIRTUAL_CALL(_get_name, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue