LeviLamina
Loading...
Searching...
No Matches
TitleCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandMessage.h"
7#include "mc/server/commands/CommandSelector.h"
8#include "mc/server/commands/standard/MessagingCommand.h"
9
10// auto generated forward declare list
11// clang-format off
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class Player;
16// clang-format on
17
19public:
20 // TitleCommand inner types define
21 enum class Mode : int {
22 Clear = 0,
23 Reset = 1,
24 Title = 2,
25 Subtitle = 3,
26 ActionBar = 4,
27 Times = 5,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<4, 4, ::TitleCommand::Mode> mMode;
34 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
35 ::ll::TypedStorage<8, 32, ::CommandMessage> mMessage;
36 ::ll::TypedStorage<4, 4, int> mFadeIn;
37 ::ll::TypedStorage<4, 4, int> mStay;
38 ::ll::TypedStorage<4, 4, int> mFadeOut;
39 // NOLINTEND
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
45
46 virtual ~TitleCommand() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void setup(::CommandRegistry& registry);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:50
Definition MessagingCommand.h:17
Definition Player.h:129
Definition TitleCommand.h:18
static MCAPI void ** $vftable()