|
RuneHive-Game
|
Handles the clan master dialogue. More...
Public Member Functions | |
| void | sendDialogues (DialogueFactory factory) |
| Sends a player a dialogue. | |
Private Member Functions | |
| void | clanDefinition (DialogueFactory factory) |
| void | clanInformation (DialogueFactory factory) |
| The clan information dialogue. | |
| void | clanLevel (Player player) |
| Displays all the clan level information. | |
| void | clanManagement (DialogueFactory factory) |
| The clan management dialogue. | |
| void | clanPerks (DialogueFactory factory) |
| void | clanTask (ClanChannel channel, DialogueFactory factory) |
| The clan task dialogue. | |
| void | mainOptions (DialogueFactory factory) |
Additional Inherited Members | |
| Static Public Member Functions inherited from com.runehive.content.dialogue.Dialogue | |
| static final boolean | isDialogueButton (int button) |
| Checks if the button triggered is an optional dialogue button. | |
| Static Public Attributes inherited from com.runehive.content.dialogue.Dialogue | |
| static final ImmutableList< Integer > | DIALOGUE_BUTTONS = ImmutableList.of(2461, 2471, 2482, 2462, 2472, 2483, 2473, 2484, 2485, 2494, 2495, 2496, 2497, 2498) |
| The action buttons responsible for dialogues. | |
Handles the clan master dialogue.
Definition at line 25 of file ClanmasterDialogue.java.
|
private |
Definition at line 49 of file ClanmasterDialogue.java.
References com.runehive.content.dialogue.DialogueFactory.sendNpcChat().
Referenced by clanInformation().
|
private |
The clan information dialogue.
Definition at line 43 of file ClanmasterDialogue.java.
References clanDefinition(), clanPerks(), and com.runehive.content.dialogue.DialogueFactory.sendOption().
Referenced by sendDialogues().
|
private |
Displays all the clan level information.
Definition at line 117 of file ClanmasterDialogue.java.
References com.runehive.util.Utility.formatDigits(), com.runehive.util.Utility.formatEnum(), com.runehive.content.clanchannel.content.ClanLevel.getColor(), com.runehive.content.clanchannel.content.ClanLevel.getExperience(), com.runehive.content.clanchannel.content.ClanLevel.getPoints(), com.runehive.game.world.entity.mob.player.Player.interfaceManager, com.runehive.game.world.entity.mob.player.InterfaceManager.open(), and com.runehive.game.world.entity.mob.player.Player.send().
Referenced by sendDialogues().
|
private |
The clan management dialogue.
Definition at line 65 of file ClanmasterDialogue.java.
References com.runehive.content.clanchannel.channel.ClanChannel.canManage(), com.runehive.game.world.entity.mob.player.Player.clanChannel, clanTask(), com.runehive.content.clanchannel.channel.ClanChannel.getMember(), com.runehive.content.clanchannel.channel.ClanChannel.getName(), com.runehive.game.world.entity.mob.player.Player.getName(), com.runehive.content.dialogue.DialogueFactory.getPlayer(), com.runehive.content.dialogue.DialogueFactory.sendNpcChat(), com.runehive.content.dialogue.DialogueFactory.sendOption(), and com.runehive.content.store.Store.STORES.
Referenced by sendDialogues().
|
private |
Definition at line 55 of file ClanmasterDialogue.java.
References com.runehive.content.dialogue.DialogueFactory.sendNpcChat().
Referenced by clanInformation().
|
private |
The clan task dialogue.
Definition at line 85 of file ClanmasterDialogue.java.
References com.runehive.content.clanchannel.channel.ClanDetails.clanTask, com.runehive.util.Difficulty.EASY, com.runehive.util.Utility.formatDigits(), com.runehive.content.clanchannel.channel.ClanChannel.getDetails(), com.runehive.content.clanchannel.content.ClanTask.getName(), com.runehive.util.Difficulty.HARD, com.runehive.util.Difficulty.MEDIUM, com.runehive.content.clanchannel.channel.ClanChannel.message(), com.runehive.content.clanchannel.channel.ClanDetails.points, com.runehive.content.clanchannel.channel.ClanChannel.receiveTask(), com.runehive.content.dialogue.DialogueFactory.sendNpcChat(), com.runehive.content.dialogue.DialogueFactory.sendOption(), com.runehive.content.dialogue.DialogueFactory.sendStatement(), and com.runehive.content.clanchannel.channel.ClanDetails.taskAmount.
Referenced by clanManagement().
|
private |
Definition at line 39 of file ClanmasterDialogue.java.
| void com.runehive.content.dialogue.impl.ClanmasterDialogue.sendDialogues | ( | DialogueFactory | factory | ) |
Sends a player a dialogue.
| factory | The factory for this dialogue. |
Reimplemented from com.runehive.content.dialogue.Dialogue.
Definition at line 28 of file ClanmasterDialogue.java.
References clanInformation(), clanLevel(), clanManagement(), com.runehive.game.world.entity.mob.player.Player.clanViewer, com.runehive.content.dialogue.DialogueFactory.execute(), com.runehive.content.dialogue.DialogueFactory.getPlayer(), com.runehive.content.clanchannel.content.ClanViewer.open(), com.runehive.content.clanchannel.content.ClanViewer.ClanTab.OVERVIEW, com.runehive.content.dialogue.DialogueFactory.sendNpcChat(), and com.runehive.content.dialogue.DialogueFactory.sendOption().