Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GrindstoneScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/controllers/ContainerScreenController.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
14class Player;
15struct ActorUniqueID;
16// clang-format on
17
19public:
20 // GrindstoneScreenController inner types define
21 enum class SlotIndex : int {
22 Input = 0,
23 Additional = 1,
24 Result = 2,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GrindstoneContainerManagerController>>
31 mGrindstoneContainerManagerController;
32 ::ll::TypedStorage<4, 4, ::GrindstoneScreenController::SlotIndex> mHoveredSlot;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 GrindstoneScreenController();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~GrindstoneScreenController() /*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 _getButtonXDescription() /*override*/;
51
52 virtual ::ui::ViewRequest _onContainerSlotHovered(::std::string const& collectionName, int index) /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI GrindstoneScreenController(
59 ::std::shared_ptr<::ClientInstanceScreenModel> model,
60 ::Player&,
61 ::BlockPos const& pos,
63 );
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void*
70 $ctor(::std::shared_ptr<::ClientInstanceScreenModel> model, ::Player&, ::BlockPos const& pos, ::ActorUniqueID);
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI bool $_isStillValid() const;
77
79
81
82 MCNAPI ::std::string $_getButtonXDescription();
83
84 MCNAPI ::ui::ViewRequest $_onContainerSlotHovered(::std::string const& collectionName, int index);
85 // NOLINTEND
86};
Definition BlockPos.h:14
Definition ClientInstanceScreenModel.h:5
Definition ContainerScreenController.h:5
Definition GrindstoneContainerManagerController.h:22
Definition GrindstoneScreenController.h:5
MCAPI void $_registerCoalesceOrder()
MCAPI bool $_isStillValid() const
MCAPI::std::string $_getButtonXDescription()
MCAPI::ui::ViewRequest $_onContainerSlotHovered(::std::string const &collectionName, int index)
MCAPI void * $ctor(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &, ::BlockPos const &pos, ::ActorUniqueID)
MCAPI void $_registerAutoPlaceOrder()
Definition Player.h:131
STL namespace.
Definition ActorUniqueID.h:5