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

Classes

struct  MessageConfig
 

Public Member Functions

GuiDataoperator= (GuiData const &)
 
 GuiData (GuiData const &)
 
virtual void onConfigChanged (::Config const &c)
 
MCAPI GuiData (::IClientInstance &client)
 
MCAPI void _addMessage (::GuiMessage message, ::ProfanityFilterContext profanityFilterContext)
 
MCAPI void _addMessage (::GuiData::MessageConfig messageConfig, ::ProfanityFilterContext profanityFilterContext)
 
MCAPI void _tickDelayedMessages ()
 
MCAPI void _tickItemDrop ()
 
MCAPI void addContentLogMessage (::ContentLogMessage const &message)
 
MCAPI int calculateMaxGuiScaleIndex (::Vec2 const &screenSize) const
 
MCAPI void clearPlayerMessages ()
 
MCAPI void clearSessionState ()
 
MCAPI void displayAnnouncementMessage (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > const &filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
 
MCAPI void displayChatMessage (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > const &filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
 
MCAPI void displayClientMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage, bool ttsRequired)
 
MCAPI void displayDevConsoleMessage (::std::string const &messages)
 
MCAPI void displayLocalizableMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage, ::std::vector<::std::string > const &params)
 
MCAPI void displayLocalizedMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage)
 
MCAPI void displaySystemMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage, ::std::string const &ttsMessage, ::ProfanityFilterContext profanityFilterContext)
 
MCAPI void displayTextObjectMessage (::TextObjectRoot const &textObject, ::std::string const &xuid, ::std::string const &platformId)
 
MCAPI void displayTextObjectWhisperMessage (::std::string const &message, ::std::string const &xuid, ::std::string const &platformId)
 
MCAPI void displayWhisperMessage (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > const &filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
 
MCAPI float floorAlignToScreenPixel (float v) const
 
MCAPI void flushQueuedDevConsoleMessages ()
 
MCAPI float getGuiScale () const
 
MCAPI::RectangleArea getLayoutCustomizationMainPanelRectangle () const
 
MCAPI::RectangleArea getLayoutCustomizationSubPanelRectangle () const
 
MCAPI ::std::vector<::GuiMessagegetPreexistingMessages ()
 
MCAPI::RectangleArea getSafeScreenZoneArea () const
 
MCAPI::RectangleArea getWYSIWYGBottomHudReservedArea () const
 
MCAPI::RectangleArea getWYSIWYGSafeScreenZoneArea () const
 
MCAPI::RectangleArea getWYSIWYGTopReservedArea () const
 
MCAPI bool handleClick ()
 
MCAPI bool isOddGuiScale () const
 
MCAPI void postError (int errCode)
 
MCAPI::RectangleArea const & recomputeHUDHotbarRectangle (float scale)
 
MCAPI void setActionBarMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage)
 
MCAPI void setScreenSizeData (::ScreenSizeData const &screenSizeData)
 
MCAPI void setSubtitle (::std::string const &subtitle, ::std::optional<::std::string > filteredSubtitle)
 
MCAPI void setTextToSpeechEnabled (bool enabled)
 
MCAPI void setTitle (::std::string const &title, ::std::optional<::std::string > filteredTitle)
 
MCAPI::RectangleArea setTouchToolbarArea (::RectangleArea const &toolbarArea)
 
MCAPI void showPopupNotice (::ItemStackBase const &item)
 
MCAPI void showPopupNotice (::std::string const &message, ::std::string const &subtitle)
 
MCAPI void tick ()
 
MCAPI void * $ctor (::IClientInstance &client)
 
MCAPI void $dtor ()
 
MCAPI void $onConfigChanged (::Config const &c)
 

Static Public Member Functions

static MCAPI int getGuiScaleIndexForLargeScreen (::Vec2 const &screenSize)
 
static MCAPI float const & BUTTONS_TRANSPARENCY ()
 
static MCAPI float const & DropTicks ()
 
static MCAPI ::std::array< float, 8 > const & GUI_SCALE_VALUES ()
 
static MCAPI void ** $vftableForIConfigListener ()
 
static MCAPI void ** $vftableForAppPlatformListener ()
 
static MCAPI void ** $vftableForEnableNonOwnerReferences ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 4, 24, ::ScreenSizeDatamScreenSizeData
 
::ll::TypedStorage< 1, 1, bool > mScreenSizeDataValid
 
::ll::TypedStorage< 4, 4, float > mGuiScale
 
::ll::TypedStorage< 4, 4, float > mInvGuiScale
 
::ll::TypedStorage< 1, 1, bool > mOverlappingControlsExist
 
::ll::TypedStorage< 1, 1, bool > mIsCurrentlyActive
 
