Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
UIResolvedDef Class Reference

Public Member Functions

UIResolvedDef & operator= (UIResolvedDef const &)
 UIResolvedDef (UIResolvedDef const &)
MCAPI UIResolvedDef (::std::vector<::Json::Value * > *variablesStack, ::std::string_view defNamespace, ::std::string_view defName, ::Json::Value const &baseVal, ::Json::Value const &overrideVal)
MCAPI::Json::Value const & _evaluate (::Json::Value const &value, bool forceExpressionEval) const
MCAPI void _validateProperty (::std::string_view name) const
MCAPI void foreachMemberNames (::std::function< void(::std::string_view)> predicate) const
MCAPI::ui::AnchorPoint getAsAnchorPoint (::std::string_view key, ::ui::AnchorPoint defaultValue) const
MCAPI::ui::AnimationType getAsAnimationType (::std::string_view key, ::ui::AnimationType defaultValue) const
MCAPI::BindingCondition getAsBindingCondition (::std::string_view key) const
MCAPI::BindingType getAsBindingType (::std::string_view key) const
MCAPI uint getAsButtonId (::std::string_view key, uint defaultValue) const
MCAPI::ui::ClipDirection getAsClipDirection (::std::string_view key, ::ui::ClipDirection defaultValue) const
MCAPI::Vec2 getAsClipOffset (::std::string_view key) const
MCAPI::mce::Color getAsColor (::std::string_view key, ::mce::Color const &defaultValue) const
MCAPI::ui::Draggable getAsDraggable (::std::string_view key, ::ui::Draggable defaultValue) const
MCAPI::ui::FontSize getAsFontSize (::std::string_view key, ::ui::FontSize defaultValue) const
MCAPI::glm::ivec2 getAsGridSize (::std::string_view key, ::glm::ivec2 const &defaultValue) const
MCAPI::ui::OrientationType getAsOrientation (::std::string_view key, ::ui::OrientationType defaultValue) const
MCAPI::ui::PriorityRule getAsPriorityRule (::std::string_view key, ::ui::PriorityRule defaultValue) const
MCAPI ::std::unique_ptr<::UIPropertyBag > getAsPropertyBag (::std::string_view key, ::std::unique_ptr<::UIPropertyBag > defaultValue) const
MCAPI::UiExpression getAsPropetyEvaluation (::std::string_view key) const
MCAPI::glm::vec2 getAsSize (::std::string_view key, ::glm::vec2 const &defaultValue) const
MCAPI::ui::SliceSize getAsSliceSize (::std::string_view key, ::ui::SliceSize const &defaultValue) const
MCAPI::SliderManagerBehavior getAsSliderManagerBehavior (::std::string_view key, ::SliderManagerBehavior) const
MCAPI::std::string getAsString (::std::string_view key, ::std::string_view defaultValue) const
MCAPI ::std::vector<::std::string > getAsStringVector (::std::string_view key, ::std::vector<::std::string > const &defaultValue) const
MCAPI::ui::TextAlignment getAsTextAlignment (::std::string_view key, ::ui::TextAlignment defaultValue) const
MCAPI::std::string getAsTextureString () const
MCAPI::ToggleManagerBehavior getAsToggleManagerBehavior (::std::string_view key, ::ToggleManagerBehavior) const
MCAPI::glm::vec2 getAsUV (::std::string_view key, ::glm::vec2 const &defaultValue) const
MCAPI::glm::vec2 getAsUVSize (::std::string_view key, ::glm::vec2 const &defaultValue) const
MCAPI::UIDefType getDefType () const
MCAPI::Json::Value const & getValue (::std::string_view key, bool forceExpressionEval) const
MCAPI bool hasValue (::std::string_view key) const
MCAPI ~UIResolvedDef ()
MCAPI void * $ctor (::std::vector<::Json::Value * > *variablesStack, ::std::string_view defNamespace, ::std::string_view defName, ::Json::Value const &baseVal, ::Json::Value const &overrideVal)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::UIResolvedDef create (::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > defRepo, ::std::vector<::Json::Value * > *variablesStack, ::std::string_view currNamespace, ::std::string_view name)
static MCAPI ::UIResolvedDef createWithDef (::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > defRepo, ::std::vector<::Json::Value * > *variablesStack, ::std::string_view currNamespace, ::Json::Value const &def)
static MCAPI ::Json::Value evaluate (::Json::Value const &value, ::std::vector<::Json::Value * > const &variablesStack, ::Json::Value const *optionalLocalStack)
static MCAPI void parseName (::std::string_view input, ::std::string &outName, ::std::string &outNamespace, ::std::string &outRef, ::std::vector<::Json::Value * > *variablesStack)
static MCAPI ::UIResolvedDef & mNull ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIgnored
::ll::TypedStorage< 8, 32, ::std::string const > mDefNamespace
::ll::TypedStorage< 8, 32, ::std::string const > mDefName
::ll::TypedStorage< 8, 8, ::Json::Value const & > mBaseVal
::ll::TypedStorage< 8, 8, ::Json::Value const & > mOverrideVal
::ll::TypedStorage< 8, 16, ::Json::Value > mVariables
::ll::TypedStorage< 8, 8, ::std::vector<::Json::Value * > * > mVariablesStack
::ll::TypedStorage< 8, 16, ::std::set<::std::string, ::std::less< void > > > mUnvalidatedProperties

