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/CommandSelectorResults.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Player;
15class Recipes;
16// clang-format on
17
19public:
20 // UnlockRecipeCommand inner types define
21 enum class RecipeAction : int {
22 Give = 0,
23 Take = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
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 ~UnlockRecipeCommand() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void _handleAllRecipes(::CommandOutput& output, ::CommandSelectorResults<::Player> const& players) const;
54
55 MCAPI void _handleSpecificRecipe(
56 ::CommandOutput& output,
58 ::Recipes const& recipes
59 ) const;
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static void setup(::CommandRegistry& registry);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:45
Definition CommandSelectorResults.h:6
Definition Command.h:17
Definition Player.h:119
Definition Recipes.h:36
Definition UnlockRecipeCommand.h:18
static MCAPI void ** $vftable()
Definition Alias.h:14