Skip to content
LeviMC
English
AutoLightDark
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#include "mc/options/FeedbackType.h"
9
10// auto generated forward declare list
11// clang-format off
13class TaskGroup;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mAsyncTaskGroup;
22 ::ll::TypedStorage<1, 1, bool> mDirty;
23 ::ll::TypedStorage<1, 1, bool> mPendingAsyncOperation;
24 ::ll::TypedStorage<1, 1, bool> mEnableSubmitButton;
25 ::ll::TypedStorage<1, 1, bool> mShowScreen;
26 ::ll::TypedStorage<1, 1, bool> mSubmitFeedbackInProgress;
27 ::ll::TypedStorage<4, 4, int> mFeedbackTextLimit;
28 ::ll::TypedStorage<8, 32, ::std::string> mResponseMsg;
29 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastUpdate;
30 ::ll::TypedStorage<4, 4, uint> mResponseCode;
31 ::ll::TypedStorage<8, 32, ::std::string> mIdentifier;
32 ::ll::TypedStorage<8, 32, ::std::string> mFeedbackText;
33 ::ll::TypedStorage<4, 4, ::FeedbackType> mFeedbackType;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 SubmitFeedbackScreenController();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~SubmitFeedbackScreenController() /*override*/ = default;
44
45 virtual ::ui::DirtyFlag tick() /*override*/;
46
47 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
54 ::std::shared_ptr<::MainMenuScreenModel> model,
55 ::FeedbackType feedbackType,
56 ::std::string const& identifier,
57 int feedbackTextLimit
58 );
59
60 MCNAPI void _displayResponseStatusDialog(bool receivedSuccessResponse);
61
62 MCNAPI void _setResponseMessage();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(
69 ::std::shared_ptr<::MainMenuScreenModel> model,
70 ::FeedbackType feedbackType,
71 ::std::string const& identifier,
72 int feedbackTextLimit
73 );
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCNAPI ::ui::DirtyFlag $tick();
80
81 MCNAPI void $addStaticScreenVars(::Json::Value& globalVars);
82 // NOLINTEND
83};
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition SubmitFeedbackScreenController.h:5
MCAPI SubmitFeedbackScreenController(::std::shared_ptr<::MainMenuScreenModel > model, ::FeedbackType feedbackType, ::std::string const &identifier, int feedbackTextLimit)
MCAPI void * $ctor(::std::shared_ptr<::MainMenuScreenModel > model, ::FeedbackType feedbackType, ::std::string const &identifier, int feedbackTextLimit)
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI void _displayResponseStatusDialog(bool receivedSuccessResponse)
MCAPI::ui::DirtyFlag $tick()
Definition TaskGroup.h:85