Constructor & Destructor Documentation

◆ UIResolvedDef()

MCAPI UIResolvedDef::UIResolvedDef ( ::std::vector<::Json::Value * > * variablesStack,
::std::string_view defNamespace,
::std::string_view defName,
::Json::Value const & baseVal,
::Json::Value const & overrideVal )
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.

◆ ~UIResolvedDef()

MCAPI UIResolvedDef::~UIResolvedDef ( )
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.

Member Function Documentation

◆ _evaluate()

MCAPI::Json::Value const & UIResolvedDef::_evaluate ( ::Json::Value const & value,
bool forceExpressionEval ) const
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.

◆ _validateProperty()

MCAPI void UIResolvedDef::_validateProperty ( ::std::string_view name) const
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.

◆ foreachMemberNames()

MCAPI void UIResolvedDef::foreachMemberNames ( ::std::function< void(::std::string_view)> predicate) const
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.

◆ getAsAnchorPoint()

MCAPI::ui::AnchorPoint UIResolvedDef::getAsAnchorPoint ( ::std::string_view key,
::ui::AnchorPoint defaultValue ) const
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.

◆ getAsAnimationType()

MCAPI::ui::AnimationType UIResolvedDef::getAsAnimationType ( ::std::string_view key,
::ui::AnimationType defaultValue ) const
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.

◆ getAsBindingCondition()

MCAPI::BindingCondition UIResolvedDef::getAsBindingCondition ( ::std::string_view key) const
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.

◆ getAsBindingType()

MCAPI::BindingType UIResolvedDef::getAsBindingType ( ::std::string_view key) const
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.

◆ getAsButtonId()

MCAPI uint UIResolvedDef::getAsButtonId ( ::std::string_view key,
uint defaultValue ) const
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.

◆ getAsClipDirection()

MCAPI::ui::ClipDirection UIResolvedDef::getAsClipDirection ( ::std::string_view key,
::ui::ClipDirection defaultValue ) const
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.

◆ getAsClipOffset()

MCAPI::Vec2 UIResolvedDef::getAsClipOffset ( ::std::string_view key) const
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.

◆ getAsColor()

MCAPI::mce::Color UIResolvedDef::getAsColor ( ::std::string_view key,
::mce::Color const & defaultValue ) const
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.

◆ getAsDraggable()

MCAPI::ui::Draggable UIResolvedDef::getAsDraggable ( ::std::string_view key,
::ui::Draggable defaultValue ) const
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.

◆ getAsFontSize()

MCAPI::ui::FontSize UIResolvedDef::getAsFontSize ( ::std::string_view key,
::ui::FontSize defaultValue ) const
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.

◆ getAsGridSize()

MCAPI::glm::ivec2 UIResolvedDef::getAsGridSize ( ::std::string_view key,
::glm::ivec2 const & defaultValue ) const
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.

◆ getAsOrientation()

MCAPI::ui::OrientationType UIResolvedDef::getAsOrientation ( ::std::string_view key,
::ui::OrientationType defaultValue ) const
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.

◆ getAsPriorityRule()

