LeviLamina
Loading...
Searching...
No Matches
MinecraftActiveDirectoryAuthentication.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/controllers/ActiveDirectoryAuthenticationInterface.h"
7#include "mc/client/gui/screens/controllers/AuthenticationUIState.h"
8#include "mc/deps/identity/edu_common/ActiveDirectoryAuthenticationState.h"
9
10// auto generated forward declare list
11// clang-format off
14class TransactionContext;
15struct EduPurchaseDetails;
16struct Purchase;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MinecraftScreenModel>> mMinecraftScreenModel;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 MinecraftActiveDirectoryAuthentication();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~MinecraftActiveDirectoryAuthentication() /*override*/ = default;
34
35 virtual ::ActiveDirectoryAuthenticationState getAuthenticationState() const /*override*/;
36
37 virtual ::std::optional<::ActiveDirectoryPopup> getPopup() const /*override*/;
38
39 virtual ::std::string getTrialPopupId() const /*override*/;
40
41 virtual ::AuthenticationUIState getSignInUIState() const /*override*/;
42
43 virtual bool shouldShowPurchaseDialog() const /*override*/;
44
45 virtual bool shouldAllowExitGame() const /*override*/;
46
47 virtual bool shouldShowTrialPurchaseLink() const /*override*/;
48
49 virtual ::AuthenticationUIState initializeActiveDirectorySignIn(bool displaySignIn) /*override*/;
50
51 virtual void setActiveDirectoryAuthenticationOfferPurchase() /*override*/;
52
53 virtual bool purchaseEduLicense(::std::unique_ptr<::TransactionContext> context) /*override*/;
54
55 virtual bool getUnfulfilledEduPurchase(::EduPurchaseDetails& details) const /*override*/;
56
57 virtual bool fulfillPriorEduPurchase(
58 ::std::weak_ptr<::Purchase> purchase,
59 ::std::unique_ptr<::TransactionContext> context
60 ) /*override*/;
61
62 virtual ::AuthenticationUIState doSignIn(::AuthenticationUIState currentState) /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI explicit MinecraftActiveDirectoryAuthentication(::std::shared_ptr<::MinecraftScreenModel> model);
69
70 MCAPI bool _isIOS() const;
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(::std::shared_ptr<::MinecraftScreenModel> model);
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::ActiveDirectoryAuthenticationState $getAuthenticationState() const;
83
84 MCAPI ::std::optional<::ActiveDirectoryPopup> $getPopup() const;
85
86 MCAPI ::std::string $getTrialPopupId() const;
87
88 MCAPI ::AuthenticationUIState $getSignInUIState() const;
89
90 MCAPI bool $shouldShowPurchaseDialog() const;
91
92 MCFOLD bool $shouldAllowExitGame() const;
93
94 MCFOLD bool $shouldShowTrialPurchaseLink() const;
95
96 MCAPI ::AuthenticationUIState $initializeActiveDirectorySignIn(bool displaySignIn);
97
98 MCAPI void $setActiveDirectoryAuthenticationOfferPurchase();
99
100 MCAPI bool $purchaseEduLicense(::std::unique_ptr<::TransactionContext> context);
101
102 MCAPI bool $getUnfulfilledEduPurchase(::EduPurchaseDetails& details) const;
103
104 MCAPI bool
105 $fulfillPriorEduPurchase(::std::weak_ptr<::Purchase> purchase, ::std::unique_ptr<::TransactionContext> context);
106
107 MCAPI ::AuthenticationUIState $doSignIn(::AuthenticationUIState currentState);
108 // NOLINTEND
109
110public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftable();
114 // NOLINTEND
115};
Definition ActiveDirectoryAuthenticationInterface.h:5
Definition ActiveDirectoryPopup.h:18
Definition MinecraftActiveDirectoryAuthentication.h:5
Definition MinecraftScreenModel.h:5