RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ObjectInteractionEvent.java
1
package
com.osroyale.content.event.impl;
2
3
import
com.osroyale.content.event.InteractionEvent;
4
import
com.osroyale.game.world.object.GameObject;
5
27
28
public
class
ObjectInteractionEvent
extends
InteractionEvent {
29
30
private
final
GameObject
object;
31
private
final
int
opcode;
32
33
public
ObjectInteractionEvent(InteractionType type,
GameObject
object
,
int
opcode) {
34
super(type);
35
this.object = object;
36
this.opcode = opcode;
37
}
38
39
public
GameObject
getObject() {
40
return
object;
41
}
42
43
public
int
getOpcode() {
44
return
opcode;
45
}
46
47
}
com.osroyale.game.world.object.GameObject
Definition
GameObject.java:13