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 &)
MCAPI GuiData (::IClientInstance &client)
MCAPI void _addMessage (::GuiMessage message, ::ProfanityFilterContext profanityFilterContext)
MCAPI void _addMessage (::GuiData::MessageConfig messageConfig, ::ProfanityFilterContext profanityFilterContext)
MCAPI void _setSubtitleInternal (::std::string const &subtitle, ::std::optional<::std::string > filteredSubtitle)
MCAPI void _setTitleInternal (::std::string const &title, ::std::optional<::std::string > filteredTitle)
MCAPI void _tickDelayedMessages ()
MCAPI void _tickItemDrop ()
MCAPI void addContentLogMessage (::ContentLogMessage const &message)
MCAPI void addSubtitle (::std::string const &message, ::SoundDirection direction, bool isLocalPlayer)
MCAPI float calculateGuiScale (::Vec2 const &totalScreenSize, ::Vec2 const &safeZone, float forcedGuiScale, ::cg::math::Rect< float > const &clientViewportModifiers)
MCAPI int calculateMaxGuiScaleIndex (::Vec2 const &screenSize) const
MCAPI int calculateOptimalGuiScaleIndex (::Vec2 const &safezoneClientScreenSize) const
MCAPI float ceilAlignToScreenPixel (float v) const
MCAPI::Vec2 ceilToGuiScale (::Vec2 const &screenSize) const
MCAPI void clearContentLogMessages ()
MCAPI void clearDevConsoleScreenMessages ()
MCAPI void clearPlayerMessages ()
MCAPI void clearSessionState ()
MCAPI void clearTitle ()
MCAPI void clearTitleMessages ()
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 displayTextObjectWhisperMessage (::TextObjectRoot const &textObject, ::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 void flashSlot (int slotId)
MCAPI float floorAlignToScreenPixel (float v) const
MCAPI void flushQueuedDevConsoleMessages ()
MCAPI int getClampedGuiScaleOffset () const
MCAPI::Vec2 getClientWindowOffset () const
MCFOLD ::std::vector<::ContentLogMessage > const & getContentLogMessages () const
MCAPI::CoordinateCaptureType getCoordinateCaptureType () const
MCAPI::PlayerInventorySlotData getCurrentDropSlot () const
MCAPI float getCurrentDropTicks () const
MCFOLD::mce::MaterialPtr const & getCursorMat () const
MCFOLD ::std::vector<::std::string > const & getDevConsoleScreenMessages ()
MCAPI float getGuiScale () const
MCAPI::RectangleArea const & getHUDHotbarRectangle () const
MCFOLD ::std::array<::HudVisibility, 13 > const & getHudVisibilityState () const
MCAPI::mce::MaterialPtr const & getInvFillMat () const
MCFOLD float getInvGuiScale () const
MCAPI::std::string const & getLastChatMessage ()
MCAPI::std::string const & getLastContentLogMessage () const
MCAPI::std::string const & getLastDevConsoleMessage ()
MCAPI::std::string const getLastFilteredChatMessage ()
MCAPI::RectangleArea getLayoutCustomizationMainPanelRectangle () const
MCAPI::RectangleArea getLayoutCustomizationSubPanelRectangle () const
MCFOLD ::std::vector<::GuiMessage > & getMessageList ()
MCAPI bool getNewJukeboxPopupNotice (::std::string &message, ::std::string &subtitle)
MCAPI bool getNewPopupNotice (::std::string &message, ::std::string &subtitle)
MCFOLD uint64 getNumContentLogErrors () const
MCFOLD int getNumSlots () const
MCAPI::IOptionRegistry const & getOptions () const
MCAPI short getPointerX () const
MCAPI short getPointerY () const
MCAPI ::std::vector<::GuiMessagegetPreexistingMessages ()
MCAPI::mce::Mesh & getRcFeedbackInner ()
MCFOLD::mce::Mesh & getRcFeedbackOuter ()
MCAPI::RectangleArea getSafeScreenZoneArea () const
MCFOLD::ScreenSizeData const & getScreenSizeData () const
MCFOLD::std::string const & getServerSettings ()
MCAPI uint getServerSettingsId ()
MCFOLD bool getShowProgress () const
MCFOLD ::std::vector<::GuiMessage > & getSubtitleList ()
MCAPI bool getTipMessage (::std::string &message)
MCFOLD::TitleMessage const & getTitleMessage () const
MCAPI::mce::Mesh & getVignette ()
MCAPI::RectangleArea getWYSIWYGBottomHudReservedArea () const
MCAPI::RectangleArea getWYSIWYGBottomReservedArea () const
MCAPI::RectangleArea getWYSIWYGLeftReservedArea () const
MCAPI::RectangleArea getWYSIWYGRightReservedArea () const
MCAPI::RectangleArea getWYSIWYGSafeScreenZoneArea () const
MCAPI::RectangleArea getWYSIWYGTopReservedArea () const
MCAPI float getXToScreenRatio (float x) const
MCAPI float getYToScreenRatio (float y) const
MCAPI bool handleClick ()
MCAPI bool isHudElementVisible (::HudElement hudElement) const
MCFOLD bool isMuteChat () const
MCAPI bool isOddGuiScale () const
MCFOLD void onLevelGenerated ()
MCAPI void postError (int errCode)
MCAPI::RectangleArea const & recomputeHUDHotbarRectangle (float scale)
MCAPI::Bedrock::PubSub::Subscription registerToGuiScaleChangedEvent (::std::function< void()> callback)
MCAPI::Bedrock::PubSub::Subscription registerToServerFormDataAvailableEvent (::std::function< void()> callback)
MCAPI void resetTitle ()
MCFOLD bool screenSizeDataValid () const
MCAPI void setActionBarMessage (::std::string const &message, ::std::optional<::std::string > const &filteredMessage)
MCAPI void setCoordinateCaptureType (::CoordinateCaptureType coordinateCaptureType)
MCAPI void setGuiScale (float scale)
MCAPI void setHudVisibilityState (::std::vector<::HudElement > const &hudElements, ::HudVisibility hudVisibility)
MCAPI void setLastSelectedSlot (int slot, ::ContainerID containerId)
MCAPI void setMenuPointerPressed (bool pressed)
MCAPI void setMuteChat (bool isMuted)
MCFOLD void setOverlappingControlsExist (bool overlappingControlsExist)
MCAPI void setScreenSizeData (::ScreenSizeData const &screenSizeData)
MCAPI void setServerSettings (uint id, ::std::string const &settings)
MCAPI void setShowProgress (bool value)
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 void setTitleAnimationTimes (int fadeInTime, int stayTime, int fadeOutTime)
MCAPI::RectangleArea setTouchToolbarArea (::RectangleArea const &toolbarArea)
MCAPI void showJukeboxPopupNotice (::std::string const &message, ::std::string const &subtitle)
MCAPI void showPopupNotice (::ItemStackBase const &item)
MCAPI void showPopupNotice (::std::string const &message, ::std::string const &subtitle)
MCAPI void showTipMessage (::std::string const &message)
MCAPI void tick ()
MCAPI void toggleMuteChat ()
MCAPI void updateGuiScaleAndScreenSize (::Vec2 const &totalScreenSize, ::Vec2 const &safeZone, float forcedGuiScale, ::Vec2 const &clientScreenSize, ::cg::math::Rect< float > const &clientViewportModifiers)
MCAPI void updatePointerLocation (short x, short y)
MCAPI void useEditorGuiScale (bool shouldUse)
MCAPI bool wasToolbarClicked () const
MCAPI void * $ctor (::IClientInstance &client)
MCAPI void $onConfigChanged (::Config const &)
virtual void onAppPaused ()
virtual void onAppUnpaused ()
virtual void onAppPreSuspended ()
virtual void onAppSuspended ()
virtual void onAppResumed ()
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
virtual void onAppTerminated ()
virtual void onOperationModeChanged (::OperationMode const operationMode)
virtual void onPerformanceModeChanged (bool const)
virtual void onPushNotificationReceived (::PushNotificationMessage const &msg)
virtual void onResizeBegin ()
virtual void onResizeEnd ()
virtual void onDeviceLost ()
virtual void onAppSurfaceCreated ()
virtual void onAppSurfaceDestroyed ()
virtual void onClipboardCopy (::std::string const &clipString)
virtual void onClipboardPaste (::std::string const &clipString)
virtual void onLowMemory (::LowMemorySeverity)
MCAPI void initListener (float priority)
MCAPI void terminate ()
MCAPI void * $ctor (bool doInit)
MCAPI void $dtor ()
MCFOLD void $onAppPaused ()
MCFOLD void $onAppUnpaused ()
MCFOLD void $onAppPreSuspended ()
MCFOLD void $onAppSuspended ()
MCFOLD void $onAppResumed ()
MCFOLD void $onAppFocusLost ()
MCFOLD void $onAppFocusGained ()
MCFOLD void $onAppTerminated ()
MCFOLD void $onOperationModeChanged (::OperationMode const operationMode)
MCFOLD void $onPerformanceModeChanged (bool const)
MCFOLD void $onPushNotificationReceived (::PushNotificationMessage const &msg)
MCFOLD void $onResizeBegin ()
MCFOLD void $onResizeEnd ()
MCFOLD void $onDeviceLost ()
MCFOLD void $onAppSurfaceCreated ()
MCFOLD void $onAppSurfaceDestroyed ()
MCFOLD void $onClipboardCopy (::std::string const &)
MCFOLD void $onClipboardPaste (::std::string const &)
MCFOLD void $onLowMemory (::LowMemorySeverity)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI int calculateMinimumAllowedScale (int maxScale)
static MCAPI float resolveGuiScale (int index)
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 ()
static MCAPI void ** $vftable ()
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, ::RectangleAreamToolbarArea
::ll::TypedStorage< 4, 16, ::RectangleAreamToolbarAreaContainer
::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<::GuiMessage > > mSubtitleMessages
::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, ::PlayerInventorySlotDatamCurrentDropSlot
::ll::TypedStorage< 4, 8, ::PlayerInventorySlotDatamLastSelectedSlot
::ll::TypedStorage< 1, 1, bool > mShowProgress
::ll::TypedStorage< 8, 32, ::std::string > mTipMessage
::ll::TypedStorage< 4, 4, float > mTipMessageLength
::ll::TypedStorage< 8, 552, ::mce::MeshmRcFeedbackOuter
::ll::TypedStorage< 8, 552, ::mce::MeshmRcFeedbackInner
::ll::TypedStorage< 8, 552, ::mce::MeshmVignette
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmInvFillMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmCursorMat
::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::MutexmQueuedDevMessagesMutex
::ll::TypedStorage< 1, 1, bool > mUseEditorGuiScale
::ll::TypedStorage< 4, 16, ::RectangleAreamHUDHotbarRectangle
::ll::TypedStorage< 1, 1, ::CoordinateCaptureType > mCoordinateCaptureType
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnGuiScaleUpdatedPublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mServerFormDataAvailable
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ onConfigChanged()

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

Implements IConfigListener.

◆ $vftableForIConfigListener()

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()

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()

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() [1/3]

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.

◆ $vftable() [2/3]

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

◆ $vftable() [3/3]

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