Skip to content

Commit

Permalink
chore: updated ItemUse (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
xNotTozic authored Oct 13, 2024
1 parent fef12a0 commit 6abb7ae
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/mc/world/inventory/transaction/ItemUseInventoryTransaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ class ItemUseInventoryTransaction : public ::ComplexInventoryTransaction {
Destroy = 2,
};

ActionType mActionType{}; // this+0x0
BlockPos mBlockPos{}; // this+0x4
uint32_t mTargetBlockRuntimeId{}; // this+0x10
uint8_t mFace{}; // this+0x14
int32_t mSlot{}; // this+0x18
NetworkItemStackDescriptor mItemInHand{}; // this+0x20
Vec3 mPlayerPos{}; // this+0x30
Vec3 mClickPos{}; // this+0x3C
ActionType mActionType{}; // this+0x0
int8_t mUnko{} // this+0x4
BlockPos mBlockPos{}; // this+0x8
int32_t mTargetBlockRuntimeId{}; // this+0x14
uint32_t mFace{}; // this+0x18
uint32_t mSlot{}; // this+0x1C
NetworkItemStackDescriptor mItemInHand{}; // this+0x20
Vec3 mPlayerPos{}; // this+0x30
Vec3 mClickPos{}; // this+0x3C
int32_t mPre{}; // this+0x48

public:
// prevent constructor by default
Expand Down

0 comments on commit 6abb7ae

Please sign in to comment.