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