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#include "mc/world/containers/FullContainerName.h"
11#include "mc/world/item/NetworkItemStackDescriptor.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
16class 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 // prevent constructor by default
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 ~InventorySlotPacket() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI InventorySlotPacket(::ContainerID id, uint slot, ::ItemStack const& item);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::ContainerID id, uint slot, ::ItemStack const& item);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCFOLD ::MinecraftPacketIds $getId() const;
76
77 MCAPI ::std::string $getName() const;
78
79 MCAPI void $write(::BinaryStream& stream) const;
80
81 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BinaryStream.h:10
Definition InventorySlotPacket.h:20
static MCAPI void ** $vftable()
Definition ItemStack.h:25
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8