LeviLamina
Loading...
Searching...
No Matches
DropdownControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/scripting/modules/minecraft_ui/IControl.h"
8#include "mc/server/commands/CurrentCmdVersion.h"
9
10// auto generated forward declare list
11// clang-format off
12class Player;
13namespace Json { class Value; }
14namespace ScriptModuleMinecraft { struct ScriptRawMessageInterface; }
15// clang-format on
16
17namespace ScriptModuleMinecraftServerUI {
18
20public:
21 // member variables
22 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 DropdownControl& operator=(DropdownControl const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 1
38 virtual ::Scripting::Result_deprecated<::Json::Value>
39 buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const /*override*/;
40
41 // vIndex: 0
42 virtual ~DropdownControl() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI DropdownControl(
49 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> label,
50 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>> options,
51 ::std::optional<uint> defaultValueIndex
52 );
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(
59 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> label,
60 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>> options,
61 ::std::optional<uint> defaultValueIndex
62 );
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::Scripting::Result_deprecated<::Json::Value>
75 $buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
84
85} // namespace ScriptModuleMinecraftServerUI
Definition Player.h:119
Definition DropdownControl.h:19
Definition Alias.h:14