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

Public Member Functions

PlayerTransactionSubject & operator= (PlayerTransactionSubject const &)
 PlayerTransactionSubject (PlayerTransactionSubject const &)
virtual void setSelectedSlot (int slot, ::ContainerID containerId)
virtual bool isAlive () const
virtual::ItemStack unwrapItem (::NetworkItemStackDescriptor const &item) const
virtual::ItemStack const & getItemInHandSlot (::HandSlot const slot) const
virtual void setItemInHandSlot (::HandSlot const slot, ::ItemStack const &item)
virtual::PlayerInventorySlotData getSelectedSlot () const
virtual float getMaxPickRange () const
virtual::Vec3 getPosition () const
virtual void setPosition (::Vec3 const &position)
virtual void createTransactionContext (::HandSlot handSlot, ::brstd::copyable_function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::brstd::function_ref< void()> execute)
virtual void addExpectedAction (::InventoryAction const &action)
virtual bool baseUseItem (::ItemStack &item, ::HandSlot const handSlot)
virtual bool baseUseItemAsAttack (::ItemStack &item, ::Vec3 const &aimDirection, ::HandSlot const handSlot)
virtual::InteractionResult useItemOn (::ItemStack &item, ::BlockPos const &at, uchar face, ::Vec3 const &hit, ::HandSlot const handSlot, ::Block const *targetBlock, bool isFirstEvent)
virtual void resendBlocksAroundArea (::BlockPos const &pos, uchar facing) const
virtual void resendPlayerState () const
virtual void sendPlayerInventory () const
virtual bool isSneaking () const
virtual::Block const & unwrapBlock (uint const &block) const
virtual::Block const & getBlock (::BlockPos const &pos) const
virtual::Block const & getExtraBlock (::BlockPos const &pos) const
virtual bool isLastBuildBlockInteractive () const
virtual void sendBlockInteractedWith (::BlockPos const &pos)
virtual::DepenetrationComponent & getDepenetrationComponent ()
virtual::Experiments const & getExperiments () const
virtual::EntityAttack::ValidationMode getEntityAttackRequestCompatibilityMode () const
MCAPI void $setSelectedSlot (int slot, ::ContainerID containerId)
MCAPI bool $isAlive () const
MCAPI::ItemStack $unwrapItem (::NetworkItemStackDescriptor const &item) const
MCAPI::ItemStack const & $getItemInHandSlot (::HandSlot const slot) const
MCAPI void $setItemInHandSlot (::HandSlot const slot, ::ItemStack const &item)
MCAPI::PlayerInventorySlotData $getSelectedSlot () const
MCAPI float $getMaxPickRange () const
MCAPI::Vec3 $getPosition () const
MCAPI void $setPosition (::Vec3 const &position)
MCAPI void $createTransactionContext (::HandSlot handSlot, ::brstd::copyable_function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::brstd::function_ref< void()> execute)
MCAPI void $addExpectedAction (::InventoryAction const &action)
MCAPI bool $baseUseItem (::ItemStack &item, ::HandSlot const handSlot)
MCAPI bool $baseUseItemAsAttack (::ItemStack &item, ::Vec3 const &aimDirection, ::HandSlot const handSlot)
MCAPI::InteractionResult $useItemOn (::ItemStack &item, ::BlockPos const &at, uchar face, ::Vec3 const &hit, ::HandSlot const handSlot, ::Block const *targetBlock, bool isFirstEvent)
MCAPI void $resendBlocksAroundArea (::BlockPos const &pos, uchar facing) const
MCAPI void $resendPlayerState () const
MCAPI void $sendPlayerInventory () const
MCAPI bool $isSneaking () const
MCAPI::Block const & $unwrapBlock (uint const &block) const
MCAPI::Block const & $getBlock (::BlockPos const &pos) const
MCAPI::Block const & $getExtraBlock (::BlockPos const &pos) const
MCAPI bool $isLastBuildBlockInteractive () const
MCAPI void $sendBlockInteractedWith (::BlockPos const &pos)
MCAPI::DepenetrationComponent & $getDepenetrationComponent ()
MCAPI::Experiments const & $getExperiments () const
MCAPI::EntityAttack::ValidationMode $getEntityAttackRequestCompatibilityMode () const

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk18866d

