LeviLamina
Loading...
Searching...
No Matches
HeaderControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result.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 ScriptRawMessageError; }
15namespace ScriptModuleMinecraft { struct ScriptRawMessageInterface; }
16// clang-format on
17
18namespace ScriptModuleMinecraftServerUI {
19
20class HeaderControl : public ::ScriptModuleMinecraftServerUI::IControl {
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 HeaderControl& operator=(HeaderControl const&);
30 HeaderControl(HeaderControl const&);
31 HeaderControl();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
37 buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const /*override*/;
38
39 virtual ~HeaderControl() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI explicit HeaderControl(
46 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> text
47 );
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> text);
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
60 $buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace ScriptModuleMinecraftServerUI
Definition Value.h:16
Definition Player.h:125
MCAPI ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError > $buildJson(::Player &forPlayer, ::CurrentCmdVersion commandVersion) const
MCAPI void * $ctor(::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > text)
MCAPI HeaderControl(::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > text)
Definition ScriptRawMessageError.h:15
Definition ScriptRawMessageInterface.h:20
Definition Alias.h:14