26 ::ll::TypedStorage<8, 64, ::std::unordered_map<::InventorySource, ::std::vector<::InventoryAction>>> mActions;
27 ::ll::TypedStorage<8, 24, ::std::vector<::InventoryTransactionItemGroup>> mContents;
33 MCFOLD
void _logTransaction(
bool isClientSide)
const;
37 MCAPI
void addItemToContent(
::ItemStack const& item,
int count);
39 MCAPI ::InventoryTransactionError executeFull(
::Player& p,
bool isSenderAuthority)
const;
41 MCAPI
void forceBalanceTransaction();
43 MCAPI ::std::vector<::InventoryAction>
const& getActions(
::InventorySource const& source)
const;
45 MCAPI
void markValidActionsForSerialization(
bool isClientSide)
const;
47 MCAPI
void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
49 MCAPI
void recalculateBalance();
51 MCAPI ::InventoryTransactionError verifyFull(
::Player& p,
bool isSenderAuthority)
const;
61 MCAPI
static bool checkTransactionItemsMatch(
::ItemStack const& serverItem,
::ItemStack const& clientItem);
65 MCAPI static ::std::string
const getInventoryTransactionErrorName(::InventoryTransactionError type);
71 MCAPI static ::BidirectionalUnorderedMap<::InventoryTransactionError, ::std::string>
const&
72 inventoryTransactionErrorMap();