LeviLamina
Loading...
Searching...
No Matches
InventoryTransactionPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/packet/Packet.h"
8#include "mc/platform/Result.h"
9#include "mc/world/containers/ContainerEnumName.h"
10#include "mc/world/inventory/network/TypedClientNetId.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
18// clang-format on
19
21public:
22 // InventoryTransactionPacket inner types define
23 using LegacySetSlot = ::std::pair<::ContainerEnumName, ::std::vector<uchar>>;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 16, ::ItemStackLegacyRequestId> mLegacyRequestId;
29 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::ContainerEnumName, ::std::vector<uchar>>>>
30 mLegacySetItemSlots;
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ComplexInventoryTransaction>> mTransaction;
32 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 1
39 virtual ::MinecraftPacketIds getId() const /*override*/;
40
41 // vIndex: 2
42 virtual ::std::string getName() const /*override*/;
43
44 // vIndex: 4
45 virtual void write(::BinaryStream& stream) const /*override*/;
46
47 // vIndex: 8
48 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
49
50 // vIndex: 0
51 virtual ~InventoryTransactionPacket() /*override*/;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI ::MinecraftPacketIds $getId() const;
64
65 MCAPI ::std::string $getName() const;
66
67 MCAPI void $write(::BinaryStream& stream) const;
68
69 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BinaryStream.h:10
Definition ComplexInventoryTransaction.h:20
Definition InventoryTransactionPacket.h:20
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ItemStackLegacyRequestIdTag.h:5