RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
Dialogue.java
1package com.osroyale.content.dialogue;
2
3import com.google.common.collect.ImmutableList;
4
35
36public abstract class Dialogue {
37
39 public static final ImmutableList<Integer> DIALOGUE_BUTTONS = ImmutableList.of(2461, 2471, 2482, 2462, 2472, 2483, 2473, 2484, 2485, 2494, 2495, 2496, 2497, 2498);
40
46 public abstract void sendDialogues(DialogueFactory factory);
47
48
55 public static final boolean isDialogueButton(int button) {
56 return DIALOGUE_BUTTONS.stream().anyMatch(search -> DIALOGUE_BUTTONS.contains(button));
57 }
58}
static final ImmutableList< Integer > DIALOGUE_BUTTONS
Definition Dialogue.java:39
static final boolean isDialogueButton(int button)
Definition Dialogue.java:55
abstract void sendDialogues(DialogueFactory factory)