Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActiveBundleData Struct Reference

Public Types

enum class  BundleState : int { Inactive = 0 , Active = 1 , Hovered = 2 }
enum class  TooltipDirection : int { SouthEast = 0 , NorthEast = 1 , NorthWest = 2 , SouthWest = 3 }
enum class  BundleState : int { Inactive = 0 , Active = 1 , Hovered = 2 }
enum class  TooltipDirection : int { SouthEast = 0 , NorthEast = 1 , NorthWest = 2 , SouthWest = 3 }

Public Member Functions

MCAPI::BundleTooltipLayoutData const & getBundleTooltipLayoutData (::ItemStackBase const &bundleItem, ::ContainerManagerController &containerManagerController) const
MCAPI ::std::pair<::std::string, int > getCollectionNameAndIndex () const
MCAPI int getContainerIndexFromCollectionIndex (::BundleTooltipLayoutData const &tooltipLayoutData, int collectionIndex) const

Public Attributes

::ll::TypedStorage< 1, 1, bool > mMinimizedTooltip
::ll::TypedStorage< 4, 8, ::std::optional< int > > mSelectedCollectionIndex
::ll::TypedStorage< 8, 40, ::SlotData > mSlotData
::ll::TypedStorage< 4, 4, ::ActiveBundleData::BundleState > mBundleState
::ll::TypedStorage< 8, 80, ::std::optional<::BundleTooltipLayoutData > > mCachedBundleTooltipLayoutData

Member Function Documentation

◆ getBundleTooltipLayoutData()

MCAPI::BundleTooltipLayoutData const & ActiveBundleData::getBundleTooltipLayoutData ( ::ItemStackBase const & bundleItem,
::ContainerManagerController & containerManagerController ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getCollectionNameAndIndex()

MCAPI ::std::pair<::std::string, int > ActiveBundleData::getCollectionNameAndIndex ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getContainerIndexFromCollectionIndex()

MCAPI int ActiveBundleData::getContainerIndexFromCollectionIndex ( ::BundleTooltipLayoutData const & tooltipLayoutData,
int collectionIndex ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this struct was generated from the following files: