RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.dialogue.impl.LootshareDialogue Class Reference

Handles the lootshare dialogue. More...

Inheritance diagram for com.runehive.content.dialogue.impl.LootshareDialogue:
Collaboration diagram for com.runehive.content.dialogue.impl.LootshareDialogue:

Public Member Functions

void sendDialogues (DialogueFactory factory)
 Sends a player a dialogue.

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.

Detailed Description

Handles the lootshare dialogue.

Author
Daniel

Definition at line 11 of file LootshareDialogue.java.

Member Function Documentation

◆ sendDialogues()

void com.runehive.content.dialogue.impl.LootshareDialogue.sendDialogues ( DialogueFactory factory)

Sends a player a dialogue.

Parameters
factoryThe factory for this dialogue.

Reimplemented from com.runehive.content.dialogue.Dialogue.

Definition at line 14 of file LootshareDialogue.java.

14 {
15 factory.sendStatement("").sendStatement(
16 "When active, all clan gameMembers within a 32 tile radius will receive",
17 "an equal split of any item dropped by a npc that has a value of",
18 "2,500,000 or more. Untradeable items will not be split or given to each.",
19 "Clan member. Be advised that the item value will not always be 100%").sendStatement(
20 "correct and 25% of the item value will be removed due to the item",
21 "automatically converting into coins. Only gameMembers with a certain clan",
22 "rank may toggle the lootshare.")
23 .execute();
24 }

References com.runehive.content.dialogue.DialogueFactory.execute(), and com.runehive.content.dialogue.DialogueFactory.sendStatement().

Here is the call graph for this function:

The documentation for this class was generated from the following file: