LeviLamina
Loading...
Searching...
No Matches
EDUSystems.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/edu/CredentialsObserver.h"
7#include "mc/certificates/identity/edu/GenericCredentialsEvent.h"
8#include "mc/common/IEDUSystems.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/options/EducationServicesEnvironment.h"
11
12// auto generated forward declare list
13// clang-format off
15struct EDUConfigData;
16namespace Identity { class IEduAuth; }
17namespace Identity { struct ActiveDirectoryIdentityParameters; }
18namespace Social { class IEduMultiplayerHeadless; }
19namespace edu::auth { struct CredsLost; }
20class AbstractScene;
22class IClientInstance;
24class IMinecraftGame;
25class LessonInfo;
28class WebviewSystem;
29namespace EduCloud { struct IEduCloudSaveSystem; }
30namespace Social { class MultiplayerService; }
31// clang-format on
32
33class EDUSystems : public ::IEDUSystems, public ::edu::auth::CredentialsObserver {
34public:
35// member variables
36// NOLINTBEGIN
37#ifdef LL_PLAT_S
41#else // LL_PLAT_C
60#endif
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
65 EDUSystems& operator=(EDUSystems const&);
66 EDUSystems(EDUSystems const&);
67 EDUSystems();
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72#ifdef LL_PLAT_S
73 virtual ~EDUSystems() /*override*/ = default;
74#else // LL_PLAT_C
75 virtual ~EDUSystems() /*override*/;
76#endif
77
78 virtual ::Identity::IEduAuth& getEduAuth() const /*override*/;
79
80#ifdef LL_PLAT_S
81 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
82#else // LL_PLAT_C
83 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
84
85 virtual void onNotify(::EDUConfigData const& state) /*override*/;
86
87 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state) /*override*/;
88#endif
89
90 // NOLINTEND
91
92public:
93 // member functions
94 // NOLINTBEGIN
95#ifdef LL_PLAT_C
96 MCNAPI EDUSystems(
97 ::IMinecraftGame& game,
98 ::EducationServicesEnvironment environment,
99 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
100 );
101
102 MCNAPI void _setupImmersiveReaderListener(::IClientInstance& client);
103
104 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> getActiveDirectoryIdentity();
105
106 MCNAPI ::ActiveDirectorySystem& getActiveDirectorySystem();
107
108 MCNAPI ::LibraryDeeplinkListener* getDeepLinkListener() const;
109
110 MCNAPI ::IEDUDiscoveryService& getDiscoveryService();
111
112 MCNAPI ::Bedrock::NonOwnerPointer<::EduCloud::IEduCloudSaveSystem> getEduCloudSaveSystem();
113
114 MCNAPI ::LessonInfo& getLessonInfo() const;
115
116 MCNAPI void
117 getMultiplayerServiceListToRegister(::std::vector<::std::shared_ptr<::Social::MultiplayerService>>& inout);
118
119 MCNAPI ::std::string getReferrerId() const;
120
121 MCNAPI ::ServicePackSystem* getServicePackSystem() const;
122
123 MCNAPI ::WebviewSystem* getWebviewSystem();
124
125 MCNAPI ::ServicePackSystem*
126 initializeServicePackSystem(::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> identity);
127
128 MCNAPI bool needsFramePriority(::AbstractScene* activeScene) const;
129
130 MCNAPI void onClientLevelExit();
131
132 MCNAPI void onInitFinished();
133
134 MCNAPI void setDeepLinkListener(::std::unique_ptr<::LibraryDeeplinkListener> listener);
135
136 MCNAPI void setReferrerId(::std::string referrerId);
137
138 MCNAPI void setReferrerType(::std::string referrerType);
139
140 MCNAPI void tick(bool isAuthenticated) const;
141#endif
142 // NOLINTEND
143
144public:
145 // constructor thunks
146 // NOLINTBEGIN
147#ifdef LL_PLAT_C
148 MCNAPI void* $ctor(
149 ::IMinecraftGame& game,
150 ::EducationServicesEnvironment environment,
151 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
152 );
153#endif
154 // NOLINTEND
155
156public:
157 // destructor thunk
158 // NOLINTBEGIN
159 MCNAPI void $dtor();
160 // NOLINTEND
161
162public:
163 // virtual function thunks
164 // NOLINTBEGIN
165#ifdef LL_PLAT_C
166 MCNAPI ::Identity::IEduAuth& $getEduAuth() const;
167
168 MCNAPI ::Social::IEduMultiplayerHeadless& $getMultiplayerHeadless() const;
169
170 MCNAPI void $onNotify(::EDUConfigData const& state);
171
173#endif
174
175
176 // NOLINTEND
177
178public:
179 // vftables
180 // NOLINTBEGIN
181 MCNAPI static void** $vftableForCredentialsObserver();
182
183 MCNAPI static void** $vftableForIEDUSystems();
184 // NOLINTEND
185};
Definition AbstractScene.h:5
Definition ActiveDirectoryIdentity.h:39
Definition ActiveDirectorySystem.h:5
static MCAPI void ** $vftableForCredentialsObserver()
static MCAPI void ** $vftableForIEDUSystems()
MCAPI void $dtor()
Definition IClientInstance.h:5
Definition IEDUDiscoveryService.h:5
Definition IMinecraftGame.h:5
Definition IEduAuth.h:21
Definition LessonInfo.h:5
Definition LibraryDeeplinkListener.h:5
Definition ServicePackSystem.h:5
Definition IEduMultiplayerHeadless.h:24
Definition MultiplayerService.h:7
Definition WebviewSystem.h:5
Definition EDUConfigData.h:15
Definition IEduCloudSaveSystem.h:7
Definition ActiveDirectoryIdentityParameters.h:7
Definition CredentialsObserver.h:7
MCAPI void $onNotify(::edu::auth::CredentialsAcquired const &state)
Definition CredsLost.h:7
Definition GenericCredentialsEvent.h:8
Definition Alias.h:14