Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MobEquipmentPacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorRuntimeID.h"
7#include "mc/world/ContainerID.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 MobEquipmentPacketPayload {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
20 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mItem;
21 ::ll::TypedStorage<4, 4, int> mSlot;
22 ::ll::TypedStorage<4, 4, int> mSelectedSlot;
23 ::ll::TypedStorage<1, 1, ::ContainerID> mContainerId;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 MobEquipmentPacketPayload();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI MobEquipmentPacketPayload(
34 ::ActorRuntimeID runtimeId,
35 ::ItemStack const& item,
36 int slot,
37 int selectedSlot,
38 ::ContainerID containerId
39 );
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void*
46 $ctor(::ActorRuntimeID runtimeId, ::ItemStack const& item, int slot, int selectedSlot, ::ContainerID containerId);
47 // NOLINTEND
48};
Definition ActorRuntimeID.h:5
Definition ItemStack.h:26