LeviLamina
Loading...
Searching...
No Matches
IControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/runtime/scripting/Result.h"
7#include "mc/server/commands/CurrentCmdVersion.h"
8
9// auto generated forward declare list
10// clang-format off
11class Player;
12namespace Json { class Value; }
13namespace ScriptModuleMinecraft { struct ScriptRawMessageError; }
14// clang-format on
15
16namespace ScriptModuleMinecraftServerUI {
17
18class IControl {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~IControl() = default;
23
24 virtual ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
25 buildJson(::Player& forPlayer, ::CurrentCmdVersion commandVersion) const = 0;
26 // NOLINTEND
27};
28
29} // namespace ScriptModuleMinecraftServerUI
Definition Value.h:16
Definition Player.h:129
Definition ScriptRawMessageError.h:15