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