LeviLamina
Loading...
Searching...
No Matches
ClassroomSettingsScreenController.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/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/ClassroomSettingsScreenControllerCallbacks.h"
9#include "mc/client/gui/screens/controllers/SettingsScreenControllerBase.h"
10#include "mc/options/EduSharedUriResource.h"
11
12// auto generated forward declare list
13// clang-format off
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // ClassroomSettingsScreenController inner types declare
21 // clang-format off
22 struct Capabilities;
23 // clang-format on
24
25 // ClassroomSettingsScreenController inner types define
26 enum class UriResourceValidationStatus : int {
27 Empty = 0,
28 ButtonSetUriEmpty = 1,
29 Invalid = 2,
30 Valid = 3,
31 };
32
33 struct Capabilities {
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<1, 1, bool> mIsShareLinkEnabled;
38 // NOLINTEND
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<1, 1, ::ClassroomSettingsScreenController::Capabilities> mCapabilities;
45 ::ll::TypedStorage<8, 128, ::ClassroomSettingsScreenControllerCallbacks> mScreenCallbacks;
46 ::ll::TypedStorage<4, 4, ::ClassroomSettingsScreenController::UriResourceValidationStatus>
47 mUriResourceValidationStatus;
48 ::ll::TypedStorage<8, 64, ::EduSharedUriResource> mSharedUriResource;
49 ::ll::TypedStorage<8, 64, ::EduSharedUriResource> mSharedUriResourceLastTick;
50 // NOLINTEND
51
52public:
53 // prevent constructor by default
54 ClassroomSettingsScreenController();
55
56public:
57 // virtual functions
58 // NOLINTBEGIN
59 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
60
61 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) /*override*/;
62
63 virtual ~ClassroomSettingsScreenController() /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI ClassroomSettingsScreenController(
70 ::std::shared_ptr<::MainMenuScreenModel> model,
71 ::ClassroomSettingsScreenControllerCallbacks const& screenCallbacks
72 );
73
74 MCAPI void _registerEventHandlers();
75
76 MCAPI void _setEduSharedResourceValue();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(
83 ::std::shared_ptr<::MainMenuScreenModel> model,
84 ::ClassroomSettingsScreenControllerCallbacks const& screenCallbacks
85 );
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCAPI void $dtor();
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
98
99 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
106
107 MCNAPI static void** $vftableForScreenController();
108 // NOLINTEND
109};
Definition ClassroomSettingsScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition Value.h:16
Definition MainMenuScreenModel.h:5
Definition SettingsScreenControllerBase.h:5
Definition ClassroomSettingsScreenController.h:15