Skip to content
LeviMC
English
AutoLightDark
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 void appendNoOverwrite (::UIPropertyBag const &propertyBag)
MCAPI void clearWeakRegistrations ()
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)> const 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 * $ctor ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()
static MCAPI ::PropertyBag & EMPTY ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::vector<::UIPropertyBag::PropertyChangedNotificationInfo >, ::std::less< void > > > mPropertyChangedNotificationInfoMap
::ll::TypedStorage< 8, 16, ::Json::Value > mJsonValue
::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

◆ _handlePropertyChangedNotifications()

MCAPI void UIPropertyBag::_handlePropertyChangedNotifications ( ::std::string_view sourcePropertyName,
::Json::Value const & newValue,
::UIPropertyBag::ContextObject context )
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.

◆ append()

MCAPI void UIPropertyBag::append ( ::UIPropertyBag const & propertyBag)
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.

◆ appendNoOverwrite()

MCAPI void UIPropertyBag::appendNoOverwrite ( ::UIPropertyBag const & propertyBag)
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.

◆ clearWeakRegistrations()

MCAPI void UIPropertyBag::clearWeakRegistrations ( )
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.

◆ registerForPropertyChangedNotification()

MCAPI void UIPropertyBag::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)> const callback )
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.

◆ set() [1/2]

MCAPI void UIPropertyBag::set ( ::std::string_view key,
::mce::Color color )
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.

◆ set() [2/2]

MCAPI void UIPropertyBag::set ( ::std::string_view key,
::glm::ivec2 gridSize )
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.

◆ $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.

◆ EMPTY()

MCAPI ::PropertyBag & PropertyBag::EMPTY ( )
staticinherited
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: