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

Public Member Functions

InventoryTransactionoperator= (InventoryTransaction const &)
MCAPI InventoryTransaction (::InventoryTransaction const &)
MCAPI void addAction (::InventoryAction const &action)
MCAPI void addItemToContent (::ItemStack const &item, int count)
MCAPI::InventoryTransactionError executeFull (::Player &p, bool isSenderAuthority) const
MCAPI void forceBalanceTransaction ()
MCAPI ::std::vector<::InventoryAction > const & getActions (::InventorySource const &source) const
MCAPI void markValidActionsForSerialization (bool isClientSide) const
MCAPI::InventoryTransactionError verifyFull (::Player &p, bool isSenderAuthority) const
MCAPI void write (::BinaryStream &stream) const
MCAPI void * $ctor (::InventoryTransaction const &)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool checkTransactionItemsMatch (::ItemStack const &serverItem, ::ItemStack const &clientItem)
static MCAPI ::Bedrock::Result<::InventoryTransaction > deserialize (::ReadOnlyBinaryStream &stream)
static MCAPI ::BidirectionalUnorderedMap<::InventoryTransactionError, ::std::string > const & inventoryTransactionErrorMap ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::InventorySource, ::std::vector<::InventoryAction > > > mActions
::ll::TypedStorage< 8, 24, ::std::vector<::InventoryTransactionItemGroup > > mContents

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