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& output, ::CommandOutput&) const /*override*/;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static void setup(::CommandRegistry& registry);
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $execute(::CommandOrigin const& output, ::CommandOutput&) const;
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
57
58// clang-format off
59template <>
60MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::ChangeSettingCommand::Setting>();
61// clang-format on
Definition ChangeSettingCommand.h:16
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition ServerCommand.h:22