Class Dialogue.DialogueText

java.lang.Object
privbot.hooks.Dialogue.DialogueText
Enclosing class:
Dialogue

public static final class Dialogue.DialogueText extends Object
A dialogue read: the root widget id it came from, plus the stitched, normalised text.

The root id is carried alongside the text because it identifies which interface the text belongs to (on Elorin, for example, 1908 is the wilderness warning and 4900 the login welcome).

  • Field Details

    • rootId

      public final int rootId
      The interface root the text was found under.
    • text

      public final String text
      The text group's joined text.
  • Constructor Details

    • DialogueText

      public DialogueText(int rootId, String text)
      Parameters:
      rootId - the interface root
      text - the text
  • Method Details