RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.dialogue.NpcDialogue Class Reference
Inheritance diagram for com.osroyale.content.dialogue.NpcDialogue:
Collaboration diagram for com.osroyale.content.dialogue.NpcDialogue:

Public Member Functions

 NpcDialogue (int id, String... lines)
 NpcDialogue (int id, Expression expression, String... lines)
int getId ()
Expression getExpression ()
String[] getLines ()

Detailed Description

The Chainable implementation that represents dialogue in which an NPC is talking.

Author
Seven

Definition at line 37 of file NpcDialogue.java.

Constructor & Destructor Documentation

◆ NpcDialogue() [1/2]

com.osroyale.content.dialogue.NpcDialogue.NpcDialogue ( int id,
String... lines )
inline

Creates a new NpcDialogue

Parameters
idThe id of this npc.
linesThe text for this dialogue.

Definition at line 63 of file NpcDialogue.java.

◆ NpcDialogue() [2/2]

com.osroyale.content.dialogue.NpcDialogue.NpcDialogue ( int id,
Expression expression,
String... lines )
inline

Creates a new NpcDialogue

Parameters
idThe id of this npc.
expressionThe expression of this npc.
linesThe text for this dialogue.

Definition at line 79 of file NpcDialogue.java.

Member Function Documentation

◆ getExpression()

Expression com.osroyale.content.dialogue.NpcDialogue.getExpression ( )
inline

Gets the expression of this npc.

Returns
The expression.

Definition at line 99 of file NpcDialogue.java.

◆ getId()

int com.osroyale.content.dialogue.NpcDialogue.getId ( )
inline

Gets the id of this npc.

Returns
The id of this npc.

Definition at line 90 of file NpcDialogue.java.

◆ getLines()

String[] com.osroyale.content.dialogue.NpcDialogue.getLines ( )
inline

Gets the text for this dialogue.

Returns
The text.

Definition at line 108 of file NpcDialogue.java.


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