Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ModalDialogPopup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
7#include "mc/client/gui/screens/controllers/ModalScreenButtonMode.h"
8
9// auto generated forward declare list
10// clang-format off
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string const> messageOverride;
19 ::ll::TypedStorage<8, 32, ::std::string const> message;
20 ::ll::TypedStorage<8, 64, ::std::function<void(bool)> const> mCallback;
21 ::ll::TypedStorage<8, 32, ::std::string const> mTitle;
22 ::ll::TypedStorage<4, 4, ::ModalScreenButtonMode> mButtonMode;
23 ::ll::TypedStorage<1, 1, bool> mDisplayedPopup;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ModalDialogPopup();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~ModalDialogPopup() /*override*/ = default;
34
35 virtual void onOpen() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::std::shared_ptr<::MinecraftScreenModel> model,
43 ::std::string const& mainMessage,
44 ::std::string const& overrideMessage,
45 ::std::function<void(bool)> callback,
46 ::std::string const& title,
47 ::ModalScreenButtonMode buttonMode
48 );
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCNAPI void* $ctor(
55 ::std::shared_ptr<::MinecraftScreenModel> model,
56 ::std::string const& mainMessage,
57 ::std::string const& overrideMessage,
58 ::std::function<void(bool)> callback,
59 ::std::string const& title,
60 ::ModalScreenButtonMode buttonMode
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI void $onOpen();
68 // NOLINTEND
69};
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition ModalDialogPopup.h:5
MCAPI ModalDialogPopup(::std::shared_ptr<::MinecraftScreenModel > model, ::std::string const &mainMessage, ::std::string const &overrideMessage, ::std::function< void(bool)> callback, ::std::string const &title, ::ModalScreenButtonMode buttonMode)
MCAPI void * $ctor(::std::shared_ptr<::MinecraftScreenModel > model, ::std::string const &mainMessage, ::std::string const &overrideMessage, ::std::function< void(bool)> callback, ::std::string const &title, ::ModalScreenButtonMode buttonMode)
MCAPI void $onOpen()