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 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
31
32 virtual void setStrength(int strength) /*override*/;
33
34 virtual bool
35 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
36
37 virtual bool canStopPower() const /*override*/;
38
39 virtual void setStopPower(bool bPower) /*override*/;
40
41 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
48
49 MCAPI void $setStrength(int strength);
50
51 MCAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
52
53 MCAPI bool $canStopPower() const;
54
55 MCAPI void $setStopPower(bool bPower);
56
57 MCFOLD ::CircuitComponentType $getCircuitComponentType() const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCAPI static void** $vftable();
66 // NOLINTEND
67};
Definition BaseCircuitComponent.h:19
Definition BlockPos.h:17
Definition CircuitSceneGraph.h:18
Definition CircuitSystem.h:15
Definition CircuitTrackingInfo.h:14
Definition ProducerComponent.h:17