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

Public Types

enum class  ActionType : int { Release = 0 , Use = 1 }
enum class  Type : uint {
  NormalTransaction = 0 , InventoryMismatch = 1 , ItemUseTransaction = 2 , ItemUseOnEntityTransaction = 3 ,
  ItemReleaseTransaction = 4
}

Public Member Functions

virtual ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &stream)
virtual void write (::BinaryStream &stream) const
virtual void postLoadItems (::BlockPalette &blockPalette, bool isClientSide)
virtual void onTransactionError (::Player &player, ::InventoryTransactionError error) const
virtual::InventoryTransactionError handle (::Player &player, bool isSenderAuthority) const
MCAPI::ItemReleaseInventoryTransaction & setSelectedItem (::ItemStack const &item)
MCAPI ::Bedrock::Result< void > $read (::ReadOnlyBinaryStream &stream)
MCAPI void $write (::BinaryStream &stream) const
MCFOLD void $postLoadItems (::BlockPalette &blockPalette, bool isClientSide)
MCFOLD void $onTransactionError (::Player &player, ::InventoryTransactionError error) const
MCAPI::InventoryTransactionError $handle (::Player &player, bool isSenderAuthority) const
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()
static MCAPI ::std::unique_ptr<::ComplexInventoryTransactionfromType (::ComplexInventoryTransaction::Type type, ::InventoryTransaction const &transaction)
static MCAPI ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string > const & transactionTypeMap ()

Public Attributes

::ll::TypedStorage< 4, 4, ::ItemReleaseInventoryTransaction::ActionType > mActionType
::ll::TypedStorage< 4, 4, int > mSlot
::ll::TypedStorage< 8, 96, ::NetworkItemStackDescriptormItem
::ll::TypedStorage< 4, 12, ::Vec3mFromPos
::ll::TypedStorage< 4, 4, ::ComplexInventoryTransaction::Type > mType
::ll::TypedStorage< 8, 88, ::InventoryTransactionmTransaction

Member Function Documentation

◆ write()

virtual void ItemReleaseInventoryTransaction::write ( ::BinaryStream & stream) const
virtual

Reimplemented from ComplexInventoryTransaction.

◆ postLoadItems()

virtual void ItemReleaseInventoryTransaction::postLoadItems ( ::BlockPalette & blockPalette,
bool isClientSide )
virtual

Reimplemented from ComplexInventoryTransaction.

◆ onTransactionError()

virtual void ItemReleaseInventoryTransaction::onTransactionError ( ::Player & player,
::InventoryTransactionError error ) const
virtual

Reimplemented from ComplexInventoryTransaction.


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