19class HudContainerManagerModel :
public ::ContainerManagerModel {
22 using DynamicContainerRemovalPublisher = ::Bedrock::PubSub::
25 using ItemStackVector = ::std::vector<::ItemStack>;
30 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mLastSlots;
36 mOnDynamicContainerRemovalPublisher;
41 HudContainerManagerModel();
46 virtual ~HudContainerManagerModel() =
default;
48 virtual ::std::vector<::ItemStack> getItemCopies()
const ;
50 virtual void setSlot(
int slot,
::ItemStack const& item,
bool) ;
52 virtual ::ItemStack
const& getSlot(
int slot)
const ;
54 virtual void setData(
int id,
int value) ;
56 virtual void broadcastChanges() ;
58 virtual ::ContainerScreenContext _postInit() ;
64 MCAPI HudContainerManagerModel(::ContainerID containerId,
::Player& player);
66 MCAPI_C ::std::unordered_set<::FullContainerName> _getDynamicContainersInHotbar();
68 MCAPI_C
void cleanUpDynamicContainers();
74 MCAPI
void* $ctor(::ContainerID containerId,
::Player& player);
80 MCFOLD ::std::vector<::ItemStack> $getItemCopies()
const;
82 MCAPI
void $setSlot(
int slot,
::ItemStack const& item,
bool);
84 MCAPI ::ItemStack
const& $getSlot(
int slot)
const;
86 MCFOLD
void $setData(
int id,
int value);
88 MCAPI
void $broadcastChanges();
90 MCAPI ::ContainerScreenContext $_postInit();
Definition ContainerScreenContext.h:17