Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TradeContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/models/LevelContainerManagerModel.h"
7
8// auto generated forward declare list
9// clang-format off
11class ItemStack;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 4, int> mCurrentIndex;
19 // NOLINTEND
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~TradeContainerManagerModel() /*override*/ = default;
25
26 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
27
28 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
29
30 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
31
32 virtual bool isValid(float pickRange) /*override*/;
33
34 virtual void broadcastChanges() /*override*/;
35
36 virtual ::ContainerScreenContext _postInit() /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42#ifdef LL_PLAT_C
43 MCNAPI int getAvailableRecipeListSize();
44
45 MCNAPI ::std::string getDisplayName();
46#endif
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
53
54 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool);
55
56 MCNAPI ::ItemStack const& $getSlot(int slot) const;
57
58 MCNAPI bool $isValid(float pickRange);
59
60 MCNAPI void $broadcastChanges();
61
62 MCNAPI ::ContainerScreenContext $_postInit();
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition ContainerScreenContext.h:16
Definition ItemStack.h:26
Definition LevelContainerManagerModel.h:18
Definition TradeContainerManagerModel.h:14
MCAPI::ContainerScreenContext $_postInit()
static MCAPI void ** $vftable()
MCAPI bool $isValid(float pickRange)
MCAPI void $broadcastChanges()
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool)
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI ::std::vector<::ItemStack > $getItemCopies() const