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
#include "mc/server/commands/CommandSelectorResults.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
CommandOrigin
;
13
class
CommandOutput
;
14
class
CommandRegistry
;
15
class
Player
;
16
class
Recipes
;
17
// clang-format on
18
19
class
UnlockRecipeCommand
:
public
::Command
{
20
public
:
21
// UnlockRecipeCommand inner types define
22
enum class
RecipeAction :
int
{
23
Give = 0,
24
Take = 1,
25
};
26
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::TypedStorage<4, 4, ::UnlockRecipeCommand::RecipeAction> mAction;
31
::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayers;
32
::ll::TypedStorage<8, 32, ::std::string> mRecipe;
33
// NOLINTEND
34
35
public
:
36
// virtual functions
37
// NOLINTBEGIN
38
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
39
40
virtual
~UnlockRecipeCommand
()
/*override*/
=
default
;
41
// NOLINTEND
42
43
public
:
44
// member functions
45
// NOLINTBEGIN
46
MCAPI
void
_handleAllRecipes(
::CommandOutput
& output,
::CommandSelectorResults<::Player>
const
& players)
const
;
47
48
MCAPI
void
_handleSpecificRecipe(
49
::CommandOutput
& output,
50
::CommandSelectorResults<::Player>
const
& players,
51
::Recipes
const
& recipes
52
)
const
;
53
// NOLINTEND
54
55
public
:
56
// static functions
57
// NOLINTBEGIN
58
MCAPI
static
void
setup(
::CommandRegistry
& registry);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
65
66
67
// NOLINTEND
68
69
public
:
70
// vftables
71
// NOLINTBEGIN
72
MCNAPI
static
void
**
$vftable
();
73
// NOLINTEND
74
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:50
CommandSelectorResults
Definition
CommandSelectorResults.h:6
Command
Definition
Command.h:17
Player
Definition
Player.h:129
Recipes
Definition
Recipes.h:36
UnlockRecipeCommand
Definition
UnlockRecipeCommand.h:19
UnlockRecipeCommand::$vftable
static MCAPI void ** $vftable()
src
mc
server
commands
standard
UnlockRecipeCommand.h
Generated on
for LeviLamina by
1.16.1