LeviLamina
Loading...
Searching...
No Matches
ActiveBundleData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/controllers/BundleTooltipLayoutData.h"
7#include "mc/world/containers/SlotData.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemStackBase;
13// clang-format on
14
15struct ActiveBundleData {
16public:
17 // ActiveBundleData inner types define
18 enum class BundleState : int {};
19
20 enum class TooltipDirection : int {};
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, bool> mMinimizedTooltip;
26 ::ll::TypedStorage<4, 8, ::std::optional<int>> mSelectedCollectionIndex;
27 ::ll::TypedStorage<8, 40, ::SlotData> mSlotData;
28 ::ll::TypedStorage<4, 4, ::ActiveBundleData::BundleState> mBundleState;
29 ::ll::TypedStorage<8, 88, ::std::optional<::BundleTooltipLayoutData>> mCachedBundleTooltipLayoutData;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ::BundleTooltipLayoutData const& getBundleTooltipLayoutData(
36 ::ItemStackBase const& bundleItem,
37 ::ContainerManagerController& containerManagerController
38 ) const;
39
40 MCAPI int getSelectedItemContainerIndex(::BundleTooltipLayoutData const& tooltipLayoutData) const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::BundleTooltipLayoutData _calculateBundleTooltipLayoutData(
47 ::ItemStackBase const& bundleItem,
48 ::ContainerManagerController& containerManagerController
49 );
50 // NOLINTEND
51};
Definition ContainerManagerController.h:47
Definition ItemStackBase.h:44
Definition ActiveBundleData.h:5