3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/controllers/ContainerScreenController.h"
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::EnchantingContainerManagerController>>
23 mEnchantingContainerManagerController;
24 ::ll::TypedStorage<4, 4, int> mSelectedButton;
29 EnchantingScreenController();
34 virtual ~EnchantingScreenController() =
default;
36 virtual void onLeave() ;
38 virtual bool _isStillValid() const ;
40 virtual
void _registerCoalesceOrder() ;
42 virtual
void _registerAutoPlaceOrder() ;
44 virtual ::ui::ViewRequest _onContainerSlotSelected(::std::
string const& collectionName,
int index) ;
46 virtual ::ui::ViewRequest _onContainerSlotHovered(::std::
string const& collectionName,
int index) ;
52 MCAPI EnchantingScreenController(
53 ::std::shared_ptr<::ClientInstanceScreenModel> model,
55 ::BlockPos const& pos,
56 ::ActorUniqueID uniqueId
59 MCAPI ::ui::ViewRequest _enchantmentClicked(
int option);
61 MCAPI
void _initScreenControllerProxy();
63 MCAPI
void _registerBindings();
65 MCAPI
void _registerEventHandlers();
72 ::std::shared_ptr<::ClientInstanceScreenModel> model,
74 ::BlockPos const& pos,
75 ::ActorUniqueID uniqueId
82 MCFOLD
void $onLeave();
84 MCFOLD
bool $_isStillValid() const;
86 MCAPI
void $_registerCoalesceOrder();
88 MCAPI
void $_registerAutoPlaceOrder();
90 MCAPI ::ui::ViewRequest $_onContainerSlotSelected(::std::
string const& collectionName,
int index);
92 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 ActorUniqueID.h:5