Member Function Documentation

◆ setSelectedSlot()

virtual void PlayerTransactionSubject::setSelectedSlot ( int slot,
::ContainerID containerId )
virtual

◆ isAlive()

virtual bool PlayerTransactionSubject::isAlive ( ) const
virtual

◆ unwrapItem()

virtual::ItemStack PlayerTransactionSubject::unwrapItem ( ::NetworkItemStackDescriptor const & item) const
virtual

◆ getItemInHandSlot()

virtual::ItemStack const & PlayerTransactionSubject::getItemInHandSlot ( ::HandSlot const slot) const
virtual

◆ setItemInHandSlot()

virtual void PlayerTransactionSubject::setItemInHandSlot ( ::HandSlot const slot,
::ItemStack const & item )
virtual

◆ getSelectedSlot()

virtual::PlayerInventorySlotData PlayerTransactionSubject::getSelectedSlot ( ) const
virtual

◆ getMaxPickRange()

virtual float PlayerTransactionSubject::getMaxPickRange ( ) const
virtual

◆ getPosition()

virtual::Vec3 PlayerTransactionSubject::getPosition ( ) const
virtual

◆ setPosition()

virtual void PlayerTransactionSubject::setPosition ( ::Vec3 const & position)
virtual

◆ createTransactionContext()

virtual void PlayerTransactionSubject::createTransactionContext ( ::HandSlot handSlot,
::brstd::copyable_function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback,
::brstd::function_ref< void()> execute )
virtual

◆ addExpectedAction()

virtual void PlayerTransactionSubject::addExpectedAction ( ::InventoryAction const & action)
virtual

◆ baseUseItem()

virtual bool PlayerTransactionSubject::baseUseItem ( ::ItemStack & item,
::HandSlot const handSlot )
virtual

◆ baseUseItemAsAttack()

virtual bool PlayerTransactionSubject::baseUseItemAsAttack ( ::ItemStack & item,
::Vec3 const & aimDirection,
::HandSlot const handSlot )
virtual

◆ useItemOn()

virtual::InteractionResult PlayerTransactionSubject::useItemOn ( ::ItemStack & item,
::BlockPos const & at,
uchar face,
::Vec3 const & hit,
::HandSlot const handSlot,
::Block const * targetBlock,
bool isFirstEvent )
virtual

◆ resendBlocksAroundArea()

virtual void PlayerTransactionSubject::resendBlocksAroundArea ( ::BlockPos const & pos,
uchar facing ) const
virtual

◆ resendPlayerState()

virtual void PlayerTransactionSubject::resendPlayerState ( ) const
virtual

◆ sendPlayerInventory()

virtual void PlayerTransactionSubject::sendPlayerInventory ( ) const
virtual

◆ isSneaking()

virtual bool PlayerTransactionSubject::isSneaking ( ) const
virtual

◆ unwrapBlock()

virtual::Block const & PlayerTransactionSubject::unwrapBlock ( uint const & block) const
virtual

◆ getBlock()

virtual::Block const & PlayerTransactionSubject::getBlock ( ::BlockPos const & pos) const
virtual

◆ getExtraBlock()

virtual::Block const & PlayerTransactionSubject::getExtraBlock ( ::BlockPos const & pos) const
virtual

◆ isLastBuildBlockInteractive()

virtual bool PlayerTransactionSubject::isLastBuildBlockInteractive ( ) const
virtual

◆ sendBlockInteractedWith()

virtual void PlayerTransactionSubject::sendBlockInteractedWith ( ::BlockPos const & pos)
virtual

◆ getDepenetrationComponent()

virtual::DepenetrationComponent & PlayerTransactionSubject::getDepenetrationComponent ( )
virtual

◆ getExperiments()

virtual::Experiments const & PlayerTransactionSubject::getExperiments ( ) const
virtual

◆ getEntityAttackRequestCompatibilityMode()

