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/platform/threading/Mutex.h"
7#include "mc/world/level/block/block_serialization_utils/NBTState.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12// clang-format on
13
14namespace BlockSerializationUtils {
15
17public:
18 // NbtToBlockCache inner types declare
19 // clang-format off
20 struct Comparator;
21 struct Key;
22 // clang-format on
23
24 // NbtToBlockCache inner types define
25 struct Comparator {};
26
27 struct Key {
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 8, uint64 const> mMainHash;
32 ::ll::TypedStorage<8, 8, uint64 const> mNameHash;
33 ::ll::TypedStorage<4, 4, uint const> mVersion;
34 // NOLINTEND
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<
41 8,
42 16,
43 ::std::map<
45 ::std::pair<::BlockSerializationUtils::NBTState, ::Block const*>,
47 mCache;
48 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mMutex;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI ~NbtToBlockCache();
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62};
63
64} // namespace BlockSerializationUtils
Definition Block.h:43
Definition NbtToBlockCache.h:27
Definition NbtToBlockCache.h:16