LeviLamina
Loading...
Searching...
No Matches
UnlockRecipeCommand.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/CommandSelector.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
CommandOrigin
;
12
class
CommandOutput
;
13
class
CommandRegistry
;
14
class
Player
;
15
// clang-format on
16
17
class
UnlockRecipeCommand
:
public
::Command
{
18
public
:
19
// UnlockRecipeCommand inner types define
20
enum class
RecipeAction :
int
{
21
Give = 0,
22
Take = 1,
23
};
24
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::TypedStorage<4, 4, ::UnlockRecipeCommand::RecipeAction> mAction;
29
::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayers;
30
::ll::TypedStorage<8, 32, ::std::string> mRecipe;
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
Player
Definition
Player.h:129
UnlockRecipeCommand
Definition
UnlockRecipeCommand.h:17
src
mc
server
commands
standard
UnlockRecipeCommand.h
Generated on
for LeviLamina by
1.16.1