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
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
30
31public:
32 // member functions
33 // NOLINTBEGIN
35
37 ::InventorySource source,
38 uint slot,
39 ::NetworkItemStackDescriptor const& fromItem,
41 );
42
43 MCNAPI InventoryAction(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
44
45 MCNAPI ::InventoryAction& operator=(::InventoryAction const&);
46
47 MCNAPI void postLoadItems(::BlockPalette& blockPalette, bool isClientSide);
48
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCNAPI void* $ctor(::InventoryAction const&);
56
57 MCNAPI void* $ctor(
58 ::InventorySource source,
59 uint slot,
60 ::NetworkItemStackDescriptor const& fromItem,
62 );
63
64 MCNAPI void* $ctor(::InventorySource source, uint slot, ::ItemStack const& fromItem, ::ItemStack const& toItem);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72};
Definition BlockPalette.h:18
Definition InventoryAction.h:15
MCAPI InventoryAction(::InventorySource source, uint slot, ::NetworkItemStackDescriptor const &fromItem, ::NetworkItemStackDescriptor const &toItem)
MCAPI void * $ctor(::InventorySource source, uint slot, ::ItemStack const &fromItem, ::ItemStack const &toItem)
MCAPI void postLoadItems(::BlockPalette &blockPalette, bool isClientSide)
MCAPI ~InventoryAction()
MCAPI void $dtor()
MCAPI InventoryAction(::InventoryAction const &)
MCAPI::InventoryAction & operator=(::InventoryAction const &)
MCAPI void * $ctor(::InventoryAction const &)
MCAPI InventoryAction(::InventorySource source, uint slot, ::ItemStack const &fromItem, ::ItemStack const &toItem)
MCAPI void * $ctor(::InventorySource source, uint slot, ::NetworkItemStackDescriptor const &fromItem, ::NetworkItemStackDescriptor const &toItem)
Definition InventorySource.h:9
Definition ItemStack.h:25
Definition NetworkItemStackDescriptor.h:18