LeviLamina
Loading...
Searching...
No Matches
BeaconContainerManagerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/controllers/ContainerManagerController.h"
7
8// auto generated forward declare list
9// clang-format off
11struct SelectedSlotInfo;
12struct SlotData;
13// clang-format on
14
15class BeaconContainerManagerController : public ::ContainerManagerController {
16public:
17 // BeaconContainerManagerController inner types define
18 enum class ButtonId : int {
19 IdInvalid = -1,
20 IdConfirm = 0,
21 IdCancel = 1,
22 IdSpeed = 2,
23 IdHaste = 3,
24 IdResist = 4,
25 IdJump = 5,
26 IdStrength = 6,
27 IdRegen = 7,
28 IdExtra = 8,
29 NumButtonId = 9,
30 };
31
32 enum class ButtonStatus : int {
33 Active = 0,
34 Inactive = 1,
35 Hidden = 2,
36 Selected = 3,
37 };
38
39 enum class ClickStatus : int {
40 Ok = 0,
41 Exit = 1,
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
47 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::BeaconContainerManagerModel>> mBeaconContainerManagerModel;
48 // NOLINTEND
49
50#ifdef LL_PLAT_S
51#else // LL_PLAT_C
52public:
53 // prevent constructor by default
54 BeaconContainerManagerController();
55
56#endif
57public:
58 // virtual functions
59 // NOLINTBEGIN
60 virtual ~BeaconContainerManagerController() /*override*/ = default;
61
62 virtual void handlePlaceAll(::SelectedSlotInfo const& selected, ::SlotData const& dstSlot) /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68#ifdef LL_PLAT_C
69 MCNAPI explicit BeaconContainerManagerController(::std::weak_ptr<::BeaconContainerManagerModel> ptrModel);
70
71 MCNAPI void _confirmTransaction();
72
73 MCNAPI void _setupCallbacks();
74
75 MCNAPI ::BeaconContainerManagerController::ClickStatus
76 buttonClicked(::BeaconContainerManagerController::ButtonId id);
77
78 MCNAPI ::std::string getButtonHoverText(::std::string const& buttonName) const;
79
80 MCNAPI ::BeaconContainerManagerController::ButtonStatus getButtonStatus(::std::string const& buttonName) const;
81
82 MCNAPI bool isSecondaryEffect(::std::string const& buttonName) const;
83#endif
84 // NOLINTEND
85
86public:
87 // static functions
88 // NOLINTBEGIN
89#ifdef LL_PLAT_C
90 MCNAPI static ::BeaconContainerManagerController::ButtonId buttonNameToButtonId(::std::string const& buttonName);
91#endif
92 // NOLINTEND
93
94public:
95 // constructor thunks
96 // NOLINTBEGIN
97#ifdef LL_PLAT_C
98 MCNAPI void* $ctor(::std::weak_ptr<::BeaconContainerManagerModel> ptrModel);
99#endif
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105#ifdef LL_PLAT_C
106 MCNAPI void $handlePlaceAll(::SelectedSlotInfo const& selected, ::SlotData const& dstSlot);
107#endif
108
109
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
static MCAPI void ** $vftable()
Definition BeaconContainerManagerModel.h:16
Definition SelectedSlotInfo.h:10
Definition SlotData.h:5