LeviLamina
Loading...
Searching...
No Matches
Storage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ReflectionCtx.h"
7#include "mc/platform/threading/Mutex.h"
8#include "mc/world/level/levelgen/v2/WorldGenContext.h"
9#include "mc/world/level/poi/FileStorage.h"
10#include "mc/world/level/poi/RegionId.h"
11#include "mc/world/level/poi/StorageInfo.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace Poi { struct Region; }
16namespace Poi { struct Registry; }
17// clang-format on
18
19namespace Poi {
20
21struct Storage {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 72, ::entt::dense_map<::Poi::RegionId, ::std::unique_ptr<::Poi::Region>>> mRegions;
26 ::ll::TypedStorage<8, 64, ::std::unordered_set<::Poi::RegionId>> mDirtyRegions;
27 ::ll::TypedStorage<2, 6, ::br::worldgen::WorldGenContext> mWorldContext;
28 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mRegionMutex;
29 ::ll::TypedStorage<8, 64, ::Poi::StorageInfo> mInfo;
30 ::ll::TypedStorage<8, 128, ::cereal::ReflectionCtx> mCtx;
31 ::ll::TypedStorage<8, 64, ::Poi::FileStorage> mBackingStorage;
32 ::ll::TypedStorage<8, 8, ::Poi::Registry const*> mRegistry;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ~Storage();
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCAPI void $dtor();
45 // NOLINTEND
46};
47
48} // namespace Poi
Definition Region.h:7
Definition Registry.h:7
Definition Storage.h:21