3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ChildInsertPosition.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/json/Value.h"
23class UIControlFactory :
public ::std::enable_shared_from_this<::UIControlFactory> {
27 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const>> mUIDefRepository;
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const>> mFontRepository;
29 ::ll::TypedStorage<8, 8, ::UISoundPlayer const&> mSoundPlayer;
30 ::ll::TypedStorage<8, 32, ::std::string> mCurrentNamespace;
31 ::ll::TypedStorage<8, 16, ::Json::Value> mGlobalVars;
32 ::ll::TypedStorage<8, 24, ::std::vector<::Json::Value*>> mVariablesStack;
33 ::ll::TypedStorage<1, 1, bool> mLowMemoryMode;
34 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mInitialSelectedControl;
39 UIControlFactory& operator=(UIControlFactory
const&);
40 UIControlFactory(UIControlFactory
const&);
47 ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> uiDefRepo,
50 ::Bedrock::NotNullNonOwnerPtr<::FontRepository const> fontRepository,
60 ::ui::ChildInsertPosition childInsertPosition
65 ::std::string_view name,
68 ::ui::ChildInsertPosition childInsertPosition,
70 bool isTemplateControl
78 ::ui::ChildInsertPosition childInsertPosition,
79 bool isTemplateControl
84 ::std::string_view name,
93 ::ui::ChildInsertPosition childInsertPosition,
94 bool isTemplateControl
148 ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> uiDefRepo,
151 ::Bedrock::NotNullNonOwnerPtr<::FontRepository const> fontRepository,
Definition ControlScreenAction.h:5
Definition CustomRenderComponent.h:5
Definition FontRepository.h:5
Definition IUIDefRepository.h:5
Definition UIControlFactoryContext.h:5
Definition UIControlFactory.h:5
MCAPI void _populateDataBindingComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _populatePageIndicatorManagerComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
MCAPI void _populateLayoutComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
MCAPI void _populateGridComponent(::UIControlFactoryContext const &context, ::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _populateTextToSpeechComponent(::UIResolvedDef const &def, ::UIControl &ownerControl, int controlPriorityDefault)
static MCAPI void _populateDebugRendererComponent(::UIResolvedDef const &def, ::UIControl &control)
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > uiDefRepo, ::Json::Value const &globalVars, ::UISoundPlayer const &soundPlayer, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > fontRepository, bool isLowMemory)
MCAPI UIControlFactory(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > uiDefRepo, ::Json::Value const &globalVars, ::UISoundPlayer const &soundPlayer, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > fontRepository, bool isLowMemory)
MCAPI ~UIControlFactory()
MCAPI ::std::shared_ptr<::UIControl > _createControlTree(::UIControlFactoryContext const &context, ::std::string_view name, ::ControlScreenAction &controlScreenAction, ::UIControl *parent, ::ui::ChildInsertPosition childInsertPosition, ::Json::Value *additionalVars, bool isTemplateControl)
MCAPI ::std::shared_ptr<::UIControl > _createFromResolvedDef(::UIControlFactoryContext const &context, ::UIResolvedDef const &resolvedDef, ::UIControl *parentControl, ::ControlScreenAction &controlScreenAction, ::ui::ChildInsertPosition childInsertPosition, bool isTemplateControl)
MCAPI ::std::shared_ptr<::UIControl > _createControlTreeFromResolvedDef(::UIControlFactoryContext const &context, ::UIResolvedDef const &resolvedDef, ::UIControl *parentControl, ::ControlScreenAction &controlScreenAction, ::ui::ChildInsertPosition childInsertPosition, bool isTemplateControl)
MCAPI void _populateFocusComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _populateCollectionComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
MCAPI void _populateSoundComponent(::UIResolvedDef const &def, ::UIControl &ownerControl, bool alwaysCreate)
MCAPI::UIAnim * _addAnimToComponent(::std::string_view name, ::UIResolvedDef &def, ::UIControl &ownerControl)
MCAPI void _populateControl(::UIResolvedDef const &def, ::UIControl &control)
static MCAPI void _populateGestureComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _populateToggleComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
MCAPI void _populateTextComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
MCAPI ::std::shared_ptr<::UIControl > _createControlTreeRootOnly(::UIControlFactoryContext const &context, ::std::string_view name, ::ControlScreenAction &controlScreenAction)
MCAPI ::std::shared_ptr<::UIControl > _createControlTree(::UIControlFactoryContext const &, ::UIControl const &templateControl, ::UIControl *parent, ::ui::ChildInsertPosition childInsertPosition)
MCAPI void _populateSpriteComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _populateButtonComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
static MCAPI void _createGradientRenderer(::CustomRenderComponent &customRenderComponent, ::UIResolvedDef const &def)
MCAPI void _populateInputComponent(::UIResolvedDef const &def, ::UIControl &ownerControl)
Definition UIResolvedDef.h:5
Definition UISoundPlayer.h:5