MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / add_export_preset

Method add_export_preset

editor/export/editor_export.cpp:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void EditorExport::add_export_preset(const Ref<EditorExportPreset> &p_preset, int p_at_pos) {
163 if (p_at_pos < 0) {
164 export_presets.push_back(p_preset);
165 } else {
166 export_presets.insert(p_at_pos, p_preset);
167 }
168 emit_presets_runnable_changed();
169}
170
171int EditorExport::get_export_preset_count() const {
172 return export_presets.size();

Callers 3

_add_presetMethod · 0.80
_duplicate_presetMethod · 0.80
drop_data_fwMethod · 0.80

Calls 2

push_backMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected