Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
InventoryContentPacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/ContainerID.h"
7#include "mc/world/containers/FullContainerName.h"
8#include "mc/world/item/NetworkItemStackDescriptor.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemStack;
13// clang-format on
14
15struct InventoryContentPacketPayload {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, ::ContainerID> mInventoryId;
20 ::ll::TypedStorage<4, 12, ::FullContainerName> mFullContainerName;
21 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mStorageItem;
22 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkItemStackDescriptor>> mSlots;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 InventoryContentPacketPayload();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI InventoryContentPacketPayload(
33 ::ContainerID id,
34 ::std::vector<::ItemStack> const& items,
35 ::FullContainerName const& fullContainerName,
36 ::ItemStack const& storageItem
37 );
38
39 MCAPI ~InventoryContentPacketPayload();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void* $ctor(
46 ::ContainerID id,
47 ::std::vector<::ItemStack> const& items,
48 ::FullContainerName const& fullContainerName,
49 ::ItemStack const& storageItem
50 );
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition ItemStack.h:26
Definition FullContainerName.h:8