Package noppes.npcs.api.handler
Interface IDialogHandler
-
public interface IDialogHandlerHandles retrieval of dialogs and dialog categories.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IDialogCategory>categories()Returns all dialog categories.IDialogget(int id)Returns the dialog with the specified ID.
-
-
-
Method Detail
-
categories
List<IDialogCategory> categories()
Returns all dialog categories.- Returns:
- a list of dialog categories.
-
get
IDialog get(int id)
Returns the dialog with the specified ID.- Parameters:
id- the dialog ID.- Returns:
- the dialog, or null if not found.
-
-