20 enum class Type : uint {
21 NormalTransaction = 0,
22 InventoryMismatch = 1,
23 ItemUseTransaction = 2,
24 ItemUseOnEntityTransaction = 3,
25 ItemReleaseTransaction = 4,
31 ::ll::TypedStorage<4, 4, ::ComplexInventoryTransaction::Type> mType;
32 ::ll::TypedStorage<8, 88, ::InventoryTransaction> mTransaction;
40 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
42 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const;
44 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
52 MCAPI static ::std::unique_ptr<::ComplexInventoryTransaction>
61 MCNAPI static ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string>
const&
70 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;
Definition EntityContext.h:15