RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemOnItemInteractionEvent.java
1package com.osroyale.content.event.impl;
2
3import com.osroyale.content.event.InteractionEvent;
4import com.osroyale.game.world.items.Item;
5
29
30public class ItemOnItemInteractionEvent extends InteractionEvent {
31
32 private final Item first, second;
33 private final int firstSlot, secondSlot;
34
35 public ItemOnItemInteractionEvent(Item first, Item second, int firstSlot, int secondSlot) {
36 super(InteractionType.ITEM_ON_ITEM);
37 this.first = first;
38 this.second = second;
39 this.firstSlot = firstSlot;
40 this.secondSlot = secondSlot;
41 }
42
43 public Item getFirst() {
44 return first;
45 }
46
47 public int getFirstSlot() {
48 return firstSlot;
49 }
50
51 public Item getSecond() {
52 return second;
53 }
54
55 public int getSecondSlot() {
56 return secondSlot;
57 }
58}