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
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 HeaderControl& operator=(HeaderControl const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
38 buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const /*override*/;
39
40 // vIndex: 0
41 virtual ~HeaderControl() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI explicit HeaderControl(
48 ::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> text
49 );
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCNAPI void* $ctor(::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface> text);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
62 $buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const;
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace ScriptModuleMinecraftServerUI
Definition Player.h:119
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 Alias.h:14