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

Public Member Functions

virtual bool isItemAllowedInSlot (::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
 
virtual int getAllowedAddCount (::ContainerScreenContext const &, ::ItemStackBase const &) const
 
virtual bool isValidSlotForContainer (::ContainerScreenContext const &screenContext, ::Container const &container, int const slot) const
 
MCFOLD bool $isItemAllowedInSlot (::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
 
MCFOLD int $getAllowedAddCount (::ContainerScreenContext const &, ::ItemStackBase const &) const
 
MCFOLD bool $isValidSlotForContainer (::ContainerScreenContext const &screenContext, ::Container const &container, int const slot) const
 
virtual int getAvailableSetCount (int const slot, ::ItemStackBase const &item) const
 
virtual bool isItemAllowedToRemove (::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
 
virtual bool canItemMoveToContainer (::ItemStackBase const &item) const
 
virtual bool canDestroy (::ContainerScreenContext const &screenContext) const
 
virtual int getContainerOffset (::ContainerScreenContext const &screenContext) const
 
virtual int getContainerSize (::ContainerScreenContext const &screenContext, ::Container const &container) const
 
MCAPI int $getAvailableSetCount (int const slot, ::ItemStackBase const &item) const
 
MCFOLD bool $isItemAllowedToRemove (::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
 
MCAPI bool $canItemMoveToContainer (::ItemStackBase const &item) const
 
MCAPI bool $canDestroy (::ContainerScreenContext const &screenContext) const
 
MCFOLD int $getContainerOffset (::ContainerScreenContext const &screenContext) const
 
MCFOLD int $getContainerSize (::ContainerScreenContext const &screenContext, ::Container const &container) const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Member Function Documentation

◆ isItemAllowedInSlot()

virtual bool PreviewContainerValidation::isItemAllowedInSlot ( ::ContainerScreenContext const & screenContext,
int const slot,
::ItemStackBase const & item,
int const amount,
bool  ) const
virtual

Reimplemented from ContainerValidationBase.

◆ getAllowedAddCount()

virtual int PreviewContainerValidation::getAllowedAddCount ( ::ContainerScreenContext const & ,
::ItemStackBase const &  ) const
virtual

Reimplemented from ContainerValidationBase.

◆ isValidSlotForContainer()

virtual bool PreviewContainerValidation::isValidSlotForContainer ( ::ContainerScreenContext const & screenContext,
::Container const & container,
int const slot ) const
virtual

Reimplemented from ContainerValidationBase.


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