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