22 ::ll::TypedStorage<4, 4, int> mSelected;
23 ::ll::TypedStorage<8, 152, ::ItemStack> mInfiniteItem;
24 ::ll::TypedStorage<1, 1, ::ContainerID> mSelectedContainerId;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Inventory>> mInventory;
26 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mComplexItems;
27 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::HudContainerManagerModel>> mHudContainerManager;
41 virtual void containerSizeChanged(
int size) ;
44 virtual void containerContentChanged(
int slot) ;
47 virtual void createTransactionContext(
49 ::std::function<
void()> execute
58 MCAPI
int getItemCount(::std::function<
bool(
::ItemStack const&)> comparator);
60 MCAPI ::ItemStack
const& getSelectedItem()
const;
62 MCAPI
void init(::std::weak_ptr<::HudContainerManagerModel> hud);
64 MCAPI
bool removeResource(
int type);
66 MCAPI
bool selectSlot(
int slot, ::ContainerID containerId);
72 MCAPI
void* $ctor(::std::unique_ptr<::Inventory> inv);
84 MCFOLD
void $containerSizeChanged(
int size);
86 MCAPI
void $containerContentChanged(
int slot);
88 MCAPI
void $createTransactionContext(
90 ::std::function<
void()> execute
97 MCAPI
static void** $vftableForContainerSizeChangeListener();
99 MCAPI
static void** $vftableForContainerContentChangeListener();
Definition ContainerContentChangeListener.h:5