Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ItemStackRequestActionCraftRecipeAuto.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/world/inventory/network/TypedServerNetId.h"
8#include "mc/world/inventory/network/crafting/ItemStackRequestActionCraft.h"
9
10// auto generated forward declare list
11// clang-format off
12class BinaryStream;
15struct RecipeNetIdTag;
16// clang-format on
17
18class ItemStackRequestActionCraftRecipeAuto : public ::ItemStackRequestActionCraft<::RecipeNetId, 13> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mIngredients;
23 ::ll::TypedStorage<1, 1, uchar> mNumIngredients;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 ItemStackRequestActionCraftRecipeAuto();
31
32#endif
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void _write(::BinaryStream& stream) const /*override*/;
37
38 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCNAPI ItemStackRequestActionCraftRecipeAuto(
46 ::RecipeNetId const& recipeNetId,
47 uchar numCrafts,
48 ::std::vector<::RecipeIngredient> const& ingredients
49 );
50#endif
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI void*
58 $ctor(::RecipeNetId const& recipeNetId, uchar numCrafts, ::std::vector<::RecipeIngredient> const& ingredients);
59#endif
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI void $_write(::BinaryStream& stream) const;
66
67 MCNAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BinaryStream.h:10
MCAPI ::Bedrock::Result< void > $_read(::ReadOnlyBinaryStream &stream)
MCAPI void $_write(::BinaryStream &stream) const
Definition ItemStackRequestActionCraft.h:6
Definition ReadOnlyBinaryStream.h:8
Definition RecipeIngredient.h:8
Definition RecipeNetIdTag.h:5