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
11
class
CommandOrigin
;
12
class
CommandOutput
;
13
class
CommandRegistry
;
14
// clang-format on
15
16
class
ResourceUriCommand
:
public
::Command
{
17
public
:
18
// ResourceUriCommand inner types define
19
enum class
ActionType :
int
{
20
Clear = 0,
21
UriOnly = 1,
22
Named = 2,
23
};
24
25
public
:
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
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
37
// NOLINTEND
38
39
public
:
40
// static functions
41
// NOLINTBEGIN
42
MCAPI
static
void
setup(
::CommandRegistry
& registry);
43
// NOLINTEND
44
45
public
:
46
// virtual function thunks
47
// NOLINTBEGIN
48
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
49
50
51
// NOLINTEND
52
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:51
Command
Definition
Command.h:17
ResourceUriCommand
Definition
ResourceUriCommand.h:16
src
mc
server
commands
edu
ResourceUriCommand.h
Generated on
for LeviLamina by
1.16.1