LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateBlockMatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/structurepools/IStructurePoolBlockPredicate.h"
7#include "mc/world/level/levelgen/structure/structurepools/StructurePoolBlockPredicateType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class HashedString;
14class IRandom;
15namespace Util { class XXHash; }
16// clang-format on
17
18class StructurePoolBlockPredicateBlockMatch : public ::IStructurePoolBlockPredicate {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString> const> mBlockMatchings;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 StructurePoolBlockPredicateBlockMatch();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool test(::Block const& block, ::IRandom&) const /*override*/;
33
34 virtual bool test(::BlockPos const&, ::BlockPos const&, ::IRandom&) const /*override*/;
35
36 virtual ::StructurePoolBlockPredicateType getType() const /*override*/;
37
38 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit StructurePoolBlockPredicateBlockMatch(::Block const& block);
45
46 MCAPI explicit StructurePoolBlockPredicateBlockMatch(::std::vector<::HashedString> blockMatchings);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::Block const& block);
53
54 MCAPI void* $ctor(::std::vector<::HashedString> blockMatchings);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI bool $test(::Block const& block, ::IRandom&) const;
61
62 MCFOLD bool $test(::BlockPos const&, ::BlockPos const&, ::IRandom&) const;
63
64 MCFOLD ::StructurePoolBlockPredicateType $getType() const;
65
66 MCAPI void $appendMetadataKey(::Util::XXHash& hash) const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockPos.h:21
Definition Block.h:69
Definition HashedString.h:5
Definition IRandom.h:10
Definition IStructurePoolBlockPredicate.h:17
Definition XXHash.h:7