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 MCNAPI explicit BlockLiquidDetectionDescription(::std::vector<::DetectionRule> detectionRules);
61 // NOLINTEND
62
63public:
64 // static functions
65 // NOLINTBEGIN
66 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
67 // NOLINTEND
68
69public:
70 // static variables
71 // NOLINTBEGIN
72 MCNAPI static ::std::string const& NameID();
73
74 MCNAPI static ::BidirectionalUnorderedMap<::std::string, ::LiquidReaction> const& liquidReactionNameBiMap();
75
76 MCNAPI static ::BidirectionalUnorderedMap<::std::string, ::LiquidType> const& liquidTypeNameBiMap();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCNAPI void* $ctor(::std::vector<::DetectionRule> detectionRules);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCNAPI ::std::string const& $getName() const;
95
96 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
97
98 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
99
100 MCNAPI bool $isNetworkComponent() const;
101
102 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
103
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition BlockComponentStorage.h:8
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockLiquidDetectionDescription.h:19
static MCAPI void ** $vftable()
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
MCAPI bool $isNetworkComponent() const
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::BidirectionalUnorderedMap<::std::string, ::LiquidReaction > const & liquidReactionNameBiMap()
static MCAPI ::std::string const & NameID()
MCAPI::std::string const & $getName() const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
static MCAPI ::BidirectionalUnorderedMap<::std::string, ::LiquidType > const & liquidTypeNameBiMap()
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
MCAPI BlockLiquidDetectionDescription(::std::vector<::DetectionRule > detectionRules)
MCAPI void * $ctor(::std::vector<::DetectionRule > detectionRules)
Definition DetectionRule.h:10
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14