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;
14class Player;
16// clang-format on
17
18class InventoryMenu : public ::BaseContainerMenu {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::Container*> mContainer;
23 ::ll::TypedStorage<8, 16, ::WeakRef<::IContainerRegistryAccess>> mContainerRegistryAccess;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~InventoryMenu() /*override*/;
30
31 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
32
33 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
34
35 virtual void removeSlot(int slot, int count) /*override*/;
36
37 virtual void
38 setFullContainerSlot(int slot, ::FullContainerName const& name, ::ItemStack const& item, bool) /*override*/;
39
40 virtual ::ItemStack const& getFullContainerSlot(int slot, ::FullContainerName const& name) const /*override*/;
41
42 virtual void serverInitItemStackIds() /*override*/;
43
44 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
45
46 virtual ::Container* _getContainer() const /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI_C void* $ctor(::Player& player, ::Container* container);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool);
71
72 MCAPI ::ItemStack const& $getSlot(int slot) const;
73
74 MCAPI void $removeSlot(int slot, int count);
75
76 MCAPI void $setFullContainerSlot(int slot, ::FullContainerName const& name, ::ItemStack const& item, bool);
77
78 MCAPI ::ItemStack const& $getFullContainerSlot(int slot, ::FullContainerName const& name) const;
79
80 MCAPI void $serverInitItemStackIds();
81
82 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
83
84 MCFOLD ::Container* $_getContainer() const;
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftableForContainerContentChangeListener();
93
94 MCAPI static void** $vftableForIContainerManager();
95 // NOLINTEND
96};
Definition Container.h:33
Definition IContainerRegistryAccess.h:14
Definition InventoryMenu.h:18
Definition ItemStack.h:26
Definition Player.h:125
Definition FullContainerName.h:8