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 // 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 CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition LessonCommand.h:19
static MCAPI void ** $vftable()
Definition Player.h:137