LeviLamina
Loading...
Searching...
No Matches
ReloadCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/ServerCommand.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
15class ReloadCommand : public ::ServerCommand {
16public:
17 // ReloadCommand inner types define
18 enum class ReloadAction : int {
19 ScriptsAndFunctions = 0,
20 Everything = 1,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 ReloadCommand& operator=(ReloadCommand const&);
32 ReloadCommand(ReloadCommand const&);
33 ReloadCommand();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
39
40 virtual ~ReloadCommand() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static void setup(::CommandRegistry& registry, bool isDedicatedServer, bool isEditorWorld);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
static MCAPI void ** $vftable()
Definition ServerCommand.h:22
Definition Alias.h:14