23 enum class Type : uint {
24 NormalTransaction = 0,
25 InventoryMismatch = 1,
26 ItemUseTransaction = 2,
27 ItemUseOnEntityTransaction = 3,
28 ItemReleaseTransaction = 4,
34 ::ll::TypedStorage<4, 4, ::ComplexInventoryTransaction::Type> mType;
35 ::ll::TypedStorage<8, 88, ::InventoryTransaction> mTransaction;
51 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
54 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const;
57 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
65 MCAPI static ::std::unique_ptr<::ComplexInventoryTransaction>
72 MCAPI static ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string>
const&
89 MCFOLD
void $postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
91 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;
93 MCFOLD
void $onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
99 MCAPI
static void** $vftable();
Definition EntityContext.h:16