LeviLamina
Loading...
Searching...
No Matches
DBStorageEnvironmentChain.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ContentIdentity
;
11
class
FlushableEnv
;
12
class
LevelDbEnv
;
13
struct
DBStorageConfig
;
14
namespace
Core {
class
FileStorageArea; }
15
namespace
Core {
class
Path
; }
16
namespace
Core {
class
Result
; }
17
// clang-format on
18
19
class
DBStorageEnvironmentChain
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::UntypedStorage<8, 8>
mUnk1484c6;
24
::ll::UntypedStorage<8, 8>
mUnkd030a3;
25
::ll::UntypedStorage<8, 8>
mUnkc7d131;
26
::ll::UntypedStorage<8, 8>
mUnk6ac494;
27
::ll::UntypedStorage<8, 8>
mUnk40ad23;
28
::ll::UntypedStorage<8, 24>
mUnkd18cb9;
29
::ll::UntypedStorage<8, 8>
mUnkdc46a3;
30
::ll::UntypedStorage<8, 32>
mUnk9ced13;
31
// NOLINTEND
32
33
public
:
34
// prevent constructor by default
35
DBStorageEnvironmentChain
& operator=(
DBStorageEnvironmentChain
const
&);
36
DBStorageEnvironmentChain
(
DBStorageEnvironmentChain
const
&);
37
DBStorageEnvironmentChain
();
38
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCAPI
DBStorageEnvironmentChain
(
43
::DBStorageConfig
const
& config,
44
::Core::Path
const
& dbPath,
45
::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv
46
);
47
48
MCAPI ::Core::Result isChainValid(
bool
bRequireFilePresence)
const
;
49
50
MCAPI
~DBStorageEnvironmentChain
();
51
// NOLINTEND
52
53
public
:
54
// static functions
55
// NOLINTBEGIN
56
MCAPI static ::std::unique_ptr<::FlushableEnv> createFlushableEnv(
57
::leveldb::Env* currentEnv,
58
::std::shared_ptr<::Core::FileStorageArea> storageAreaForLevel,
59
::Core::Path
const
& dbPath
60
);
61
62
MCAPI
static
bool
isContentKeyValid(
63
::leveldb::Env* rootEnv,
64
::Core::Path
const
& dbPath,
65
::ContentIdentity
const
& contentIdentity,
66
::std::string
const
& contentKey,
67
::std::shared_ptr<::Core::FileStorageArea> storageArea
68
);
69
// NOLINTEND
70
71
public
:
72
// constructor thunks
73
// NOLINTBEGIN
74
MCAPI
void
* $ctor(
75
::DBStorageConfig
const
& config,
76
::Core::Path
const
& dbPath,
77
::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv
78
);
79
// NOLINTEND
80
81
public
:
82
// destructor thunk
83
// NOLINTBEGIN
84
MCAPI
void
$dtor();
85
// NOLINTEND
86
};
ContentIdentity
Definition
ContentIdentity.h:10
Core::Path
Definition
Path.h:15
DBStorageEnvironmentChain
Definition
DBStorageEnvironmentChain.h:19
FlushableEnv
Definition
FlushableEnv.h:5
LevelDbEnv
Definition
LevelDbEnv.h:8
Path
Definition
Path.h:16
Result
Definition
Result.h:6
DBStorageConfig
Definition
DBStorageConfig.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
DBStorageEnvironmentChain.h
Generated on Sat Apr 26 2025 05:56:30 for LeviLamina by
1.12.0