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

Public Member Functions

Npc getNpc ()
int getOpcode ()
 NpcInteractionEvent (InteractionType type, Npc npc, int opcode)
Public Member Functions inherited from com.runehive.content.event.InteractionEvent
InteractionType getType ()
boolean isHandled ()
void setHandled (boolean handled)

Private Attributes

final Npc npc
final int opcode

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file NpcInteractionEvent.java.

Constructor & Destructor Documentation

◆ NpcInteractionEvent()

com.runehive.content.event.impl.NpcInteractionEvent.NpcInteractionEvent ( InteractionType type,
Npc npc,
int opcode )

Definition at line 11 of file NpcInteractionEvent.java.

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

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

Member Function Documentation

◆ getNpc()

Npc com.runehive.content.event.impl.NpcInteractionEvent.getNpc ( )

Definition at line 17 of file NpcInteractionEvent.java.

17 {
18 return npc;
19 }

References npc.

◆ getOpcode()

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

Definition at line 21 of file NpcInteractionEvent.java.

21 {
22 return opcode;
23 }

References opcode.

Member Data Documentation

◆ npc

final Npc com.runehive.content.event.impl.NpcInteractionEvent.npc
private

◆ opcode

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

Definition at line 9 of file NpcInteractionEvent.java.

Referenced by getOpcode(), and NpcInteractionEvent().


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