26 enum class ActionType :
int {
35 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
36 ::ll::TypedStorage<4, 4, ::ItemUseOnActorInventoryTransaction::ActionType> mActionType;
37 ::ll::TypedStorage<4, 4, int> mSlot;
38 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mItem;
39 ::ll::TypedStorage<4, 12, ::Vec3> mFromPos;
40 ::ll::TypedStorage<4, 12, ::Vec3> mHitPos;
46 virtual ~ItemUseOnActorInventoryTransaction() ;
52 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide) ;
54 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError)
const ;
56 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const ;
62 MCAPI ItemUseOnActorInventoryTransaction();
66 MCAPI ::ItemUseOnActorInventoryTransaction& setSelectedItem(
::ItemStack const& item);
90 MCFOLD
void $postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
92 MCFOLD
void $onTransactionError(
::Player& player, ::InventoryTransactionError)
const;
94 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;