LeviLamina
Loading...
Searching...
No Matches
AbilityCommand.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
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Player;
15// clang-format on
16
17class AbilityCommand : public ::Command {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
22 ::ll::TypedStorage<8, 32, ::std::string> mAbilityName;
23 ::ll::TypedStorage<1, 1, bool> mValue;
24 ::ll::TypedStorage<1, 1, bool> mHaveValue;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
31
32 virtual ~AbilityCommand() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void setup(::CommandRegistry& registry);
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
45
46
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
Definition AbilityCommand.h:17
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition Player.h:129