LeviLamina
Loading...
Searching...
No Matches
LessonCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/packet/LessonAction.h"
7#include "mc/server/commands/Command.h"
8#include "mc/server/commands/CommandSelector.h"
9#include "mc/server/commands/edu/LessonActionType.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 LessonCommand : public ::Command {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
24 ::ll::TypedStorage<1, 1, ::LessonActionType> mActionType;
25 ::ll::TypedStorage<1, 1, ::LessonAction> mAction;
26 ::ll::TypedStorage<8, 32, ::std::string> mActivityId;
27 ::ll::TypedStorage<4, 4, int> mScore;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
34
35 virtual ~LessonCommand() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void setup(::CommandRegistry& registry);
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition LessonCommand.h:19
static MCAPI void ** $vftable()
Definition Player.h:129