Skip to content
LeviMC
English
AutoLightDark
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 virtual ~SidePoweredComponent() /*override*/;
28
29 virtual uchar getPoweroutDirection() const /*override*/;
30
31 virtual bool
32 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
33
34 virtual bool canConsumePowerAnyDirection() const /*override*/;
35
36 virtual bool canConsumerPower() const /*override*/;
37
38 virtual void removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const* pComponent) /*override*/;
39
40 virtual void removeFromAnySourceList(::BaseCircuitComponent const* component) /*override*/;
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCNAPI uchar $getPoweroutDirection() const;
53
54 MCNAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
55
56 MCNAPI bool $canConsumePowerAnyDirection() const;
57
58 MCNAPI bool $canConsumerPower() const;
59
60 MCNAPI void $removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const* pComponent);
61
62 MCNAPI void $removeFromAnySourceList(::BaseCircuitComponent const* component);
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BaseCircuitComponent.h:19
Definition BlockPos.h:14
Definition CapacitorComponent.h:9
Definition CircuitSceneGraph.h:18
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 $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()