|
RuneHive-Game
|
Public Member Functions | |
| boolean | inventory (Player player, Item item, int opcode) |
| The execution method of the action. | |
| 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. | |
| boolean | drop (Player player, Item item) |
| boolean | equipment (Player player, Item item, int opcode) |
| boolean | itemOnItem (Player player, Item first, Item second) |
| String | message (Item item) |
| The message of the action. | |
| String | toString () |
Static Private Attributes | |
| static final EmoteUnlockable[] | EMOTES = {EmoteUnlockable.GLASS_BOX, EmoteUnlockable.GLASS_WALL, EmoteUnlockable.LEAN, EmoteUnlockable.CLIMB_ROPE} |
| static final Item[] | MIME_COSTUME = { new Item(3057), new Item(3058), new Item(3059), new Item(3060), new Item(3061) } |
Definition at line 11 of file MimeBox.java.
| boolean com.runehive.content.itemaction.impl.MimeBox.inventory | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
The execution method of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 23 of file MimeBox.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), com.runehive.content.emote.EmoteHandler.containsAll(), EMOTES, com.runehive.game.world.entity.mob.player.Player.emoteUnlockable, com.runehive.util.Utility.formatName(), com.runehive.game.world.items.Item.getName(), com.runehive.game.world.entity.mob.player.Player.inventory, MIME_COSTUME, com.runehive.util.Utility.random(), com.runehive.util.Utility.randomElement(), com.runehive.content.emote.EmoteHandler.refresh(), com.runehive.game.world.items.containers.ItemContainer.remove(), com.runehive.content.emote.EmoteHandler.selectRandom(), and com.runehive.game.world.entity.mob.player.Player.send().
| String com.runehive.content.itemaction.impl.MimeBox.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 18 of file MimeBox.java.
|
staticprivate |
Definition at line 13 of file MimeBox.java.
Referenced by inventory().
|
staticprivate |
Definition at line 15 of file MimeBox.java.
Referenced by inventory().