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
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13class Level;
14class Player;
15// clang-format on
16
17class ResourceUriCommand : public ::Command {
18public:
19 // ResourceUriCommand inner types define
20 enum class ActionType : int {
21 Clear = 0,
22 UriOnly = 1,
23 Named = 2,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 ResourceUriCommand& operator=(ResourceUriCommand const&);
37 ResourceUriCommand(ResourceUriCommand const&);
38 ResourceUriCommand();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
44
45 virtual ~ResourceUriCommand() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI void _executeClear(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
52
53 MCAPI void _executeNamed(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
54
55 MCAPI void _executeUriOnly(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static void setup(::CommandRegistry& registry);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
Definition Level.h:249
Definition Player.h:125
static MCAPI void ** $vftable()
Definition Alias.h:14