diff options
Diffstat (limited to 'editor/export/editor_export_preset.h')
-rw-r--r-- | editor/export/editor_export_preset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/export/editor_export_preset.h b/editor/export/editor_export_preset.h index 194858b4e8..8b59da06dd 100644 --- a/editor/export/editor_export_preset.h +++ b/editor/export/editor_export_preset.h @@ -70,7 +70,7 @@ private: friend class EditorExport; friend class EditorExportPlatform; - List<PropertyInfo> properties; + HashMap<StringName, PropertyInfo> properties; HashMap<StringName, Variant> values; HashMap<StringName, bool> update_visibility; @@ -154,7 +154,8 @@ public: Variant get_or_env(const StringName &p_name, const String &p_env_var, bool *r_valid = nullptr) const; - const List<PropertyInfo> &get_properties() const { return properties; } + const HashMap<StringName, PropertyInfo> &get_properties() const { return properties; } + const HashMap<StringName, Variant> &get_values() const { return values; } EditorExportPreset(); }; |