LeviLamina
Loading...
Searching...
No Matches
PistonConsumer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
7#include "mc/world/redstone/circuit/components/ConsumerComponent.h"
8
9// auto generated forward declare list
10// clang-format off
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, uchar> mBlockedFace;
20 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~PistonConsumer() /*override*/ = default;
28
29 // vIndex: 6
30 virtual bool canConsumePowerAnyDirection() const /*override*/;
31
32 // vIndex: 12
33 virtual bool
34 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
35
36 // vIndex: 11
37 virtual bool addSource(
39 ::CircuitTrackingInfo const& info,
40 int& dampening,
41 bool& bDirectlyPowered
42 ) /*override*/;
43
44 // vIndex: 24
45 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCFOLD bool $canConsumePowerAnyDirection() const;
58
59 MCFOLD bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
60
61 MCAPI bool
62 $addSource(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, int& dampening, bool& bDirectlyPowered);
63
64 MCFOLD ::CircuitComponentType $getCircuitComponentType() const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition CircuitSceneGraph.h:19
Definition CircuitTrackingInfo.h:14
Definition ConsumerComponent.h:17
Definition PistonConsumer.h:15