RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.event.impl.ItemInteractionEvent Class Reference
Inheritance diagram for com.runehive.content.event.impl.ItemInteractionEvent:
Collaboration diagram for com.runehive.content.event.impl.ItemInteractionEvent:

Public Member Functions

Item getItem ()
int getOpcode ()
int getSlot ()
Public Member Functions inherited from com.runehive.content.event.InteractionEvent
InteractionType getType ()
boolean isHandled ()
void setHandled (boolean handled)

Package Functions

 ItemInteractionEvent (InteractionType type, Item item, int slot, int opcode)

Private Attributes

final Item item
final int opcode
final int slot

Additional Inherited Members

Protected Member Functions inherited from com.runehive.content.event.InteractionEvent
 InteractionEvent (InteractionType type)

Detailed Description

Definition at line 6 of file ItemInteractionEvent.java.

Constructor & Destructor Documentation

◆ ItemInteractionEvent()

com.runehive.content.event.impl.ItemInteractionEvent.ItemInteractionEvent ( InteractionType type,
Item item,
int slot,
int opcode )
package

Definition at line 11 of file ItemInteractionEvent.java.

11 {
12 super(type);
13 this.item = item;
14 this.slot = slot;
15 this.opcode = opcode;
16 }

References item, opcode, and com.runehive.content.event.InteractionEvent.type.

Member Function Documentation

◆ getItem()

Item com.runehive.content.event.impl.ItemInteractionEvent.getItem ( )

Definition at line 18 of file ItemInteractionEvent.java.

18 {
19 return item;
20 }

References item.

◆ getOpcode()

int com.runehive.content.event.impl.ItemInteractionEvent.getOpcode ( )

Definition at line 22 of file ItemInteractionEvent.java.

22 {
23 return opcode;
24 }

References opcode.

◆ getSlot()

int com.runehive.content.event.impl.ItemInteractionEvent.getSlot ( )

Definition at line 26 of file ItemInteractionEvent.java.

26 {
27 return slot;
28 }

Member Data Documentation

◆ item

◆ opcode

final int com.runehive.content.event.impl.ItemInteractionEvent.opcode
private

Definition at line 9 of file ItemInteractionEvent.java.

Referenced by getOpcode(), and ItemInteractionEvent().

◆ slot

final int com.runehive.content.event.impl.ItemInteractionEvent.slot
private

Definition at line 9 of file ItemInteractionEvent.java.


The documentation for this class was generated from the following file: