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 ::ui::ViewRequest _onOptionButtonSelected(::UIPropertyBag* bag);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::std::shared_ptr<::ClientInstanceScreenModel> model,
70 ::Player& player,
71 ::BlockPos const& pos,
72 ::ActorUniqueID uniqueId
73 );
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI void $onLeave();
80
81 MCFOLD bool $_isStillValid() const;
82
83 MCAPI void $_registerCoalesceOrder();
84
85 MCAPI void $_registerAutoPlaceOrder();
86
87 MCAPI ::ui::ViewRequest $_onContainerSlotSelected(::std::string const& collectionName, int index);
88
89 MCAPI ::ui::ViewRequest $_onContainerSlotHovered(::std::string const& collectionName, int index);
90 // NOLINTEND
91};
Definition BlockPos.h:17
Definition ClientInstanceScreenModel.h:5
Definition ContainerScreenController.h:5
Definition EnchantingContainerManagerController.h:15
Definition EnchantingScreenController.h:5
Definition Player.h:129
Definition UIPropertyBag.h:5
Definition ActorUniqueID.h:5