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*) /*override*/;
39
40 virtual void removeFromAnySourceList(::BaseCircuitComponent const* component) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void _removeSideSource(::BlockPos const& posSource);
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCFOLD uchar $getPoweroutDirection() const;
59
60 MCFOLD bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
61
62 MCFOLD bool $canConsumePowerAnyDirection() const;
63
64 MCFOLD bool $canConsumerPower() const;
65
66 MCAPI void $removeSource(::BlockPos const& posSource, ::BaseCircuitComponent const*);
67
68 MCAPI void $removeFromAnySourceList(::BaseCircuitComponent const* component);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BaseCircuitComponent.h:19
Definition BlockPos.h:21
Definition CapacitorComponent.h:9
Definition CircuitSceneGraph.h:19
Definition CircuitTrackingInfo.h:14
Definition SidePoweredComponent.h:17