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/deps/shared_types/legacy/Difficulty.h"
7#include "mc/server/commands/ServerCommand.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14// clang-format on
15
17public:
18 // ChangeSettingCommand inner types define
19 enum class Setting : int {
20 AllowCheats = 0,
21 Difficulty = 1,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, ::ChangeSettingCommand::Setting> mSetting;
28 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mDifficulty;
29 ::ll::TypedStorage<4, 4, int> mIntValue;
30 ::ll::TypedStorage<1, 1, bool> mBoolValue;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void execute(::CommandOrigin const&, ::CommandOutput& output) const /*override*/;
37
38 virtual ~ChangeSettingCommand() /*override*/ = default;
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&, ::CommandOutput& output) const;
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ChangeSettingCommand.h:16
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition ServerCommand.h:22