Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FullPlayerInventoryWrapper Class Reference

Public Member Functions

MCAPI int _clearSimpleContainerItem (::SimpleContainer &container, ::ContainerID containerId, int slot)
MCAPI int _removeCursorItem ()
MCAPI int _removeSimpleContainerItem (::SimpleContainer &container, ::ContainerID containerId, int slot, ::ItemStack const &sourceItem, bool requireExactAux, int maxCount)
MCAPI int clearAllItems ()
MCAPI int getItemCount (::std::function< bool(::ItemStack const &)> comparator)
MCAPI int removeResource (::ItemStack const &sourceItem, ::std::function< bool(::ItemStack const &)> comparator, bool requireExactAux, int maxCount)

Public Attributes

::ll::TypedStorage< 8, 8, ::PlayerInventory & > mPlayerInventory
::ll::TypedStorage< 8, 8, ::SimpleContainer & > mArmorInventory
::ll::TypedStorage< 8, 8, ::SimpleContainer & > mHandInventory
::ll::TypedStorage< 8, 8, ::InventoryTransactionManager * > mTransactionManager
::ll::TypedStorage< 8, 8, ::Player * > mPlayer

Member Function Documentation

◆ _clearSimpleContainerItem()

MCAPI int FullPlayerInventoryWrapper::_clearSimpleContainerItem ( ::SimpleContainer & container,
::ContainerID containerId,
int slot )
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.

◆ _removeCursorItem()

MCAPI int FullPlayerInventoryWrapper::_removeCursorItem ( )
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.

◆ _removeSimpleContainerItem()

MCAPI int FullPlayerInventoryWrapper::_removeSimpleContainerItem ( ::SimpleContainer & container,
::ContainerID containerId,
int slot,
::ItemStack const & sourceItem,
bool requireExactAux,
int maxCount )
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: