Class DialogueStopEvent

java.lang.Object
org.bukkit.event.Event
org.aselstudios.luxdialoguesapi.Events.DialogueStopEvent

public class DialogueStopEvent extends org.bukkit.event.Event
Bukkit event fired when a dialogue stops for a player.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    DialogueStopEvent(org.bukkit.entity.Player player, Dialogue dialogue)
    Creates a new DialogueStopEvent.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the dialogue that was stopped.
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
    Gets the player the dialogue stopped for.

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DialogueStopEvent

      public DialogueStopEvent(org.bukkit.entity.Player player, Dialogue dialogue)
      Creates a new DialogueStopEvent.
      Parameters:
      player - player the dialogue stopped for
      dialogue - dialogue that was stopped
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Gets the player the dialogue stopped for.
      Returns:
      player
    • getDialogue

      public Dialogue getDialogue()
      Gets the dialogue that was stopped.
      Returns:
      dialogue
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()