LeviLamina
Loading...
Searching...
No Matches
EnchantingScreenController.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 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::EnchantingContainerManagerController>>
23 mEnchantingContainerManagerController;
24 ::ll::TypedStorage<4, 4, int> mSelectedButton;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 EnchantingScreenController();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~EnchantingScreenController() /*override*/ = default;
35
36 virtual void onLeave() /*override*/;
37
38 virtual bool _isStillValid() const /*override*/;
39
40 virtual void _registerCoalesceOrder() /*override*/;
41
42 virtual void _registerAutoPlaceOrder() /*override*/;
43
44 virtual ::ui::ViewRequest _onContainerSlotSelected(::std::string const& collectionName, int index) /*override*/;
45
46 virtual ::ui::ViewRequest _onContainerSlotHovered(::std::string const& collectionName, int index) /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI EnchantingScreenController(
53 ::std::shared_ptr<::ClientInstanceScreenModel> model,
54 ::Player& player,
55 ::BlockPos const& pos,
56 ::ActorUniqueID uniqueId
57 );
58
59 MCAPI ::ui::ViewRequest _enchantmentClicked(int option);
60
61 MCAPI void _initScreenControllerProxy();
62
63 MCAPI void _registerBindings();
64
65 MCAPI void _registerEventHandlers();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 ::std::shared_ptr<::ClientInstanceScreenModel> model,
73 ::Player& player,
74 ::BlockPos const& pos,
75 ::ActorUniqueID uniqueId
76 );
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCFOLD void $onLeave();
83
84 MCFOLD bool $_isStillValid() const;
85
86 MCAPI void $_registerCoalesceOrder();
87
88 MCAPI void $_registerAutoPlaceOrder();
89
90 MCAPI ::ui::ViewRequest $_onContainerSlotSelected(::std::string const& collectionName, int index);
91
92 MCAPI ::ui::ViewRequest $_onContainerSlotHovered(::std::string const& collectionName, int index);
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
99
100 MCNAPI static void** $vftableForScreenController();
101 // NOLINTEND
102};
Definition BlockPos.h:19
Definition ClientInstanceScreenModel.h:5
Definition ContainerScreenController.h:5
Definition EnchantingContainerManagerController.h:15
Definition EnchantingScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition Player.h:125
Definition ActorUniqueID.h:5