LeviLamina
Loading...
Searching...
No Matches
InventoryMenu.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/world/inventory/BaseContainerMenu.h"
8
9// auto generated forward declare list
10// clang-format off
11class Container;
13class ItemStack;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Container*> mContainer;
22 ::ll::TypedStorage<8, 16, ::WeakRef<::IContainerRegistryAccess>> mContainerRegistryAccess;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 1
29 virtual ~InventoryMenu() /*override*/;
30
31 // vIndex: 8
32 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
33
34 // vIndex: 9
35 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
36
37 // vIndex: 2
38 virtual void removeSlot(int slot, int count) /*override*/;
39
40 // vIndex: 11
41 virtual void
42 setFullContainerSlot(int slot, ::FullContainerName const& name, ::ItemStack const& item, bool) /*override*/;
43
44 // vIndex: 12
45 virtual ::ItemStack const& getFullContainerSlot(int slot, ::FullContainerName const& name) const /*override*/;
46
47 // vIndex: 6
48 virtual void serverInitItemStackIds() /*override*/;
49
50 // vIndex: 7
51 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
52
53 // vIndex: 5
54 virtual ::Container* _getContainer() const /*override*/;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool);
67
68 MCNAPI ::ItemStack const& $getSlot(int slot) const;
69
70 MCNAPI void $removeSlot(int slot, int count);
71
72 MCNAPI void $setFullContainerSlot(int slot, ::FullContainerName const& name, ::ItemStack const& item, bool);
73
74 MCNAPI ::ItemStack const& $getFullContainerSlot(int slot, ::FullContainerName const& name) const;
75
77
78 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
79
80 MCNAPI ::Container* $_getContainer() const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
87
88 MCNAPI static void** $vftableForIContainerManager();
89 // NOLINTEND
90};
Definition BaseContainerMenu.h:23
Definition Container.h:30
Definition IContainerRegistryAccess.h:14
Definition InventoryMenu.h:17
MCAPI void $dtor()
MCAPI::ItemStack const & $getFullContainerSlot(int slot, ::FullContainerName const &name) const
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool)
MCAPI void $serverInitItemStackIds()
MCAPI void $removeSlot(int slot, int count)
static MCAPI void ** $vftableForIContainerManager()
MCAPI::Container * $_getContainer() const
static MCAPI void ** $vftableForContainerContentChangeListener()
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI void $setFullContainerSlot(int slot, ::FullContainerName const &name, ::ItemStack const &item, bool)
Definition ItemStack.h:25
Definition FullContainerName.h:8