LeviLamina
Loading...
Searching...
No Matches
UIPropertyBag Class Reference
Inheritance diagram for UIPropertyBag:

Classes

struct  ContextObject
struct  PropertyChangedNotificationInfo

Public Types

using PropertyChangedNotificationCallback
using PropertyChangedNotificationInfoVector = ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>
using PropertyInfoList

Public Member Functions

MCAPI void _handlePropertyChangedNotifications (::std::string_view sourcePropertyName, ::Json::Value const &newValue, ::UIPropertyBag::ContextObject context)
MCAPI void append (::UIPropertyBag const &propertyBag)
MCAPI ::std::unique_ptr<::UIPropertyBagclone () const
MCAPI void registerForPropertyChangedNotification (::std::string const &sourcePropertyName, ::std::string const &targetPropertyName, ::std::weak_ptr<::UIControl > targetControl, ::std::function< void(::std::weak_ptr<::UIControl > const &, ::std::string_view, ::Json::Value const &, ::UIPropertyBag::ContextObject)> callback)
MCAPI void set (::std::string_view key, ::mce::Color color)
MCAPI void set (::std::string_view key, ::glm::ivec2 gridSize)
MCAPI void set (::std::string_view key, ::glm::vec2 uv)
MCAPI void $dtor ()
MCAPI_C bool has (::std::string_view key) const

Static Public Member Functions

static MCAPI void ** $vftable ()
static MCAPI ::PropertyBagEMPTY ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo >, ::std::less< void > > > mPropertyChangedNotificationInfoMap
::ll::TypedStorage< 8, 16, ::Json::ValuemJsonValue
::ll::TypedStorage< 4, 4, int > mChangeVersion

Member Typedef Documentation

◆ PropertyChangedNotificationCallback

using UIPropertyBag::PropertyChangedNotificationCallback
Initial value:
::std::function<void(
::std::weak_ptr<::UIControl> const&,
::std::string_view,
::Json::Value const&,
)>
Definition Value.h:16
Definition UIPropertyBag.h:14

◆ PropertyInfoList

using UIPropertyBag::PropertyInfoList
Initial value:
::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo>, ::std::less<void>>

Member Function Documentation

◆ $vftable()

MCAPI void ** UIPropertyBag::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: