LeviLamina
Loading...
Searching...
No Matches
CreativeContainerController Class Reference
Inheritance diagram for CreativeContainerController:

Public Member Functions

virtual int getBackgroundStyle (int slot, bool inventoryContainsItem) const
virtual bool isItemFiltered (::Recipes const &, ::ItemStackBase const &item) const
virtual::ItemInstance const & getRecipeItem (int index) const
virtual bool canRemove (int slot, int removeCount) const
virtual void onRecipeSelected (::Recipe const *recipe, uint64 gridSize, bool displayGhostItems)
virtual void clearSelectedRecipe ()
virtual::Recipe const * getSelectedRecipe () const
virtual void setGhostItem (::ItemInstance const &item, int slot, bool showStackSize)
virtual::ItemInstance const & getGhostItem (int slot) const
MCAPI void $dtor ()
virtual bool isItemAllowed (::ItemStackBase const &item) const
virtual::ItemSetType _canSet (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &item, ::ItemTransferAmount transferAmount) const
virtual int _getAvailableSetCount (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &item) const
virtual bool _canRemove (int modelSlot, int removeCount) const
virtual void _onItemChanged (int modelSlot)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Recipe const * > mCurrentRecipe
::ll::TypedStorage< 4, 4, int > mGridSize
::ll::TypedStorage< 1, 1, bool > mDisplayOnlyGhostItems
::ll::TypedStorage< 8, 24, ::std::vector<::ItemInstance > > mGhostItems
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::ContainerModel > > mContainerModel
::ll::TypedStorage< 1, 1, bool > mDrop

Member Function Documentation

◆ getBackgroundStyle()

virtual int CreativeContainerController::getBackgroundStyle ( int slot,
bool inventoryContainsItem ) const
virtual

Reimplemented from ContainerController.

◆ isItemFiltered()

virtual bool CreativeContainerController::isItemFiltered ( ::Recipes const & ,
::ItemStackBase const & item ) const
virtual

Reimplemented from ContainerController.

◆ getRecipeItem()

virtual::ItemInstance const & CreativeContainerController::getRecipeItem ( int index) const
virtual

◆ canRemove()

virtual bool CreativeContainerController::canRemove ( int slot,
int removeCount ) const
virtual

Reimplemented from ContainerController.

◆ $vftable()

MCAPI void ** CreativeContainerController::$vftable ( )
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 file: