LeviLamina
Loading...
Searching...
No Matches
BaseRailTransporter.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
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
13class CircuitSystem;
15// clang-format on
16
18public:
19 // BaseRailTransporter inner types define
20 enum class RailType : int {
21 Activator = 0,
22 Power = 1,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
29 ::ll::TypedStorage<4, 4, ::BaseRailTransporter::RailType> mRailType;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 12
36 virtual bool
37 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
38
39 // vIndex: 11
40 virtual bool addSource(
42 ::CircuitTrackingInfo const& info,
43 int& dampening,
44 bool& bDirectlyPowered
45 ) /*override*/;
46
47 // vIndex: 14
48 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
49
50 // vIndex: 24
51 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
52
53 // vIndex: 0
54 virtual ~BaseRailTransporter() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
61
62 MCNAPI bool
63 $addSource(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, int& dampening, bool& bDirectlyPowered);
64
65 MCNAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
66
67 MCNAPI ::CircuitComponentType $getCircuitComponentType() const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BaseCircuitComponent.h:19
Definition BaseRailTransporter.h:17
MCAPI bool $addSource(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, int &dampening, bool &bDirectlyPowered)
MCAPI bool $evaluate(::CircuitSystem &system, ::BlockPos const &pos)
static MCAPI void ** $vftable()
MCAPI::CircuitComponentType $getCircuitComponentType() const
MCAPI bool $allowConnection(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
Definition BlockPos.h:18
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:15
Definition CircuitTrackingInfo.h:14