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)
MCAPI bool shouldHandleBundleIdlePlaceAll (::ContainerScreenController &controller, ::std::string const &collectionName, int collectionIndex) const

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

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