3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
12namespace Json {
class Value; }
18 enum class Mode :
int {
26 ::ll::TypedStorage<4, 4, ::AddExternalServerScreenController::Mode> mMode;
27 ::ll::TypedStorage<1, 1, bool> mAreInputsAllValid;
28 ::ll::TypedStorage<8, 32, ::std::string> mServerName;
29 ::ll::TypedStorage<8, 32, ::std::string> mIpAddress;
30 ::ll::TypedStorage<4, 4, int> mPort;
31 ::ll::TypedStorage<4, 4, int> mExternalServerId;
36 AddExternalServerScreenController();
41 virtual ~AddExternalServerScreenController() ;
43 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
45 virtual void onOpen() ;
51 MCAPI AddExternalServerScreenController(::std::shared_ptr<::MainMenuScreenModel> model,
int externalServerId);
53 MCAPI
void _registerBindings();
55 MCAPI
void _registerEventHandlers();
57 MCAPI
void _removeServer();
59 MCAPI
void _saveFormDataThen(::std::function<
void()> callback);
61 MCAPI ::ui::ViewRequest _validateFormData();
67 MCAPI
void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model,
int externalServerId);
79 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
Definition AddExternalServerScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5