RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemInteractionEvent.java
1
package
com.osroyale.content.event.impl;
2
3
import
com.osroyale.content.event.InteractionEvent;
4
import
com.osroyale.game.world.items.Item;
5
28
29
public
class
ItemInteractionEvent
extends
InteractionEvent {
30
31
private
final
Item item;
32
private
final
int
slot, opcode;
33
34
ItemInteractionEvent(InteractionType type, Item item,
int
slot,
int
opcode) {
35
super(type);
36
this.item = item;
37
this.slot = slot;
38
this.opcode = opcode;
39
}
40
41
public
Item getItem() {
42
return
item;
43
}
44
45
public
int
getOpcode() {
46
return
opcode;
47
}
48
49
public
int
getSlot() {
50
return
slot;
51
}
52
53
}