LeviLamina
Loading...
Searching...
No Matches
LevelChunkMetaDataDictionary.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class IDataInput;
9// clang-format on
10
12public:
13 // LevelChunkMetaDataDictionary inner types define
14 using PostSerializeWriteCallback = ::std::function<void(::std::string const&)>;
15
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::map<uint64, ::std::shared_ptr<::LevelChunkMetaData>>> mDictionary;
20 ::ll::TypedStorage<1, 1, bool> mDictionaryDirty;
21 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mSharedMutex;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI ::std::shared_ptr<::LevelChunkMetaData> _registerMetaData(::LevelChunkMetaData const& candidateMetaData);
28
29 MCAPI void checkAndSerialize(::std::function<void(::std::string const&)> postSerializeWriteCallback) const;
30
31 MCAPI void deserialize(::IDataInput& stream);
32 // NOLINTEND
33};
Definition IDataInput.h:8
Definition LevelChunkMetaDataDictionary.h:11
Definition LevelChunkMetaData.h:10