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

Public Member Functions

virtual void onAppSuspended ()
virtual void onDeviceLost ()
MCAPI void _queueBitmapFont (::std::string const &alias, ::Core::Path const &asciiName, ::Core::Path const &unicodeName, ::std::weak_ptr<::mce::TextureGroup > textureGroupWeakPtr)
MCAPI void _queueMsdfFont (::std::string const &alias, ::Core::Path const &fontPagePrefix, ::std::weak_ptr<::mce::TextureGroup > textureGroupWeakPtr)
MCAPI void _setDefaultFont (::std::string const &fontName, uint64 fontId, ::std::shared_ptr<::Font > font)
MCAPI void _setFontIfOverride (uint64 fontId, ::std::shared_ptr<::Font > font)
MCAPI uint64 addPreloadedFont (::std::string const &fontName, ::std::shared_ptr<::Font > font)
MCAPI void getDefaultFontHandles (::FontHandle &defaultFontHandle, ::FontHandle &runeFontHandle, ::FontHandle &unicodeFontHandle, ::FontHandle &smoothLatinFontHandle, ::FontHandle &uiFontHandle)
MCAPI uint64 getFontIdentifier (::std::string const &fontName)
MCAPI ::std::vector<::ResourceLocationgetReloadFontTextures () const
MCAPI void loadDefaultFonts (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void onLanguageChanged (::std::string const &languageCode)
MCAPI void parseAndLoadMetadataFonts (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void prepForShutdown ()
MCAPI void reloadFontTextures (bool blockingLoad)
MCAPI void resetPerFontData ()
MCAPI void setFont (uint64 fontId, ::std::shared_ptr<::Font > font)
MCAPI void setMinecraftUIFontStyle (::std::string const &languageCode)
MCAPI void setUseFontOverrides (bool useOverrides)
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI void $onAppSuspended ()
MCAPI void $onDeviceLost ()
virtual void onAppPaused ()
virtual void onAppUnpaused ()
virtual void onAppPreSuspended ()
virtual void onAppResumed ()
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
virtual void onAppTerminated ()
virtual void onOperationModeChanged (::OperationMode const operationMode)
virtual void onPerformanceModeChanged (bool const boost)
virtual void onPushNotificationReceived (::PushNotificationMessage const &msg)
virtual void onResizeBegin ()
virtual void onResizeEnd ()
virtual void onAppSurfaceCreated ()
virtual void onAppSurfaceDestroyed ()
virtual void onClipboardCopy (::std::string const &)
virtual void onClipboardPaste (::std::string const &)
virtual void onLowMemory (::LowMemorySeverity)
MCAPI void initListener (float priority)
MCFOLD void $onAppPaused ()
MCFOLD void $onAppUnpaused ()
MCFOLD void $onAppPreSuspended ()
MCFOLD void $onAppResumed ()
MCFOLD void $onAppFocusLost ()
MCFOLD void $onAppFocusGained ()
MCFOLD void $onAppTerminated ()
MCFOLD void $onPerformanceModeChanged (bool const boost)
MCFOLD void $onPushNotificationReceived (::PushNotificationMessage const &msg)
MCFOLD void $onResizeBegin ()
MCFOLD void $onResizeEnd ()
MCFOLD void $onAppSurfaceCreated ()
MCFOLD void $onAppSurfaceDestroyed ()
MCFOLD void $onClipboardCopy (::std::string const &)
MCFOLD void $onClipboardPaste (::std::string const &)
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI uint64 & INVALID_FONT ()
static MCAPI void ** $vftableForAppPlatformListener ()
static MCAPI void ** $vftableForEnableNonOwnerReferences ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIsInitialized
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::Font > > > mLoadedFonts
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, uint64 > > mFontNameToIdentifier
::ll::TypedStorage< 8, 8, uint64 > mDefaultFontId
::ll::TypedStorage< 8, 8, uint64 > mRuneFontId
::ll::TypedStorage< 8, 8, uint64 > mUnicodeFontId
::ll::TypedStorage< 8, 8, uint64 > mSmoothFontLatinFontId
::ll::TypedStorage< 8, 8, uint64 > mUIFontId
::ll::TypedStorage< 8, 8, uint64 > mSmoothSmallFontID
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::shared_ptr<::Font > > > mOriginalMinecraftFonts
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::shared_ptr<::Font > > > mOverriddenFonts
::ll::TypedStorage< 8, 24, ::std::vector<::Bedrock::Threading::Async< void > > > mFontLoadingTaskTrackers
::ll::TypedStorage< 8, 32, ::std::string > mLanguageCode
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ onAppSuspended()

virtual void FontRepository::onAppSuspended ( )
virtual

Reimplemented from AppPlatformListener.

◆ onDeviceLost()

virtual void FontRepository::onDeviceLost ( )
virtual

Reimplemented from AppPlatformListener.

◆ $vftableForAppPlatformListener()

MCAPI void ** FontRepository::$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 ** FontRepository::$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/2]

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

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: