3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/containers/models/ContainerModel.h"
22 ::ll::TypedStorage<8, 8, ::StorageItemComponent const*> mStorageItemComponent;
23 ::ll::TypedStorage<8, 8, ::StorageWeightLimitItemComponent const*> mStorageWeightLimitComponent;
24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Container>> mContainer;
38 virtual void postInit() ;
41 virtual void containerContentChanged(
int slot) ;
44 virtual bool isValid() ;
47 virtual ::ContainerWeakRef getContainerWeakRef()
const ;
50 virtual int _getContainerOffset()
const ;
56 virtual ::Container* _getContainer()
const ;
64 ::std::shared_ptr<::Container> container,
78 ::std::shared_ptr<::Container> container,
Definition ContainerModel.h:25
Definition ContainerWeakRef.h:17
Definition Container.h:30
Definition ItemStack.h:25
Definition StorageItemComponent.h:25
Definition StorageItemContainerModel.h:18
MCAPI void * $ctor(::FullContainerName const &name, ::std::shared_ptr<::Container > container, bool isClientSide, ::StorageItemComponent *storageItemComponent, ::StorageWeightLimitItemComponent *storageWeightLimitItemComponent)
MCAPI void _refreshSlot(int modelSlot)
MCAPI void $containerContentChanged(int slot)
MCAPI::Container * $_getContainer() const
MCAPI int $_getContainerOffset() const
MCAPI StorageItemContainerModel(::FullContainerName const &name, ::std::shared_ptr<::Container > container, bool isClientSide, ::StorageItemComponent *storageItemComponent, ::StorageWeightLimitItemComponent *storageWeightLimitItemComponent)
MCAPI void $_onItemChanged(int modelSlot, ::ItemStack const &oldItem, ::ItemStack const &newItem)
MCAPI::ContainerWeakRef $getContainerWeakRef() const
static MCAPI void ** $vftable()
Definition StorageWeightLimitItemComponent.h:16
Definition FullContainerName.h:8