RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ObjectInteractionEvent.java
1package com.osroyale.content.event.impl;
2
3import com.osroyale.content.event.InteractionEvent;
4import com.osroyale.game.world.object.GameObject;
5
27
28public 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}