LeviLamina
Loading...
Searching...
No Matches
Bedrock::Resources::PreloadCache Class Reference
Inheritance diagram for Bedrock::Resources::PreloadCache:

Classes

struct  InFlightTocBuild
struct  InFlightTocBuilds
struct  PreloadedContentMaps
struct  SharedOnlyConstructionTag

Public Member Functions

PreloadCache & operator= (PreloadCache const &)
 PreloadCache (PreloadCache const &)
MCAPI ::std::shared_ptr<::Bedrock::Resources::Archive::TOCReader > _cacheTOCReaderSingleFlight (::Core::Path const &archivePath) const
MCAPI::Bedrock::Resources::PreloadedPathHandle _findPreloadedPath (::Bedrock::Resources::PreloadCache::PreloadedContentMaps const &contentMaps, ::Core::Path const &cleanPath) const
MCAPI::Bedrock::Resources::PreloadState _getAsset (::Bedrock::Resources::PreloadCache::PreloadedContentMaps const &contentMaps, ::Core::Path const &path, ::std::string *assetData) const
MCAPI bool _isNegativelyCached (::Core::Path const &archivePath) const
MCAPI::Bedrock::Resources::PreloadedPathHandle addPreloadedPath (::Core::Path const &path, ::std::unique_ptr<::Bedrock::Resources::Archive::Reader > archiveReader)
MCAPI::Bedrock::Resources::PreloadedPathHandle findPreloadedPath (::Core::Path const &path) const
MCAPI::Bedrock::Resources::PreloadState getAsset (::Core::Path const &path, ::Core::Path const &archivePath, ::std::string &contents) const
MCAPI::Bedrock::Resources::PreloadState hasAssetFallback (::Core::Path const &path, ::Core::Path const &archivePath) const

Static Public Member Functions

static MCAPI void _preloadedPathDeleter (::std::weak_ptr<::Bedrock::Resources::PreloadCache > weakThis, ::Core::Path const &path, ::Bedrock::Resources::Archive::Reader *reader)

Public Attributes

::ll::UntypedStorage< 8, 136 > mUnk3091c8
::ll::UntypedStorage< 8, 16 > mUnk407c1f
::ll::UntypedStorage< 8, 8 > mUnk693ed0
::ll::UntypedStorage< 8, 16 > mUnka4641f
::ll::UntypedStorage< 8, 72 > mUnkba8bc7
::ll::UntypedStorage< 1, 1 > mUnke2c1f0

Member Function Documentation

◆ _cacheTOCReaderSingleFlight()

MCAPI ::std::shared_ptr<::Bedrock::Resources::Archive::TOCReader > Bedrock::Resources::PreloadCache::_cacheTOCReaderSingleFlight ( ::Core::Path const & archivePath) const
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.

◆ _findPreloadedPath()

MCAPI::Bedrock::Resources::PreloadedPathHandle Bedrock::Resources::PreloadCache::_findPreloadedPath ( ::Bedrock::Resources::PreloadCache::PreloadedContentMaps const & contentMaps,
::Core::Path const & cleanPath ) const
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.

◆ _getAsset()

MCAPI::Bedrock::Resources::PreloadState Bedrock::Resources::PreloadCache::_getAsset ( ::Bedrock::Resources::PreloadCache::PreloadedContentMaps const & contentMaps,
::Core::Path const & path,
::std::string * assetData ) const
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.

◆ _isNegativelyCached()

MCAPI bool Bedrock::Resources::PreloadCache::_isNegativelyCached ( ::Core::Path const & archivePath) const
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.

◆ addPreloadedPath()

MCAPI::Bedrock::Resources::PreloadedPathHandle Bedrock::Resources::PreloadCache::addPreloadedPath ( ::Core::Path const & path,
::std::unique_ptr<::Bedrock::Resources::Archive::Reader > archiveReader )
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.

◆ findPreloadedPath()

MCAPI::Bedrock::Resources::PreloadedPathHandle Bedrock::Resources::PreloadCache::findPreloadedPath ( ::Core::Path const & path) const
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.

◆ getAsset()

MCAPI::Bedrock::Resources::PreloadState Bedrock::Resources::PreloadCache::getAsset ( ::Core::Path const & path,
::Core::Path const & archivePath,
::std::string & contents ) const
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.

◆ hasAssetFallback()

MCAPI::Bedrock::Resources::PreloadState Bedrock::Resources::PreloadCache::hasAssetFallback ( ::Core::Path const & path,
::Core::Path const & archivePath ) const
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.

◆ _preloadedPathDeleter()

MCAPI void Bedrock::Resources::PreloadCache::_preloadedPathDeleter ( ::std::weak_ptr<::Bedrock::Resources::PreloadCache > weakThis,
::Core::Path const & path,
::Bedrock::Resources::Archive::Reader * reader )
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 file: