LeviLamina
Loading...
Searching...
No Matches
ElementConstructorScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/controllers/ContainerScreenController.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
13class Player;
14struct ActorUniqueID;
15// clang-format on
16
18public:
19 // ElementConstructorScreenController inner types define
20 enum class ParticleType : uchar {
21 Proton = 0,
22 Electron = 1,
23 Neutron = 2,
24 Count = 3,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ElementConstructorContainerManagerController>> mManagerController;
31 ::ll::TypedStorage<4, 12, int[3]> mParticleCounts;
32 ::ll::TypedStorage<1, 1, bool> mInitModel;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 ElementConstructorScreenController();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~ElementConstructorScreenController() /*override*/ = default;
43
44 virtual bool _isStillValid() const /*override*/;
45
46 virtual void _registerCoalesceOrder() /*override*/;
47
48 virtual void _registerAutoPlaceOrder() /*override*/;
49
50 virtual ::std::string _getButtonADescription() /*override*/;
51
52 virtual ::std::string _getButtonXDescription() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI ElementConstructorScreenController(
59 ::std::shared_ptr<::ClientInstanceScreenModel> model,
60 ::Player& player,
61 ::BlockPos const& pos,
62 ::ActorUniqueID uniqueId
63 );
64
65 MCAPI void
66 _registerParticleBindings(::ElementConstructorScreenController::ParticleType type, ::std::string const& name);
67
68 MCAPI void
69 _registerParticleEventHandlers(::ElementConstructorScreenController::ParticleType type, ::std::string const& name);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(
76 ::std::shared_ptr<::ClientInstanceScreenModel> model,
77 ::Player& player,
78 ::BlockPos const& pos,
79 ::ActorUniqueID uniqueId
80 );
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI bool $_isStillValid() const;
87
88 MCAPI void $_registerCoalesceOrder();
89
90 MCAPI void $_registerAutoPlaceOrder();
91
92 MCAPI ::std::string $_getButtonADescription();
93
94 MCAPI ::std::string $_getButtonXDescription();
95 // NOLINTEND
96};
Definition BlockPos.h:17
Definition ClientInstanceScreenModel.h:5
Definition ContainerScreenController.h:5
Definition ElementConstructorContainerManagerController.h:5
Definition ElementConstructorScreenController.h:5
Definition Player.h:129
Definition ActorUniqueID.h:5