|
RuneHive-Game
|
Holds the data for pets. More...
Public Member Functions | |
| abstract void | dialogue (DialogueFactory factory) |
| The dialogue of the pet. | |
| int | getItem () |
| Gets the item identification of the pet. | |
| String | getName () |
| Gets the name of the pet. | |
| int | getNpc () |
| Gets the npc identification of the pet. | |
| PetData (String name, int item, int npc) | |
Constructs a new PetData | |
Static Public Member Functions | |
| static Optional< PetData > | forItem (int id) |
| Gets the pet data based on the given item identification. | |
| static Optional< PetData > | forNpc (int id) |
| Gets the pet data based on the given npc identification. | |
| static Optional< PetData > | forOrdinal (int ordinal) |
| Gets the pet data based on the given ordinal. | |
Private Attributes | |
| final int | item |
| The item identification of the pet. | |
| final String | name |
| The name of the pet. | |
| final int | npc |
| The npc identification of the fucking faggot pet. | |
Holds the data for pets.
Definition at line 14 of file PetData.java.
| com.runehive.content.pet.PetData.PetData | ( | String | name, |
| int | item, | ||
| int | npc ) |
|
abstract |
The dialogue of the pet.
|
static |
Gets the pet data based on the given item identification.
Definition at line 485 of file PetData.java.
Referenced by com.runehive.content.pet.Pets.buyInsurance(), com.runehive.content.pet.Pets.onDeath(), com.runehive.content.pet.Pets.onObtain(), com.runehive.content.pet.Pets.onSpawn(), and com.runehive.game.world.entity.mob.npc.drop.NpcDropManager.rollDrop().
|
static |
Gets the pet data based on the given npc identification.
Definition at line 490 of file PetData.java.
Referenced by com.runehive.content.pet.Pets.dialogue(), and com.runehive.content.pet.Pets.onDeath().
|
static |
Gets the pet data based on the given ordinal.
Definition at line 495 of file PetData.java.
Referenced by com.runehive.content.pet.Pets.openInsurance().
| int com.runehive.content.pet.PetData.getItem | ( | ) |
Gets the item identification of the pet.
Definition at line 475 of file PetData.java.
References item.
| String com.runehive.content.pet.PetData.getName | ( | ) |
Gets the name of the pet.
Definition at line 470 of file PetData.java.
References name.
| int com.runehive.content.pet.PetData.getNpc | ( | ) |
Gets the npc identification of the pet.
Definition at line 480 of file PetData.java.
References npc.
Referenced by com.runehive.content.pet.Pets.onSpawn().
| com.runehive.content.pet.PetData.BABY_CHINCHOMPA |
Definition at line 396 of file PetData.java.
| com.runehive.content.pet.PetData.BABY_DARTH |
Definition at line 15 of file PetData.java.
Referenced by com.runehive.game.world.entity.mob.player.PlayerKilling.handle(), and com.runehive.content.pet.Pets.onReward().
| com.runehive.content.pet.PetData.BEAVER |
Definition at line 448 of file PetData.java.
Referenced by com.runehive.content.skill.impl.woodcutting.WoodcuttingAction.chop().
| com.runehive.content.pet.PetData.CALLISTO |
Definition at line 225 of file PetData.java.
| com.runehive.content.pet.PetData.CHAOS |
Definition at line 203 of file PetData.java.
| com.runehive.content.pet.PetData.CORP |
Definition at line 352 of file PetData.java.
| com.runehive.content.pet.PetData.GIANT_SQUIRREL |
Definition at line 404 of file PetData.java.
| com.runehive.content.pet.PetData.GRAARDOR |
Definition at line 157 of file PetData.java.
| com.runehive.content.pet.PetData.HELLPUPPY |
Definition at line 72 of file PetData.java.
| com.runehive.content.pet.PetData.HERON |
Definition at line 387 of file PetData.java.
Referenced by com.runehive.content.skill.impl.fishing.FishingAction.fish().
|
private |
The item identification of the pet.
Definition at line 454 of file PetData.java.
| com.runehive.content.pet.PetData.JAD |
Definition at line 363 of file PetData.java.
Referenced by com.runehive.content.activity.impl.fightcaves.FightCaves.finish(), and com.runehive.content.pet.Pets.onReward().
| com.runehive.content.pet.PetData.KAL_PRINCESS |
Definition at line 290 of file PetData.java.
| com.runehive.content.pet.PetData.KRAKEN |
Definition at line 213 of file PetData.java.
| com.runehive.content.pet.PetData.KREE |
Definition at line 116 of file PetData.java.
| com.runehive.content.pet.PetData.MOLE |
Definition at line 239 of file PetData.java.
|
private |
The name of the pet.
Definition at line 451 of file PetData.java.
|
private |
The npc identification of the fucking faggot pet.
Definition at line 457 of file PetData.java.
| com.runehive.content.pet.PetData.OLMLET |
Definition at line 84 of file PetData.java.
| com.runehive.content.pet.PetData.PHOENIX |
Definition at line 60 of file PetData.java.
Referenced by com.runehive.content.skill.impl.firemaking.Firemaking.bonfireAction(), and com.runehive.content.skill.impl.firemaking.FiremakingAction.onDestruct().
| com.runehive.content.pet.PetData.PIRATE_PETE |
Definition at line 48 of file PetData.java.
Referenced by com.runehive.content.activity.inferno.Inferno.finish().
| com.runehive.content.pet.PetData.PRIME |
Definition at line 167 of file PetData.java.
| com.runehive.content.pet.PetData.PRINCE_BLACK_DRAGON |
Definition at line 106 of file PetData.java.
| com.runehive.content.pet.PetData.REX |
Definition at line 180 of file PetData.java.
| com.runehive.content.pet.PetData.RIFT_GUARDIAN |
Definition at line 432 of file PetData.java.
Referenced by com.runehive.content.skill.impl.runecrafting.Runecraft.clickObject().
| com.runehive.content.pet.PetData.ROCK_GOLEM |
Definition at line 375 of file PetData.java.
Referenced by com.runehive.content.skill.impl.mining.MiningAction.mine(), and com.runehive.content.pet.Pets.onReward().
| com.runehive.content.pet.PetData.ROCKY |
Definition at line 422 of file PetData.java.
Referenced by com.runehive.content.skill.impl.thieving.Thieving.clickNpc(), com.runehive.content.skill.impl.thieving.Thieving.clickObject(), and com.runehive.content.pet.Pets.onReward().
| com.runehive.content.pet.PetData.SCORPIA |
Definition at line 338 of file PetData.java.
| com.runehive.content.pet.PetData.SKOTOS |
Definition at line 94 of file PetData.java.
| com.runehive.content.pet.PetData.SMOKE_DEV |
Definition at line 328 of file PetData.java.
| com.runehive.content.pet.PetData.SUPREME |
Definition at line 194 of file PetData.java.
| com.runehive.content.pet.PetData.TANGLEROOT |
Definition at line 413 of file PetData.java.
| com.runehive.content.pet.PetData.TSUROTH |
Definition at line 143 of file PetData.java.
| com.runehive.content.pet.PetData.VENENATIS |
Definition at line 317 of file PetData.java.
| com.runehive.content.pet.PetData.VETION |
Definition at line 304 of file PetData.java.
| com.runehive.content.pet.PetData.VORKI |
Definition at line 40 of file PetData.java.
| com.runehive.content.pet.PetData.ZILYANA |
Definition at line 130 of file PetData.java.
| com.runehive.content.pet.PetData.ZULRAH_BLUE |
Definition at line 277 of file PetData.java.
| com.runehive.content.pet.PetData.ZULRAH_GREEN |
Definition at line 251 of file PetData.java.
| com.runehive.content.pet.PetData.ZULRAH_RED |
Definition at line 264 of file PetData.java.