LeviLamina
Loading...
Searching...
No Matches
InventorySlotPacket.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/ContainerID.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
14class ItemStack;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<1, 1, ::ContainerID> mInventoryId;
25 ::ll::TypedStorage<4, 12, ::FullContainerName> mFullContainerName;
26 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mStorageItem;
27 ::ll::TypedStorage<4, 4, uint> mSlot;
28 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mItem;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual ::MinecraftPacketIds getId() const /*override*/;
36
37 // vIndex: 2
38 virtual ::std::string getName() const /*override*/;
39
40 // vIndex: 4
41 virtual void write(::BinaryStream& stream) const /*override*/;
42
43 // vIndex: 8
44 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
45
46 // vIndex: 0
47 virtual ~InventorySlotPacket() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI InventorySlotPacket(::ContainerID id, uint slot, ::ItemStack const& item);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::ContainerID id, uint slot, ::ItemStack const& item);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCFOLD ::MinecraftPacketIds $getId() const;
72
73 MCAPI ::std::string $getName() const;
74
75 MCAPI void $write(::BinaryStream& stream) const;
76
77 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition BinaryStream.h:10
Definition InventorySlotPacket.h:20
Definition ItemStack.h:25
Definition NetworkItemStackDescriptor.h:18
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition FullContainerName.h:8