MCAPI::ui::PriorityRule UIResolvedDef::getAsPriorityRule ( ::std::string_view key,
::ui::PriorityRule defaultValue ) const
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.

◆ getAsPropertyBag()

MCAPI ::std::unique_ptr<::UIPropertyBag > UIResolvedDef::getAsPropertyBag ( ::std::string_view key,
::std::unique_ptr<::UIPropertyBag > defaultValue ) const
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.

◆ getAsPropetyEvaluation()

MCAPI::UiExpression UIResolvedDef::getAsPropetyEvaluation ( ::std::string_view key) const
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.

◆ getAsSize()

MCAPI::glm::vec2 UIResolvedDef::getAsSize ( ::std::string_view key,
::glm::vec2 const & defaultValue ) const
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.

◆ getAsSliceSize()

MCAPI::ui::SliceSize UIResolvedDef::getAsSliceSize ( ::std::string_view key,
::ui::SliceSize const & defaultValue ) const
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.

◆ getAsSliderManagerBehavior()

MCAPI::SliderManagerBehavior UIResolvedDef::getAsSliderManagerBehavior ( ::std::string_view key,
::SliderManagerBehavior  ) const
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.

◆ getAsString()

MCAPI::std::string UIResolvedDef::getAsString ( ::std::string_view key,
::std::string_view defaultValue ) const
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.

◆ getAsStringVector()

MCAPI ::std::vector<::std::string > UIResolvedDef::getAsStringVector ( ::std::string_view key,
::std::vector<::std::string > const & defaultValue ) const
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.

◆ getAsTextAlignment()

MCAPI::ui::TextAlignment UIResolvedDef::getAsTextAlignment ( ::std::string_view key,
::ui::TextAlignment defaultValue ) const
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.

◆ getAsTextureString()

MCAPI::std::string UIResolvedDef::getAsTextureString ( ) const
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.

◆ getAsToggleManagerBehavior()

MCAPI::ToggleManagerBehavior UIResolvedDef::getAsToggleManagerBehavior ( ::std::string_view key,
::ToggleManagerBehavior  ) const
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.

◆ getAsUV()

MCAPI::glm::vec2 UIResolvedDef::getAsUV ( ::std::string_view key,
::glm::vec2 const & defaultValue ) const
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.

◆ getAsUVSize()

MCAPI::glm::vec2 UIResolvedDef::getAsUVSize ( ::std::string_view key,
::glm::vec2 const & defaultValue ) const
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.

◆ getDefType()

MCAPI::UIDefType UIResolvedDef::getDefType ( ) const
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.

◆ getValue()

MCAPI::Json::Value const & UIResolvedDef::getValue ( ::std::string_view key,
bool forceExpressionEval ) const
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.

◆ hasValue()

MCAPI bool UIResolvedDef::hasValue ( ::std::string_view key) const
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.

◆ create()

MCAPI ::UIResolvedDef UIResolvedDef::create ( ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > defRepo,
::std::vector<::Json::Value * > * variablesStack,
::std::string_view currNamespace,
::std::string_view name )
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.

◆ createWithDef()

MCAPI ::UIResolvedDef UIResolvedDef::createWithDef ( ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > defRepo,
::std::vector<::Json::Value * > * variablesStack,
::std::string_view currNamespace,
::Json::Value const & def )
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.

◆ evaluate()

MCAPI ::Json::Value UIResolvedDef::evaluate ( ::Json::Value const & value,
::std::vector<::Json::Value * > const & variablesStack,
::Json::Value const * optionalLocalStack )
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.

◆ parseName()

MCAPI void UIResolvedDef::parseName ( ::std::string_view input,
::std::string & outName,
::std::string & outNamespace,
::std::string & outRef,
::std::vector<::Json::Value * > * variablesStack )
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.

◆ mNull()

MCAPI ::UIResolvedDef & UIResolvedDef::mNull ( )
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.

◆ $ctor()

MCAPI void * UIResolvedDef::$ctor ( ::std::vector<::Json::Value * > * variablesStack,
::std::string_view defNamespace,
::std::string_view defName,
::Json::Value const & baseVal,
::Json::Value const & overrideVal )
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.

◆ $dtor()

MCAPI void UIResolvedDef::$dtor ( )
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: