21class InventoryTransaction {
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::InventorySource, ::std::vector<::InventoryAction>>> mActions;
26 ::ll::TypedStorage<8, 24, ::std::vector<::InventoryTransactionItemGroup>> mContents;
31 InventoryTransaction& operator=(InventoryTransaction
const&);
32 InventoryTransaction();
37 MCAPI InventoryTransaction(::InventoryTransaction
const&);
41 MCAPI
void addItemToContent(
::ItemStack const& item,
int count);
43 MCAPI ::InventoryTransactionError executeFull(
::Player& p,
bool isSenderAuthority)
const;
45 MCAPI
void forceBalanceTransaction();
47 MCAPI ::std::vector<::InventoryAction>
const& getActions(
::InventorySource const& source)
const;
49 MCAPI
void markValidActionsForSerialization(
bool isClientSide)
const;
51 MCAPI ::InventoryTransactionError verifyFull(
::Player& p,
bool isSenderAuthority)
const;
55 MCAPI ~InventoryTransaction();
61 MCAPI
static bool checkTransactionItemsMatch(
::ItemStack const& serverItem,
::ItemStack const& clientItem);
69 MCAPI static ::BidirectionalUnorderedMap<::InventoryTransactionError, ::std::string>
const&
70 inventoryTransactionErrorMap();
76 MCAPI
void* $ctor(::InventoryTransaction
const&);