LeviLamina
Loading...
Searching...
No Matches
SubmitFeedbackScreenController.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/MainMenuScreenController.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace Bedrock::Http { class Status; }
13namespace Json { class Value; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mDirty;
21 ::ll::TypedStorage<1, 1, bool> mPendingAsyncOperation;
22 ::ll::TypedStorage<1, 1, bool> mEnableSubmitButton;
23 ::ll::TypedStorage<1, 1, bool> mShowScreen;
24 ::ll::TypedStorage<1, 1, bool> mSubmitFeedbackInProgress;
25 ::ll::TypedStorage<4, 4, int> mFeedbackTextLimit;
26 ::ll::TypedStorage<4, 4, uint> mResponseCode;
27 ::ll::TypedStorage<8, 32, ::std::string> mItemId;
28 ::ll::TypedStorage<8, 32, ::std::string> mResponseMsg;
29 ::ll::TypedStorage<8, 32, ::std::string> mFeedbackText;
30 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastUpdate;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 SubmitFeedbackScreenController();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~SubmitFeedbackScreenController() /*override*/;
41
42 virtual ::ui::DirtyFlag tick() /*override*/;
43
44 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI SubmitFeedbackScreenController(
51 ::std::shared_ptr<::MainMenuScreenModel> model,
52 ::std::string const& itemId,
53 int feedbackTextLimit
54 );
55
56 MCAPI void _displayResponseStatusDialog(bool receivedSuccessResponse);
57
58 MCAPI void _initialize();
59
60 MCAPI void _processPlayerSafetyScanResponse(::Bedrock::Http::Status const& responseStatus, bool isValidText);
61
62 MCAPI void _setResponseMessage();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void*
69 $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::std::string const& itemId, int feedbackTextLimit);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI ::ui::DirtyFlag $tick();
82
83 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftableForScreenController();
90
92 // NOLINTEND
93};
Definition Status.h:7
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition SubmitFeedbackScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()