LeviLamina
Loading...
Searching...
No Matches
ResourceUriCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/CommandRawText.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14// clang-format on
15
17public:
18 // ResourceUriCommand inner types define
19 enum class ActionType : int {
20 Clear = 0,
21 UriOnly = 1,
22 Named = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 4, ::ResourceUriCommand::ActionType> mAction;
29 ::ll::TypedStorage<8, 32, ::std::string> mName;
30 ::ll::TypedStorage<8, 32, ::CommandRawText> mLink;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static void setup(::CommandRegistry& registry);
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
49
50
51 // NOLINTEND
52};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Command.h:17
Definition ResourceUriCommand.h:16