LeviLamina
Loading...
Searching...
No Matches
HelpCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
15class HelpCommand : public ::Command {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 32, ::std::string> mCommand;
20 ::ll::TypedStorage<4, 4, int> mPage;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
27
28 virtual ~HelpCommand() /*override*/ = default;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI void
35 getCommandHelp(::CommandRegistry const& registry, ::CommandOrigin const& origin, ::CommandOutput& output) const;
36
37 MCAPI void
38 getHelpPage(::CommandRegistry const& registry, ::CommandOrigin const& origin, ::CommandOutput& output) const;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void setup(::CommandRegistry& registry);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
51
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition HelpCommand.h:15
static MCAPI void ** $vftable()