Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CraftingContainerController Class Referenceabstract
Inheritance diagram for CraftingContainerController:

Public Member Functions

virtual::ItemInstance const & getRecipeItem (int index) const =0
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
virtual bool canRemove (int slot, int removeCount) const
virtual bool isItemAllowed (::ItemStackBase const &item) const
virtual bool isItemFiltered (::Recipes const &recipes, ::ItemStackBase const &item) const
virtual int getBackgroundStyle (int slot, bool inventoryContainsItem) 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)

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

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