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

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
MCAPI GridComponent (::UIControl &owner, ::std::weak_ptr<::UIControlFactory > factoryPtr)
MCAPI void _createGridItemAt (int index)
MCAPI bool partiallyCreateGridItems (int startIndex, int endIndex)
MCAPI void reassignGridPositions ()
MCAPI void refreshGridItems ()
MCAPI void * $ctor (::UIControl &owner, ::std::weak_ptr<::UIControlFactory > factoryPtr)
MCAPI void $dtor ()
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCFOLD void $reset ()
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onRemoved ()
virtual void onAdded ()
virtual void onVisibilityChanged (bool visible)
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
virtual::std::string const & getTextToSpeechComponentValue () const
MCFOLD::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCFOLD::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $onEnabledChanged (bool enabled)
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD void $reload (::UIComponent const &rhs)
MCFOLD::std::string const & $getTextToSpeechComponentValue () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 8, ::glm::ivec2 > mDimensions
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::UIControl > > mGridItemTemplate
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControlFactory > > mControlFactory
::ll::TypedStorage< 8, 32, ::std::string > mGridDimensionBinding
::ll::TypedStorage< 8, 32, ::std::string > mCollectionName
::ll::TypedStorage< 1, 1, ::ui::OrientationType > mGridRescalingType
::ll::TypedStorage< 1, 1, ::ui::OrientationType > mGridFillDirection
::ll::TypedStorage< 4, 4, int > mMaximumGridItems
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIControl > > > mCachedControls
::ll::TypedStorage< 1, 1, bool > mLowMemoryMode
::ll::TypedStorage< 4, 4, int > mPartialCreationStartIndex
::ll::TypedStorage< 4, 4, int > mPartialCreationEndIndex
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(uint64), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mPublisher
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

virtual ::std::unique_ptr<::UIComponent > GridComponent::clone ( ::UIControl & cloneOwner) const
virtual

Implements UIComponent.

◆ reset()

virtual void GridComponent::reset ( )
virtual

Implements UIComponent.

◆ onNotifyChildAdded()

virtual void GridComponent::onNotifyChildAdded ( )
virtual

Reimplemented from UIComponent.

◆ onNotifyChildRemoved()

virtual void GridComponent::onNotifyChildRemoved ( )
virtual

Reimplemented from UIComponent.

◆ $vftable()

MCAPI void ** GridComponent::$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: