LeviLamina
Loading...
Searching...
No Matches
EncyclopediaScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/EncyclopediaTopicIndex.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
13class UIPropertyBag;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 32, ::std::string> mCurrentTabTitle;
21 ::ll::TypedStorage<4, 4, ::EncyclopediaTopicIndex> mCurrentTab;
22 ::ll::TypedStorage<4, 4, ::EncyclopediaTopicIndex> mInitialTab;
23 ::ll::TypedStorage<1, 1, bool> mInitialTabSelected;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 EncyclopediaScreenController();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~EncyclopediaScreenController() /*override*/ = default;
34
35 virtual void onOpen() /*override*/;
36
37 virtual bool bind(
38 ::std::string const& bindingName,
39 uint bindingNameHash,
40 ::std::string const& bindingNameOverride,
41 ::UIPropertyBag& bag
42 ) /*override*/;
43
44 virtual ::ui::DirtyFlag tick() /*override*/;
45
46 virtual ::std::string _getButtonADescription() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI EncyclopediaScreenController(::std::shared_ptr<::MainMenuScreenModel> model, ::EncyclopediaTopicIndex topic);
53
54 MCAPI void _registerBindings();
55
56 MCAPI void _registerEventHandlers();
57
58 MCAPI void _selectNewTab(bool isInitialTab, int newTabIndex);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::EncyclopediaTopicIndex topic);
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $onOpen();
71
72 MCFOLD bool $bind(
73 ::std::string const& bindingName,
74 uint bindingNameHash,
75 ::std::string const& bindingNameOverride,
76 ::UIPropertyBag& bag
77 );
78
79 MCAPI ::ui::DirtyFlag $tick();
80
81 MCFOLD ::std::string $_getButtonADescription();
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftableForScreenController();
88
90 // NOLINTEND
91};
Definition EncyclopediaScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition UIPropertyBag.h:5