LeviLamina
Loading...
Searching...
No Matches
ConsumerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/redstone/circuit/components/BaseCircuitComponent.h"
7#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
13class CircuitSystem;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mSecondaryPowered;
22 ::ll::TypedStorage<1, 1, bool> mPropagatePower;
23 ::ll::TypedStorage<1, 1, bool> mPromotedToProducer;
24 ::ll::TypedStorage<1, 1, bool> mAcceptHalfPulse;
25 ::ll::TypedStorage<1, 1, bool> mAcceptSameDirection;
26 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 14
33 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
34
35 // vIndex: 12
36 virtual bool
37 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
38
39 // vIndex: 11
40 virtual bool addSource(
42 ::CircuitTrackingInfo const& info,
43 int& dampening,
44 bool& bDirectlyPowered
45 ) /*override*/;
46
47 // vIndex: 7
48 virtual bool canConsumerPower() const /*override*/;
49
50 // vIndex: 22
51 virtual bool isSecondaryPowered() const /*override*/;
52
53 // vIndex: 24
54 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
55
56 // vIndex: 0
57 virtual ~ConsumerComponent() /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI ConsumerComponent();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor();
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
82
83 MCAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
84
85 MCAPI bool
86 $addSource(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, int& dampening, bool& bDirectlyPowered);
87
88 MCFOLD bool $canConsumerPower() const;
89
90 MCAPI bool $isSecondaryPowered() const;
91
92 MCFOLD ::CircuitComponentType $getCircuitComponentType() const;
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCAPI static void** $vftable();
99 // NOLINTEND
100};
Definition BaseCircuitComponent.h:20
Definition BlockPos.h:18
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:13
Definition CircuitTrackingInfo.h:14
Definition ConsumerComponent.h:17