LeviLamina
Loading...
Searching...
No Matches
PreloadCache.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/resource_processing/PreloadState.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Bedrock::Resources {
class
PreloadedPathHandle; }
11
namespace
Bedrock::Resources::Archive {
class
Reader; }
12
namespace
Core {
class
Path
; }
13
// clang-format on
14
15
namespace
Bedrock::Resources {
16
17
class
PreloadCache
:
public
::std::enable_shared_from_this<::Bedrock::Resources::PreloadCache> {
18
public
:
19
// PreloadCache inner types declare
20
// clang-format off
21
struct
PreloadedContentMaps
;
22
struct
SharedOnlyConstructionTag
;
23
// clang-format on
24
25
// PreloadCache inner types define
26
struct
SharedOnlyConstructionTag
{};
27
28
struct
PreloadedContentMaps
{
29
public
:
30
// member variables
31
// NOLINTBEGIN
32
::ll::UntypedStorage<8, 64>
mUnkea2f7b;
33
::ll::UntypedStorage<8, 64>
mUnk31b19a;
34
// NOLINTEND
35
36
public
:
37
// prevent constructor by default
38
PreloadedContentMaps
& operator=(
PreloadedContentMaps
const
&);
39
PreloadedContentMaps
(
PreloadedContentMaps
const
&);
40
PreloadedContentMaps
();
41
};
42
43
public
:
44
// member variables
45
// NOLINTBEGIN
46
::ll::UntypedStorage<8, 136>
mUnk3091c8;
47
// NOLINTEND
48
49
public
:
50
// prevent constructor by default
51
PreloadCache
& operator=(
PreloadCache
const
&);
52
PreloadCache
(
PreloadCache
const
&);
53
PreloadCache
();
54
55
public
:
56
// member functions
57
// NOLINTBEGIN
58
MCAPI
explicit
PreloadCache
(
::Bedrock::Resources::PreloadCache::SharedOnlyConstructionTag
);
59
60
MCAPI ::Bedrock::Resources::PreloadedPathHandle _findPreloadedPath(
61
::Bedrock::Resources::PreloadCache::PreloadedContentMaps
const
& contentMaps,
62
::Core::Path
const
& cleanPath
63
)
const
;
64
65
MCAPI ::Bedrock::Resources::PreloadState _getAsset(
66
::Bedrock::Resources::PreloadCache::PreloadedContentMaps
const
& contentMaps,
67
::Core::Path
const
& path,
68
::std::string* assetData
69
)
const
;
70
71
MCAPI ::Bedrock::Resources::PreloadedPathHandle
72
addPreloadedPath(
::Core::Path
const
& path, ::std::unique_ptr<::Bedrock::Resources::Archive::Reader> archiveReader);
73
74
MCAPI ::Bedrock::Resources::PreloadedPathHandle findPreloadedPath(
::Core::Path
const
& path)
const
;
75
// NOLINTEND
76
77
public
:
78
// static functions
79
// NOLINTBEGIN
80
MCAPI
static
void
_preloadedPathDeleter(
81
::std::weak_ptr<::Bedrock::Resources::PreloadCache> weakThis,
82
::Core::Path
const
& path,
83
::Bedrock::Resources::Archive::Reader
* reader
84
);
85
// NOLINTEND
86
87
public
:
88
// constructor thunks
89
// NOLINTBEGIN
90
MCAPI
void
* $ctor(
::Bedrock::Resources::PreloadCache::SharedOnlyConstructionTag
);
91
// NOLINTEND
92
};
93
94
}
// namespace Bedrock::Resources
Bedrock::Resources::Archive::Reader
Definition
Reader.h:17
Bedrock::Resources::PreloadCache
Definition
PreloadCache.h:17
Core::Path
Definition
Path.h:15
Path
Definition
Path.h:16
Bedrock::Resources::PreloadCache::PreloadedContentMaps
Definition
PreloadCache.h:28
Bedrock::Resources::PreloadCache::SharedOnlyConstructionTag
Definition
PreloadCache.h:26
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
resource_processing
PreloadCache.h
Generated on Sat Apr 26 2025 05:55:30 for LeviLamina by
1.12.0