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
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI InventoryAction();
35
36 MCAPI InventoryAction(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
37
38 MCAPI ::InventoryAction& operator=(::InventoryAction const&);
39
40 MCAPI void postLoadItems(::BlockPalette& blockPalette, bool isClientSide);
41
42 MCAPI ~InventoryAction();
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor();
49
50 MCAPI void* $ctor(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition BlockPalette.h:18
Definition InventorySource.h:9
Definition ItemStack.h:26