RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.pet.PetData Enum Reference

Public Member Functions

abstract void dialogue (DialogueFactory factory)
 PetData (String name, int item, int npc)
String getName ()
int getItem ()
int getNpc ()

Static Public Member Functions

static Optional< PetDataforItem (int id)
static Optional< PetDataforNpc (int id)
static Optional< PetDataforOrdinal (int ordinal)

Detailed Description

Holds the data for pets.

Author
Daniel

Definition at line 36 of file PetData.java.

Constructor & Destructor Documentation

◆ PetData()

com.osroyale.content.pet.PetData.PetData ( String name,
int item,
int npc )
inline

Constructs a new PetData.

Definition at line 485 of file PetData.java.

Member Function Documentation

◆ dialogue()

abstract void com.osroyale.content.pet.PetData.dialogue ( DialogueFactory factory)
abstract

The dialogue of the pet.

◆ forItem()

Optional< PetData > com.osroyale.content.pet.PetData.forItem ( int id)
inlinestatic

Gets the pet data based on the given item identification.

Definition at line 507 of file PetData.java.

◆ forNpc()

Optional< PetData > com.osroyale.content.pet.PetData.forNpc ( int id)
inlinestatic

Gets the pet data based on the given npc identification.

Definition at line 512 of file PetData.java.

◆ forOrdinal()

Optional< PetData > com.osroyale.content.pet.PetData.forOrdinal ( int ordinal)
inlinestatic

Gets the pet data based on the given ordinal.

Definition at line 517 of file PetData.java.

◆ getItem()

int com.osroyale.content.pet.PetData.getItem ( )
inline

Gets the item identification of the pet.

Definition at line 497 of file PetData.java.

◆ getName()

String com.osroyale.content.pet.PetData.getName ( )
inline

Gets the name of the pet.

Definition at line 492 of file PetData.java.

◆ getNpc()

int com.osroyale.content.pet.PetData.getNpc ( )
inline

Gets the npc identification of the pet.

Definition at line 502 of file PetData.java.


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