3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/ScreenController.h"
19 using IndexSelectionFunc = ::std::function<int(::UIPropertyBag&)>;
21 using VisibilityFunc = ::std::function<bool(::UIPropertyBag&,
int)>;
26 ::ll::TypedStorage<8, 32, ::std::string> mFirstControlName;
27 ::ll::TypedStorage<1, 1, bool> mFocusFirst;
28 ::ll::TypedStorage<1, 1, bool> mNestedContentVisible;
29 ::ll::TypedStorage<4, 4, int> mSelectedIndex;
30 ::ll::TypedStorage<4, 4, uint> mBaseButtonId;
31 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mIgnoredControls;
36 NestedButtonScreenController();
41 virtual ::ui::ViewRequest handleEvent(::ScreenEvent& screenEvent) ;
43 virtual ~NestedButtonScreenController() =
default;
49 MCAPI
explicit NestedButtonScreenController(::std::shared_ptr<::MinecraftScreenModel> model);
51 MCAPI
void setUpCallbacksForNestedButtonInCollection(
52 ::std::string
const& nestedBaseButtonId,
53 ::std::string
const& nestedControlEnabledBinding,
54 ::std::vector<uint> ignoredControls,
55 ::std::function<
int(::UIPropertyBag&)> indexSelectionFunc,
56 ::std::function<
bool(::UIPropertyBag&,
int)> visibilityFunction,
57 ::std::string firstControlName
64 MCAPI
void* $ctor(::std::shared_ptr<::MinecraftScreenModel> model);
70 MCAPI ::ui::ViewRequest $handleEvent(::ScreenEvent& screenEvent);
Definition MinecraftScreenModel.h:5
Definition ScreenController.h:5
Definition ScreenEvent.h:5
Definition UIPropertyBag.h:5