LeviLamina
Loading...
Searching...
No Matches
ItemStackRequestActionTransferBase.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/ItemStackRequestAction.h"
8#include "mc/world/inventory/network/ItemStackRequestActionType.h"
9#include "mc/world/inventory/network/ItemStackRequestSlotInfo.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15// clang-format on
16
17class ItemStackRequestActionTransferBase : public ::ItemStackRequestAction {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mIsDstSerialized;
22 ::ll::TypedStorage<1, 1, bool> mIsAmountSerialized;
23 ::ll::TypedStorage<1, 1, uchar> mAmount;
24 ::ll::TypedStorage<8, 40, ::ItemStackRequestSlotInfo> mSrc;
25 ::ll::TypedStorage<8, 40, ::ItemStackRequestSlotInfo> mDst;
26 // NOLINTEND
27
28#ifdef LL_PLAT_S
29#else // LL_PLAT_C
30public:
31 // prevent constructor by default
32 ItemStackRequestActionTransferBase();
33
34#endif
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual void _write(::BinaryStream& stream) const /*override*/;
39
40 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
41
42 virtual ~ItemStackRequestActionTransferBase() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48#ifdef LL_PLAT_C
49 MCNAPI ItemStackRequestActionTransferBase(
50 ::ItemStackRequestActionType actionType,
51 uchar amount,
54 bool isDstSerialized,
55 bool isAmountSerialized
56 );
57#endif
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCNAPI void* $ctor(
65 ::ItemStackRequestActionType actionType,
66 uchar amount,
69 bool isDstSerialized,
70 bool isAmountSerialized
71 );
72#endif
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCNAPI void $_write(::BinaryStream& stream) const;
79
80 MCNAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BinaryStream.h:11
MCAPI void $_write(::BinaryStream &stream) const
MCAPI ::Bedrock::Result< void > $_read(::ReadOnlyBinaryStream &stream)
static MCAPI void ** $vftable()
Definition ItemStackRequestAction.h:18
Definition ReadOnlyBinaryStream.h:8
Definition ItemStackRequestSlotInfo.h:11