3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
18 enum class AcceptDeclineInvitationState : uchar {
19 DisplayAcceptDeclineModal = 0,
20 WaitingForAcceptDeclineModalResult = 1,
21 CheckPlatformMultiplayerRestriction = 2,
22 WaitingForPlatformUpsellResult = 3,
31 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
32 ::ll::TypedStorage<8, 32, ::std::string> mSubtitle;
33 ::ll::TypedStorage<8, 64, ::std::function<void(
bool,
bool)>> mCallback;
34 ::ll::TypedStorage<1, 1, ::AcceptDeclineInvitationScreenController::AcceptDeclineInvitationState> mState;
35 ::ll::TypedStorage<1, 1, bool> mAcceptDeclineModalAccepted;
36 ::ll::TypedStorage<1, 1, bool> mAcceptDeclineModalCancelled;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlatformMultiplayerRestrictions>> mPlatformMultiplayerRestrictions;
42 AcceptDeclineInvitationScreenController();
47 virtual ~AcceptDeclineInvitationScreenController() ;
49 virtual ::ui::DirtyFlag tick() ;
51 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties)
const
54 virtual ::std::string getAdditionalScreenInfo() const ;
56 virtual ::std::
string getTelemetryOverride() const ;
62 MCAPI AcceptDeclineInvitationScreenController(
63 ::std::shared_ptr<::MinecraftScreenModel> model,
64 ::std::
string const& title,
65 ::std::
string const& subtitle,
66 ::std::function<
void(
bool,
bool)> callback
74 ::std::shared_ptr<::MinecraftScreenModel> model,
75 ::std::
string const& title,
76 ::std::
string const& subtitle,
77 ::std::function<
void(
bool,
bool)> callback
90 MCAPI ::ui::DirtyFlag $tick();
92 MCFOLD
void $addEventProperties(::std::unordered_map<::std::
string, ::std::
string>& eventProperties) const;
94 MCFOLD ::std::
string $getAdditionalScreenInfo() const;
96 MCAPI ::std::
string $getTelemetryOverride() const;
Definition AcceptDeclineInvitationScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5