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 Key {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 8, uint64 const> mMainHash;
30 ::ll::TypedStorage<8, 8, uint64 const> mNameHash;
31 ::ll::TypedStorage<4, 4, uint const> mVersion;
32 // NOLINTEND
33 };
34
35 struct Comparator {};
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
56 MCAPI ~NbtToBlockCache();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor();
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCFOLD void $dtor();
69 // NOLINTEND
70};
71
72} // namespace BlockSerializationUtils
Definition Block.h:37
Definition NbtToBlockCache.h:25
Definition NbtToBlockCache.h:16