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 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI ClassroomSettingsScreenController(
68 ::std::shared_ptr<::MainMenuScreenModel> model,
69 ::ClassroomSettingsScreenControllerCallbacks const& screenCallbacks
70 );
71
72 MCAPI ::std::string _getEduSharedResourceName() const;
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 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
92
93 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
100
101 MCNAPI static void** $vftableForScreenController();
102 // NOLINTEND
103};
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