22 enum class Type : uint {
23 NormalTransaction = 0,
24 InventoryMismatch = 1,
25 ItemUseTransaction = 2,
26 ItemUseOnEntityTransaction = 3,
27 ItemReleaseTransaction = 4,
33 ::ll::TypedStorage<4, 4, ::ComplexInventoryTransaction::Type> mType;
34 ::ll::TypedStorage<8, 88, ::InventoryTransaction> mTransaction;
50 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
53 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const;
56 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
62 MCAPI static ::std::unique_ptr<::ComplexInventoryTransaction>
69 MCAPI static ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string>
const&
86 MCFOLD
void $postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
88 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;
90 MCFOLD
void $onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;