|
RuneHive-Game
|
Public Member Functions | |
| MysteryItem (int id, int amount) | |
| MysteryItem (int id, int amount, MysteryRarity rarity) | |
| Public Member Functions inherited from com.runehive.game.world.items.Item | |
| Item | clone () |
| Item | copy () |
A substitute for Object#clone() that creates another 'copy' of this instance. | |
| Item | createAndDecrement (int removeAmount) |
Creates a new item with amount - removeAmount and the same identifier. | |
| Item | createAndIncrement (int addAmount) |
Creates a new item with amount + addAmount and the same identifier. | |
| Item | createWithAmount (int newAmount) |
Creates a new item with newAmount and the same identifier as this instance. | |
| Item | createWithId (int newId) |
Creates a new item with newId and the same amount as this instance. | |
| final void | decrementAmount () |
Decrements the amount by 1. | |
| final void | decrementAmountBy (int amount) |
Decrements the amount by amount @endiliteral. | |
| boolean | equalIds (Item other) |
| boolean | equals (Object obj) |
| final int | getAmount () |
| Gets the quantity of this item. | |
| OptionalInt | getAttackAnimation (FightType type) |
| int | getBaseValue () |
| OptionalInt | getBlockAnimation () |
| int | getBonus (int index) |
| int[] | getBonuses () |
| ItemDefinition | getDefinition () |
| Gets the item definition for the item identifier. | |
| String | getDestroyMessage () |
| EquipmentType | getEquipmentType () |
| int | getHighAlch () |
| final int | getId () |
| Gets the identification of this item. | |
| int | getLowAlch () |
| String | getName () |
| int | getNotedId () |
| Optional< RangedWeaponDefinition > | getRangedDefinition () |
| int[] | getRequirements () |
| int | getRunAnimation () |
| int | getSellValue () |
| int | getStandAnimation () |
| int | getStreetValue () |
| int | getUnnotedId () |
| int | getValue () |
| Gets the value for this item. | |
| int | getValue (PriceType type) |
| Gets the value for this item. | |
| int | getWalkAnimation () |
| WeaponInterface | getWeaponInterface () |
| double | getWeight () |
| int | hashCode () |
| final void | incrementAmount () |
Increments the amount by 1. | |
| final void | incrementAmountBy (int amount) |
Increments the amount by amount. | |
| boolean | isDestroyable () |
| boolean | isEquipable () |
| boolean | isNoteable () |
| boolean | isNoted () |
| boolean | isStackable () |
| boolean | isTradeable () |
| boolean | isTwoHanded () |
| Item (int id) | |
Creates a new Item with an quantity of 1. | |
| Item (int id, int amount) | |
Creates a new Item. | |
| Item (int id, int minAmt, int maxAmt) | |
Creates a new Item with a random amount between minAmt and maxAmt. | |
| Item (int id, long amount) | |
| boolean | matchesId (int id) |
| Item | noted () |
| Gets the item note item. | |
| final void | setAmount (int amount) |
| Sets the quantity of this item. | |
| final void | setId (int id) |
| Sets the identification of this item. | |
| final String | toString () |
| Item | unnoted () |
| Gets the unnoted item. | |
Package Attributes | |
| final MysteryRarity | rarity |
Additional Inherited Members | |
| Static Public Member Functions inherited from com.runehive.game.world.items.Item | |
| static final Item[] | convert (int... id) |
Converts an int array into an Item array. | |
| static final int[] | convert (Item... ids) |
Converts an Item array into an Integer array. | |
| static boolean | valid (Item item) |
Determines if item is valid. | |
Definition at line 7 of file MysteryItem.java.
| com.runehive.content.mysterybox.MysteryItem.MysteryItem | ( | int | id, |
| int | amount, | ||
| MysteryRarity | rarity ) |
Definition at line 11 of file MysteryItem.java.
References com.runehive.game.world.items.Item.amount, and rarity.
| com.runehive.content.mysterybox.MysteryItem.MysteryItem | ( | int | id, |
| int | amount ) |
Definition at line 16 of file MysteryItem.java.
References com.runehive.game.world.items.Item.amount, and com.runehive.game.world.items.Item.id.
|
package |
Definition at line 9 of file MysteryItem.java.
Referenced by com.runehive.content.mysterybox.MysteryBoxEvent.getItemProbability(), and MysteryItem().