LeviLamina
Loading...
Searching...
No Matches
SidePoweredComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/redstone/circuit/components/CapacitorComponent.h"
7
8// auto generated forward declare list
9// clang-format off
11class BlockPos;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::CircuitComponentList> mSideComponents;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 0
28 virtual ~SidePoweredComponent() /*override*/;
29
30 // vIndex: 26
31 virtual uchar getPoweroutDirection() const /*override*/;
32
33 // vIndex: 12
34 virtual bool
35 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
36
37 // vIndex: 6
38 virtual bool canConsumePowerAnyDirection() const /*override*/;
39
40 // vIndex: 7
41 virtual bool canConsumerPower() const /*override*/;
42
43 // vIndex: 10
44 virtual void removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const* pComponent) /*override*/;
45
46 // vIndex: 23
47 virtual void removeFromAnySourceList(::BaseCircuitComponent const* component) /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void _removeSideSource(::BlockPos const& posSource);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD uchar $getPoweroutDirection() const;
66
67 MCFOLD bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
68
69 MCFOLD bool $canConsumePowerAnyDirection() const;
70
71 MCFOLD bool $canConsumerPower() const;
72
73 MCAPI void $removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const* pComponent);
74
75 MCAPI void $removeFromAnySourceList(::BaseCircuitComponent const* component);
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BaseCircuitComponent.h:20
Definition BlockPos.h:18
Definition CapacitorComponent.h:9
Definition CircuitComponentList.h:12
Definition CircuitSceneGraph.h:19
Definition CircuitTrackingInfo.h:14
Definition SidePoweredComponent.h:17