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