Class DialogBody

java.lang.Object
net.md_5.bungee.api.dialog.body.DialogBody
Direct Known Subclasses:
PlainMessageBody

public abstract class DialogBody extends Object
Represents the body content of a Dialog.
  • Constructor Details

    • DialogBody

      public DialogBody(@NonNull @NonNull String type)
      Creates a new DialogBody instance.
      Parameters:
      type - The internal body type.
  • Method Details

    • getType

      @NonNull public @NonNull String getType()
      The internal body type.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object