diff options
author | David Snopek <dsnopek@gmail.com> | 2024-02-12 16:16:48 -0600 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2024-02-14 10:51:16 -0600 |
commit | ac88acde6fbe98f35790abcde10d5e23b39a0332 (patch) | |
tree | 9c5dcea90e57ebb228e6c02d49aa494cf4ce2b9c /editor/export/editor_export_plugin.cpp | |
parent | f317cc713aa4dbcee2efa10db764473a56680be7 (diff) | |
download | redot-engine-ac88acde6fbe98f35790abcde10d5e23b39a0332.tar.gz |
Allow export plugins to override export option values
Diffstat (limited to 'editor/export/editor_export_plugin.cpp')
-rw-r--r-- | editor/export/editor_export_plugin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/export/editor_export_plugin.cpp b/editor/export/editor_export_plugin.cpp index ec8c8c7b69..5353eae654 100644 --- a/editor/export/editor_export_plugin.cpp +++ b/editor/export/editor_export_plugin.cpp @@ -285,6 +285,12 @@ String EditorExportPlugin::_get_export_option_warning(const Ref<EditorExportPlat return ret; } +Dictionary EditorExportPlugin::_get_export_options_overrides(const Ref<EditorExportPlatform> &p_platform) const { + Dictionary ret; + GDVIRTUAL_CALL(_get_export_options_overrides, p_platform, ret); + return ret; +} + void EditorExportPlugin::_export_file(const String &p_path, const String &p_type, const HashSet<String> &p_features) { } @@ -327,6 +333,7 @@ void EditorExportPlugin::_bind_methods() { GDVIRTUAL_BIND(_end_customize_resources); GDVIRTUAL_BIND(_get_export_options, "platform"); + GDVIRTUAL_BIND(_get_export_options_overrides, "platform"); GDVIRTUAL_BIND(_should_update_export_options, "platform"); GDVIRTUAL_BIND(_get_export_option_warning, "platform", "option"); |