LeviLamina
Loading...
Searching...
No Matches
ProducerComponent.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 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mNextStrength;
22 ::ll::TypedStorage<1, 1, bool> mAttachedAllowed;
23 ::ll::TypedStorage<1, 1, bool> mStopPower;
24 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 14
31 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
32
33 // vIndex: 3
34 virtual void setStrength(int strength) /*override*/;
35
36 // vIndex: 12
37 virtual bool
38 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
39
40 // vIndex: 8
41 virtual bool canStopPower() const /*override*/;
42
43 // vIndex: 9
44 virtual void setStopPower(bool bPower) /*override*/;
45
46 // vIndex: 24
47 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
48
49 // vIndex: 0
50 virtual ~ProducerComponent() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI ProducerComponent();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor();
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
75
76 MCAPI void $setStrength(int strength);
77
78 MCAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
79
80 MCAPI bool $canStopPower() const;
81
82 MCAPI void $setStopPower(bool bPower);
83
84 MCFOLD ::CircuitComponentType $getCircuitComponentType() const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BaseCircuitComponent.h:20
Definition BlockPos.h:18
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:13
Definition CircuitTrackingInfo.h:14
Definition ProducerComponent.h:17