Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptMessageBox.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/WeakHandleFromThis.h"
8#include "mc/deps/script_core/runtime/scripting/Result.h"
9#include "mc/deps/script_core/script_engine/scripting/Promise.h"
10
11// auto generated forward declare list
12// clang-format off
14class ServerPlayer;
15namespace ScriptModuleMinecraft { class ScriptPlayer; }
16namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
17namespace ScriptModuleMinecraftServerUI { class ScriptFormVisibilityError; }
18namespace ScriptModuleMinecraftServerUI { class ScriptInvalidFormError; }
19namespace ScriptModuleMinecraftServerUI { class ScriptInvalidFormModificationError; }
20namespace ScriptModuleMinecraftServerUI { class ScriptObservableString; }
21namespace ScriptModuleMinecraftServerUI { class ScriptObservableUIRawMessage; }
22namespace ScriptModuleMinecraftServerUI { class ScriptPlayerLeftError; }
23namespace ScriptModuleMinecraftServerUI { class ScriptUIRawMessage; }
24namespace ScriptModuleMinecraftServerUI { struct ScriptMessageBoxBodyOptions; }
25namespace ScriptModuleMinecraftServerUI { struct ScriptMessageBoxButtonOptions; }
26namespace ScriptModuleMinecraftServerUI { struct ScriptMessageBoxOptions; }
27namespace ScriptModuleMinecraftServerUI { struct ScriptMessageBoxResult; }
28namespace Scripting { class DependencyLocator; }
29namespace Scripting { class ScriptObjectFactory; }
30namespace Scripting { class WeakLifetimeScope; }
31namespace Scripting { struct ClassBinding; }
32namespace Scripting { struct EngineError; }
33// clang-format on
34
35namespace ScriptModuleMinecraftServerUI {
36
37class ScriptMessageBox : public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraftServerUI::ScriptMessageBox> {
38public:
39 // member variables
40 // NOLINTBEGIN
50 // NOLINTEND
51
52public:
53 // prevent constructor by default
54 ScriptMessageBox& operator=(ScriptMessageBox const&);
55 ScriptMessageBox(ScriptMessageBox const&);
56 ScriptMessageBox();
57
58public:
59 // member functions
60 // NOLINTBEGIN
62 ::IGameplayUserManagerConnector& userManagerConnector,
64 ::ServerPlayer& serverPlayer,
65 ::std::variant<
66 ::std::string,
70 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxOptions> options,
72 );
73
74 MCNAPI ::Scripting::Result<
78 ::std::variant<
79 ::std::string,
83 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxBodyOptions> options
84 );
85
86 MCNAPI ::Scripting::Result<
90 ::std::variant<
91 ::std::string,
95 ::std::optional<::std::variant<
96 ::std::string,
100 );
101
102 MCNAPI ::Scripting::Result<
106 ::std::variant<
107 ::std::string,
111 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions> options
112 );
113
114 MCNAPI ::Scripting::Result<
118 ::std::variant<
119 ::std::string,
123 ::std::optional<::std::variant<
124 ::std::string,
128 );
129
130 MCNAPI ::Scripting::Result<
134 ::std::variant<
135 ::std::string,
139 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions> options
140 );
141
142 MCNAPI ::Scripting::Result<
146 ::std::variant<
147 ::std::string,
151 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions> options
152 );
153
154 MCNAPI ::Scripting::Result<
167 );
168 // NOLINTEND
169
170public:
171 // static functions
172 // NOLINTBEGIN
173 MCNAPI static ::Scripting::ClassBinding bind(::IGameplayUserManagerConnector& userManagerConnector);
174 // NOLINTEND
175
176public:
177 // static variables
178 // NOLINTBEGIN
179 MCNAPI static char const* const& FORM_ID();
180 // NOLINTEND
181
182public:
183 // constructor thunks
184 // NOLINTBEGIN
185 MCNAPI void* $ctor(
186 ::IGameplayUserManagerConnector& userManagerConnector,
188 ::ServerPlayer& serverPlayer,
189 ::std::variant<
190 ::std::string,
194 ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxOptions> options,
196 );
197 // NOLINTEND
198};
199
200} // namespace ScriptModuleMinecraftServerUI
Definition IGameplayUserManagerConnector.h:14
Definition ScriptFormVisibilityError.h:16
Definition ScriptInvalidFormError.h:15
Definition ScriptInvalidFormModificationError.h:15
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > button3WithOptions(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > label, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions > options)
static MCAPI char const *const & FORM_ID()
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > bodyWithOptions(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > text, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxBodyOptions > options)
MCAPI ScriptMessageBox(::IGameplayUserManagerConnector &userManagerConnector, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer > scriptPlayer, ::ServerPlayer &serverPlayer, ::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > title, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxOptions > options, ::Scripting::WeakLifetimeScope scope)
static MCAPI ::Scripting::ClassBinding bind(::IGameplayUserManagerConnector &userManagerConnector)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > button1WithOptions(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > body, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions > options)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > button2WithOptions(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > body, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxButtonOptions > options)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > button2(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > body, ::std::optional<::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > > tooltip)
MCAPI void * $ctor(::IGameplayUserManagerConnector &userManagerConnector, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer > scriptPlayer, ::ServerPlayer &serverPlayer, ::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > title, ::std::optional<::ScriptModuleMinecraftServerUI::ScriptMessageBoxOptions > options, ::Scripting::WeakLifetimeScope scope)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptMessageBox >, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormModificationError > button1(::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > body, ::std::optional<::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableString >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraftServerUI::ScriptObservableUIRawMessage >, ::ScriptModuleMinecraftServerUI::ScriptUIRawMessage > > tooltip)
MCAPI ::Scripting::Result< ::Scripting::Promise< ::ScriptModuleMinecraftServerUI::ScriptMessageBoxResult, ::ScriptModuleMinecraftServerUI::ScriptPlayerLeftError, ::ScriptModuleMinecraftServerUI::ScriptInvalidFormError, ::Scripting::EngineError >, ::ScriptModuleMinecraft::ScriptInvalidActorError, ::ScriptModuleMinecraftServerUI::ScriptFormVisibilityError, ::Scripting::EngineError > show(::Scripting::DependencyLocator &locator, ::Scripting::ScriptObjectFactory &factory, ::Scripting::WeakLifetimeScope &scope)
Definition ScriptObservableString.h:10
Definition ScriptObservableUIRawMessage.h:12
Definition ScriptPlayerLeftError.h:15
Definition ScriptUIRawMessage.h:12
Definition ScriptPlayer.h:42
Definition DependencyLocator.h:7
Definition Promise.h:8
Definition ScriptObjectFactory.h:7
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:12
Definition ServerPlayer.h:73
Definition ScriptMessageBoxBodyOptions.h:12
Definition ScriptMessageBoxButtonOptions.h:12
Definition ScriptMessageBoxOptions.h:12
Definition ScriptMessageBoxResult.h:12
Definition ScriptInvalidActorError.h:18
Definition ClassBinding.h:10
Definition EngineError.h:10
Definition Alias.h:14