18class DynamicContainerManager {
22 ::ll::TypedStorage<4, 12, ::FullContainerName const> mFullContainerName;
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mModel;
24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Container>> mContainer;
25 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mLastSlots;
26 ::ll::TypedStorage<1, 1, ::ContainerID> mContainerID;
27 ::ll::TypedStorage<8, 152, ::ItemStack> mStorageItem;
32 DynamicContainerManager();
37 MCAPI DynamicContainerManager(
39 ::std::shared_ptr<::ContainerModel> model,
40 ::std::shared_ptr<::Container> container,
47 MCFOLD ::ContainerID getContainerId()
const;
49 MCAPI ::FullContainerName getDynamicContainerId()
const;
51 MCAPI ::std::vector<::ItemStack>
const& getItems()
const;
53 MCFOLD ::ItemStack
const& getStorageItemForNetworkPacket()
const;
57 MCAPI ~DynamicContainerManager();
65 ::std::shared_ptr<::ContainerModel> model,
66 ::std::shared_ptr<::Container> container,