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
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Player;
15// clang-format on
16
18public:
19 // UnlockRecipeCommand inner types define
20 enum class RecipeAction : int {
21 Give = 0,
22 Take = 1,
23 };
24
25public:
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
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static void setup(::CommandRegistry& registry);
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
49
50
51 // NOLINTEND
52};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Command.h:17
Definition Player.h:129
Definition UnlockRecipeCommand.h:17