3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/resource_processing/PreloadState.h"
11namespace Bedrock::Resources::Archive {
class Reader; }
12namespace Core {
class Path; }
15namespace Bedrock::Resources {
17class PreloadCache :
public ::std::enable_shared_from_this<::Bedrock::Resources::PreloadCache> {
26 struct PreloadedContentMaps {
36 PreloadedContentMaps& operator=(PreloadedContentMaps
const&);
37 PreloadedContentMaps(PreloadedContentMaps
const&);
38 PreloadedContentMaps();
63 PreloadCache& operator=(PreloadCache
const&);
64 PreloadCache(PreloadCache
const&);
77 MCNAPI ::Bedrock::Resources::PreloadState
_getAsset(
80 ::std::string* assetData
83 MCNAPI ::Bedrock::Resources::PreloadedPathHandle
93 ::std::weak_ptr<::Bedrock::Resources::PreloadCache> weakThis,
MCAPI void * $ctor(::Bedrock::Resources::PreloadCache::SharedOnlyConstructionTag)
MCAPI::Bedrock::Resources::PreloadedPathHandle _findPreloadedPath(::Bedrock::Resources::PreloadCache::PreloadedContentMaps const &contentMaps, ::Core::Path const &cleanPath) const
static MCAPI void _preloadedPathDeleter(::std::weak_ptr<::Bedrock::Resources::PreloadCache > weakThis, ::Core::Path const &path, ::Bedrock::Resources::Archive::Reader *reader)
MCAPI::Bedrock::Resources::PreloadState _getAsset(::Bedrock::Resources::PreloadCache::PreloadedContentMaps const &contentMaps, ::Core::Path const &path, ::std::string *assetData) const
MCAPI PreloadCache(::Bedrock::Resources::PreloadCache::SharedOnlyConstructionTag)
MCAPI::Bedrock::Resources::PreloadedPathHandle findPreloadedPath(::Core::Path const &path) const
MCAPI::Bedrock::Resources::PreloadedPathHandle addPreloadedPath(::Core::Path const &path, ::std::unique_ptr<::Bedrock::Resources::Archive::Reader > archiveReader)
Definition PreloadedPathHandle.h:15
Definition PreloadCache.h:26
MCAPI ~PreloadedContentMaps()
Definition PreloadCache.h:53