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;
21class IMinecraftGame;
23// clang-format on
24
25class EDUSystems : public ::IEDUSystems, public ::edu::auth::CredentialsObserver {
26public:
27// member variables
28// NOLINTBEGIN
29#ifdef LL_PLAT_S
33#else // LL_PLAT_C
52#endif
53 // NOLINTEND
54
55public:
56 // prevent constructor by default
57 EDUSystems& operator=(EDUSystems const&);
58 EDUSystems(EDUSystems const&);
59 EDUSystems();
60
61public:
62 // virtual functions
63 // NOLINTBEGIN
64 virtual ~EDUSystems() /*override*/ = default;
65
66 virtual ::Identity::IEduAuth& getEduAuth() const /*override*/;
67
68#ifdef LL_PLAT_S
69 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
70#else // LL_PLAT_C
71 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
72
73 virtual void onNotify(::EDUConfigData const& state) /*override*/;
74
75 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state) /*override*/;
76#endif
77
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
83#ifdef LL_PLAT_C
84 MCNAPI EDUSystems(
85 ::IMinecraftGame& game,
86 ::EducationServicesEnvironment environment,
87 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
88 );
89
90 MCNAPI ::std::string getReferrerId() const;
91
92 MCNAPI ::ServicePackSystem*
93 initializeServicePackSystem(::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> identity);
94
95 MCNAPI bool needsFramePriority(::AbstractScene* activeScene) const;
96
97 MCNAPI void onInitFinished();
98#endif
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104#ifdef LL_PLAT_C
105 MCNAPI void* $ctor(
106 ::IMinecraftGame& game,
107 ::EducationServicesEnvironment environment,
108 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
109 );
110#endif
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116#ifdef LL_PLAT_C
117 MCNAPI ::Identity::IEduAuth& $getEduAuth() const;
118
119 MCNAPI ::Social::IEduMultiplayerHeadless& $getMultiplayerHeadless() const;
120
121 MCNAPI void $onNotify(::EDUConfigData const& state);
122
124#endif
125
126
127 // NOLINTEND
128};
Definition AbstractScene.h:5
Definition ActiveDirectoryIdentity.h:27
Definition IMinecraftGame.h:5
Definition IEduAuth.h:20
Definition ServicePackSystem.h:5
Definition IEduMultiplayerHeadless.h:25
Definition EDUConfigData.h:11
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