virtual::EntityAttack::ValidationMode PlayerTransactionSubject::getEntityAttackRequestCompatibilityMode ( ) const
virtual

◆ $setSelectedSlot()

MCAPI void PlayerTransactionSubject::$setSelectedSlot ( int slot,
::ContainerID containerId )
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.

◆ $isAlive()

MCAPI bool PlayerTransactionSubject::$isAlive ( ) 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.

◆ $unwrapItem()

MCAPI::ItemStack PlayerTransactionSubject::$unwrapItem ( ::NetworkItemStackDescriptor 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.

◆ $getItemInHandSlot()

MCAPI::ItemStack const & PlayerTransactionSubject::$getItemInHandSlot ( ::HandSlot const slot) 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.

◆ $setItemInHandSlot()

MCAPI void PlayerTransactionSubject::$setItemInHandSlot ( ::HandSlot const 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.

◆ $getSelectedSlot()

MCAPI::PlayerInventorySlotData PlayerTransactionSubject::$getSelectedSlot ( ) 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.

◆ $getMaxPickRange()

MCAPI float PlayerTransactionSubject::$getMaxPickRange ( ) 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.

◆ $getPosition()

MCAPI::Vec3 PlayerTransactionSubject::$getPosition ( ) 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.

◆ $setPosition()

MCAPI void PlayerTransactionSubject::$setPosition ( ::Vec3 const & position)
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.

◆ $createTransactionContext()

MCAPI void PlayerTransactionSubject::$createTransactionContext ( ::HandSlot handSlot,
::brstd::copyable_function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback,
::brstd::function_ref< void()> execute )
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.

◆ $addExpectedAction()

MCAPI void PlayerTransactionSubject::$addExpectedAction ( ::InventoryAction const & action)
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.

◆ $baseUseItemAsAttack()

MCAPI bool PlayerTransactionSubject::$baseUseItemAsAttack ( ::ItemStack & item,
::Vec3 const & aimDirection,
::HandSlot const handSlot )
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.

◆ $useItemOn()

MCAPI::InteractionResult PlayerTransactionSubject::$useItemOn ( ::ItemStack & item,
::BlockPos const & at,
uchar face,
::Vec3 const & hit,
::HandSlot const handSlot,
::Block const * targetBlock,
bool isFirstEvent )
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.

◆ $resendBlocksAroundArea()

MCAPI void PlayerTransactionSubject::$resendBlocksAroundArea ( ::BlockPos const & pos,
uchar facing ) 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.

◆ $resendPlayerState()

MCAPI void PlayerTransactionSubject::$resendPlayerState ( ) 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.

◆ $sendPlayerInventory()

MCAPI void PlayerTransactionSubject::$sendPlayerInventory ( ) 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.

◆ $isSneaking()

MCAPI bool PlayerTransactionSubject::$isSneaking ( ) 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.

◆ $unwrapBlock()

MCAPI::Block const & PlayerTransactionSubject::$unwrapBlock ( uint const & block) 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.

◆ $getBlock()

MCAPI::Block const & PlayerTransactionSubject::$getBlock ( ::BlockPos const & pos) 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.

◆ $getExtraBlock()

MCAPI::Block const & PlayerTransactionSubject::$getExtraBlock ( ::BlockPos const & pos) 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.

◆ $isLastBuildBlockInteractive()

MCAPI bool PlayerTransactionSubject::$isLastBuildBlockInteractive ( ) 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.

◆ $sendBlockInteractedWith()

MCAPI void PlayerTransactionSubject::$sendBlockInteractedWith ( ::BlockPos const & pos)
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.

◆ $getDepenetrationComponent()

MCAPI::DepenetrationComponent & PlayerTransactionSubject::$getDepenetrationComponent ( )
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.

◆ $getExperiments()

MCAPI::Experiments const & PlayerTransactionSubject::$getExperiments ( ) 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.

◆ $getEntityAttackRequestCompatibilityMode()

MCAPI::EntityAttack::ValidationMode PlayerTransactionSubject::$getEntityAttackRequestCompatibilityMode ( ) 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: