LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockTagRule.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class CompoundTag;
10namespace Util { class XXHash; }
11// clang-format on
12
13class StructurePoolBlockTagRule {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IStructurePoolBlockTagPredicate> const> mSourcePredicate;
18 ::ll::TypedStorage<8, 32, ::std::string const> mResultKey;
19 ::ll::TypedStorage<8, 32, ::std::string const> mResultValue;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 StructurePoolBlockTagRule();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI StructurePoolBlockTagRule(
30 ::std::unique_ptr<::IStructurePoolBlockTagPredicate>&& sourceBlockTagPredicate,
31 ::std::string resultKey,
32 ::std::string resultValue
33 );
34
35 MCAPI void appendMetadataKey(::Util::XXHash& hash) const;
36
37 MCAPI bool processRule(::Block const& sourceBlock, ::CompoundTag& sourceTag) const;
38
39 MCAPI ~StructurePoolBlockTagRule();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void* $ctor(
46 ::std::unique_ptr<::IStructurePoolBlockTagPredicate>&& sourceBlockTagPredicate,
47 ::std::string resultKey,
48 ::std::string resultValue
49 );
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57};
Definition Block.h:69
Definition CompoundTag.h:23
Definition IStructurePoolBlockTagPredicate.h:12
Definition XXHash.h:7