Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BundleHelper Class Reference

Public Types

enum class  BundleItemStickScrollDirection : int { Left = 0 , Right = 1 , Up = 2 , Down = 3 }
enum class  BundleItemScrollWheelDirection : int { Up = 0 , Down = 1 }
enum class  BundleItemStickScrollDirection : int { Left = 0 , Right = 1 , Up = 2 , Down = 3 }
enum class  BundleItemScrollWheelDirection : int { Up = 0 , Down = 1 }

Public Member Functions

MCAPI bool isSlotInteractiveBundle (::ContainerScreenController const &controller, ::std::string const &collectionName, int collectionIndex) const
MCAPI::ui::ViewRequest onBundleItemRightStick (::ContainerScreenController &controller, ::BundleHelper::BundleItemStickScrollDirection direction)
MCAPI::ui::ViewRequest onBundleItemScrollWheel (::ContainerScreenController &controller, ::BundleHelper::BundleItemScrollWheelDirection direction)

Static Public Member Functions

static MCAPI bool _shouldShowBundleOpen (::std::string const &collectionName, int collectionIndex, bool usingTouchScheme, ::ActiveBundleData const &activeBundleData)
static MCAPI ::ItemStack const & getItemStackFromBundle (::ContainerScreenController const &controller, ::ItemStackBase const &bundleItem, int bundleItemIdx)

Public Attributes

::ll::TypedStorage< 8, 144, ::ActiveBundleData > mActiveBundleData

Member Function Documentation

◆ isSlotInteractiveBundle()

MCAPI bool BundleHelper::isSlotInteractiveBundle ( ::ContainerScreenController const & controller,
::std::string const & collectionName,
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.

◆ onBundleItemRightStick()

MCAPI::ui::ViewRequest BundleHelper::onBundleItemRightStick ( ::ContainerScreenController & controller,
::BundleHelper::BundleItemStickScrollDirection direction )
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.

◆ onBundleItemScrollWheel()

MCAPI::ui::ViewRequest BundleHelper::onBundleItemScrollWheel ( ::ContainerScreenController & controller,
::BundleHelper::BundleItemScrollWheelDirection direction )
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.

◆ _shouldShowBundleOpen()

MCAPI bool BundleHelper::_shouldShowBundleOpen ( ::std::string const & collectionName,
int collectionIndex,
bool usingTouchScheme,
::ActiveBundleData const & activeBundleData )
static
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 class was generated from the following files: