LeviLamina
Loading...
Searching...
No Matches
TransporterComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/redstone/circuit/components/BaseCircuitComponent.h"
7#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
8#include "mc/world/redstone/circuit/components/RedstoneLogicExecutionFlags.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
14class CircuitSystem;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mNextStrength;
23 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 15
30 virtual void cacheValues(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
31
32 // vIndex: 11
33 virtual bool addSource(
35 ::CircuitTrackingInfo const& info,
36 int& dampening,
37 bool& bDirectlyPowered
38 ) /*override*/;
39
40 // vIndex: 12
41 virtual bool
42 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
43
44 // vIndex: 7
45 virtual bool canConsumerPower() const /*override*/;
46
47 // vIndex: 17
48 virtual ::RedstoneLogicExecutionFlags getLogicExecutionFlags() const /*override*/;
49
50 // vIndex: 14
51 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
52
53 // vIndex: 24
54 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
55
56 // vIndex: 0
57 virtual ~TransporterComponent() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI void $cacheValues(::CircuitSystem& system, ::BlockPos const& pos);
70
71 MCAPI bool
72 $addSource(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, int& dampening, bool& bDirectlyPowered);
73
74 MCAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
75
76 MCFOLD bool $canConsumerPower() const;
77
78 MCFOLD ::RedstoneLogicExecutionFlags $getLogicExecutionFlags() const;
79
80 MCAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
81
82 MCFOLD ::CircuitComponentType $getCircuitComponentType() const;
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BaseCircuitComponent.h:20
Definition BlockPos.h:18
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:13
Definition CircuitTrackingInfo.h:14
Definition TransporterComponent.h:18