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
18class TitleCommand : public ::MessagingCommand {
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 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void setup(::CommandRegistry& registry);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
67
68// clang-format off
69template <>
70MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::TitleCommand::Mode>();
71// clang-format on
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Player.h:137
Definition TitleCommand.h:18
static MCAPI void ** $vftable()