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

Public Member Functions

ContainerComponentoperator= (ContainerComponent const &)
 
 ContainerComponent (ContainerComponent const &)
 
virtual void containerContentChanged (int iSlot)
 
virtual void containerClosed (::Player &player)
 
MCAPI ContainerComponent (::ContainerComponent &&other)
 
MCAPI bool _tryMoveInItem (::ItemStack &item, int slot, int face, int itemCount)
 
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
 
MCAPI bool addItem (::ItemActor &entity)
 
MCAPI bool canOpenContainer (::Actor const &containerActor, ::Player &player) const
 
MCAPI int countItemsOfType (::ItemStack const &item) const
 
MCAPI void dropContents (::BlockSource &region, ::Vec3 const &pos, bool randomizeDrop)
 
MCAPI void initFromDefinition (::Actor &actor, ::ContainerDescription const &desc)
 
MCAPI bool isEmpty () const
 
MCAPI bool openContainer (::Actor &containerActor, ::Player &player)
 
MCAPI::ContainerComponent & operator= (::ContainerComponent &&other)
 
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
 
MCAPI void rebuildContainer (::Actor &owner, ::SharedTypes::Legacy::ContainerType type, int size, bool canBesiphonedFrom, int, bool isPrivate)
 
MCAPI void removeItemsOfType (::ItemStack const &item, int count)
 
MCAPI void setCustomName (::std::string const &name)
 
MCAPI bool setItem (int slot, ::ItemStack const &item)
 
MCAPI void unpackLootTable (::Level &level, ::DimensionType dimensionId)
 
MCAPI void * $ctor (::ContainerComponent &&other)
 
MCAPI void $dtor ()
 
MCAPI void $containerContentChanged (int iSlot)
 
MCAPI void $containerClosed (::Player &player)
 

Static Public Member Functions

static MCAPI void ** $vftableForContainerContentChangeListener ()
 
static MCAPI void ** $vftableForContainerCloseListener ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 440, ::FillingContainermContainer
 
::ll::TypedStorage< 8, 8, ::Actor * > mListenerShim
 
::ll::TypedStorage< 1, 1, bool > mCanBeSiphonedFrom
 
::ll::TypedStorage< 1, 1, bool > mPrivate
 
::ll::TypedStorage< 1, 1, bool > mRestrictToOwner
 
::ll::TypedStorage< 8, 32, ::std::string > mLootTable
 
::ll::TypedStorage< 4, 4, int > mLootTableSeed
 

Constructor & Destructor Documentation

◆ ContainerComponent()

MCAPI ContainerComponent::ContainerComponent ( ::ContainerComponent && other)
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.

Member Function Documentation

◆ containerContentChanged()

virtual void ContainerComponent::containerContentChanged ( int iSlot)
virtual

◆ containerClosed()

virtual void ContainerComponent::containerClosed ( ::Player & player)
virtual

◆ _tryMoveInItem()

MCAPI bool ContainerComponent::_tryMoveInItem ( ::ItemStack & item,
int slot,
int face,
int itemCount )
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.

◆ addAdditionalSaveData()

MCAPI void ContainerComponent::addAdditionalSaveData ( ::CompoundTag & tag) 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.

◆ addItem()

MCAPI bool ContainerComponent::addItem ( ::ItemActor & entity)
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.

◆ canOpenContainer()

MCAPI bool ContainerComponent::canOpenContainer ( ::Actor const & containerActor,
::Player & player ) 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.

◆ countItemsOfType()

MCAPI int ContainerComponent::countItemsOfType ( ::ItemStack const & item) 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.

◆ dropContents()

MCAPI void ContainerComponent::dropContents ( ::BlockSource & region,
::Vec3 const & pos,
bool randomizeDrop )
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.

◆ initFromDefinition()

MCAPI void ContainerComponent::initFromDefinition ( ::Actor & actor,
::ContainerDescription const & desc )
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.

◆ isEmpty()

MCAPI bool ContainerComponent::isEmpty ( ) 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.

◆ openContainer()

MCAPI bool ContainerComponent::openContainer ( ::Actor & containerActor,
::Player & player )
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.

◆ operator=()

MCAPI::ContainerComponent & ContainerComponent::operator= ( ::ContainerComponent && other)
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.

◆ readAdditionalSaveData()

MCAPI void ContainerComponent::readAdditionalSaveData ( ::Actor & ,
::CompoundTag const & tag,
::DataLoadHelper &  )
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.

◆ rebuildContainer()

MCAPI void ContainerComponent::rebuildContainer ( ::Actor & owner,
::SharedTypes::Legacy::ContainerType type,
int size,
bool canBesiphonedFrom,
int ,
bool isPrivate )
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.

◆ removeItemsOfType()

MCAPI void ContainerComponent::removeItemsOfType ( ::ItemStack const & item,
int count )
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.

◆ setCustomName()

MCAPI void ContainerComponent::setCustomName ( ::std::string const & name)
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.

◆ setItem()

MCAPI bool ContainerComponent::setItem ( int slot,
::ItemStack const & item )
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.

◆ unpackLootTable()

MCAPI void ContainerComponent::unpackLootTable ( ::Level & level,
::DimensionType dimensionId )
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.

◆ $ctor()

MCAPI void * ContainerComponent::$ctor ( ::ContainerComponent && other)
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.

◆ $dtor()

MCAPI void ContainerComponent::$dtor ( )
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.

◆ $containerContentChanged()

MCAPI void ContainerComponent::$containerContentChanged ( int iSlot)
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.

◆ $containerClosed()

MCAPI void ContainerComponent::$containerClosed ( ::Player & player)
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.

◆ $vftableForContainerContentChangeListener()

static MCAPI void ** ContainerComponent::$vftableForContainerContentChangeListener ( )
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.

◆ $vftableForContainerCloseListener()

static MCAPI void ** ContainerComponent::$vftableForContainerCloseListener ( )
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.

◆ $vftable() [1/2]

static MCAPI void ** ContainerContentChangeListener::$vftable ( )
staticinherited
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.

◆ $vftable() [2/2]

static MCAPI void ** ContainerCloseListener::$vftable ( )
staticinherited
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: