Skip to content
LeviMC
English
AutoLightDark
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;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DlcUIWrapper>> mDlcUIWrapper;
22 ::ll::TypedStorage<1, 1, bool> mDirty;
23 ::ll::TypedStorage<8, 8, ::std::vector<::WorldTemplateInfo> const&> mCustomTemplates;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 CustomTemplatesScreenController& operator=(CustomTemplatesScreenController const&);
29 CustomTemplatesScreenController(CustomTemplatesScreenController const&);
30 CustomTemplatesScreenController();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~CustomTemplatesScreenController() /*override*/ = default;
36
37 virtual void onCreation() /*override*/;
38
39 virtual ::ui::DirtyFlag tick() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46 ::std::shared_ptr<::PlayScreenModel> model,
47 ::std::vector<::WorldTemplateInfo> const& customTemplates
48 );
49
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void*
57 $ctor(::std::shared_ptr<::PlayScreenModel> model, ::std::vector<::WorldTemplateInfo> const& customTemplates);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI void $onCreation();
64
65 MCNAPI ::ui::DirtyFlag $tick();
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
72
73 MCNAPI static void** $vftableForScreenController();
74 // NOLINTEND
75};
Definition CustomTemplatesScreenController.h:5
MCAPI CustomTemplatesScreenController(::std::shared_ptr<::PlayScreenModel > model, ::std::vector<::WorldTemplateInfo > const &customTemplates)
MCAPI void * $ctor(::std::shared_ptr<::PlayScreenModel > model, ::std::vector<::WorldTemplateInfo > const &customTemplates)
MCAPI::ui::DirtyFlag $tick()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
MCAPI void _handleWorldTemplateClicked(::WorldTemplateInfo const &level)
Definition DlcUIWrapper.h:5
Definition MainMenuScreenController.h:5
Definition PlayScreenModel.h:5
Definition WorldTemplateInfo.h:12