LeviLamina
Loading...
Searching...
No Matches
AcceptDeclineInvitationScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
8
9// auto generated forward declare list
10// clang-format off
13// clang-format on
14
16public:
17 // AcceptDeclineInvitationScreenController inner types define
18 enum class AcceptDeclineInvitationState : uchar {
19 DisplayAcceptDeclineModal = 0,
20 WaitingForAcceptDeclineModalResult = 1,
21 CheckPlatformMultiplayerRestriction = 2,
22 WaitingForPlatformUpsellResult = 3,
23 WaitingForPlatformRestrictionResult = 4,
24 SendResult = 5,
25 Exit = 6,
26 Complete = 7,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
33 ::ll::TypedStorage<8, 32, ::std::string> mSubtitle;
34 ::ll::TypedStorage<8, 64, ::std::function<void(bool, bool)>> mCallback;
35 ::ll::TypedStorage<1, 1, ::AcceptDeclineInvitationScreenController::AcceptDeclineInvitationState> mState;
36 ::ll::TypedStorage<1, 1, bool> mAcceptDeclineModalAccepted;
37 ::ll::TypedStorage<1, 1, bool> mAcceptDeclineModalCancelled;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PlatformMultiplayerRestrictions>> mPlatformMultiplayerRestrictions;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 AcceptDeclineInvitationScreenController();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~AcceptDeclineInvitationScreenController() /*override*/ = default;
49
50 virtual ::ui::DirtyFlag tick() /*override*/;
51
52 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const
53 /*override*/;
54
55 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
56
57 virtual ::std::string getTelemetryOverride() const /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI AcceptDeclineInvitationScreenController(
64 ::std::shared_ptr<::MinecraftScreenModel> model,
65 ::std::string const& title,
66 ::std::string const& subtitle,
67 ::std::function<void(bool, bool)> callback
68 );
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
75 ::std::shared_ptr<::MinecraftScreenModel> model,
76 ::std::string const& title,
77 ::std::string const& subtitle,
78 ::std::function<void(bool, bool)> callback
79 );
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI ::ui::DirtyFlag $tick();
86
87 MCFOLD void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
88
89 MCAPI ::std::string $getAdditionalScreenInfo() const;
90
91 MCAPI ::std::string $getTelemetryOverride() const;
92 // NOLINTEND
93};
Definition AcceptDeclineInvitationScreenController.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PlatformMultiplayerRestrictions.h:5