LeviLamina
Loading...
Searching...
No Matches
NbtToBlockCache.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/block_serialization_utils/NBTState.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11// clang-format on
12
13namespace BlockSerializationUtils {
14
16public:
17 // NbtToBlockCache inner types declare
18 // clang-format off
19 struct Comparator;
20 struct Key;
21 // clang-format on
22
23 // NbtToBlockCache inner types define
24 struct Comparator {};
25
26 struct Key {
27 public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, uint64 const> mMainHash;
31 ::ll::TypedStorage<8, 8, uint64 const> mNameHash;
32 ::ll::TypedStorage<4, 4, uint const> mVersion;
33 // NOLINTEND
34 };
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<
40 8,
41 16,
42 ::std::map<
44 ::std::pair<::BlockSerializationUtils::NBTState, ::Block const*>,
46 mCache;
47 ::ll::TypedStorage<8, 80, ::std::mutex> mMutex;
48 // NOLINTEND
49};
50
51} // namespace BlockSerializationUtils
Definition Block.h:41
Definition NbtToBlockCache.h:26
Definition NbtToBlockCache.h:15