LeviLamina
Loading...
Searching...
No Matches
DBStorageConfig.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/storage/LevelStorageEventing.h"
5
6// auto generated inclusion list
7#include "mc/deps/core/file/PathBuffer.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
12class ContentIdentity;
16class Scheduler;
17namespace Core { class FileStorageArea; }
18namespace Core { class Path; }
19// clang-format on
20
21struct DBStorageConfig {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::Scheduler&> scheduler;
26 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> fullPath;
27 ::ll::TypedStorage<8, 32, ::std::string> levelId;
28 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> dbSubfolder;
29 ::ll::TypedStorage<8, 8, ::ContentIdentity const*> contentIdentity;
30 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IContentKeyProvider const>> keyProvider;
31 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::SaveTransactionManager>> saveTransactionManager;
32 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> compactionInterval;
33 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> writeFlushInterval;
34 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Core::FileStorageArea>> storageArea;
35 ::ll::TypedStorage<1, 1, bool> enableCompactionListener;
36 ::ll::TypedStorage<1, 1, bool> enableStorage;
37 ::ll::TypedStorage<1, 1, bool> enableSnapshots;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageEventing>> levelStorageEventing;
39 // NOLINTEND
40
41public:
42 DBStorageConfig(DBStorageConfig&&) = default;
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI DBStorageConfig(::Scheduler& scheduler, ::Core::Path const& path, ::std::string const& levelId);
48
49 MCAPI ~DBStorageConfig();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::Scheduler& scheduler, ::Core::Path const& path, ::std::string const& levelId);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition ContentIdentity.h:8
Definition FileStorageArea.h:31
Definition Path.h:12
Definition IContentKeyProvider.h:13
Definition LevelStorageEventing.h:17
Definition SaveTransactionManager.h:14
Definition Scheduler.h:15