::ll::TypedStorage< 8, 16, ::std::set< int > > mPostedErrors
 
::ll::TypedStorage< 1, 1, ::MenuPointermMenuPointer
 
::ll::TypedStorage< 2, 2, short > mPointerX
 
::ll::TypedStorage< 2, 2, short > mPointerY
 
::ll::TypedStorage< 1, 1, bool > mHasShowPreexistingMessages
 
::ll::TypedStorage< 1, 1, bool > mToolbarWasRendered
 
::ll::TypedStorage< 4, 4, int > mPrevSelectedSlot
 
::ll::TypedStorage< 1, 1, ::ContainerID > mPrevSelectedInventoryContainer
 
::ll::TypedStorage< 4, 4, int > mFlashSlotId
 
::ll::TypedStorage< 8, 8, double > mFlashSlotStartTime
 
::ll::TypedStorage< 8, 8, ::IClientInstance & > mClient
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mToolbarArea
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mToolbarAreaContainer
 
::ll::TypedStorage< 8, 32, ::std::string > mLastPopupText
 
::ll::TypedStorage< 8, 32, ::std::string > mLastPopupSubtitleText
 
::ll::TypedStorage< 8, 32, ::std::string > mLastJukeboxPopupText
 
::ll::TypedStorage< 8, 32, ::std::string > mLastJukeboxPopupSubtitleText
 
::ll::TypedStorage< 4, 4, int > mTickCount
 
::ll::TypedStorage< 4, 4, float > mItemNameOverlayTime
 
::ll::TypedStorage< 4, 4, float > mJukeboxNameOverlayTime
 
::ll::TypedStorage< 1, 1, bool > mPopupNoticeDirty
 
::ll::TypedStorage< 1, 1, bool > mJukeboxPopupNoticeDirty
 
::ll::TypedStorage< 8, 24, ::std::vector<::GuiMessage > > mGuiMessages
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mDevConsoleMessages
 
::ll::TypedStorage< 4, 4, int > mMaxDevConsoleMessages
 
::ll::TypedStorage< 8, 24, ::std::vector<::ContentLogMessage > > mContentLogMessages
 
::ll::TypedStorage< 8, 8, uint64 > mContentLogErrorCount
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mPerfTurtleMessages
 
::ll::TypedStorage< 8, 232, ::TitleMessagemTitleMessage
 
::ll::TypedStorage< 4, 52, ::std::array<::HudVisibility, 13 > > mHudVisibilityState
 
::ll::TypedStorage< 4, 4, uint > mServerSettingsId
 
::ll::TypedStorage< 8, 32, ::std::string > mServerSettings
 
::ll::TypedStorage< 1, 1, bool > mMuteChat
 
::ll::TypedStorage< 4, 4, float > mCurrentDropTicks
 
::ll::TypedStorage< 4, 8, ::PlayerInventorySlotData > mCurrentDropSlot
 
::ll::TypedStorage< 4, 8, ::PlayerInventorySlotData > mLastSelectedSlot
 
::ll::TypedStorage< 1, 1, bool > mShowProgress
 
::ll::TypedStorage< 8, 32, ::std::string > mTipMessage
 
::ll::TypedStorage< 4, 4, float > mTipMessageLength
 
::ll::TypedStorage< 8, 528, ::mce::MeshmRcFeedbackOuter
 
::ll::TypedStorage< 8, 528, ::mce::MeshmRcFeedbackInner
 
::ll::TypedStorage< 8, 528, ::mce::MeshmVignette
 
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mInvFillMat
 
::ll::TypedStorage< 8, 16, ::mce::MaterialPtr > mCursorMat
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::DevConsoleLogger > > mDevConsoleLogger
 
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastTickTime
 
::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::vector<::GuiMessage > > > mDelayedMessages
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mQueuedDevConsoleMessages
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::Mutex > mQueuedDevMessagesMutex
 
::ll::TypedStorage< 1, 1, bool > mUseEditorGuiScale
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mHUDHotbarRectangle
 
::ll::TypedStorage< 1, 1, ::CoordinateCaptureType > mCoordinateCaptureType
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnGuiScaleUpdatedPublisher
 

Member Function Documentation

◆ onConfigChanged()

virtual void GuiData::onConfigChanged ( ::Config const & c)
virtual

Implements IConfigListener.

◆ $vftableForIConfigListener()

static MCAPI void ** GuiData::$vftableForIConfigListener ( )
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.

◆ $vftableForAppPlatformListener()

static MCAPI void ** GuiData::$vftableForAppPlatformListener ( )
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.

◆ $vftableForEnableNonOwnerReferences()

static MCAPI void ** GuiData::$vftableForEnableNonOwnerReferences ( )
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.

◆ $vftable()

static MCAPI void ** IConfigListener::$vftable ( )
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: