3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/controllers/ContainerScreenController.h"
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::EnchantingContainerManagerController>>
24 mEnchantingContainerManagerController;
25 ::ll::TypedStorage<4, 4, int> mSelectedButton;
30 EnchantingScreenController();
35 virtual ~EnchantingScreenController() =
default;
37 virtual void onLeave() ;
39 virtual bool _isStillValid() const ;
41 virtual
void _registerCoalesceOrder() ;
43 virtual
void _registerAutoPlaceOrder() ;
45 virtual ::ui::ViewRequest _onContainerSlotSelected(::std::
string const& collectionName,
int index) ;
47 virtual ::ui::ViewRequest _onContainerSlotHovered(::std::
string const& collectionName,
int index) ;
53 MCAPI EnchantingScreenController(
54 ::std::shared_ptr<::ClientInstanceScreenModel> model,
56 ::BlockPos const& pos,
57 ::ActorUniqueID uniqueId
60 MCAPI ::ui::ViewRequest _enchantmentClicked(
int option);
62 MCAPI
void _initScreenControllerProxy();
64 MCAPI ::ui::ViewRequest _onOptionButtonClicked(::UIPropertyBag* bag);
66 MCAPI ::ui::ViewRequest _onOptionButtonSelected(::UIPropertyBag* bag);
68 MCAPI
void _registerBindings();
70 MCAPI
void _registerEventHandlers();
77 ::std::shared_ptr<::ClientInstanceScreenModel> model,
79 ::BlockPos const& pos,
80 ::ActorUniqueID uniqueId
87 MCFOLD
void $onLeave();
89 MCFOLD
bool $_isStillValid() const;
91 MCAPI
void $_registerCoalesceOrder();
93 MCAPI
void $_registerAutoPlaceOrder();
95 MCAPI ::ui::ViewRequest $_onContainerSlotSelected(::std::
string const& collectionName,
int index);
97 MCAPI ::ui::ViewRequest $_onContainerSlotHovered(::std::
string const& collectionName,
int index);
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 UIPropertyBag.h:5
Definition ActorUniqueID.h:10