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#include "mc/world/redstone/circuit/components/CircuitComponentList.h"
8
9// auto generated forward declare list
10// clang-format off
12class 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 MCNAPI void _removeSideSource(::BlockPos const& posSource);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI uchar $getPoweroutDirection() const;
66
67 MCNAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
68
69 MCNAPI bool $canConsumePowerAnyDirection() const;
70
71 MCNAPI bool $canConsumerPower() const;
72
73 MCNAPI void $removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const* pComponent);
74
75 MCNAPI void $removeFromAnySourceList(::BaseCircuitComponent const* component);
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BaseCircuitComponent.h:19
Definition BlockPos.h:18
Definition CapacitorComponent.h:9
Definition CircuitSceneGraph.h:19
Definition CircuitTrackingInfo.h:14
Definition SidePoweredComponent.h:17
MCAPI void $dtor()
MCAPI bool $canConsumerPower() const
MCAPI bool $canConsumePowerAnyDirection() const
MCAPI uchar $getPoweroutDirection() const
MCAPI void _removeSideSource(::BlockPos const &posSource)
MCAPI void $removeFromAnySourceList(::BaseCircuitComponent const *component)
MCAPI void $removeSource(::BlockPos const &posSource, ::BaseCircuitComponent const *pComponent)
MCAPI bool $allowConnection(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
static MCAPI void ** $vftable()