LeviLamina
Loading...
Searching...
No Matches
BlockLiquidDetectionDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/BidirectionalUnorderedMap.h"
7#include "mc/world/level/block/LiquidReaction.h"
8#include "mc/world/level/block/LiquidType.h"
9#include "mc/world/level/block/components/BlockComponentDescription.h"
10#include "mc/world/level/block/components/RuleSet.h"
11
12// auto generated forward declare list
13// clang-format off
15class CompoundTag;
16struct DetectionRule;
17namespace cereal { struct ReflectionCtx; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::RuleSet> mDetectionRules;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual ::std::string const& getName() const /*override*/;
36
37 // vIndex: 2
38 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39
40 // vIndex: 4
41 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
42
43 // vIndex: 7
44 virtual bool isNetworkComponent() const /*override*/;
45
46 // vIndex: 8
47 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
48
49 // vIndex: 9
50 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
51
52 // vIndex: 0
53 virtual ~BlockLiquidDetectionDescription() /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI explicit BlockLiquidDetectionDescription(::std::vector<::DetectionRule> detectionRules);
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::std::string const& NameID();
72
73 MCAPI static ::BidirectionalUnorderedMap<::std::string, ::LiquidReaction> const& liquidReactionNameBiMap();
74
75 MCAPI static ::BidirectionalUnorderedMap<::std::string, ::LiquidType> const& liquidTypeNameBiMap();
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor(::std::vector<::DetectionRule> detectionRules);
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCAPI void $dtor();
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCAPI ::std::string const& $getName() const;
94
95 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
96
97 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
98
99 MCFOLD bool $isNetworkComponent() const;
100
101 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
102
103 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockLiquidDetectionDescription.h:20
static MCAPI void ** $vftable()
Definition DetectionRule.h:11
Definition ReflectionCtx.h:11
Definition ctx.h:5