LeviLamina
Loading...
Searching...
No Matches
ItemStackRequestActionDrop.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/ItemStackRequestActionTransferBase.h"
8
9// auto generated forward declare list
10// clang-format off
11class BinaryStream;
14// clang-format on
15
16class ItemStackRequestActionDrop : public ::ItemStackRequestActionTransferBase {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mRandomly;
21 // NOLINTEND
22
23#ifdef LL_PLAT_S
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 ItemStackRequestActionDrop();
28
29#endif
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _write(::BinaryStream& stream) const /*override*/;
34
35 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
36
37 virtual ~ItemStackRequestActionDrop() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43#ifdef LL_PLAT_C
44 MCNAPI ItemStackRequestActionDrop(uchar amount, bool randomly, ::ItemStackRequestSlotInfo const& src);
45#endif
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51#ifdef LL_PLAT_C
52 MCNAPI void* $ctor(uchar amount, bool randomly, ::ItemStackRequestSlotInfo const& src);
53#endif
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI void $_write(::BinaryStream& stream) const;
60
61 MCNAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition BinaryStream.h:11
MCAPI ::Bedrock::Result< void > $_read(::ReadOnlyBinaryStream &stream)
MCAPI void $_write(::BinaryStream &stream) const
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition ItemStackRequestSlotInfo.h:11