LeviLamina
Loading...
Searching...
No Matches
UnknownBlockTypeRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SharedPtr.h"
7#include "mc/platform/threading/Mutex.h"
8#include "mc/world/level/block/registry/IUnknownBlockTypeRegistry.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockType;
14class CompoundTag;
15// clang-format on
16
18public:
19 // UnknownBlockTypeRegistry inner types define
20 using UnknownBlockLookupMap = ::std::map<uint64, ::SharedPtr<::BlockType>>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mMutex;
26 ::ll::TypedStorage<8, 16, ::std::map<uint64, ::SharedPtr<::BlockType>>> mUnknownBlockLookupMap;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~UnknownBlockTypeRegistry() /*override*/ = default;
33
34 virtual ::Block const& getUnknownBlock(::CompoundTag const& serId) /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void _registerBlock(::std::string const& name, uint64 serIdHash);
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI ::Block const& $getUnknownBlock(::CompoundTag const& serId);
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCAPI static void** $vftable();
55 // NOLINTEND
56};
static MCAPI void ** $vftable()
Definition BlockType.h:84
Definition Block.h:43
Definition CompoundTag.h:23
Definition IUnknownBlockTypeRegistry.h:14
Definition UnknownBlockTypeRegistry.h:17