18class HudContainerManagerModel :
public ::ContainerManagerModel {
21 using DynamicContainerRemovalPublisher = ::Bedrock::PubSub::
24 using ItemStackVector = ::std::vector<::ItemStack>;
29 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mLastSlots;
35 mOnDynamicContainerRemovalPublisher;
40 HudContainerManagerModel();
45 virtual ~HudContainerManagerModel() =
default;
47 virtual ::std::vector<::ItemStack> getItemCopies()
const ;
49 virtual void setSlot(
int slot,
::ItemStack const& item,
bool) ;
51 virtual ::ItemStack
const& getSlot(
int slot)
const ;
53 virtual void setData(
int id,
int value) ;
55 virtual void broadcastChanges() ;
57 virtual ::ContainerScreenContext _postInit() ;
66 MCNAPI
void cleanUpDynamicContainers();
68 MCNAPI
void refreshHotbar();
85 MCNAPI ::ItemStack
const&
$getSlot(
int slot)
const;
Definition ContainerScreenContext.h:16