mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 10:05:37 -04:00
cc371273ce
* Simplify the number of objects suggested for replacing * Simplify the number of behavior properties suggested for tweaking * New section to update the in-game title * Simplify publication at the end of the flow
29 lines
685 B
C++
29 lines
685 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "GDCore/Project/QuickCustomization.h"
|
|
#include "GDCore/Serialization/SerializerElement.h"
|
|
#include "GDCore/String.h"
|
|
|
|
namespace gd {
|
|
|
|
class QuickCustomizationVisibilitiesContainer {
|
|
public:
|
|
QuickCustomizationVisibilitiesContainer();
|
|
|
|
void Set(const gd::String& name, QuickCustomization::Visibility visibility);
|
|
|
|
QuickCustomization::Visibility Get(const gd::String& name) const;
|
|
|
|
bool IsEmpty() const;
|
|
|
|
void SerializeTo(SerializerElement& element) const;
|
|
|
|
void UnserializeFrom(const SerializerElement& element);
|
|
|
|
private:
|
|
std::map<gd::String, QuickCustomization::Visibility> visibilities;
|
|
};
|
|
|
|
} // namespace gd
|