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
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&);
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 2
44 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
45
46 // vIndex: 0
47 virtual ~ResourceUriCommand() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void _executeClear(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
54
55 MCAPI void _executeNamed(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
56
57 MCAPI void _executeUriOnly(::Level& level, ::Player* originPlayer, ::CommandOutput& output) const;
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static void setup(::CommandRegistry& registry);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition Level.h:234
Definition Player.h:119
Definition ResourceUriCommand.h:17
Definition Alias.h:14