3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/PropertyBag.h"
11namespace Json {
class Value; }
12namespace mce {
class Color; }
28 ::ll::TypedStorage<4, 4, int> count;
36 ::ll::TypedStorage<8, 32, ::std::string> targetPropertyName;
37 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> targetControl;
42 ::std::weak_ptr<::UIControl>
const&,
45 ::UIPropertyBag::ContextObject
53 MCAPI ~PropertyChangedNotificationInfo();
63 using PropertyChangedNotificationCallback = ::std::function<void(
64 ::std::weak_ptr<::UIControl>
const&,
67 ::UIPropertyBag::ContextObject
70 using PropertyChangedNotificationInfoVector = ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>;
72 using PropertyInfoList =
73 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>;
81 ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>>
82 mPropertyChangedNotificationInfoMap;
88 virtual ~UIPropertyBag();
94 MCAPI UIPropertyBag();
96 MCAPI
void _handlePropertyChangedNotifications(
97 ::std::string_view sourcePropertyName,
98 ::Json::Value
const& newValue,
99 ::UIPropertyBag::ContextObject context
102 MCAPI
void appendNoOverwrite(::UIPropertyBag
const& propertyBag);
104 MCAPI ::std::unique_ptr<::UIPropertyBag> clone()
const;
106 MCAPI
void registerForPropertyChangedNotification(
107 ::std::string
const& sourcePropertyName,
108 ::std::string
const& targetPropertyName,
109 ::std::weak_ptr<::UIControl> targetControl,
110 ::std::function<
void(
111 ::std::weak_ptr<::UIControl>
const&,
113 ::Json::Value
const&,
114 ::UIPropertyBag::ContextObject
118 MCAPI
void set(::std::string_view key, ::mce::Color color);
120 MCAPI
void set(::std::string_view key, ::glm::ivec2 gridSize);
122 MCAPI
void set(::std::string_view key, ::glm::vec2 uv);
Definition PropertyBag.h:8
Definition UIPropertyBag.h:5
static MCAPI void ** $vftable()
Definition UIPropertyBag.h:14
Definition UIPropertyBag.h:16