3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/controllers/BundleTooltipLayoutData.h"
7#include "mc/world/containers/SlotData.h"
18 enum class BundleState :
int {
24 enum class TooltipDirection :
int {
34 ::ll::TypedStorage<1, 1, bool> mMinimizedTooltip;
35 ::ll::TypedStorage<4, 8, ::std::optional<int>> mSelectedCollectionIndex;
36 ::ll::TypedStorage<8, 40, ::SlotData> mSlotData;
37 ::ll::TypedStorage<4, 4, ::ActiveBundleData::BundleState> mBundleState;
38 ::ll::TypedStorage<8, 80, ::std::optional<::BundleTooltipLayoutData>> mCachedBundleTooltipLayoutData;
44 MCAPI ::BundleTooltipLayoutData
const& getBundleTooltipLayoutData(
45 ::ItemStackBase
const& bundleItem,
46 ::ContainerManagerController& containerManagerController
49 MCAPI
int getSelectedItemContainerIndex(::BundleTooltipLayoutData
const& tooltipLayoutData)
const;
55 MCAPI static ::BundleTooltipLayoutData _calculateBundleTooltipLayoutData(
56 ::ItemStackBase
const& bundleItem,
57 ::ContainerManagerController& containerManagerController
Definition ContainerManagerController.h:47
Definition ItemStackBase.h:44
Definition ActiveBundleData.h:5