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 IClientInstance;
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#ifdef LL_PLAT_S
65 virtual ~EDUSystems() /*override*/ = default;
66#else // LL_PLAT_C
67 virtual ~EDUSystems() /*override*/;
68#endif
69
70 virtual ::Identity::IEduAuth& getEduAuth() const /*override*/;
71
72#ifdef LL_PLAT_S
73 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
74#else // LL_PLAT_C
75 virtual ::Social::IEduMultiplayerHeadless& getMultiplayerHeadless() const /*override*/;
76
77 virtual void onNotify(::EDUConfigData const& state) /*override*/;
78
79 virtual void onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state) /*override*/;
80#endif
81
82 // NOLINTEND
83
84public:
85 // member functions
86 // NOLINTBEGIN
87#ifdef LL_PLAT_C
88 MCNAPI EDUSystems(
89 ::IMinecraftGame& game,
90 ::EducationServicesEnvironment environment,
91 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
92 );
93
94 MCNAPI void _setupImmersiveReaderListener(::IClientInstance& client);
95
96 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> getActiveDirectoryIdentity();
97
98 MCNAPI ::ServicePackSystem*
99 initializeServicePackSystem(::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> identity);
100
101 MCNAPI void onInitFinished();
102
103 MCNAPI void setReferrerId(::std::string referrerId);
104
105 MCNAPI void setReferrerType(::std::string referrerType);
106
107 MCNAPI void tick(bool isAuthenticated) const;
108#endif
109 // NOLINTEND
110
111public:
112 // constructor thunks
113 // NOLINTBEGIN
114#ifdef LL_PLAT_C
115 MCNAPI void* $ctor(
116 ::IMinecraftGame& game,
117 ::EducationServicesEnvironment environment,
118 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
119 );
120#endif
121 // NOLINTEND
122
123public:
124 // destructor thunk
125 // NOLINTBEGIN
126 MCNAPI void $dtor();
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132#ifdef LL_PLAT_C
133 MCNAPI ::Identity::IEduAuth& $getEduAuth() const;
134
135 MCNAPI ::Social::IEduMultiplayerHeadless& $getMultiplayerHeadless() const;
136
137 MCNAPI void $onNotify(::EDUConfigData const& state);
138
139 MCNAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state);
140#endif
141
142
143 // NOLINTEND
144
145public:
146 // vftables
147 // NOLINTBEGIN
148 MCNAPI static void** $vftableForCredentialsObserver();
149
150 MCNAPI static void** $vftableForIEDUSystems();
151 // NOLINTEND
152};
Definition ActiveDirectoryIdentity.h:33
static MCAPI void ** $vftableForCredentialsObserver()
static MCAPI void ** $vftableForIEDUSystems()
MCAPI void $dtor()
Definition IClientInstance.h:5
Definition IMinecraftGame.h:5
Definition IEduAuth.h:20
Definition ServicePackSystem.h:5
Definition IEduMultiplayerHeadless.h:24
Definition EDUConfigData.h:15
Definition ActiveDirectoryIdentityParameters.h:7
Definition CredentialsObserver.h:25
Definition CredsLost.h:7
Definition GenericCredentialsEvent.h:8
Definition Alias.h:14