LeviLamina
Loading...
Searching...
No Matches
ServerFormScreenController.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/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
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;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ServerFormScreenController();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~ServerFormScreenController() /*override*/;
41
42 virtual void onOpen() /*override*/;
43
44 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification event) /*override*/;
45
46 virtual void onTerminate() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ServerFormScreenController(
53 ::std::shared_ptr<::MainMenuScreenModel> model,
54 ::std::optional<uint> formId,
55 ::std::string const& formData,
56 bool isServerTab,
57 bool unhideTab
58 );
59
60 MCAPI void _createScreen(::std::string const& formJson);
61
62 MCAPI ::std::string _parseRawText(::Json::Value const& value) const;
63
64 MCAPI void _registerBindings();
65
66 MCAPI void _sendCustomFormData();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(
73 ::std::shared_ptr<::MainMenuScreenModel> model,
74 ::std::optional<uint> formId,
75 ::std::string const& formData,
76 bool isServerTab,
77 bool unhideTab
78 );
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI void $onOpen();
91
92 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification event);
93
94 MCAPI void $onTerminate();
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftableForScreenController();
101
103 // NOLINTEND
104};
Definition DynamicFormScreenController.h:5
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition ServerFormBindingInformation.h:5
Definition ServerFormScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()