Interface INpcEvent.DialogClosedEvent

  • All Superinterfaces:
    ICustomNPCsEvent, INpcEvent
    Enclosing interface:
    INpcEvent

    public static interface INpcEvent.DialogClosedEvent
    extends INpcEvent
    Fired when a dialog with the NPC is closed.
    Hook Name:
    dialogClosed
    • Method Detail

      • getPlayer

        IPlayer getPlayer()
        Returns:
        the player who closed the dialog.
      • getDialog

        IDialog getDialog()
        Returns:
        the dialog.
      • getDialogId

        int getDialogId()
        Returns:
        the dialog ID.
      • getOptionId

        int getOptionId()
        Returns:
        the selected option ID.