LeviLamina
Loading...
Searching...
No Matches
CreateContainerItemScope.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/network/ItemStackRequestScope.h"
7#include "mc/world/inventory/network/TypedClientNetId.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemInstance;
15struct SlotData;
16// clang-format on
17
18struct CreateContainerItemScope {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::SlotData const* const> mSrcSlot;
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerController>> mCreatedItemContainerController;
24 ::ll::TypedStorage<8, 16, ::ItemStackRequestScope> mItemStackRequestScope;
25 // NOLINTEND
26
27#ifdef LL_PLAT_S
28#else // LL_PLAT_C
29public:
30 // prevent constructor by default
31 CreateContainerItemScope();
32
33#endif
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI CreateContainerItemScope(
39 ::ItemStackRequestScope&& requestScope,
40 ::SlotData const& createdItemOutputSlot,
41 ::ItemInstance const& item,
42 ::ItemTransferAmount takeAmount,
43 ::std::shared_ptr<::ContainerController> createdItemOutputContainerController
44 );
45
46 MCNAPI void _createItemStack(
47 ::ItemStackRequestId const& currentRequestId,
48 ::SlotData const& createdItemOutputSlot,
49 ::ItemInstance const& item,
50 ::ItemTransferAmount takeAmount
51 );
52
53 MCNAPI ~CreateContainerItemScope();
54#endif
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60#ifdef LL_PLAT_C
61 MCNAPI static ::CreateContainerItemScope _createInnerScope(
62 ::ItemStackRequestScope const& requestScope,
63 ::SlotData const& createdItemOutputSlot,
64 ::ItemInstance const& item,
65 ::ItemTransferAmount takeAmount,
66 ::std::shared_ptr<::ContainerController> createdItemOutputContainerController
67 );
68#endif
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74#ifdef LL_PLAT_C
75 MCNAPI void* $ctor(
76 ::ItemStackRequestScope&& requestScope,
77 ::SlotData const& createdItemOutputSlot,
78 ::ItemInstance const& item,
79 ::ItemTransferAmount takeAmount,
80 ::std::shared_ptr<::ContainerController> createdItemOutputContainerController
81 );
82#endif
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88#ifdef LL_PLAT_C
89 MCNAPI void $dtor();
90#endif
91 // NOLINTEND
92};
Definition ContainerController.h:20
Definition ItemInstance.h:15
Definition ItemStackRequestIdTag.h:5
Definition ItemStackRequestScope.h:14
Definition ItemTransferAmount.h:5
Definition SlotData.h:5