LeviLamina
Loading...
Searching...
No Matches
PulseCapacitor.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/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<1, 1, bool> mPowered;
22 ::ll::TypedStorage<1, 1, bool> mNewPowered;
23 ::ll::TypedStorage<8, 8, ::CircuitComponentType const> mCircuitComponentType;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 6
30 virtual bool canConsumePowerAnyDirection() const /*override*/;
31
32 // vIndex: 7
33 virtual bool canConsumerPower() const /*override*/;
34
35 // vIndex: 12
36 virtual bool
37 allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered) /*override*/;
38
39 // vIndex: 26
40 virtual uchar getPoweroutDirection() const /*override*/;
41
42 // vIndex: 14
43 virtual bool evaluate(::CircuitSystem& system, ::BlockPos const& pos) /*override*/;
44
45 // vIndex: 3
46 virtual void setStrength(int strength) /*override*/;
47
48 // vIndex: 1
49 virtual int getStrength() const /*override*/;
50
51 // vIndex: 24
52 virtual ::CircuitComponentType getCircuitComponentType() const /*override*/;
53
54 // vIndex: 0
55 virtual ~PulseCapacitor() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI bool $canConsumePowerAnyDirection() const;
62
63 MCNAPI bool $canConsumerPower() const;
64
65 MCNAPI bool $allowConnection(::CircuitSceneGraph& graph, ::CircuitTrackingInfo const& info, bool& bDirectlyPowered);
66
67 MCNAPI uchar $getPoweroutDirection() const;
68
69 MCNAPI bool $evaluate(::CircuitSystem& system, ::BlockPos const& pos);
70
71 MCNAPI void $setStrength(int strength);
72
73 MCNAPI int $getStrength() const;
74
75 MCNAPI ::CircuitComponentType $getCircuitComponentType() const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BlockPos.h:18
Definition CapacitorComponent.h:9
Definition CircuitSceneGraph.h:19
Definition CircuitSystem.h:15
Definition CircuitTrackingInfo.h:14
Definition PulseCapacitor.h:17
MCAPI bool $canConsumePowerAnyDirection() const
MCAPI int $getStrength() const
MCAPI bool $allowConnection(::CircuitSceneGraph &graph, ::CircuitTrackingInfo const &info, bool &bDirectlyPowered)
MCAPI::CircuitComponentType $getCircuitComponentType() const
MCAPI uchar $getPoweroutDirection() const
MCAPI bool $canConsumerPower() const
MCAPI bool $evaluate(::CircuitSystem &system, ::BlockPos const &pos)
MCAPI void $setStrength(int strength)
static MCAPI void ** $vftable()