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