LeviLamina
Loading...
Searching...
No Matches
ChangeSettingCommand.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 ChangeSettingCommand : public ::ServerCommand {
16public:
17 // ChangeSettingCommand inner types define
18 enum class Setting : int {
19 AllowCheats = 0,
20 Difficulty = 1,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual void execute(::CommandOrigin const&, ::CommandOutput& output) const /*override*/;
42
43 virtual ~ChangeSettingCommand() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void setup(::CommandRegistry& registry);
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI void $execute(::CommandOrigin const&, ::CommandOutput& output) const;
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition ChangeSettingCommand.h:15
static MCAPI void ** $vftable()
Definition Alias.h:14