Skip to content
LeviMC
English
AutoLightDark
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
30 ::std::unique_ptr<::IStructurePoolBlockTagPredicate>&& sourceBlockTagPredicate,
31 ::std::string resultKey,
32 ::std::string resultValue
33 );
34
35#ifdef LL_PLAT_C
36 MCNAPI void appendMetadataKey(::Util::XXHash& hash) const;
37
38 MCNAPI bool processRule(::Block const& sourceBlock, ::CompoundTag& sourceTag) const;
39#endif
40
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCNAPI void* $ctor(
48 ::std::unique_ptr<::IStructurePoolBlockTagPredicate>&& sourceBlockTagPredicate,
49 ::std::string resultKey,
50 ::std::string resultValue
51 );
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59};
Definition Block.h:42
Definition CompoundTag.h:18
Definition IStructurePoolBlockTagPredicate.h:12
MCAPI StructurePoolBlockTagRule(::std::unique_ptr<::IStructurePoolBlockTagPredicate > &&sourceBlockTagPredicate, ::std::string resultKey, ::std::string resultValue)
MCAPI void * $ctor(::std::unique_ptr<::IStructurePoolBlockTagPredicate > &&sourceBlockTagPredicate, ::std::string resultKey, ::std::string resultValue)
Definition XXHash.h:7