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& config) /*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 MCNAPI_C EDUSystems(
88 ::IMinecraftGame& game,
89 ::EducationServicesEnvironment environment,
90 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
91 );
92
93 MCNAPI_C void _setupImmersiveReaderListener(::IClientInstance& client);
94
95 MCNAPI_C ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> getActiveDirectoryIdentity();
96
97 MCNAPI_C ::ServicePackSystem*
98 initializeServicePackSystem(::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> identity);
99
100 MCNAPI_C void onInitFinished();
101
102 MCNAPI_C void setReferrerId(::std::string referrerId);
103
104 MCNAPI_C void setReferrerType(::std::string referrerType);
105
106 MCNAPI_C void tick(bool isAuthenticated) const;
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCNAPI_C void* $ctor(
113 ::IMinecraftGame& game,
114 ::EducationServicesEnvironment environment,
115 ::Identity::ActiveDirectoryIdentityParameters&& activeDirectoryIdentityParameters
116 );
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122 MCNAPI void $dtor();
123 // NOLINTEND
124
125public:
126 // virtual function thunks
127 // NOLINTBEGIN
128#ifdef LL_PLAT_C
129 MCNAPI ::Identity::IEduAuth& $getEduAuth() const;
130
131 MCNAPI ::Social::IEduMultiplayerHeadless& $getMultiplayerHeadless() const;
132
133 MCNAPI void $onNotify(::EDUConfigData const& config);
134
135 MCNAPI void $onNotify(::edu::auth::GenericCredentialsEvent<::edu::auth::CredsLost> const& state);
136#endif
137
138
139 // NOLINTEND
140
141public:
142 // vftables
143 // NOLINTBEGIN
144 MCNAPI static void** $vftableForCredentialsObserver();
145
146 MCNAPI static void** $vftableForIEDUSystems();
147 // NOLINTEND
148};
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 IEduMultiplayerHeadless.h:23
Definition EDUConfigData.h:15
Definition ActiveDirectoryIdentityParameters.h:7
Definition ServicePackSystem.h:5
Definition CredentialsObserver.h:25
Definition CredsLost.h:7
Definition GenericCredentialsEvent.h:8
Definition Alias.h:14