LeviLamina
Loading...
Searching...
No Matches
ServerScriptDebugCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/shared/ScriptDebugCommand.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13class IScriptDebugger;
15struct ScriptSettings;
16// clang-format on
17
18class ServerScriptDebugCommand : public ::ScriptDebugCommand {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, ::ScriptDebugCommand::Mode> mMode;
23 ::ll::TypedStorage<4, 4, ::ScriptDebugCommand::DebuggerAction> mDebuggerAction;
24 ::ll::TypedStorage<4, 4, ::ScriptDebugCommand::ProfilerAction> mProfilerAction;
25 ::ll::TypedStorage<4, 4, ::ScriptDebugCommand::DiagnosticsAction> mDiagnosticsAction;
26 ::ll::TypedStorage<8, 32, ::std::string> mDebuggerHost;
27 ::ll::TypedStorage<4, 4, int> mDebuggerPort;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void execute(::CommandOrigin const& output, ::CommandOutput&) const /*override*/;
34 // NOLINTEND
35
36public:
37 // static functions
38 // NOLINTBEGIN
39 MCAPI static void setup(
40 ::CommandRegistry& registry,
41 ::IScriptDebugger* debugger,
42 ::ScriptDiagnosticsPublishToFile* diagnosticsPublishToFile,
43 ::ScriptSettings const& settings
44 );
45 // NOLINTEND
46
47public:
48 // static variables
49 // NOLINTBEGIN
50 MCAPI static ::ScriptDiagnosticsPublishToFile*& sDiagnosticsPublishToFile();
51
52 MCAPI static ::std::optional<ushort>& sForcedPort();
53
54 MCAPI static ::IScriptDebugger*& sServerScriptDebugger();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI void $execute(::CommandOrigin const& output, ::CommandOutput&) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition IScriptDebugger.h:11
Definition ScriptDiagnosticsPublishToFile.h:17
Definition ServerScriptDebugCommand.h:18
static MCAPI void ** $vftable()
Definition ScriptSettings.h:19