LeviLamina
Loading...
Searching...
No Matches
ShareableComponent Class Reference

Public Member Functions

MCAPI int _getItemPriority (::ShareableDefinition const &shareable, ::ItemStack const &item) const
 
MCAPI int _getMaxItemAmount (::ShareableDefinition const &shareable, ::ItemStack const &item) const
 
MCAPI int _getPickupLimitAmount (::ShareableDefinition const &shareable, ::ItemStack const &item) const
 
MCAPI bool _shouldReplaceItem (::ItemStack const &itemToReplace, ::ItemStack const &newItem, ::ShareableDefinition const &shareable, bool canPickupAnyItem) const
 
MCAPI int getCountToPickUp (::Actor const &owner, ::ItemStack const &item) const
 
MCAPI int getSlotToSwap (::Actor &owner, ::ItemActor const &itemActor) const
 
MCAPI int hasSurplus (::Actor &owner, ::ItemStack const &item, ::ItemStack &resultStack, bool includeStackSizeofItem) const
 
MCAPI bool itemBelongsInInventory (::Actor &owner, ::ItemStack const &item, bool canPickupToHandOrEquipment) const
 
MCAPI int wantsMore (::Actor const &owner, ::ItemStack const &item) const
 
MCAPI bool willPickup (::Actor &owner, ::ItemStack const &item, bool canPickupAnyItem, bool canPickupToHandOrEquipment) const
 

Member Function Documentation

◆ _getItemPriority()

MCAPI int ShareableComponent::_getItemPriority ( ::ShareableDefinition const & shareable,
::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.

◆ _getMaxItemAmount()

MCAPI int ShareableComponent::_getMaxItemAmount ( ::ShareableDefinition const & shareable,
::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.

◆ _getPickupLimitAmount()

MCAPI int ShareableComponent::_getPickupLimitAmount ( ::ShareableDefinition const & shareable,
::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.

◆ _shouldReplaceItem()

MCAPI bool ShareableComponent::_shouldReplaceItem ( ::ItemStack const & itemToReplace,
::ItemStack const & newItem,
::ShareableDefinition const & shareable,
bool canPickupAnyItem ) 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.

◆ getCountToPickUp()

MCAPI int ShareableComponent::getCountToPickUp ( ::Actor const & owner,
::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.

◆ getSlotToSwap()

MCAPI int ShareableComponent::getSlotToSwap ( ::Actor & owner,
::ItemActor const & itemActor ) 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.

◆ hasSurplus()

MCAPI int ShareableComponent::hasSurplus ( ::Actor & owner,
::ItemStack const & item,
::ItemStack & resultStack,
bool includeStackSizeofItem ) 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.

◆ itemBelongsInInventory()

MCAPI bool ShareableComponent::itemBelongsInInventory ( ::Actor & owner,
::ItemStack const & item,
bool canPickupToHandOrEquipment ) 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.

◆ wantsMore()

MCAPI int ShareableComponent::wantsMore ( ::Actor const & owner,
::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.

◆ willPickup()

MCAPI bool ShareableComponent::willPickup ( ::Actor & owner,
::ItemStack const & item,
bool canPickupAnyItem,
bool canPickupToHandOrEquipment ) 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.

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