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