23 enum class ActionType :
int {
32 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
33 ::ll::TypedStorage<4, 4, ::ItemUseOnActorInventoryTransaction::ActionType> mActionType;
34 ::ll::TypedStorage<4, 4, int> mSlot;
35 ::ll::TypedStorage<1, 1, ::HandSlot> mHand;
36 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mItem;
37 ::ll::TypedStorage<4, 12, ::Vec3> mFromPos;
38 ::ll::TypedStorage<4, 12, ::Vec3> mHitPos;
43 ItemUseOnActorInventoryTransaction(ItemUseOnActorInventoryTransaction
const&);
44 ItemUseOnActorInventoryTransaction();
49 virtual ~ItemUseOnActorInventoryTransaction() ;
51 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide) ;
53 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const ;
55 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const ;
61 MCNAPI ::ItemUseOnActorInventoryTransaction&
operator=(::ItemUseOnActorInventoryTransaction
const&);
79 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;