LeviLamina
Loading...
Searching...
No Matches
CraftHandlerEnchant.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/network/ItemStackNetResult.h"
7#include "mc/world/inventory/network/TypedServerNetId.h"
8#include "mc/world/inventory/network/crafting/CraftHandlerBase.h"
9#include "mc/world/inventory/network/crafting/ItemStackRequestActionCraft.h"
10
11// auto generated forward declare list
12// clang-format off
15class Player;
16struct RecipeNetIdTag;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mEnchantCost;
24 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
25 ::ll::TypedStorage<1, 1, bool> mRecalculateOptions;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~CraftHandlerEnchant() /*override*/ = default;
39
40 // vIndex: 4
41 virtual ::ItemStackNetResult
42 _handleCraftAction(::ItemStackRequestActionCraftBase const& requestAction) /*override*/;
43
44 // vIndex: 5
45 virtual void _postCraftRequest(bool const wasSuccess) /*override*/;
46
47 // vIndex: 3
48 virtual void endRequestBatch() /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI ::EnchantingContainerManagerModel& _getEnchantingModel() const;
55
56 MCNAPI ::ItemStackNetResult _handleEnchant(::ItemStackRequestActionCraft<::RecipeNetId, 12> const& requestAction);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI ::ItemStackNetResult $_handleCraftAction(::ItemStackRequestActionCraftBase const& requestAction);
63
64 MCNAPI void $_postCraftRequest(bool const wasSuccess);
65
66 MCNAPI void $endRequestBatch();
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition CraftHandlerBase.h:24
Definition CraftHandlerEnchant.h:19
MCAPI::ItemStackNetResult $_handleCraftAction(::ItemStackRequestActionCraftBase const &requestAction)
MCAPI void $_postCraftRequest(bool const wasSuccess)
MCAPI::ItemStackNetResult _handleEnchant(::ItemStackRequestActionCraft<::RecipeNetId, 12 > const &requestAction)
MCAPI void $endRequestBatch()
static MCAPI void ** $vftable()
MCAPI::EnchantingContainerManagerModel & _getEnchantingModel() const
Definition EnchantingContainerManagerModel.h:18
Definition ItemStackRequestActionCraftBase.h:16
Definition ItemStackRequestActionCraft.h:6
Definition Player.h:119
Definition RecipeNetIdTag.h:5