|
RuneHive-Game
|
Public Member Functions | |
| boolean | drop (Player player, Item item) |
| boolean | equipment (Player player, Item item, int opcode) |
| boolean | inventory (Player player, Item item, int opcode) |
| The execution method of the action. | |
| boolean | itemOnItem (Player player, Item first, Item second) |
| String | name () |
| The name of the action. | |
| Public Member Functions inherited from com.runehive.content.itemaction.ItemAction | |
| int | delay () |
| The item click delay of the action. | |
| String | message (Item item) |
| The message of the action. | |
| String | toString () |
Static Public Member Functions | |
| static void | check (Player player) |
Static Public Attributes | |
| static final short | CHARGED_RING = 25541 |
| static final short | STARDUST = 25527 |
| static final short | UNCHARGED_RING = 25539 |
Private Member Functions | |
| void | charge (Player player, int amount, int itemId) |
Definition at line 9 of file CelestialRing.java.
|
private |
Definition at line 88 of file CelestialRing.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), CHARGED_RING, com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.message(), name(), com.runehive.game.world.items.containers.inventory.Inventory.refresh(), com.runehive.game.world.items.containers.ItemContainer.remove(), STARDUST, and UNCHARGED_RING.
Referenced by inventory(), and itemOnItem().
|
static |
Definition at line 84 of file CelestialRing.java.
References com.runehive.game.world.entity.mob.player.Player.celestialRingCharges, com.runehive.util.Utility.formatDigits(), and com.runehive.game.world.entity.mob.player.Player.message().
Referenced by equipment(), and com.runehive.net.packet.in.WieldItemPacketListener.handlePacket().
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 69 of file CelestialRing.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), com.runehive.game.world.entity.mob.player.Player.celestialRingCharges, CHARGED_RING, com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.message(), name(), com.runehive.game.world.items.containers.ItemContainer.remove(), STARDUST, and UNCHARGED_RING.
| boolean com.runehive.content.itemaction.impl.CelestialRing.equipment | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 57 of file CelestialRing.java.
References CHARGED_RING, check(), and com.runehive.game.world.items.Item.getId().
| boolean com.runehive.content.itemaction.impl.CelestialRing.inventory | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
The execution method of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 39 of file CelestialRing.java.
References charge(), CHARGED_RING, com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), com.runehive.game.world.items.containers.equipment.Equipment.equip(), com.runehive.game.world.entity.mob.player.Player.equipment, com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.send(), STARDUST, and UNCHARGED_RING.
| boolean com.runehive.content.itemaction.impl.CelestialRing.itemOnItem | ( | Player | player, |
| Item | first, | ||
| Item | second ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 21 of file CelestialRing.java.
References charge(), CHARGED_RING, com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.send(), STARDUST, and UNCHARGED_RING.
| String com.runehive.content.itemaction.impl.CelestialRing.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 16 of file CelestialRing.java.
Referenced by charge(), and drop().
|
static |
Definition at line 12 of file CelestialRing.java.
Referenced by charge(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), equipment(), com.runehive.net.packet.in.WieldItemPacketListener.handlePacket(), inventory(), and itemOnItem().
|
static |
Definition at line 13 of file CelestialRing.java.
Referenced by charge(), drop(), inventory(), and itemOnItem().
|
static |
Definition at line 11 of file CelestialRing.java.
Referenced by charge(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), inventory(), and itemOnItem().