LeviLamina
Loading...
Searching...
No Matches
UserCacheManager.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/file/PathBuffer.h"
7
#include "mc/deps/core/utility/NonOwnerPointer.h"
8
#include "mc/platform/brstd/move_only_function.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
AppPlatform
;
13
namespace
Bedrock {
struct
DirectoryEntry
; }
14
// clang-format on
15
16
namespace
Bedrock {
17
18
class
UserCacheManager {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::UntypedStorage<8, 32>
mUnk20203c;
23
::ll::UntypedStorage<8, 64>
mUnk324c0d;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
UserCacheManager& operator=(UserCacheManager
const
&);
29
UserCacheManager(UserCacheManager
const
&);
30
UserCacheManager();
31
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
#ifdef LL_PLAT_C
36
MCNAPI UserCacheManager(
37
::Core::PathBuffer<::std::string>
const
& cachePath,
38
::brstd::move_only_function
<
::Bedrock::NonOwnerPointer<::AppPlatform>
()> getAppPlatform
39
);
40
41
MCNAPI
bool
clearDownloadStorageIfFull(::std::vector<::Bedrock::DirectoryEntry>& folders);
42
43
MCNAPI
bool
clearUserStorageIfFull(::std::vector<::Bedrock::DirectoryEntry>& folders);
44
#endif
45
// NOLINTEND
46
47
public
:
48
// static functions
49
// NOLINTBEGIN
50
#ifdef LL_PLAT_C
51
MCNAPI
static
void
_getDirectoryContents(
52
::std::vector<::Bedrock::DirectoryEntry>& folders,
53
::Core::PathBuffer<::std::string>
const
& filePath
54
);
55
56
MCNAPI
static
void
_getDirectorySizeAndDeleteDirectoryContents(
::Core::PathBuffer<::std::string>
const
& path);
57
#endif
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
#ifdef LL_PLAT_C
64
MCNAPI
void
* $ctor(
65
::Core::PathBuffer<::std::string>
const
& cachePath,
66
::brstd::move_only_function
<
::Bedrock::NonOwnerPointer<::AppPlatform>
()> getAppPlatform
67
);
68
#endif
69
// NOLINTEND
70
};
71
72
}
// namespace Bedrock
AppPlatform
Definition
AppPlatform.h:78
Bedrock::NonOwnerPointer
Definition
NonOwnerPointer.h:9
Core::PathBuffer
Definition
PathBuffer.h:8
brstd::move_only_function
Definition
move_only_function.h:9
Bedrock::DirectoryEntry
Definition
DirectoryEntry.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
application
user_cache
UserCacheManager.h
Generated on
for LeviLamina by
1.16.1