LeviLamina
Loading...
Searching...
No Matches
CustomTemplatesScreenController.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/screens/controllers/MainMenuScreenController.h"
8
9// auto generated forward declare list
10// clang-format off
11class DlcUIWrapper;
12class PlayScreenModel;
13struct PackIdVersion;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DlcUIWrapper>> mDlcUIWrapper;
23 ::ll::TypedStorage<1, 1, bool> mDirty;
24 ::ll::TypedStorage<8, 8, ::std::vector<::WorldTemplateInfo> const&> mCustomTemplates;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 CustomTemplatesScreenController& operator=(CustomTemplatesScreenController const&);
30 CustomTemplatesScreenController(CustomTemplatesScreenController const&);
31 CustomTemplatesScreenController();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~CustomTemplatesScreenController() /*override*/ = default;
37
38 virtual void onCreation() /*override*/;
39
40 virtual ::ui::DirtyFlag tick() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI CustomTemplatesScreenController(
47 ::std::shared_ptr<::PlayScreenModel> model,
48 ::std::vector<::WorldTemplateInfo> const& customTemplates
49 );
50
51 MCAPI void _createWorldTemplate(::PackIdVersion const& packId, ::std::function<void()> failureCallback);
52
53 MCAPI void _handleWorldTemplateClicked(::WorldTemplateInfo const& level);
54
55 MCAPI void _registerBindings();
56
57 MCAPI void _registerEvents();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void*
64 $ctor(::std::shared_ptr<::PlayScreenModel> model, ::std::vector<::WorldTemplateInfo> const& customTemplates);
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $onCreation();
71
72 MCAPI ::ui::DirtyFlag $tick();
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
79
80 MCNAPI static void** $vftableForScreenController();
81 // NOLINTEND
82};
Definition CustomTemplatesScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition DlcUIWrapper.h:5
Definition MainMenuScreenController.h:5
Definition PlayScreenModel.h:5
Definition PackIdVersion.h:10
Definition WorldTemplateInfo.h:12