LeviLamina
Loading...
Searching...
No Matches
InventoryAction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/transaction/InventorySource.h"
7#include "mc/world/item/ItemStack.h"
8#include "mc/world/item/NetworkItemStackDescriptor.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPalette;
13// clang-format on
14
15class InventoryAction {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 12, ::InventorySource> mSource;
20 ::ll::TypedStorage<4, 4, uint> mSlot;
21 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mFromItemDescriptor;
22 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mToItemDescriptor;
23 ::ll::TypedStorage<8, 152, ::ItemStack> mFromItem;
24 ::ll::TypedStorage<8, 152, ::ItemStack> mToItem;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 InventoryAction(InventoryAction const&);
30 InventoryAction();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI InventoryAction(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
36
37 MCAPI ::InventoryAction& operator=(::InventoryAction const&);
38
39 MCAPI void postLoadItems(::BlockPalette& blockPalette, bool isClientSide);
40
41 MCAPI ~InventoryAction();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55};
Definition BlockPalette.h:21
Definition InventorySource.h:9
Definition ItemStack.h:35