3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
15namespace Json {
class Value; }
22 ::ll::TypedStorage<8, 32, ::std::string> mInitialForm;
23 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mFormId;
24 ::ll::TypedStorage<1, 1, bool> mIsServerTab;
25 ::ll::TypedStorage<4, 4, ::ui::DirtyFlag> mDirty;
26 ::ll::TypedStorage<1, 1, bool> mCreatedScreen;
27 ::ll::TypedStorage<1, 1, bool> mSentResponse;
28 ::ll::TypedStorage<1, 1, bool> mUnhideTab;
29 ::ll::TypedStorage<8, 8, ::DynamicFormScreenController*> mDynamicFormScreenController;
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ServerFormBindingInformation>> mBindingData;
35 ServerFormScreenController();
40 virtual ~ServerFormScreenController() ;
42 virtual void onOpen() ;
44 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification event) ;
46 virtual void onTerminate() ;
52 MCAPI ServerFormScreenController(
53 ::std::shared_ptr<::MainMenuScreenModel> model,
54 ::std::optional<uint> formId,
55 ::std::string
const& formData,
60 MCAPI
void _createScreen(::std::string
const& formJson);
62 MCAPI ::std::string _parseRawText(::Json::Value
const& value)
const;
64 MCAPI
void _registerBindings();
66 MCAPI
void _sendCustomFormData();
73 ::std::shared_ptr<::MainMenuScreenModel> model,
74 ::std::optional<uint> formId,
75 ::std::string
const& formData,
92 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification event);
94 MCAPI
void $onTerminate();
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5