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/world/level/block/registry/IUnknownBlockTypeRegistry.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockType
;
12
class
CompoundTag
;
13
// clang-format on
14
15
class
UnknownBlockTypeRegistry
:
public
::IUnknownBlockTypeRegistry
{
16
public
:
17
// UnknownBlockTypeRegistry inner types define
18
using
UnknownBlockLookupMap = ::std::map<uint64, ::std::unique_ptr<::BlockType>>;
19
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<8, 80, ::std::mutex> mMutex;
24
::ll::TypedStorage<8, 16, ::std::map<uint64, ::std::unique_ptr<::BlockType>>> mUnknownBlockLookupMap;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~UnknownBlockTypeRegistry
()
/*override*/
=
default
;
31
32
virtual ::Block
const
& getUnknownBlock(
::CompoundTag
const
& serId)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// virtual function thunks
37
// NOLINTBEGIN
38
MCAPI ::Block
const
& $getUnknownBlock(
::CompoundTag
const
& serId);
39
40
41
// NOLINTEND
42
};
BlockType
Definition
BlockType.h:79
Block
Definition
Block.h:41
CompoundTag
Definition
CompoundTag.h:18
IUnknownBlockTypeRegistry
Definition
IUnknownBlockTypeRegistry.h:14
UnknownBlockTypeRegistry
Definition
UnknownBlockTypeRegistry.h:15
src
mc
world
level
block
registry
UnknownBlockTypeRegistry.h
Generated on
for LeviLamina by
1.16.1