LeviLamina
Loading...
Searching...
No Matches
ToggleControl.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
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ToggleControl& operator=(ToggleControl const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::Scripting::Result_deprecated<::Json::Value>
38 buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const /*override*/;
39
40 // vIndex: 0
41 virtual ~ToggleControl() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI ToggleControl(
48 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> label,
49 ::std::optional<bool> defaultValue
50 );
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(
57 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> label,
58 ::std::optional<bool> defaultValue
59 );
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::Scripting::Result_deprecated<::Json::Value>
72 $buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const;
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace ScriptModuleMinecraftServerUI
Definition Player.h:119
Definition Alias.h:14