MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / VariantContainer

Class VariantContainer

utility/pcfg_loader.h:14–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12class ProjectConfigLoader : public RefCounted {
13 GDCLASS(ProjectConfigLoader, RefCounted);
14 struct VariantContainer {
15 int order;
16 bool persist;
17 Variant variant;
18 Variant initial;
19 bool hide_from_editor;
20 bool overridden;
21 bool restart_if_changed;
22 VariantContainer() :
23 order(0),
24 persist(false),
25 hide_from_editor(false),
26 overridden(false),
27 restart_if_changed(false) {
28 }
29 VariantContainer(const Variant &p_variant, int p_order, bool p_persist = false) :
30 order(p_order),
31 persist(p_persist),
32 variant(p_variant),
33 hide_from_editor(false),
34 overridden(false),
35 restart_if_changed(false) {
36 }
37 };
38 RBMap<StringName, VariantContainer> props;
39 RBMap<StringName, PropertyInfo> custom_prop_info;
40 String cfb_path = "";

Callers 3

set_settingMethod · 0.85
_load_settings_binaryMethod · 0.85
_load_settings_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected