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;
46 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
48 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const;
50 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
56 MCAPI static ::std::unique_ptr<::ComplexInventoryTransaction>
63 MCAPI static ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string>
const&
80 MCFOLD
void $postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
82 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;
84 MCFOLD
void $onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;